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

Metric Docs | Swap Directly via Pool

Understand direct Metric pool execution, when it may be appropriate and which pool-specific quote and safeguard checks must be respected.

Understand direct Metric pool execution, when it may be appropriate and which pool-specific quote and safeguard checks must be respected.

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

Direct execution

Direct pool execution can reduce abstraction when the application already knows the exact pool it intends to use.

Additional responsibility

The caller must validate pool configuration, quote state, token order and execution bounds itself rather than relying on a router to select the venue.

Use cases

Direct calls are most appropriate for controlled integrations, specialized routing or testing where the target pool is explicit.

Last updated