prediction_trades

Returns 100 prediction trades on Polygon, where transaction hash is 0x2c00…eda6, sorted by transaction time: transaction hash, transaction time, block hash, decimals, collateral token name, smart contract, collateral token symbol and 22 more fields.

By alex · saved 18 March 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query pairs {
  EVM(network: matic) {
    PredictionTrades(
      limit: {count: 100}
      where: {Trade: {OutcomeTrade: {IsOutcomeBuy: true}},
        Transaction: {Hash: {is: "0x2c00ba0a20c2148d6a5aecae3feb30128ae12f0e031a7075b58e0bd2b0deeda6"}}}
      orderBy: {ascending: Transaction_Time}
    ) {
      Transaction {
        Hash
        Time
      }
      Block {
        Hash
      }
      Trade {
        Prediction {
          CollateralToken {
            Decimals
            Name
            SmartContract
            Symbol
          }
          ConditionId
          
          Marketplace {
            ProtocolName
          }
          Outcome {
            Label
            Id
            Index
          }
          Question {
            MarketId
            CreatedAt
            Id
            Image
            Title
          }
          OutcomeToken {
            Decimals
            ProtocolName
            AssetId
          }
        }
        OutcomeTrade {
          Amount
          Price
          PriceInUSD
          CollateralAmountInUSD
          Buyer
          Seller
          CollateralAmount
          IsOutcomeBuy
          Fee {
            Amount
            Payer
            Currency {
              Symbol
              Decimals
              SmartContract
              AssetId
            }
          }
        }
      }
    }
  }
}

Similar queries