multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 539 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the *send* command.
*/
export interface SendRequest extends RpcRequest {
readonly method: 'send';
readonly params?: any[];
}
/**
* JSON-RPC response for the *send* command.
*/
export interface SendResponse extends RpcResponse {
readonly result: SendResult | null;
}
/**
* Result of the *send* command.
*/
export declare type SendResult = any;
export declare function Send(...params: any[]): SendRequest;