UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

13 lines 447 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * getbestblockhash * * Returns the hash of the best (tip) block in the most-work fully-validated chain. * */ export function getBestBlockHash(params) { const { bitcoind, ...methodParams } = params; return request({ method: 'getbestblockhash', params: methodParams }, bitcoind); } //# sourceMappingURL=get-best-block-hash.js.map