get_market_history
Retrieves timestamped YES/NO price data for a prediction market to support charting and trend analysis, with optional chain ID and result limit filters.
Instructions
Get price history for a market. Returns timestamped YES/NO price data points for charting and trend analysis. Optionally specify chain_id and limit.
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": {
"address": "<address>"
},
"name": "get_market_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max data points to return (max 5000) | |
| address | Yes | Market contract address | |
| chain_id | No | EVM chain ID (auto-detected if omitted) |