Skip to main content

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​

The change, for account to sign and send.