Skip to main content

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.

id
String!
The unique identifier.
eventId
String!
The ID of the prediction event.
protocol
PredictionProtocol!
The prediction protocol. See PredictionProtocol
venueMarketId
String!
The venue-specific market ID.
venueMarketSlug
String
The venue-specific market slug.
exchangeAddress
String
The exchange contract address.
networkId
Int
The network ID.
venueEventId
String
The venue-specific event ID.
label
String
The display label.
suggestedLabel
String
A best-effort display label for the market: the market label when present and meaningful, otherwise the question. If the event name appears inside the label it is stripped out.
question
String
The question or title.
collateral
String!
The collateral backing this market.
createdAt
Int!
The creation timestamp.
opensAt
Int
The timestamp when this entity opens.
closesAt
Int
The timestamp when this entity closes.
resolvesAt
Int
The expected resolution timestamp.
resolvedAt
Int
The actual resolution timestamp.
status
PredictionEventStatus!
The current status. See PredictionEventStatus
tags
[String!]
Tags associated with this entity.
imageThumbUrl
String
URL of the thumbnail image.

Used By

Returned by
  • eventScopedFilterPredictionMarkets: Filters prediction markets within a single event and returns structured classification metadata for each market. Use this instead of filterPredictionMarkets when you need entrant/segment/ladder details (country codes, period+stat grouping, parsed numeric/date rungs) without re-parsing labels client-side.
  • filterPredictionMarkets: Filters prediction markets using optional text, IDs, event constraints, and ranking criteria.