获取单个币种资产
GET: /v1/spot/balance
Parameters
参数 | 数据类型 | 是否必须 | 默认值 | 描述 | 取值范围 |
---|---|---|---|---|---|
currency | string | true | eg:usdt |
Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": {
"currency": "usdt", //币种
"currencyId": 0, //币种ID
"frozenAmount": 0, //不可用(全部冻结=冻结+锁仓+跟单+委托+提现)
"freeze": 0, //冻结
"lock": 0, //锁仓
"copyTrade": 0, //跟单
"trade": 0, //委托
"withdraw": 0, //提现
"availableAmount": 0, //可用数量
"totalAmount": 0, //总数量
"convertBtcAmount": 0, //折算BTC数量
"convertUsdtAmount": 0 //折算USDT数量
}
}