Glossary · Infrastructure

What is Liquidity pool?

A liquidity pool is a smart contract holding two (or more) assets that anyone can trade against: put in one, take out the other, price set by the pool's ratio. Pools replaced order books as the default DEX mechanism because a contract cannot forget to fill you.

Depth is the whole game: a deep pool absorbs size without moving, a thin one turns your market order into the market. That is why routers split trades across pools and chains, hunting the ratio that leaves the most of your value intact.

How Liquidity pool works

A liquidity pool is a smart contract holding two or more assets that anyone can trade against. Instead of matching a buyer with a seller, the pool is both counterparies: you deposit one asset and receive the other at a price computed from the pool's ratio. The math is continuous, so price moves with trade size, which is the origin of slippage.

Liquidity providers deposit pairs into the pool and earn fees from every trade against it, pro rata to their share. That incentive is what fills pools with the depth that makes trading cheap: more liquidity means larger trades move price less. Pool depth is thus a public, checkable fact rather than a broker's promise.

For routing, pools are the venues an aggregator composes. A trade's effective price is the composition of pool ratios along its path, which is why the router compares paths rather than trusting any single pool.

Liquidity pool in practice

A SOL and USD-token pool might hold millions on each side. A small swap executes near the mid price; a whale's swap pushes the ratio visibly and pays for the privilege through slippage, unless the aggregator splits the trade across pools to soften it.

Liquidity pool on U.CASH

The U.CASH swap routes across every pool it can reach on 35 networks, scanning depth and splitting routes so the quoted price is the settled price.

Merchants meet pools as the pricing mechanism behind every swap into their settlement asset. Pool depth decides the spread on large receipts, and the live quote reflects it; the deeper the corridor you settle in, the flatter your effective costs. A note on timing: pool depth breathes with market sessions and volatility, so the same conversion can cost different amounts at different hours. Nothing requires the merchant to time markets, only to avoid converting unusually large receipts in a single stroke during thin hours. Splitting a big receipt into two legs an hour apart is usually enough to clear the spread question entirely.

Related infrastructure terms

DEX routingCross-chain swapGas fees

See also

DEX routingSlippage

Liquidity pool: FAQ

Who provides the liquidity?
Anyone who deposits assets into a pool and earns fees from the trades against it, from protocol treasuries to passive yield-seekers. Liquidity is crowdsourced; so is its depth.
Can a pool run out of one side?
No: the ratio just gets extreme, which is the pool's way of screaming a price. Arbitrageurs rebalance it toward the wider market, which is why pools track.
Who owns the assets in a pool?
The liquidity providers, pro rata, under the pool contract's rules. They can typically withdraw their share; the fees they earn are the compensation for providing depth.
Why do big trades get worse prices?
Pool pricing follows the ratio: a trade shifts it, and the further it shifts, the worse the marginal rate. Slippage is that curve, quoted before you sign.
Can a pool run out of one side?
The ratio approaches but does not reach zero under standard pool math; price just rises steeply. Aggregators route around thin pools for exactly this reason.
Keep reading

The glossary, A to Z

Every term behind the rails, the assets, and the settlement.