settlements
Returns prediction settlements on Polygon: block time, block number, signature name, smart contract, from, transaction hash, event type and 25 more fields.
What it returns
- block time
- block number
- signature name
- smart contract
- from
- transaction hash
- event type
- holder
- outcome token ids
- asset ID
- balance slot index
- decimals
- collateral token symbol
- condition ID
- protocol name
- protocol family
- label
- outcome index
- outcome ID
- outcome token symbol
- outcome token name
- title
- created at
- group ID
- question ID
- image
- market ID
- resolution source
- amounts amount
- amount in USD
- collateral amount
- collateral amount in USD
The query
query SettlementsByBlockRange($ge: String!, $le: String!, $protocol: String!) {
EVM(network: matic) {
PredictionSettlements(
where: {
TransactionStatus: {Success: true}
Settlement: {
Prediction: {
Marketplace: {ProtocolName: {is: $protocol}}
}
}
Block: {Number: {ge: $ge, le: $le}}
}
) {
Block {
Time
Number
}
Call {
Signature {
Name
}
}
Log {
Signature {
Name
}
SmartContract
}
Transaction {
From
Hash
}
Settlement {
EventType
Holder
OutcomeTokenIds
Prediction {
CollateralToken {
AssetId
BalanceSlotIndex
Decimals
SmartContract
Symbol
}
ConditionId
Marketplace {
SmartContract
ProtocolName
ProtocolFamily
}
Outcome {
Label
Index
Id
}
OutcomeToken {
SmartContract
Symbol
AssetId
BalanceSlotIndex
ProtocolName
Name
}
Question {
Title
CreatedAt
GroupId
Id
Image
MarketId
ResolutionSource
}
}
Amounts {
Amount
AmountInUSD
CollateralAmount
CollateralAmountInUSD
}
}
}
}
}
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