prediction_trades_sum2
Returns prediction settlements and prediction trades on Polygon, where question ID is 0x9dae…8cc8: block time, event type, title, market ID, decimals, smart contract, collateral token symbol and 4 more fields.
What it returns
- block time
- event type
- title
- market ID
- decimals
- smart contract
- collateral token symbol
- sum of settlement amounts collateral amount
- sum of settlement amounts collateral amount in USD
- is outcome buy
- sum of trade outcome trade collateral amount
Filters
- question ID is 0x9dae…8cc8
The query
query pairs {
EVM(network: matic) {
PredictionSettlements(
where: {
TransactionStatus: {Success: true}
Settlement: {Prediction: {
Question:
{Id:
{is: "0x9daed600ecda0585ba9554cff118647db33d76a5f48977bab9db8abfab7d8cc8"}}
}}}
) {
Block{
from: Time(minimum: Block_Time)
till: Time(maximum: Block_Time)
}
Settlement{
EventType
Prediction{
Question{
Title
MarketId
}
CollateralToken{
Decimals
SmartContract
Symbol
}
}
}
sum(of: Settlement_Amounts_CollateralAmount)
USD: sum(of: Settlement_Amounts_CollateralAmountInUSD)
}
PredictionTrades(
where: {
TransactionStatus: {Success: true}
Trade: {
Prediction: {
Question:
{Id:
{is: "0x9daed600ecda0585ba9554cff118647db33d76a5f48977bab9db8abfab7d8cc8"}}
}}}
) {
Block{
from: Time(minimum: Block_Time)
till: Time(maximum: Block_Time)
}
Trade {
OutcomeTrade{
IsOutcomeBuy
}
}
sum(of: Trade_OutcomeTrade_CollateralAmount)
}
}
}
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