Assets Channel

Retrieves spot account information. A full data snapshot is pushed on initial subscription. Data is pushed when the following events occur: order fill, transfer, deposit, or withdrawal.

Channel name: spotAssets

The spotAssets channel provides authenticated balance updates for the SPOT account. It is useful for tracking available, frozen, and locked balances in response to trading and wallet activity.

Subscription Request

{
  "op": "subscribe",
  "args": [
    {
      "instType": "SPOT",
      "channel": "spotAssets",
      "coin": "default"
    }
  ]
}

Push Data Format

{
  "action": "snapshot",
  "arg": {
    "instType": "SPOT",
    "channel": "spotAssets",
    "instId": "default",
    "coin": "default"
  },
  "data": [
    {
      "coin": "USDT",
      "available": "5116734.53215235216",
      "frozen": "0",
      "locked": "0",
      "uTime": "1767358736200"
    },
    {
      "coin": "BTC",
      "available": "9999998.4865669515",
      "frozen": "0.1",
      "locked": "0",
      "uTime": "1767358736200"
    }
  ]
}

Field Descriptions

FieldTypeDescription
coinStringCoin
availableStringAvailable balance
frozenStringFrozen balance
lockedStringLocked balance
uTimeStringUpdate time, in milliseconds