last 24 hr resolution and ceated count
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
- signature name
- smart contract
- event type
- count
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/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/examples/polymarket-api/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
query MyQuery {
EVM(network: matic) {
PredictionManagements(where:{Block:{Time:{since_relative:{hours_ago:24}}}}) {
Call {
Signature {
Name
}
}
Log {
Signature {
Name
}
SmartContract
}
Management{
EventType
}
count
}
}
}
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