get_potential_payout
Determine your potential payout in a prediction market by calculating your share of the total pool. Works for current holdings or when previewing a new bet.
Instructions
Calculate prediction market resolution payout: (yourShares / winningCirculatingShares) × totalPool. Two modes: (1) CURRENT: pass existing shares, usdb=0. (2) BET PREVIEW: pass total shares (existing+new), new_shares_from_bet = new shares from estimate_shares_out, usdb = bet amount.
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": {
"market": "<market>",
"outcome": "<outcome>",
"shares": "<shares>"
},
"name": "get_potential_payout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| outcome | Yes | ||
| shares | Yes | Your total shares (existing for current, existing+new for preview) | |
| new_shares_from_bet | No | New shares from estimate_shares_out. Omit or 0 for current position. | |
| estimated_usdb_to_pool | No | 0 for current. Bet amount for preview. |