Trading fee
The trading fee is a percentage that an Automated Market Maker, or AMM, charges on top of the exchange rate when someone trades against its pool of assets.
In plain words
An AMM holds a pool of assets that others can trade against. Each trade pays a percentage fee. The fee is paid to the AMM, not directly to the liquidity providers.
How it works
Liquidity providers hold LP tokens. They can redeem these for a share of the assets in the pool, including the fees collected. This makes trading fees a source of passive income for them. The fee is set by vote with the AMMVote transaction. Up to 8 accounts can vote, in proportion to the LP tokens they hold, and each new vote recalculates the fee as a weighted average of the votes.
Paying a lower fee
Liquidity providers can bid some of their LP tokens to receive a temporary discount on the trading fee. This is the auction slot. Before a trade, you can estimate its cost once with the full fee and once with the discounted fee. The difference is the most you could save by winning the slot.
Source: xrpl.org, xrpl.org, xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made