UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

15 lines 500 B
import { Bitcoind } from '../../types.js'; type PingParams = { bitcoind: Bitcoind; }; /** * ping * * Requests that a ping be sent to all other nodes, to measure ping time. * Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds. * Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping. * */ export declare function ping(params: PingParams): Promise<any>; export {}; //# sourceMappingURL=ping.d.ts.map