獲取幣種資產列表
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可用數量
}
]
}
}