币种列表
地址/v1/wallet/currencies
接收参数
否
提交方式: GET
示例
curl -d /v1/wallet/currencies
返回参数
| 参数名 | 是否必填 | 类型 | 示例 | 说明 |
|---|---|---|---|---|
| errno | 是 | int | 0 | 状态码 |
| errmsg | 是 | success | success | 状态信息 |
| result | 是 | list | 见示例 | 列表 |
result 参数说明
| 参数名 | 是否必需 | 类型 | 示例 | 说明 |
|---|---|---|---|---|
| chain | 是 | string | bitcoin | 链名称 |
| withdrawEnable | 是 | string | true | 是否可提 |
| depositEnable | 是 | string | true | 是否可充 |
返回示例
JSON
{
"errno": 0,
"errmsg": "success",
"result": {
"BTC": [
{
"chain": "BTC",
"withdrawEnable": false,
"depositEnable": false
}
],
"ETH": [
{
"chain": "ERC20",
"withdrawEnable": true,
"depositEnable": true
}
],
"USDT": [
{
"chain": "ERC20",
"withdrawEnable": true,
"depositEnable": true
},
{
"chain": "TRC20",
"withdrawEnable": true,
"depositEnable": true
},
{
"chain": "BEP20",
"withdrawEnable": false,
"depositEnable": false
}
]
}
}