Quote a Bopster position
quote_positionEstimate the payout a YES or NO position of a given stake would receive if that side wins on a Bopster market on Base. Read-only and parimutuel, so the estimate changes with later positions.
Instructions
Estimate what a YES or NO position of a given size would pay on a Bopster market if its side wins, read from the market contract on Base. Read-only: builds no transaction. Payouts are parimutuel, so the estimate moves with every later position.
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>",
"side": "<side>",
"amount": "<amount>"
},
"name": "quote_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Which side to take. | |
| amount | Yes | Stake in whole token units, e.g. "5" for 5 USDC (not base units). | |
| market | Yes | The Bopster market contract address (0x...). |