Balance
When connected to the user data stream via Socket.IO, the system automatically streams balance updates whenever changes occur.
Message Structure
Fields
Field | Type | Description |
---|---|---|
et | int32 | Event type (2 for balance updates). |
u | string | User ID. |
c | string | Currency name (e.g., ETH , USDT ). |
t | string | Total balance. |
a | string | Available balance. |
l | string | Timestamp of the most recent update (in milliseconds). |
Example Message
{
"et": 2,
"u": "1",
"c": "ETH",
"t": "99.20000000",
"a": "89.20000000",
"l": "1720782813249"
}