UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

17 lines 607 B
import { Bitcoind } from '../../types.js'; type GetNetworkHashPsParams = { bitcoind: Bitcoind; nblocks?: number; height?: number; }; /** * getnetworkhashps ( nblocks height ) * * Returns the estimated network hashes per second based on the last n blocks. * Pass in [blocks] to override # of blocks, -1 specifies since last difficulty change. * Pass in [height] to estimate the network speed at the time when a certain block was found. * */ export declare function getNetworkHashPs(params: GetNetworkHashPsParams): Promise<any>; export {}; //# sourceMappingURL=get-network-hash-ps.d.ts.map