This article was generated with AI and is republished from the BlazePhoenix blog.
A liquidity pool is two token piles a contract holds so anyone can trade against them; the ratio sets the price and real depth decides your cost.
On an exchange with an order book, you trade against other people. On a DEX, you trade against a pool: a smart contract holding two piles of tokens — say ETH and USDC. Anyone can add tokens (become a liquidity provider) or swap against them. There is no counterparty waiting to take the other side; the pile itself is the market.
The price is just the ratio of the two piles, kept honest by a rule the contract enforces on every trade. Take ETH out and put USDC in, and ETH gets scarcer in the pool, so its price rises for the next person. Nobody sets that price by hand — it falls out of the arithmetic. That is why a DEX can run 24/7 with no market makers.
Depth, yield, and the catch
Liquidity providers earn a cut of every swap's fee, proportional to their share of the pool — that is the yield. In exchange they take on impermanent loss: if the two tokens' prices diverge, they can end up worse off than just holding. Deep pools (lots of tokens) give traders tiny price impact and LPs steady fees; thin pools give brutal impact and volatile returns.
The number that matters to you as a trader is REAL depth — what the contract actually holds, not what a screener advertises. A pool can display a big number while the tokens have quietly left. Read any pool's true balances on a block explorer — or with a balanceOf call on the token contract — before you trust its depth.
Verify it yourself: read a pool's actual pile yourself: cast call "balanceOf(address)(uint256)" --rpc-url https://mainnet.base.org — that on-chain balance is the number that sets your price
Originally published by BlazePhoenix at https://blazephoenix.xyz/learn/what-is-a-liquidity-pool. Text licensed under CC BY 4.0: credit BlazePhoenix with a link to https://blazephoenix.xyz.
Top comments (0)