查询货币列表
GET/conf/list/currency
查询商户已开通的数字货币列表。
Request
Query Parameters
chainId int32
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object[]
currencyId int32required
货币 ID
chainId int32required
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
name stringrequired
货币名称
symbol stringrequired
货币符号
address stringrequired
货币地址
decimals int32required
货币小数位数
createTime date-timerequired
创建时间
icon stringrequired
货币图标,Base64 格式
exchangeRate string
USDT 与该货币的实时汇率
{
"code": 0,
"msg": "string",
"description": "string",
"data": [
{
"currencyId": 0,
"chainId": 0,
"name": "string",
"symbol": "string",
"address": "string",
"decimals": 0,
"createTime": "2024-11-07T07:26:37.858Z",
"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/jG8n7DLTvD8U6sao4bmbLjS+NUskKZmvx2vBQon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