UNPKG

multichain-api

Version:
21 lines (20 loc) 527 B
import { RpcRequest } from '../RpcRequest'; import { RpcResponse } from '../RpcResponse'; /** * JSON-RPC request for the *ping* command. */ export interface PingRequest extends RpcRequest { readonly method: 'ping'; readonly params?: undefined; } /** * JSON-RPC response for the *ping* command. */ export interface PingResponse extends RpcResponse { readonly result: PingResult | null; } /** * Result of the *ping* command. */ export declare type PingResult = any; export declare function Ping(): PingRequest;