Metric Docs | Oracles
Learn how external oracle inputs such as Chainlink, Pyth and other verified sources can anchor Metric pool pricing and protect liquidity.
Learn how external oracle inputs such as Chainlink, Pyth and other verified sources can anchor Metric pool pricing and protect liquidity.
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 Oracles and the practical checks that matter when using or integrating the protocol.
Oracle role in Metric
Oracles can provide an independent reference used by a Price Provider or anchored-pricing design. Public descriptions of Metric mention sources such as Chainlink and Pyth alongside other valid pricing inputs.
Oracle failure modes
| Risk | Mitigation |
|---|---|
| Stale update | Enforce freshness thresholds |
| Bad signature or unauthorized push | Validate source and authorization |
| Feed outage | Stop quoting or use an explicitly defined safe fallback |
| Wrong asset mapping | Verify feed, decimals and chain deployment |
Integration rule
Never assume that a feed address from one chain or asset can be reused elsewhere. Verify the current deployment reference before production use.
Related Metric Docs
Last updated