跳到主要内容

获取单个币种资产

GET: /v1/spot/balance

Parameters

参数数据类型是否必须默认值描述取值范围
currencystringtrueeg: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数量
}
}