Two Addresses

Funds can be in two places. Understanding which is which matters for integration.

Pump.fun vault

When a token trades on Pump.fun, creator fees go into a vault that Pump.fun controls. Standard behavior - they hold fees until the creator collects.

Claimr PDA

This is the address tied to a Twitter account. After collection, funds sit here until the owner withdraws.

The difference

Vault
PDA

Controlled by

Pump.fun

Claimr

Shows in lookup as

balance.vault

balance.pda

Withdrawable?

No, needs collection first

Yes

Moving funds between them

Call /api/collect to move everything from the vault to the PDA:

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

Anyone can do this - you're not taking funds, just consolidating them so the owner can withdraw.

When to collect

Before showing someone their "withdrawable" balance, trigger collection first. Otherwise you might show them only part of what they have.

Collection costs ~0.00005 SOL in tx fees, paid by whoever calls it.

Last updated