# 匯率

### <mark style="color:blue;">取得匯率</mark>

端點： `POST /getExchangeRates`

說明： 擷取所有支援的 mainnet 幣值的匯率。

請求參數：

| 參數                | 類別                                                                   | 需要 | 說明             |
| ----------------- | -------------------------------------------------------------------- | -- | -------------- |
| requestedCurrency | [Currency](/traditional-chinese/secureapi/can-kao-zi-liao.md#huo-bi) | 是  | 要取得匯率的貨幣（例如美元） |

回應：

```json
{
  "[currency: string]": "string"
}
```

範例：

```json
{
  "CNY": "0.10233",
  "HKD": "7.78"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akashicpay.com/traditional-chinese/secureapi/han-shi-functions/hui-l.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
