UNPKG

multichain-api

Version:
21 lines (20 loc) 539 B
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;