Metric Docs | How Metric Works
Learn how Metric Active Pools separate pricing from liquidity, quote around external references and route swaps through configurable onchain pools.
Learn how Metric Active Pools separate pricing from liquidity, quote around external references and route swaps through configurable onchain pools.
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 How Metric Works and the practical checks that matter when using or integrating the protocol.
Pricing and liquidity are separate
The Price Provider gives the pool a bid, ask and reference price. The pool then uses its configured bins and spread logic to determine where liquidity is available and how a swap can execute.
Quote lifecycle
| Step | What happens |
|---|---|
| 1. Reference | Provider produces current pricing |
| 2. Validation | Freshness and safeguards are checked |
| 3. Liquidity | Eligible bins are evaluated |
| 4. Execution | The swap consumes available liquidity under pool rules |
When a pool should stop quoting
If reference data is stale, invalid or blocked by a safeguard, the safer behavior is to reject the trade. This protects LP capital from execution against obviously outdated information.
Related Metric Docs
Last updated