Skip to main content

V2 Fees

All V2 pools charge a fixed 0.3% fee on every swap. This fee is not configurable per pool.

How Fees Work

The fee is applied to the input token before the swap calculation:
  1. Trader sends amountIn of token A
  2. The effective input is amountIn × 0.997 (0.3% deducted)
  3. The output amount is calculated using the reduced input
  4. The fee portion remains in the pool, increasing k

Fee Accumulation

Fees are not distributed separately — they accumulate directly in the pool reserves. This means:
  • k grows over time as fees are collected
  • LP token value increases proportionally
  • LPs claim their fees when they withdraw liquidity (burn LP tokens)

Example

A pool with 100,000 A / 100,000 B reserves: Over time, the pool reserves grow from accumulated fees, benefiting all LP token holders proportionally to their share.

Comparison with V3