Currency Chain List
Endpoint: /v1/wallet/currencies
Request
Not required
Method
GET
Example
Response Parameters
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
| errno | Yes | int | 0 | Status code |
| errmsg | Yes | string | success | Status message |
| result | Yes | object | See example | Result data |
Result Fields
The result object is keyed by currency symbol.
Each value is a list of supported blockchain networks for that currency.
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
| chain | Yes | string | ERC20 | Blockchain network |
| withdrawEnable | Yes | boolean | true | Whether withdrawals are enabled |
| depositEnable | Yes | boolean | true | Whether deposits are enabled |
Response Example
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
}
]
}
}