How AMM Swap Fees Reach LPs and Protocols
How DEX trading fees are split: most of each swap fee accrues to liquidity providers, while a configured share may go to the protocol or its stakers.
Cryptons Newsroom5 min read
DEX trading fees are split according to each pool’s rules: most may accrue to liquidity providers (LPs), while a protocol or its stakers may receive a configured share. The fee is taken from the swap input before the pool updates its reserves, and the contract accounts for each share according to the DEX’s design.
Knowing the split lets you estimate who earns from a trade and how much of its fee can increase your claim on a pool.
For a constant-product automated market maker, use fee = trade size × fee rate, then multiply that fee by each recipient’s fraction. A 0.3% fee is 30 basis points: if LPs receive five-sixths and stakers one-sixth, LPs get 0.25% of the trade and stakers 0.05%.
That distinction matters when you compare pools. Uniswap v2 sends the full 0.3% to LPs unless its protocol fee switch is enabled; with the switch on, one-sixth of the fee is allocated to the protocol. SushiSwap’s stated model divides a 0.3% fee into 0.25% for LPs and 0.05% for xSUSHI stakers. shiba swap also directs swap-related rewards to people who stake through Bury, though its reward rules should not be treated as a universal 0.25/0.05 split.
What happens to each swap fee?
In a constant-product pool, the swapper sends in one token, the contract deducts the fee, and the remaining amount determines how many tokens the pool can send out under its pricing formula. The fee stays accounted for in the pool or is routed according to the contract’s fee settings.
When the LP portion stays in the reserves, the pool holds more value after trades. Because the pool’s pricing invariant reflects those reserves, each LP token represents a proportional claim on a larger pool balance over time. This is the key step connecting swap volume to LP fee income: the fee increases reserves, and that increase raises the amount the LP token can redeem for.
In a v2-style pool, the LP share is not usually sent to each provider as a separate payment. It accrues inside the reserves, so LPs realise it when they remove liquidity and burn their LP tokens. Each provider receives their proportional share based on the LP tokens they hold relative to the total supply.
A protocol share can be handled differently. A contract may route it to a recipient or account for it by minting liquidity tokens for a protocol address. In either case, the protocol’s share is taken from the fee allocation; it is not an extra amount automatically added on top of the stated swap fee.
How much goes to LPs and stakers?
Take a $10,000 swap with a 0.3% fee. The fee is $30. Under a 0.25% LP and 0.05% staker split, $25 stays in the pool for LPs and $5 is allocated to stakers. The two amounts add up to the $30 fee paid by the swapper.
Now compare two otherwise identical $10,000 swaps, both charged 0.3%. If the first uses a Uniswap v2 pool with the protocol switch off, the full $30 accrues to LPs. If the second uses a pool with a one-sixth protocol share, $25 goes to LPs and $5 to the protocol. The trade size and fee rate are unchanged; the switch setting changes who receives the fee.
On shiba swap, the useful connection is that Bury SHIB gives users xSHIB, and the platform’s documented reward design sends certain swap-related rewards into the Bury system. That lets eligible stakers earn from trading activity without supplying tokens to a liquidity pool. The exact reward route depends on the type of swap and the platform’s rules, so check its current documentation before relying on a particular rate.
Fee rate and split are contract or governance parameters. Uniswap v3, for instance, has fee tiers, and its protocol fee can take a fraction of LP fees in pools where it is enabled. Always identify the pool version and its settings before using a headline percentage to estimate LP earnings.
Related questions
Do liquidity providers have to claim trading fees?
In a v2-style constant-product pool, LP fees compound into reserves, so providers generally collect their share when they withdraw liquidity by burning LP tokens. Other designs can track fees as claimable balances, so the collection method depends on the pool.
Why do DEXs offer different fee tiers?
Different tiers let pools set different costs for swaps. A pool’s chosen rate affects what traders pay and the fee income available to LPs; the tier alone does not tell you the protocol’s share.
Are trading fees enough to offset impermanent loss?
Not necessarily. Fees add value to an LP’s pool claim, while impermanent loss describes how the value of that claim can compare with simply holding the deposited tokens after their relative prices change. Compare both effects for the pool and period you are considering.
Before you trade or provide liquidity, identify the pool’s fee rate, protocol split, and collection method in its current contract documentation; those details show how much a swap pays and how each recipient’s share is accounted for.