How Do Liquidity Providers Collect DEX Fees? A ShibaSwap Example
Learn how liquidity providers collect DEX trading fees: fees accrue to pool owners and are often received in the pair tokens when they withdraw.
Cryptons Newsroom5 min read
Liquidity providers collect their share of DEX trading fees when the exchange allocates swap fees to their pool, often adding those fees to the pool reserves so providers receive them in the pair tokens when they withdraw. An automated market maker holds token reserves that traders swap against, and LP tokens can represent each provider’s proportional claim on those reserves.
Knowing where fees accrue helps you tell what you can withdraw from a pool apart from rewards you may need to claim elsewhere.
Take an illustrative pool with two providers: one owns three quarters of the pool and the other owns one quarter. A trader swaps through the pool and pays its configured fee. After the DEX assigns the liquidity-provider portion, the first provider is entitled to three quarters of that portion and the second to one quarter, as long as their relative ownership stays the same.
On shiba swap, adding liquidity is called Dig. For context on the other part of a DEX fee, read how ShibaSwap splits DEX fees; it explains how fees may be divided between liquidity providers and a protocol.
How do fees build up in a liquidity pool?
The DEX calculates the fee for each swap under that pool’s rules, then allocates the portion assigned to liquidity providers. The exact fee rate and split vary by DEX and pool, so the trader’s full fee is not necessarily paid to providers.
In a pool where the provider portion stays in the reserves, each swap leaves more value in the pool than providers would have held without those fees. The LP tokens may remain unchanged in number, but they represent a proportional claim on the enlarged reserves. In the three-quarters and one-quarter case, the first provider’s claim remains three times the second’s while both ownership shares stay unchanged.
That is how fees can accumulate without a separate payment appearing in a wallet after every trade. The provider’s share is reflected in the pair assets redeemable for their LP tokens. The amount of each token received can depend on the pool’s current reserves and the DEX’s withdrawal process.
Some DEX designs instead track or distribute provider fees separately from the pool reserves. In that case, the provider’s fee balance or payout method follows the pool’s rules. Check the DEX’s pool details before supplying liquidity so you know whether fees compound in reserves, accrue separately, or use another method.
The before-and-after comparison is the same pool with the same ownership proportions. Before swaps, the LP tokens represent a share of the original reserves. After swaps, if provider fees remained in the pool, those tokens represent the same proportion of reserves that now include accrued fees. What changed is the pool’s assets; what stayed the same is each provider’s proportional share.
When do liquidity providers receive DEX fees?
When fees remain in the reserves, providers generally realize their share when they withdraw liquidity. The DEX returns the provider’s proportional claim in the pool’s pair tokens, including the effect of fees retained there. The withdrawal is not necessarily a separate cash payment labelled “trading fees.”
In the illustrative case, if both providers’ ownership shares have stayed at three quarters and one quarter, withdrawing the first provider’s liquidity returns the assets corresponding to that larger share. The second provider’s share remains in the pool until they withdraw. Pool rules determine the exact tokens and quantities returned.
If the DEX accrues fees separately, providers may receive a payout or need to claim a balance through the DEX. That process can differ from withdrawing the liquidity itself. A provider should check whether the fee balance is paid automatically, claimed separately, or included in another pool action.
How are liquidity provider fees paid out?
Liquidity provider fees are paid according to the pool’s accrual method: they may be reflected in the pair tokens returned at withdrawal, or tracked for a separate payout or claim. The LP tokens represent the provider’s proportional pool share where that design is used; they are not the fees themselves.
Farm and staking rewards are separate from trading fees. A farm may offer rewards for staking LP tokens, while trading fees arise from swaps through the pool. These rewards can have their own balances and claim steps, and earning them does not change how swap fees accrue unless the pool rules say so.
To understand what you can receive, identify the pool’s provider fee share, whether fees remain in reserves, and how the DEX handles withdrawals or claims. On shiba swap, Dig names the liquidity-provision feature; any separate farm rewards still follow their own program terms.
Related
When do liquidity providers receive DEX fees?
Usually when they withdraw, if the provider fees have accumulated in pool reserves; a separate-accrual design may allow a different payout or claim schedule.
How are liquidity provider fees paid out?
Often through the pair assets returned for the provider’s pool share, or through a separate payout if the DEX tracks fees outside the reserves.
- Providers earn the portion of swap fees assigned to their pool.
- LP tokens can represent a proportional claim on pool reserves, including fees retained there.
- Withdrawals commonly realize reserve-based fees in the pair tokens.
- Farm and staking rewards are separate and may require separate claims.