/collect

Moves fees from the Pump.fun vault to the Claimr PDA. This is a permissionless operation.

Request

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

Requires the numeric Twitter ID, not the handle. Obtain it from /wallet/lookup.

Response

Success:

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

Empty vault:

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

Usage

Fees from trading accumulate in the Pump.fun vault and do not move to the PDA automatically. Collection must be triggered explicitly.

Call this before displaying a withdrawable balance, or periodically when tracking multiple accounts.

Cost

Transaction fees are covered by Claimr. No cost to callers.

Last updated