Overview and general information about the Polymarket Websocket
user
and market
.
Field | Type | Description |
---|---|---|
auth | Auth | see next page for auth information |
markets | string[] | array of markets (condition IDs) to receive events for (for user channel) |
assets_ids | string[] | array of asset ids (token IDs) to receive events for (for market channel) |
type | string | id of channel to subscribe to (USER or MARKET) |
auth
field is of type Auth
which has the form described in the WSS Authentication section below.