Skip to main content
DynamicSDK.instance.bitcoin.sendRawTransaction broadcasts a raw transaction hex (or a finalized PSBT) to the Bitcoin network. Use it as the final step after building and signing a PSBT yourself, or to relay a transaction that was signed elsewhere.

Example

Parameters

Returns

Future<String> — the broadcasted transaction id (txid).
If you just want to send BTC without managing the PSBT, sendBitcoin builds, signs, and broadcasts in a single call.
Last modified on May 12, 2026