WebSocket · Private
Spot Account Channel
Gets spot account information and pushes data per the subscription dimension on the first subscription. Data is pushed when any of the following happens:
Login requiredPush frequency: real-time (on balance change)
ChannelspotAssets
instTypeSPOT
Private channels require login with the same ACCESS-KEY, passphrase, timestamp and signature as REST. See Authentication & Signing.
- Order closed
- Transfer
- Deposit
- Withdrawal
Subscribe request
{ "op": "subscribe", "args": [ { "instType": "SPOT", "channel": "spotAssets", "coin": "default" } ]}Push data format
{ "action": "snapshot", "arg": { "instType": "SPOT", "channel": "spotAssets", "instId": "default" }, "data": [ { "coin": "USDT", "available": "5116734.53215235216", "frozen": "0", "locked": "0", "uTime": "1767358736200" }, { "coin": "BTC", "available": "9999998.4865669515", "frozen": "0.1", "locked": "0", "uTime": "1767358736200" } ]}Fields
| Field | Type | Description |
|---|---|---|
| coin | String | Coin |
| available | String | Available balance |
| frozen | String | Frozen balance |
| locked | String | Locked balance |
| uTime | String | Update time |
