Get wager details
get_wager_detailsInspect a single wager by ID to review status, position, shares, cost basis, ROI, payout, sell value, and action history. Use it to verify a position or confirm sale results.
Instructions
Returns one wager by its wager id: status, long or short position, shares held, cost basis, ROI, what it pays if it wins (amount_on_win), what it would sell for now (amount_on_sell), the market and event it belongs to, and the actions history of purchases, sales and resolution. Use it to inspect a position or to check the result after a sale. event.order_book_enabled tells you how the position can be sold; see sell_bet. Get wager ids from get_user_bets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_wager_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Wager id, as returned by get_user_bets (field `id`). This is not a market id or an event id. |