> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockradar.co/llms.txt
> Use this file to discover all available pages before exploring further.

# 流动性池 API

> 管理基于通道结算的稳定币流动性汇率。

流动性池 API 允许您定义和管理稳定币对的汇率。这为外汇柜台和通道结算用例提供支持，让您能够以一致的、程序化管理的汇率向交易对手方提供服务。

## 功能概述

* 为稳定币对创建汇率
* 查询当前和历史汇率
* 更新或停用汇率
* 重新激活之前停用的汇率

## 端点

| 方法      | 端点                                          | 描述     |
| ------- | ------------------------------------------- | ------ |
| `POST`  | `/liquidity-pool/rates`                     | 创建新汇率  |
| `GET`   | `/liquidity-pool/rates/{rateId}`            | 获取汇率   |
| `PATCH` | `/liquidity-pool/rates/{rateId}`            | 更新汇率   |
| `POST`  | `/liquidity-pool/rates/{rateId}/deactivate` | 停用汇率   |
| `POST`  | `/liquidity-pool/rates/{rateId}/reactivate` | 重新激活汇率 |
| `GET`   | `/liquidity-pool/rates/{rateId}/history`    | 获取汇率历史 |

<Card title="完整 API 参考" icon="book" href="/zh/api-reference/liquidity-pool/create-rate">
  在 API 参考选项卡中查看所有流动性池端点。
</Card>
