/collect

Move fees from the Pump.fun vault into the Claimr PDA. Anyone can call this.

Request

curl -X POST https://claimr.app/api/collect \
  -H "Content-Type: application/json" \
  -d '{"twitterId": "44196397"}'

Use the Twitter ID (numeric), not the handle. Get it from /wallet/lookup.

Response

Success:

{
  "success": true,
  "collected": "3.1000",
  "newBalance": "8.3000",
  "txSignature": "5UzGjv8P..."
}

Nothing there:

{
  "success": false,
  "error": "NOTHING_TO_COLLECT",
  "message": "No fees available to collect"
}

When to use

Fees from trading accumulate in the Pump.fun vault. They don't move to the PDA automatically - someone has to trigger collection.

Call this before showing a user their withdrawable balance, or periodically if you're tracking multiple accounts.

Cost

The tx fee (~0.00005 SOL) is paid by Claimr's backend. Free for you.

Last updated