{ "event": "subscribe", "channel": "wallets" }
[
CHAN_ID,
'ws',
[
[
WALLET_TYPE,
CURRENCY,
BALANCE,
UNSETTLED_INTEREST,
BALANCE_AVAILABLE,
...
],
...
]
]
[
CHAN_ID,
'wu',
[
WALLET_TYPE,
CURRENCY,
BALANCE,
UNSETTLED_INTEREST,
BALANCE_AVAILABLE,
...
]
]
Stream Fields
Term | Type | Description |
---|---|---|
WALLET_TYPE | string | Wallet name (exchange, margin, funding) |
CURRENCY | string | Currency (USDT, EOS, etc) |
BALANCE | float | Wallet balance |
UNSETTLED_INTEREST | float | Unsettled interest |
BALANCE_AVAILABLE | float / null | Amount not tied up in active orders, positions or funding (null if the value is not fresh enough). |
Important
These messages have gained the ability to send the calculation values (available balance) equal to "null" meaning that the new calculated value is not yet available.
In order to receive those values the user have to actively request for it with a "calc" message.
See calc input dedicated section for more details.