Subscribe to changes in a particular user’s orders. You will receive updates when orders are filled, cancelled, or posted. Note that for performance reasons, updates are delayed by at most 100ms. CHANNEL NAME FORMATDocumentation Index
Fetch the complete documentation index at: https://docs.sx.bet/llms.txt
Use this file to discover all available pages before exploring further.
active_orders:{maker}
| Name | Type | Description |
|---|---|---|
| maker | string | The maker address to subscribe to |
The channel no longer includes a
baseToken parameter. Updates for all tokens are now broadcast on a single channel per maker address.status and updateTime fields.
| Name | Type | Description |
|---|---|---|
| orderHash | string | A unique identifier for this order |
| marketHash | string | The market for this order |
| status | string | "ACTIVE" if still valid, "INACTIVE" if cancelled, "FILLED" if completely filled. See Order Lifecycle for transition semantics. |
| fillAmount | string | How much this order has been filled in Ethereum units. See unit conversion. |
| pendingFillAmount | string | Amount pending fill in Ethereum units. See unit conversion. |
| totalBetSize | string | Total size of this order in Ethereum units. See unit conversion. |
| percentageOdds | string | The odds the maker receives in the sportx protocol format. To convert to implied odds divide by 10^20. To get taker implied odds: takerOdds = 1 - percentageOdds / 10^20. See unit conversion. |
| expiry | number | Deprecated. Always 2209006800. |
| apiExpiry | number | The time in unix seconds after which this order is no longer valid |
| salt | string | A random number to differentiate identical orders |
| isMakerBettingOutcomeOne | boolean | true if the maker is betting outcome one |
| signature | string | Signature of the maker on this order |
| updateTime | string | Server-side clock time for the last modification of this order |
| sportXeventId | string | The event related to this order |
orderHash, order them by updateTime after converting to a BigInt.
