multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 657 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the *getblockchaininfo* command.
*/
export interface GetBlockchainInfoRequest extends RpcRequest {
readonly method: 'getblockchaininfo';
readonly params?: undefined;
}
/**
* JSON-RPC response for the *getblockchaininfo* command.
*/
export interface GetBlockchainInfoResponse extends RpcResponse {
readonly result: GetBlockchainInfoResult | null;
}
/**
* Result of the *getblockchaininfo* command.
*/
export declare type GetBlockchainInfoResult = any;
export declare function GetBlockchainInfo(): GetBlockchainInfoRequest;