Documentation Index
Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
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
| Parameter | Type | Description |
|---|---|---|
walletId | String | The id of a wallet whose chain == 'BTC'. |
rawTransaction | String | Raw transaction hex (or a fully signed PSBT base64). |
Returns
Future<String> — the broadcasted transaction id (txid).