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

Metric Docs | SDK

Use the Metric SDK as a higher-level integration layer for pool discovery, quote handling and transaction preparation while keeping safety checks explicit.

Use the Metric SDK as a higher-level integration layer for pool discovery, quote handling and transaction preparation while keeping safety checks explicit.

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 SDK and the practical checks that matter when using or integrating the protocol.

Why use an SDK

An SDK can standardize address handling, quote requests and transaction construction while keeping application code smaller.

Do not hide safety

Even with helper methods, surface chain, tokens, quote freshness, approvals and execution limits in your own application logic.

Version pinning

Pin and review dependency versions for production builds, and test upgrades against the current deployed contracts before rollout.

Last updated