获取币种资产列表
GET
/az/spot/balances
限流规则
10/s/apikey
请求参数
| 参数 | 类型 | 是否必须 | 默认值 | 描述 | 取值范围 |
|---|---|---|---|---|---|
| currencies | string | false | 币种列表,逗号分隔,eg: usdt,btc | ||
| queryAccountId | long | false | 查询账户id,不传递默认使用当前账户id。主账户不允许被查询 | ||
| filterIsDisplayFalse | boolean | false | true | 是否过滤掉 isDisplay 为 false 的币种 |
Response
{
"rc": 0,
"mc": "string",
"ma": [
{}
],
"result": {
"totalUsdtAmount": "0", //折算USDT总资产
"availableUsdtAmount": "0", //折算USDT可用资产
"totalBtcAmount": "0", //折算BTC总资产
"assets": [ //参数内容参考获取单个币种资产接口
{
"currency": "string",
"currencyId": 0,
"frozenAmount": "0", //不可用(冻结+锁仓+跟单+委托+提现)
"freeze": "0", //冻结
"lock": "0", //锁仓
"trade": "0", //委托
"withdraw": "0", //提现
"availableAmount": "0", //可用数量
"totalAmount": "0", //总数量
"convertBtcAmount": "0", //折算BTC数量
"convertUsdtAmount": "0", //折算USDT数量
"convertAvailableUsdtAmount": "0" //折算USDT可用数量
}
]
}
}