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.
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...). |