Spot Account Update
After a successful subscription, whenever the account balance or available balance changes, the server will push updates of the account assets.
Subscribe
{
"method": "SUBSCRIPTION",
"params": [
"spot@private.account.v3.api.pb"
]
}
Request Parameters spot@private.account.v3.api.pb
Response Parameters
| Parameter | Data Type | Description |
|---|---|---|
| privateAccount | json | Account information |
| vcoinName | string | Asset name |
| balanceAmount | string | Available balance |
| balanceAmountChange | string | Change in available balance |
| frozenAmount | string | Frozen balance |
| frozenAmountChange | string | Change in frozen balance |
| type | string | Change type |
| time | long | Settlement time |
Sample data
{
"channel": "spot@private.account.v3.api.pb",
"createTime": 1736417034305,
"sendTime": 1736417034307,
"privateAccount": {
"vcoinName": "USDT",
"coinId": "128f589271cb4951b03e71e6323eb7be",
"balanceAmount": "21.94210356004384",
"balanceAmountChange": "10",
"frozenAmount": "0",
"frozenAmountChange": "0",
"type": "CONTRACT_TRANSFER",
"time": 1736416910000
}
}