tot_rfq_production_ followed by 32 hex characters. Totalis issues them: see Get access.
No signature is needed: you send
builder_code on Create RFQ, or
builderCode to openPosition.
How a code counts
A code counts in one of two ways.- The account is yours. An account you admitted
records your account code on every RFQ, whatever credential it uses: a wallet session on your page, or an API
key it issued. To record a different code of yours, send it as
builder_code. It must be one of your own. - The request comes from your registered origin. Any other account, such as a Totalis app user who signs in on
your page with an exported wallet key, records your origin code when its browser sends it from that code’s
registered origin. A wallet session carries the page’s
Originon every request.
Origin, so an account you did not admit cannot claim a code that way.
A refused code is
400 INVALID_REQUEST with a field violation on /builder_code, and no RFQ is created. A code is
recorded once, when the RFQ is created, and never changes. Cash-out RFQs take no builder fields: a position keeps
the attribution of the RFQ that opened it. New origins and codes take effect within 30 seconds.
openPosition sends the legs in increasing numeric outcome_id order, which the venue requires. A client that
creates the RFQ itself must send them in that order too: rfqLegsInOrder(legs) from
@totalis/hip4-client/partner gives it.
Revocation and existing RFQs
Attribution is decided once, when the RFQ is created. Revoking or rotating a code afterwards never vetoes an RFQ already created: it stays open, its quotes can be accepted, and the position it opens keeps your code. Revocation refuses only new RFQs (Rotation and revocation).Reports and payouts
Totalis pays you a share of the total fees on positions your codes opened, in USDC on HyperEVM, to the payout address you registered. Your share is agreed with Totalis and recorded as terms: each terms entry prices every fee from its UTC day until the next one. Read your report from your server with your server key. It holds the figures Totalis pays from.
Amounts are atomic USDC decimal strings, 6 decimals:
"1500000" is 1.50 USDC. A payout counts as paid in full
from the moment Totalis queues it; if less lands on-chain, the rest returns to owed. Totalis decides when to pay,
so owed is what you have earned and not yet been paid, not a schedule.
A per-position list of fees, each with its transaction hash, is by email: ask
founders@totalis.trade. To change your payout address, email us from your registered
contact.
Rotation and revocation
To rotate or revoke a code, email
founders@totalis.trade.

