Skip to main content
Connect first. Call transfers from a user action and handle errors.

BTC

Amount is a positive integer in sats. The result is { txid }.

Tokens

Use decimals from verified asset metadata. assetId is a 68-character hexadecimal string; amount is a positive uint64 atomic-unit string. Optional bitcoinAmount is BTC sent with the transaction, in sats. It is not the fee parameter.

Submission

A transaction ID indicates submission, not final settlement. On timeout or disconnect, check activity before retrying. sendSwapFunding submits protocol funding and does not complete an entire swap. API reference.