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