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
| Term | Meaning |
|---|
| Gross | The buy-token payout before any fees. |
| Net | What the user receives after fees: gross − total fee. |
| Surplus | The payout above the user’s protected minimum. |
| Volume fee | A percentage of the gross payout. Applied first. |
| Surplus fee | A percentage of the surplus, capped by a percentage of gross. |
| Solver fee share | The percentage of the total fee paid to the solver; the rest goes to the protocol fee vault. |
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
| Parameter | Default | Maximum |
|---|
| Standard volume fee | 0.0075% | 1% |
| Correlated volume fee | 0.001% | 1% |
| Surplus fee | 10% of surplus | 100% |
| Surplus fee cap | 0.1% of gross | 2% |
| Max total fee | 0.15% of gross | 2% |
| Solver fee share | 35% of total fee | 100% |
Fee tiers
Each pair is assigned one of four tiers:
| Tier | Volume fee | Description |
|---|
| Standard | 0.0075% | Default for most pairs. |
| Correlated | 0.001% | Stablecoin / correlated assets. |
| Custom | configurable | Per-pair override. |
| Disabled | 0% | No volume fee. |
Scoring and Ranking
How solutions are validated and ranked.
Fees
User-facing fee overview.
Last modified on June 23, 2026