Query currency list
GET/conf/list/currency
Query the list of currencies that the merchant has opened.
Request
Query Parameters
chainId int32
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
code int32required
Status code
msg stringrequired
Status message on success or error message on failure
description string
Detailed description when error
data
object[]
currencyId int32required
Currency ID
chainId int32required
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
name stringrequired
Name of the currency
symbol stringrequired
Symbol of the currency
address stringrequired
Contract address of the currency
decimals int32required
Decimals of the currency
createTime date-timerequired
Creation time
icon stringrequired
Currency icon, Base64 format
exchangeRate string
Real-time exchange rate from USDT to this currency
{
"code": 0,
"msg": "string",
"description": "string",
"data": [
{
"currencyId": 0,
"chainId": 0,
"name": "string",
"symbol": "string",
"address": "string",
"decimals": 0,
"createTime": "2024-11-07T07:25:10.973Z",
"icon": "string",
"exchangeRate": "string"
}
]
}
{
"code": 200,
"msg": "success",
"data": [
{
"currencyId": 1,
"chainId": 1,
"name": "TRON",
"symbol": "TRX",
"address": "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
"decimals": 6,
"createTime": "2023-08-02 18:04:33",
"icon": "data:image/webp;base64,UklGRh4EAABXRUJQVlA4TBIEAAAvL0AMEL+moG0bxpDGn94fgymeEwNp24aejicuBkcEAAgqBjOCAQFgAAAIQcVjGDQEiQAQVIQBYLBgCDCYMEAYNAQAgGBEMCP4QqK2bWcjvekUY9sza9vesWdt27Zt79j2rG272DZ5DygojiCi/xNwtPvi2vR+wTp4bNpPSn9fN5zfmDssyugRgaVUdnx/ePfggqkpATo3YaEk+/tHIknJ/Kbh/IbsoZFGNyQ9kz1fWbz/Tu83O+X2b7139s+bkhygc4lwhLSI7J0pGCOH5mw43/DGLJGk9O913dl1WUMiDM5g6m/W3XTwyxITAOgCUqYuOHj34XcH5favPbf2zpkUosm/jG8n7DL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