estimate_shares_out
Estimate shares received for a USDB bet in a prediction market to compute your total payout when combined with existing shares.
Instructions
Estimate shares you'd receive for a USDB bet. Add result to existing shares (from get_my_shares) to get total, then pass total to get_potential_payout with estimated_usdb_to_pool=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>",
"amount_usdb": "<amount_usdb>"
},
"name": "estimate_shares_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| outcome | Yes | ||
| amount_usdb | Yes |