A liquidity provider token (LP token) is a crypto token that a decentralized exchange issues to someone who deposits assets into one of its pools. It works as a receipt: it records the depositor's share of the pool and is what they hand back to withdraw their tokens plus accumulated fees. LP tokens exist because a liquidity pool mixes many people's deposits together, so each contributor needs a transferable claim on their slice.
LP tokens are a building block of decentralized finance (DeFi). On most pools they are ordinary fungible tokens, such as an ERC20 token, which means they can be moved, staked or used as collateral elsewhere. Concentrated-liquidity designs, starting with Uniswap version 3 in 2021, instead issue each position as a non-fungible token (NFT), because no two price ranges are alike.
LP token in plain terms
Think of a coat check at a busy event. You hand over your coat and receive a numbered ticket. The ticket is not the coat, but it proves which coat is yours, and whoever holds it can collect. Lose the ticket and you lose the coat.
An LP token is that ticket for money placed in a shared pot. Because the pot earns small fees from everyone who uses it, the ticket slowly becomes worth a little more than what you put in, unless the prices of the items inside shift against you.
How LP tokens are minted and redeemed
When a pool is first created, the contract mints an opening supply of LP tokens. Uniswap version 2 sets it at the geometric mean of the two deposits and permanently locks a tiny amount so the pool can never be fully emptied. Later depositors must add both tokens in the current pool ratio and receive LP tokens in proportion to the share they add:
For example, if a pool holds 200 ETH and 600,000 USDC with 10,000 LP tokens outstanding, a provider who adds 20 ETH and 60,000 USDC raises the pool by 10% and receives LP tokens, about 9.1% of the new supply of 11,000.
Trading fees stay inside the pool, so each LP token's claim grows over time. To exit, the holder returns the tokens to the contract, which burns them and pays out the matching share of both assets at the pool's current balances. Because those balances change with every trade, the holder may get back a different mix than they put in, which is the source of impermanent loss.
What holders do with LP tokens
- Stake them for rewards. Many protocols pay extra tokens to users who lock LP tokens in a farming contract, the basis of yield farming; a yield aggregator automates the process.
- Use them as collateral. Some lending markets accept LP tokens, letting a provider borrow against a position that is still earning fees.
- Lock or burn them. New token projects often lock their LP tokens with a token locker or send them to a burn address to show the pool cannot be withdrawn; see liquidity locking and liquidity burn.
LP tokens should not be confused with the tokens issued by liquid staking protocols, which represent staked coins rather than a trading-pool share.
Risks
An LP token is only as sound as the pool and the smart contract behind it. If the contract is exploited, the tokens can become worthless. Holders inherit the pool's market risk, including the chance that one asset in the pair collapses. Stacking LP tokens across several protocols compounds these risks, since a failure at any layer can cascade. Checking whether a project's LP tokens are locked is a standard step in a rug check, because a creator holding unlocked LP tokens can drain the pool in a rug pull. Because many protocols display a token's value without showing the pool's full composition, holders can also misjudge what their position is actually worth. Tax treatment varies by country, and depositing or redeeming may be a taxable event in some.
Standards and examples
Most early LP tokens followed Uniswap's pattern on the Ethereum blockchain, and forks on other networks copied it. Curve issues LP tokens for its stable-swap pools, and Balancer issues pool tokens for weighted multi-asset pools. The people who earn them are described under liquidity provider, and the pricing rules behind the pools under automated market makers.