Market Cap: $2.219T -3.80%
Volume(24h): $129.2422B -1.59%
Fear & Greed Index:

23 - Extreme Fear

  • Market Cap: $2.219T -3.80%
  • Volume(24h): $129.2422B -1.59%
  • Fear & Greed Index:
  • Market Cap: $2.219T -3.80%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

What is a liquidity pool? (AMM basics)

A liquidity pool is a smart contract holding paired tokens, enabling AMM swaps via the x×y=k formula—LPs earn fees but face impermanent loss, smart contract risks, and immutable execution.

Feb 26, 2026 at 10:40 am

Definition and Core Functionality

1. A liquidity pool is a smart contract–based reservoir of paired digital assets locked in a decentralized finance protocol.2. It serves as the foundational mechanism enabling automated market makers to facilitate token swaps without order books.3. Users known as liquidity providers deposit equivalent values of two tokens—such as ETH and USDC—into the pool simultaneously.4. Each deposit increases the pool’s total reserves, directly influencing price determination via mathematical formulas.5. In return for supplying capital, liquidity providers earn a share of transaction fees generated from every trade executed against the pool.

How Pricing Is Determined

1. Most pools operate under the constant product formula: x × y = k, where x and y represent reserve quantities of each token and k remains invariant during trades.2. When a user buys Token A with Token B, the pool’s Token B reserve increases while Token A decreases, shifting the ratio and causing price movement.3. This dynamic ensures that larger trades result in greater slippage due to non-linear reserve changes.4. The relative scarcity or abundance of either asset in the pool dictates instantaneous exchange rates at any given moment.5. No external price feeds or centralized entities intervene—the math embedded in the smart contract governs all valuation adjustments.

Risks Faced by Liquidity Providers

1. Impermanent loss occurs when the price ratio of deposited tokens diverges significantly from the initial deposit ratio.2. Even if the underlying assets appreciate in value, LPs may realize lower net returns compared to simply holding both tokens externally.3. Smart contract vulnerabilities expose funds to potential exploits, especially in newly audited or unaudited protocols.4. Protocol-level governance decisions—such as fee structure changes or pool parameter upgrades—can materially affect yield distribution and risk exposure.5. Withdrawal restrictions or temporary lockups may apply during emergency upgrades or security incidents, limiting capital mobility.

Fee Structures and Yield Mechanics

1. Trading fees are typically set per pool—common tiers include 0.01%, 0.05%, 0.30%, or 1%—and are collected on every swap.2. These fees accrue directly into the pool reserves, increasing the proportional value of each LP’s share over time.3. Some protocols distribute additional rewards in native governance tokens, amplifying yield but introducing volatility and vesting considerations.4. Fee tiers often correlate with asset pair risk profiles—stablecoin pairs usually carry lower fees than volatile meme coin pairings.5. Realized yield depends not only on volume and fee rate but also on impermanent loss magnitude, withdrawal timing, and gas cost efficiency.

Common Questions and Direct Answers

Q: Can I provide liquidity with only one token?A: No. AMM-based liquidity pools require balanced deposits of both tokens in the pair. Single-asset deposits are only supported in specialized wrappers or yield aggregators—not in core pool contracts.

Q: What happens if one token in the pool becomes worthless?A: The pool continues operating mathematically, but the effective value of the worthless token approaches zero. LPs retain proportional claims to both reserves, meaning their share includes near-zero-value assets unless withdrawn early.

Q: Do liquidity providers control how trades execute?A: No. Execution logic is immutable once deployed. LPs cannot alter slippage tolerance, pause swaps, or modify routing—even during extreme volatility or flash crash conditions.

Q: Is my LP position visible on-chain?A: Yes. Every deposit, withdrawal, and fee accrual is recorded as a transaction on the blockchain. Wallets and explorers display real-time balance changes tied to your unique pool token holdings.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct