> For the complete documentation index, see [llms.txt](https://docs.metric.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metric.xyz/reference/sdk.md).

# SDK

TypeScript SDK for quoting, swapping and managing liquidity on Metric.

Latest version under <https://www.npmjs.com/package/@metric.xyz/metric-omm-sdk-v1>

Use 0.6.5 or later. Before 0.6.4 the SDK bundles the previous `MetricOmmSwapQuoter`, which returns Live quotes for paused pools. 0.6.4 bundles the current quoter but can't decode its `PoolPaused` revert. From 0.6.5, a Live quote on a paused pool rejects with `errorName === "PoolPaused"`.

{% hint style="info" %}
SDK documentation is in progress. See the [API](/reference/api.md) and [Smart contracts](/reference/smart-contracts.md) references.
{% endhint %}
