Skip to main content

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\begin{aligned} \text{volume fee} = \text{gross} \times \text{volume fee rate} \end{aligned} 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

surplus=(gross−volume fee)−protected minsurplus fee=min⁡(surplus×10%,    gross×0.1%)\begin{aligned} \text{surplus} &= (\text{gross} - \text{volume fee}) - \text{protected min} \\ \text{surplus fee} &= \min\big(\text{surplus} \times 10\%,\;\; \text{gross} \times 0.1\%\big) \end{aligned} 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%)\begin{aligned} \text{total fee} = \min\big(\text{volume fee} + \text{surplus fee},\;\; \text{gross} \times 0.15\%\big) \end{aligned}

4. Net payout

net=gross−total fee\begin{aligned} \text{net} = \text{gross} - \text{total fee} \end{aligned}

5. Solver split

solver fee=total fee×35%protocol fee=total fee−solver fee\begin{aligned} \text{solver fee} &= \text{total fee} \times 35\% \\ \text{protocol fee} &= \text{total fee} - \text{solver fee} \end{aligned} 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