latest whale settlements on prediction market
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
- signature name
- smart contract
- amounts amount
- amount in USD
- collateral amount
- collateral amount in USD
- event type
- holder
- outcome token ids
- collateral token name
- collateral token symbol
- asset ID
- condition ID
- outcome token name
- outcome token symbol
- protocol family
- protocol name
- title
- market ID
- resolution source
- image
- created at
- question ID
- outcome ID
- outcome index
- label
- from
- transaction hash
Filters
- settlement event type is Redemption
- amounts amount is at least 10000
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) {
PredictionSettlements(
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {Settlement: {EventType:{is:"Redemption"} Amounts: {Amount: {ge: "10000"}}}}
) {
Block {
Time
}
Log {
Signature {
Name
}
SmartContract
}
Settlement {
Amounts {
Amount
AmountInUSD
CollateralAmount
CollateralAmountInUSD
}
EventType
Holder
OutcomeTokenIds
Prediction {
CollateralToken {
Name
Symbol
AssetId
SmartContract
}
ConditionId
OutcomeToken {
Name
Symbol
AssetId
SmartContract
}
Marketplace {
SmartContract
ProtocolFamily
ProtocolName
}
Question {
Title
MarketId
ResolutionSource
Image
CreatedAt
Id
}
Outcome {
Id
Index
Label
}
}
}
Transaction {
From
Hash
}
}
}
}
Similar queries
- Polymarket market redemptions and payouts · Polygon · PredictionSettlements
- Polymarket Payouts Received by a Wallet · Polygon · PredictionSettlements
- top 10 redeemers · Polygon · PredictionSettlements
- top 10 market questions in last 1 hour · Polygon · PredictionSettlements
- top 10 winners of a market question · Polygon · PredictionSettlements