prediction_trades_sum

Returns prediction settlements on Polygon, where question ID is 0x14be…a21b and settlement event type is Split, sorted by transaction time, highest first: decimals, smart contract, collateral token symbol and sum of settlement amounts collateral amount.

By alex · saved 17 February 2026 · run 30 times · Bitquery API v2

What it returns

Filters

The query

query pairs {
  EVM(network: matic) {
    PredictionSettlements(
      orderBy: {descending: Transaction_Time}
      where: {Settlement: {Prediction: { 
        Question: 
        {Id: 
          {is: "0x14be240353508bde4078ea26f873a24497f8f43b839e9df9a6f95d082842a21b"}}
      }, EventType: {is: "Split"}}}
    ) {
			Settlement{
        Prediction{
          CollateralToken{
            Decimals
            SmartContract
            Symbol
          }
        }
      }
      sum(of: Settlement_Amounts_CollateralAmount)
    }
  }
}

Similar queries