Types are generated from the live OpenAPI spec, so every request and response is typed exactly as the API returns it.
Read a market
Place a forecast
Amounts
On-chain amounts, prices and probabilities arrive as exact decimal strings (for example"10.1" or "0.0384615384615384"), never floats, so nothing is lost to rounding. Two helpers convert them: