UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

19 lines 870 B
import { Bitcoind } from '../../types.js'; type SubmitPackageParams = { bitcoind: Bitcoind; package: Array<unknown>; maxfeerate?: number | string; maxburnamount?: number | string; }; /** * 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 declare function submitPackage(params: SubmitPackageParams): Promise<any>; export {}; //# sourceMappingURL=submit-package.d.ts.map