Withdrawing
How funds get from Claimr to someone's wallet.
For users
Go to claimr.app:
Enter your Twitter handle to see the balance
Log in with Twitter
Enter destination wallet
Withdraw
Funds arrive in seconds. 2% fee deducted.
What happens
Backend confirms Twitter auth
Signs a withdrawal permit
Transaction goes on-chain with signature verification
Contract checks signature, transfers funds
2% → treasury, rest → destination
For integrators
You can't build withdrawals yourself - they need Twitter OAuth. But you can prep users:
Check if they can withdraw:
canWithdraw is true if balance >= 0.04 SOL.
Collect first:
Then send them to claimr.app.
Common issues
"Minimum withdrawal is 0.04 SOL" - Not enough balance yet.
"Nothing to withdraw" - PDA is empty. Check if vault has funds to collect.
Twitter login fails - They need to use the account that matches the handle.
Last updated