錢包
該訂閱用於推送現貨錢包信息
推送頻率: 實時
Topic: outboundAccountInfo
響應參數
參數 | 類型 | 說明 |
---|---|---|
topic | string | Topic名 |
ts | string | 消息被推送出來的時間戳 (毫秒) |
type | string | 數據類型. snapshot |
data | array | Object |
> e | string | 事件類型 |
> E | string | 時間戳 (毫秒) |
> T | boolean | 允許交易 |
> W | boolean | 允許提現 |
> D | boolean | 允許充值 |
> B | array | 錢包資產變化數組 |
>> a | string | 幣種 |
>> f | string | 可用餘額 |
>> l | string | 委託單預佔用金額 |
訂閱示例
{
"req_id": "acctInfo_1", //optional
"op": "subscribe",
"args": [
"outboundAccountInfo"
]
}
推送示例
{
"type": "snapshot",
"topic": "outboundAccountInfo",
"ts": "1662107217641",
"data": [
{
"e": "outboundAccountInfo",
"E": "1662107217640",
"T": true,
"W": true,
"D": true,
"B": [
{
"a": "USDT",
"f": "176.81254174",
"l": "201.575"
}
]
}
]
}