Fee Formulas
Reiy collects fees on each settled intent, split between the solver and the protocol. Fees are charged in the settled buy token and deducted from the gross payout. All rates below are percentages of the relevant base; the contract evaluates them in integer token units (rounding down).
Vocabulary
Fee computation
Fees are computed per intent, in order:
1. Volume fee
volume fee=gross×volume fee rate
The rate comes from the pair’s fee tier (see below). Settlement is rejected if gross − volume fee falls below the protected minimum.
2. Surplus fee
surplussurplus fee=(gross−volume fee)−protected min=min(surplus×10%,gross×0.1%)
The surplus fee is the smaller of 10% of surplus or 0.1% of gross (the cap).
3. Total fee cap
total fee=min(volume fee+surplus fee,gross×0.15%)
4. Net payout
net=gross−total fee
5. Solver split
solver feeprotocol fee=total fee×35%=total fee−solver fee
The solver fee is paid out immediately. The protocol fee goes to the per-token FeeVault.
Default fee parameters
Fee tiers
Each pair is assigned one of four tiers:
Scoring and Ranking
How solutions are validated and ranked.
Fees
User-facing fee overview.
Last modified on June 23, 2026