A liquidity pool is a collection of digital assets held in smart contracts and made available for transactions in crypto and decentralized finance (DeFi). Liquidity means assets available to support transactions. Pools are commonly used on decentralized exchanges, where traders swap against shared reserves instead of finding a directly matched counterparty. Other arrangements, such as lending pools, make assets available for borrowing and do not necessarily use an automated market maker (AMM).
How Trading Pools Work
Providers deposit assets into a liquidity pool so that traders can exchange them. During a swap, a trader sends one asset into the pool and receives another. The smart contracts apply the protocol’s rules to calculate and transfer the output, accounting for applicable fees. This changes the pool’s balances: its reserve of the incoming asset increases, while its reserve of the outgoing asset decreases.
The pooled assets and the AMM serve different roles. The pool supplies the assets available for trading; the AMM supplies the pricing mechanism that governs swaps. Unlike an order book, this arrangement does not depend on matching individual buy and sell orders. Its ability to support a particular trade still depends on the liquidity available under its pricing rules.
Deposits and Provider Returns
The deposit requirements for a liquidity pool depend on its design. Some familiar pools accept two assets supplied in equal value, but neither two assets nor equal-value deposits define all pools. Holding assets in a smart contract also does not automatically mean there is a fixed lock-up period. Withdrawal rules, access conditions and transaction costs vary by protocol.
Providers may receive a share of trading fees and, where offered, separate incentive payments. The amount earned depends on activity, the position’s eligibility for fees and the protocol’s allocation rules. Some protocols issue liquidity provider (LP) tokens as evidence of a provider’s pool position; these tokens are not inherently an extra reward or proof of profit. Fee income must be weighed against costs and changes in the position’s value.
Looking for liquidity, exploring on-ramp/off-ramp services, or seeking expert guidance?
Get startedPricing and Execution Limits
Available liquidity and trade size affect the execution price in a liquidity pool. A larger trade relative to the liquidity available at relevant prices generally causes greater price impact: the trade itself moves the pool’s price as it changes the balances. Slippage describes a difference between the quoted or expected result and the actual execution result, which can also reflect market changes or intervening transactions.
Automated pricing does not create unlimited assets or guarantee that a swap will succeed. A transaction may fail if its output would breach the trader’s minimum acceptable amount or another protocol condition. Trading fees and network costs can also affect the total cost of a swap.
Risks for Liquidity Providers
Providing assets to a liquidity pool exposes them to smart contract vulnerabilities and exploits, which can cause partial or total loss. Changes in the market value of deposited assets can also reduce the position’s value. These risks remain even when the pool generates trading fees.
Impermanent loss is possible underperformance compared with holding the deposited assets separately when their relative prices change and trading rebalances the pool’s asset mix. A decline in an asset’s price alone is not the definition: the relevant comparison is what the same starting assets would be worth if held outside the pool. Fees and incentives may offset this shortfall, but need not do so. Despite its name, impermanent loss does not necessarily reverse and can be realized when assets are withdrawn.