跳至主要内容

錢包

該訂閱用於推送現貨錢包信息

推送頻率: 實時

Topic: outboundAccountInfo

響應參數

參數類型說明
topicstringTopic名
tsstring消息被推送出來的時間戳 (毫秒)
typestring數據類型. snapshot
dataarrayObject
> estring事件類型
> Estring時間戳 (毫秒)
> Tboolean允許交易
> Wboolean允許提現
> Dboolean允許充值
> Barray錢包資產變化數組
>> astring幣種
>> fstring可用餘額
>> lstring委託單預佔用金額

訂閱示例

{
"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"
}
]
}
]
}