Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Metric Docs | Get Liquidity Depth

Learn how to inspect Metric pool depth onchain and use it to reason about executable size, bin coverage and route capacity.

Learn how to inspect Metric pool depth onchain and use it to reason about executable size, bin coverage and route capacity.

Metric is built around Active Pools: liquidity pools that use a Price Provider to supply bid, ask and reference prices instead of relying only on reserve ratios. This page focuses on Get Liquidity Depth and the practical checks that matter when using or integrating the protocol.

Depth explains capacity

Liquidity depth shows how much size is available across the pool’s relevant bins or price ranges. It is essential for size-aware routing.

Interpret by direction

Available depth can differ depending on which asset is being bought or sold. Keep direction explicit in analytics and routing code.

Use with fresh pricing

Depth without a current reference price is incomplete. Pair depth reads with the current quote state when estimating fills.

Last updated