Skip to content
Onchain Daily

Protocol-level crypto news, daily

What Are LP Tokens and How Do They Work When You Add Liquidity

What are LP tokens and how do they work? They record your share of an AMM pool, collect fee value, and let you redeem your share of both reserves.

Onchain Daily Newsroom4 min read

What Are LP Tokens and How Do They Work When You Add Liquidity

For new liquidity providers, an LP token is a pool-minted receipt for a proportional claim on both reserves; burning it withdraws that share at the pool’s current ratio, including fees retained in the reserves.

An automated market maker (AMM) lets traders swap against tokens held in a liquidity pool. The pool’s smart contract tracks the balances, or reserves, of each token. When you deposit both tokens, the contract needs a record of what portion of those reserves belongs to you. In a V2-style pool, it creates that record by minting fungible LP tokens.

“Fungible” means each token represents the same kind of claim as another LP token from that pool. Your share is measured against the pool’s total LP token supply. Hold 1% of that supply and, subject to the pool’s rules, you can redeem 1% of its reserves.

How are LP tokens minted and redeemed?

A V2-style pool mints LP tokens when you deposit two assets in the pool’s current ratio. The amount minted reflects your contribution relative to the pool’s existing liquidity, so adding tokens in the same proportion preserves your intended share.

Say a pool holds 1,000 units of Token A and 2,000 units of Token B. A deposit of 10 A and 20 B matches its ratio and adds roughly 1% to each reserve. The pool mints LP tokens for the new contribution, increasing the total supply so your balance represents your fraction of the enlarged pool. Exact minting depends on the pool’s existing LP supply and contract rules.

The LP tokens are transferable tokens. Whoever holds them holds the claim they represent. Sending them to another address therefore hands over the ability to redeem that share; the pool contract does not know whether the recipient was meant to receive ownership as a gift, payment, or by mistake. Treat LP tokens like a claim to the underlying assets, not as a display-only receipt.

To withdraw, you submit LP tokens to the pool’s removal function. The contract burns those tokens, reducing the supply, and returns the corresponding fraction of both reserves. On SunSwap V2, for instance, a TRX/USDT deposit returns TRC-20 LP tokens that sit in a wallet such as TronLink like other tokens. SunSwap is a decentralized exchange on TRON where TRC-20 tokens trade through liquidity pools; understanding how SunSwap swaps change reserves helps providers see why the amounts behind an LP token shift after trades.

Burning returns the pool’s current mix, not necessarily the pair of amounts you first deposited. Trades change the reserves, and the pool’s ratio changes with them. A provider who deposited equal market values of two tokens may later withdraw more of one token and less of the other, even if the total market value has risen.

How is the value of one LP token calculated?

For a V2-style pool, one LP token’s share of each reserve is calculated from its fraction of the total LP supply. Multiply that fraction by each current reserve to estimate the underlying tokens it can redeem. To express the claim in currency terms, value those token amounts at their current market prices.

Swap fees typically remain in the pool’s reserves. As trades generate fees, the reserves grow relative to the LP token supply, so the same number of LP tokens can represent a larger underlying claim over time. The token count in your wallet stays the same; the amounts redeemable per token can increase. The result depends on trading activity and the pool’s fee rules.

This is different from a fixed interest payment or a reward token sent to your wallet. Fee value accumulates in the assets held by the pool. Your withdrawal combines your share of those reserves, rather than paying out a separate balance of fees. Other incentives may exist, but they are distinct from the LP token’s claim on the pool.

Related questions

What is impermanent loss for an LP token holder?

Impermanent loss is the difference between holding the deposited tokens and providing them to a pool after their relative prices change. As traders swap, the AMM adjusts reserve quantities to keep trading possible at the new ratio. Your LP tokens still represent the same fraction of the pool, but that fraction may contain a different mix of assets than you would have held outside it. Fees can offset this difference, but whether they do depends on how much the pool earns and how prices move.

LP tokens are not the same as the underlying tokens, and redeeming them does not lock in the original deposit amounts. They represent a share of the pool’s live reserves, with fees reflected in those reserves. V2-style LP tokens are fungible; in concentrated-liquidity V3 systems, positions can instead be represented by NFTs with position-specific parameters.