Skip to main content

Balance

When connected to the user data stream via Socket.IO, the system automatically streams balance updates whenever changes occur.


Message Structure

Fields

FieldTypeDescription
etint32Event type (2 for balance updates).
ustringUser ID.
cstringCurrency name (e.g., ETH, USDT).
tstringTotal balance.
astringAvailable balance.
lstringTimestamp of the most recent update (in milliseconds).

Example Message

{
"et": 2,
"u": "1",
"c": "ETH",
"t": "99.20000000",
"a": "89.20000000",
"l": "1720782813249"
}