-
Execution Fees
Fees to cover execution costs including network gas on the origin and/or destination chain.
- Fill gas estimate (and origin gas estimate for gasless transactions)
- $0.02 flat fee
-
Swap Fees
Fees to liquidity providers that facilitate cross-asset and cross-chain token swaps.
- DEX fees
- DEX swap impact
- Solver cross-chain rebalancing fees
- Relay Fees A flat basis point fee charged for using the Relay API gateway and related services. The fee varies by asset pair type and applies to both cross-chain and same-chain transactions.
- App Fees Fees added on top of a Relay by the integrator.
Please note that the above fee structure applies to standard cases. In certain cases, such as route-specific campaigns or promotions, different fees may apply.
Fees Object
The Fees object is returned from the quote API and the requests API. These fees are only the Relay related fee, and are segmented as the following fees: relayerService: The service fee paid to the relayer to facilitate execution. relayerGas: The gas fee given to the solver to pay gas fees on the destination chain. relayer: The sum of the relayerService and the relayerGas. app: Third party fees added on top of the existing fees, this fee is added by app developers and accrues offchain to minimize gas costs. subsidized: The Fees in the order that are subsidized by the integrator.Price Impact
If you are interested in understanding or showing your user the fees of the order more broadly, it’s best to look at theexpandedPriceImpact object which reports:
execution - the price impact that results from execution fees (gas and flat fee). This covers the cost of executing the transaction on the origin and destination chains.
swap - the price impact that results from cross-currency and cross-chain token exchange. This includes DEX fees, swap slippage, and solver rebalancing costs.
relay - the price impact that results from the Relay API fee. This is the flat bps fee charged by Relay for routing and meta-aggregation services.
app - the price impact that results from the app fees (if applicable).
sponsored - the price impact that is covered by the integrator via Fee Sponsorship. This reflects the portion of fees subsidized on behalf of the user.
Fee Sponsorship
Integrators with Fee Sponsorship enabled can subsidize fees for their users. By default, settingsubsidizeFees to true sponsors all fee components.
For more granular control, use the sponsoredFeeComponents parameter in the quote request to choose which specific fee components to sponsor. This allows you to sponsor some fees (e.g. execution and relay fees) while letting the user pay others (e.g. swap fees).
See the Fee Sponsorship Doc for setup details.