Wallet
This topic pushes spot wallet information
Push frequency: real-time
Topic: outboundAccountInfo
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| topic | string | Topic name |
| ts | number | The timestamp (ms) that message is sent out |
| type | string | Data type. snapshot |
| data | array | Object |
| > e | string | Event type |
| > E | string | Timestamp |
| > T | boolean | Allow trade |
| > W | boolean | Allow withdraw |
| > D | boolean | Allow deposit |
| > B | array | Wallet balance change |
| >> a | string | coin name |
| >> f | string | Available balance |
| >> l | string | Reserved for orders |
Subscribe Example
{
"req_id": "acctInfo_1", //optional
"op": "subscribe",
"args": [
"outboundAccountInfo"
]
}
Stream Example
{
"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"
}
]
}
]
}