multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 545 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the `help` command.
*/
export interface HelpRequest extends RpcRequest {
readonly method: 'help';
readonly params?: [string];
}
/**
* JSON-RPC response for the `help` command.
*/
export interface HelpResponse extends RpcResponse {
readonly result: HelpResult | null;
}
/**
* Result of the `help` command.
*/
export declare type HelpResult = string;
export declare function Help(command?: string): HelpRequest;