polymaket

Returns prediction trades on Polygon, where marketplace protocol name is polymarket, block number is at least 84735737 and block number is at most 84735737: block time, block number, signature name, smart contract, buyer, seller, outcome trade amount and 27 more fields.

By Omkar_BQ · saved 27 March 2026 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query polymarketdata {
  EVM(network: matic) {
    PredictionTrades(
      where: {TransactionStatus: {Success: true}, Trade: {Prediction: {Marketplace: {ProtocolName: {is: "polymarket"}}}}, Block: {Number: {ge: "84735737", le: "84735737"}}}
    ) {
      Block {
        Time
        Number
      }
      Call {
        Signature {
          Name
        }
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      Trade {
        OutcomeTrade {
          Buyer
          Seller
          Amount
          CollateralAmount
          CollateralAmountInUSD
          OrderId
          Price
          PriceInUSD
          IsOutcomeBuy
        }
        Prediction {
          CollateralToken {
            Name
            Symbol
            SmartContract
            AssetId
            ProtocolName
          }
          ConditionId
          OutcomeToken {
            Name
            Symbol
            SmartContract
            AssetId
          }
          Marketplace {
            SmartContract
            ProtocolVersion
            ProtocolName
            ProtocolFamily
          }
          Question {
            Title
            ResolutionSource
            Image
            MarketId
            Id
            CreatedAt
            GroupId
          }
          Outcome {
            Id
            Index
            Label
          }
        }
      }
      Transaction {
        From
        Hash
      }
    }
  }
}

Similar queries