UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

16 lines 487 B
import { Bitcoind } from '../../types.js'; type GetBlockStatsParams = { bitcoind: Bitcoind; hash_or_height: string | number; stats?: Array<unknown>; }; /** * getblockstats hash_or_height ( stats ) * * Compute per block statistics for a given window. All amounts are in satoshis. * It won't work for some heights with pruning. * */ export declare function getBlockStats(params: GetBlockStatsParams): Promise<any>; export {}; //# sourceMappingURL=get-block-stats.d.ts.map