> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rialto.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Fees

> The fees that apply to a Rialto trade and when each one is charged.

## Fees shown before you confirm

Every quote reflects the fees that apply to your trade, so the expected output you
see is what you receive after fees. You can review them before confirming.

## Types of fee

* Trading fee. A fee applied to the swap. Rialto's fee is 0.50%. Where the app you
  are trading through adds one, an integrator fee may also apply on top. Both are
  already included in your quoted output.
* Network fee. The onchain gas cost to settle the transaction. You pay this when
  you submit the trade from your wallet. With gasless trading, the relayer covers
  the network fee instead.

## When fees are charged

Fees are taken as part of the swap, in the same onchain transaction that settles
your trade. There is no separate billing or claim step. If a trade reverts, it
does not complete, so no trading fee is charged, though any gas already spent on a
submitted transaction is not recoverable.
