UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

16 lines 852 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * submitpackage ["rawtx",...] ( maxfeerate maxburnamount ) * * Submit a package of raw transactions (serialized, hex-encoded) to local node. * The package will be validated according to consensus and mempool policy rules. If any transaction passes, it will be accepted to mempool. * This RPC is experimental and the interface may be unstable. Refer to doc/policy/packages.md for documentation on package policies. * Warning: successful submission does not mean the transactions will propagate throughout the network. * */ export function submitPackage(params) { const { bitcoind, ...methodParams } = params; return request({ method: 'submitpackage', params: methodParams }, bitcoind); } //# sourceMappingURL=submit-package.js.map