UNPKG

bitcoin-cli-ts

Version:

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

14 lines (13 loc) 481 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * getchaintxstats ( nblocks "blockhash" ) * * Compute statistics about the total number and rate of transactions in the chain. * */ export function getChainTxStats(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'getchaintxstats', params: methodParams }, bitcoind); }