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.sendBitcoin builds, signs, and broadcasts a Bitcoin transfer in a single call. Use it when you don’t need to inspect or modify the PSBT before broadcast — see Build a PSBT and Sign a PSBT for the manual flow.
Example
Parameters
| Parameter | Type | Description |
|---|---|---|
walletId | String | The id of a wallet whose chain == 'BTC'. |
recipientAddress | String | Destination address. |
amount | String | Amount in satoshis, encoded as a string to preserve precision. |
feePriority | String? | Fee tier: 'high', 'medium', or 'low'. Defaults are connector-specific. |
Returns
Future<String> — the broadcasted transaction id (txid).
Converting BTC to satoshis
amount is always a satoshi string. 1 BTC = 100,000,000 satoshis. Convert from a user-supplied BTC value before calling: