币种基础信息
HTTP请求 获取平台所有币种信息
- GET
/api/v2/public/currencies
限速规则:20次/1s
请求参数
NONE
请求示例
curl "https://api-spot.weex.com/api/v2/public/currencies"
返回参数
| 字段名 | 字段说明 |
|---|---|
| coinId | 币种id |
| coinName | 币种名称 |
| transfer | 是否可以划转 |
| chains | 链信息 |
| > chain | 链名称 |
| > needTag | 是否需要tag |
| > withdrawAble | 是否可提现 |
| > rechargeAble | 是否可充值 |
| > withdrawFee | 提现手续费 |
| > depositConfirm | 充值确认块数 |
| > withdrawConfirm | 提现确认块数 |
| > minDepositAmount | 最小充值数 |
| > minWithdrawAmount | 最小提现数 |
| > browserUrl | 区块浏览器地址 |
返回示例
{
"code":"00000",
"msg":"success",
"requestTime":1622097139437,
"data":[
{
"coinId":"1",
"coinName":"BTC",
"transfer":"true",
"chains":[
{
"chain":null,
"needTag":"false",
"withdrawAble":"true",
"rechargeAble":"true",
"withdrawFee":"0.005",
"depositConfirm":"1",
"withdrawConfirm":"1",
"minDepositAmount":"0.001",
"minWithdrawAmount":"0.001",
"browserUrl":"https://blockchair.com/bitcoin/testnet/transaction/"
}
]
},
{
"coinId":"2",
"coinName":"USDT",
"transfer":"true",
"chains":[
{
"chain":"ERC20",
"needTag":"false",
"withdrawAble":"true",
"rechargeAble":"true",
"withdrawFee":"0.01",
"depositConfirm":"12",
"withdrawConfirm":"1",
"minDepositAmount":"0.1",
"minWithdrawAmount":"0.1",
"browserUrl":"https://ropsten.etherscan.io/tx/"
}
]
}
]
}