UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

21 lines 962 B
import { Bitcoind } from '../../types.js'; type SendRawTransactionParams = { bitcoind: Bitcoind; hexstring: string; maxfeerate?: number | string; maxburnamount?: number | string; }; /** * sendrawtransaction "hexstring" ( maxfeerate maxburnamount ) * * Submit a raw transaction (serialized, hex-encoded) to local node and network. * The transaction will be sent unconditionally to all peers, so using sendrawtransaction * for manual rebroadcast may degrade privacy by leaking the transaction's origin, as * nodes will normally not rebroadcast non-wallet transactions already in their mempool. * A specific exception, RPC_TRANSACTION_ALREADY_IN_UTXO_SET, may throw if the transaction cannot be added to the mempool. * Related RPCs: createrawtransaction, signrawtransactionwithkey * */ export declare function sendRawTransaction(params: SendRawTransactionParams): Promise<any>; export {}; //# sourceMappingURL=send-raw-transaction.d.ts.map