@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 467 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getchaintxstats ( nblocks "blockhash" )
*
* Compute statistics about the total number and rate of transactions in the chain.
*
*/
export function getChainTxStats(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getchaintxstats', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-chain-tx-stats.js.map