Prerequisites
- A Spark wallet created following the Create First Wallet guide
- Pending transfers (from Lightning payments, Spark transfers, or Bitcoin deposits)
Understanding Transfer Claims
When you receive funds through Lightning payments, Spark transfers, or Bitcoin deposits, they need to be claimed before becoming available in your wallet. The claiming process:- Verifies the transfer’s validity
- Updates your wallet’s state
- Makes the funds available for use
Checking Pending Transfers
To view all pending transfers that need to be claimed:Claiming Transfers
Claim All Pending Transfers
The simplest way to claim all pending transfers at once:Claim Specific Transfer
If you want to claim a specific transfer:Transfer States
Transfers can be in different states:TRANSFER_STATUS_SENDER_KEY_TWEAKEDTRANSFER_STATUS_RECEIVER_KEY_TWEAKEDTRANSFER_STATUS_RECEIVER_REFUND_SIGNED
Best Practices
- Regularly check and claim pending transfers
- Monitor transfer states to ensure successful claims
- Keep track of claimed transfer IDs for reference
Next Steps
After claiming your transfers, you can:- Send Lightning payments
- Send Spark transfers
- View all transfers
- Cooperative Exit to Bitcoin when needed
Need Help?
- Check our FAQ
- Review the API Reference
- Follow our Testing Guide
- Check our Code Samples