Wallets

{ "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

TermTypeDescription
WALLET_TYPEstringWallet name (exchange, margin, funding)
CURRENCYstringCurrency (USDT, EOS, etc)
BALANCEfloatWallet balance
UNSETTLED_INTERESTfloatUnsettled interest
BALANCE_AVAILABLEfloat / nullAmount 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.