Latest-resolved-sports-markets
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: matic, dataset: combined) archive full history combined archive + realtime in one result
What it returns
- block time
- description
- event type
- condition ID
- question ID
- outcomes index
- label
- outcome index
- title
- market ID
- resolution source
- image
- created at
- transaction hash
Filters
- management event type is Resolved
- management description contains sports
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(network: matic, dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
query LatestResolvedSportsMarkets {
EVM(network: matic) {
PredictionManagements(
limit: { count: 10 }
orderBy: { descending: Block_Time }
where: {
Management: {
EventType: { is: "Resolved" }
Description: { includes: "sports" }
}
}
) {
Block {
Time
}
Management {
Description
EventType
Prediction {
Condition {
Id
QuestionId
Outcomes {
Index
Label
}
}
Outcome {
Index
Label
}
Question {
Title
MarketId
ResolutionSource
Image
CreatedAt
}
}
}
Transaction {
Hash
}
}
}
}
Similar queries
- Polymarket market resolution by condition id · Polygon · PredictionManagements
- Polymarket New Parlays Created · Polygon · PredictionManagements
- EVM matic predictions · Polygon · PredictionManagements
- latest created gold markets on polymarket · Polygon · PredictionManagements
- latest polymarket resolutions · Polygon · PredictionManagements