Endpoint
POST/v1/common/convert/cryptoToFiat
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| inCurrency | String | Yes | The code of the source cryptocurrency (e.g., USDT, BTC). |
| inAmount | String | Yes | The amount to be converted. |
| outCurrency | String | Yes | The code of the target fiat currency (e.g., USD, CNY). |
| timestamp | Long | Yes | UNIX timestamp (in milliseconds). |
Response Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| outAmount | String | Yes | The converted amount in fiat currency. |