multichain-api
Version:
MultiChain JSON-RPC Client
18 lines (17 loc) • 333 B
TypeScript
/**
* JSON-RPC request.
*/
export interface RpcRequest {
/**
* Name of the method to invoke.
*/
readonly method: string;
/**
* List of arguments to invoke the method with, if any.
*/
readonly params?: any[];
/**
* Request identifier.
*/
readonly id?: number | string | null;
}