Skip to main content

Build unsigned `addSenders` / `removeSenders` calls.

POST 

/v1/senders/prepare

addSenders is never relayed free. It is billed to the account as a normal relay and carries the on-chain per-sender fee, which makes mass-creating senders expensive. removeSenders has no fee and is relayed free: it is how a payer cuts off a compromised sender key. The response members free, ru and feeMicroUsdc say which case applies; show them instead of working the rule out yourself.

addSenders(max_fee, senders...): the route fills the first argument max_fee with the quoted fee, so PreparedTransaction.feeMicroUsdc equals contractCall.args[0]. It is the ceiling the user signs. A higher on-chain fee at execution reverts with ERR_PRICE_ABOVE_MAX, reported as 409 PRICE_ABOVE_MAX. An increase of sender_fee_ru takes effect only 172 800 000 ms after it is set (SENDER_FEE_NOTICE_MS). GET /v1/pricing does not publish a pending sender_fee_ru: the fee this route quotes in feeMicroUsdc is the one in force when it answers, and it is the ceiling the user signs.

Request​

Responses​

Unsigned transaction + assignment + fee preview.