Aspiro

Home → Blog

What Is a Liquidity Pool? How It Works in DeFi

Decentralized exchanges have no usual order book; liquidity pools take its place. Here's how they work and what risks you take on when you deposit coins into one.

Aspiro Editorial · 18.10.2026

What it is

A liquidity pool is a smart contract that holds two tokens, for example ETH and USDC. Traders swap one for the other directly with the pool, and the price is set by a formula: the more of one token is taken out of the pool, the more expensive it becomes. This is how decentralized exchanges (DEXs) such as Uniswap work.

Who deposits the coins

Liquidity providers put both tokens into the pool in equal value. In return, they get a share of the fees from every swap. The more swaps, the more fees.

Risks

RiskWhat it is
Impermanent lossThe token prices diverged, and the result is worse than just holding the coins
Contract bugIf it's hacked, the money in the pool can disappear
Scam poolThe creators pull the liquidity: a rug pull
Token crashIf a token loses value, so does your share

For swaps: small pools have high slippage, and you need to verify the token address because fakes are common. More in the article DeFi. For a beginner, it's easier to start with a major exchange: how to choose a crypto exchange.

Our partner link. If you decide to open an OKX account, sign up through it: it's free for you and doesn't change your terms. If you trade, the exchange pays Aspiro a referral bonus, which goes toward developing our apps and the free Academy. We have no access to your account, money or trades.

Open an OKX account with our link Step-by-step guide

  • A liquidity pool is a contract holding two tokens for swaps.
  • Providers get a share of the fees, but they carry risks.
  • The main risks are impermanent loss and contract bugs.

Frequently Asked Questions

What is impermanent loss?

It's the difference between the value of your coins in the pool and what they'd be worth if you had simply held them in your wallet. It appears when the prices of the two tokens diverge significantly.

Can I lose all my money in a pool?

Yes: if the contract is hacked, the creators run a scam, or one of the tokens crashes. Only deposit what you're prepared to lose.

How is a pool different from an exchange order book?

In an order book, the price is set by participants' orders. In a pool, it's set by a formula based on the ratio of the tokens, with no matching orders.

Start with free education

A step-by-step OKX guide and free Aspiro Academy courses: 26 lessons on investing and trading from scratch, with practice and a certificate.

OKX guide: sign-up and first trades →

Read also

Ask a question

Questions about learning, Aspiro apps or exchanges? Message me — I reply personally.

Message on TelegramDmitriy Smirnov · +7 708 808 88 99