Build a fee recipient change
POST/bankr-v4/:token/recipient/build
An unsigned transaction that moves account's share of the launch's main fee bucket to newRecipient, for every trade from then on. The fee ledger first pays account everything it can claim, in both tokens, then moves the share. account signs and sends it; Bankr sends nothing.
400 when newRecipient is account itself, already holds a share of the bucket (the ledger never merges two), or could never claim: the zero address, a reserved address, one of Bankr's launch contracts, or the launch's own token or vesting escrow. 403 when account holds no share of the bucket. Before it answers, Bankr replays the move against the chain and refuses one that would revert. Shares the 60-per-minute fee limit.
SDK equivalent: client.fees.buildSetFeeRecipient(token, account, newRecipient), which moves the account's share of every bucket.
Request
Responses
- 200
- 400
- 403
- 404
- 429
- 502
The change, for account to sign and send.
An invalid token address or body (with details), or a newRecipient that is refused. A refusal found by replaying the move carries a code: BANKR_V4_BENEFICIARY_EXISTS, BANKR_V4_RECIPIENT_STRANDS_SHARE, or BANKR_V4_RECIPIENT_MOVE_REFUSED for any other revert.
account holds no share of the launch's main fee bucket. When the replay finds it, the answer carries code BANKR_V4_NOT_BENEFICIARY.
Bankr's index has no launch on the Bankr Hook with this token on Base, Robinhood Chain, Arbitrum or Arc yet.
Over the fee route limit, 60 requests per minute per IP. Wait the number of seconds in Retry-After, then retry.
Response Headers
Seconds until the limit resets.
Requests allowed per minute.
Requests left in this minute.
Seconds until the limit resets.
The launch could not be read right now. Retry.