UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

13 lines 490 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * generateblock "output" ["rawtx/txid",...] ( submit ) * * Mine a set of ordered transactions to a specified address or descriptor and return the block hash. * */ export function generateBlock(params) { const { bitcoind, ...methodParams } = params; return request({ method: 'generateblock', params: methodParams }, bitcoind); } //# sourceMappingURL=generate-block.js.map