Skip to main content
Use client = createArksatClient(provider). Example variables are supplied by the application.

sendToAddress

amount is a positive integer in sats. Requires user approval. Parameters
Returns
Example

sendAsset

Each asset has assetId and atomic-unit amount. bitcoinAmount is BTC sent in sats, not a fee. Parameters
Returns
Example

sendSwapFunding

Submits swap funding; does not fetch quotes or complete an entire swap. Wallet Swap is testnet only. Parameters
Returns
Example

Swap funding parameters

Check activity before retrying a timed-out submission. Transfer guide. Errors · Type definitions