For the complete documentation index, see llms.txt. This page is also available as Markdown.

Balance Updates

Initial balance snapshot and live balance delta events

Use this stream for private balance snapshots and live balance changes.

Endpoint

wss://wallet-mutator-view.outpoll.com/balance/ws

Authentication

Send this message right after connect.

{
  "t": "AUTH",
  "d": {
    "apiKey": "<API_KEY>",
    "signature": "<SIGNATURE>",
    "timestamp": "<UNIX_EPOCH_SECONDS>"
  }
}

Build signature from timestamp + "GET" + "/balance/ws".

Initial snapshot

After auth, the server sends the current balances:

{
  "t": "success",
  "d": {
    "l": [
      {
        "i": "078dcd98-928d-479f-8110-ff6d27e44de2",
        "b": 1250.50,
        "f": 1200.00
      }
    ]
  },
  "r": null
}
Field
Type
Description

d.l[].i

string

Asset ID

d.l[].b

number

Balance

d.l[].f

number

Free balance

Balance delta

Field
Type
Description

u

string

User ID

a

string

Asset ID

aop

number

Average open price

c

number

Cost

b

number

Balance

f

number

Free balance

Python example

Last updated

Was this helpful?