Endpoint
Authentication
Authentication is optional for this endpoint. Unauthenticated requests can retrieve public wager data. To access private wagers, include the
Key, Timestamp, and HMAC headers.Request
The ID of the wager to retrieve.
Response
Returns aWagerDetail object. Fields match WagerList with the addition of actions.
Unique wager ID.
Wager status:
purchased, sold, won, lost, cancelled, or disabled.Human-readable status label.
User resource reference (read-only).
Event resource reference (read-only).
Market resource reference (read-only).
Position direction:
long (in favor of the outcome) or short (against).Human-readable position label.
Currency code for the wager (for example
OOM, USDC).Consolidated shares held in this wager.
Consolidated shares expressed in the event’s canonical currency.
Total amount associated with the wager.
Cost basis of the open position, adjusted for partial sales.
Amount from active purchases on this wager.
active_purchases
Purchases from the last outcome bought in this event.
Return on investment for the wager.
Earnings associated with the wager.
Projected payout if the wager wins.
Amount available if the position is sold now.
Last profit when the event resolved or the wager was sold.
null if not applicable.Last sale amount when the wager was sold. Always positive when set.
ISO 8601 datetime of the most recent purchase.
ISO 8601 datetime of the most recent wager update.
last_action
Serialized data about the most recent
WagerAction on this wager.Number of user-triggered actions (purchases, sales) on this wager.
Serialized wager action history (read-only).
Example
Sample response