Skip to main content

Build a fee claim

POST 

/bankr-v4/:token/fees/build-claim

An unsigned transaction that claims account's fees from the launch's main fee bucket and pays them to account. account signs and sends it from its own wallet; Bankr sends nothing.

side claims both tokens (both, the default), or only the launched token or only the quote, so a quote token that is frozen or paused cannot hold up the other side.

When the account's fees were already settled into its balance in the launch's token or quote, the transaction is a withdraw that settles this launch's share and pays that balance; otherwise it claims the launch's share directly. Build a claim-all claims every launch at once.

403 when account holds no share of the bucket and no settled balance in the launched token. Like Read fees, it leaves out the decay bucket: client.fees.buildClaim in the SDK claims every bucket the account holds. Shares the 60-per-minute fee limit.

SDK equivalent: client.fees.buildClaim(token, account, { side }), where side is "token" or "quote", or omitted for both.

Request​

Responses​

The claim, for account to sign and send.