UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

15 lines 575 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * preciousblock "blockhash" * * Treats a block as if it were received before others with the same work. * A later preciousblock call can override the effect of an earlier one. * The effects of preciousblock are not retained across restarts. * */ export function preciousBlock(params) { const { bitcoind, ...methodParams } = params; return request({ method: 'preciousblock', params: methodParams }, bitcoind); } //# sourceMappingURL=precious-block.js.map