Documentation Index
Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the prediction event.
The unix timestamp.
The stat durations to include.
See PredictionStatsDuration
The number of stat buckets to return.
Used By
Used as input by- detailedPredictionEventStats: Returns windowed and all-time stats for a prediction event.
Example Usage
Field Descriptions
Required Fields
eventId(String!) - The unique identifier for the prediction event (e.g.,67284:Polymarket:0xc5d563a36ae78145c45a50134d48a1215220f80a:137)
Usage Notes
- This input type accepts only the
eventIdfield - Use this to fetch detailed statistics for a specific prediction event
- Event IDs are unique identifiers in the format
<venueId>:<protocol>:<address>:<networkId> - To find event IDs, use
filterPredictionEventsor get them from theeventIdfield on prediction markets - The event must exist and have available data, otherwise the query returns null
Related Queries
detailedPredictionEventStats- Query that uses this input typefilterPredictionEvents- Find events to get their IDsdetailedPredictionMarketStats- Get stats for a specific market within an event