Overview
Arkade transactions work just like on-chain Bitcoin transactions - you send to addresses without requiring the recipient to be online. The key difference is that Arkade transactions are instant and have near-zero fees when sending to Arkade addresses. You can also send to Lightning invoices and Bitcoin addresses (bc1/tb1).Setup
Import the SDK and create a wallet:Your wallet needs an offchain balance to cover transaction fees. See Receiving Payments to fund your wallet.
Sending to Arkade Addresses
Use thesendBitcoin function to send to another Arkade wallet. Simply provide an Arkade address (starting with ark1 or tark1) and the amount in satoshis. The recipient doesn’t need to be online to receive the payment.
Sending to Lightning Network
Send payments from your Arkade wallet to any Lightning invoice using submarine swaps. This allows you to pay Lightning users instantly.Lightning Swaps
Learn how to integrate the Lightning Network with Arkade using submarine swaps to send and receive Lightning payments.
Sending to Bitcoin Addresses
To send Bitcoin to onchain addresses (bc1/tb1), use the Ramps class for offboarding. This converts your Arkade VTXOs back to onchain Bitcoin.Offboarding (Collaborative Exit)
Learn how to convert your Arkade balance to onchain Bitcoin using the Ramps class for efficient, batched offboarding.
Chain Swaps
Learn how to convert your Arkade balance to onchain Bitcoin with Boltz-powered chain swaps
Fee Comparison:
- Arkade addresses (
ark1/tark1): Near-zero fees, instant, no online requirement - Lightning invoices: Low fees, instant via submarine swaps
- Bitcoin addresses (
bc1/tb1): Standard network fees apply (onchain swap)
Finalizing pending transactions
If a transaction was interrupted before completion (e.g., due to network issues or app closure), you can finalize pending transactions usingfinalizePendingTxs. This method retrieves any pending transactions from the server and completes the checkpoint signing process.
finalized: Array of transaction IDs that were successfully finalizedpending: Array of all pending transaction IDs found
Next Steps
- VTXO Management - Learn how to manage VTXO renewal and recovery
- Payment History - Track your transaction history
- Ramps - Advanced: onboard from Bitcoin or offboard to Bitcoin