PM

Returns prediction managements on Polygon: block time, block number, signature name, smart contract, from, transaction hash, description and 24 more fields.

By Omkar_BQ · saved 14 April 2026 · Bitquery API v2

What it returns

The query

query SettlementsByBlockRange($ge: String!, $le: String!, $protocol: String!) {
  EVM(network: matic) {
    PredictionManagements(
      where: {TransactionStatus: {Success: true}, Block: {Number: {ge: $ge, le: $le}}, Management: {Prediction: {Marketplace: {ProtocolName: {is: $protocol}}}}}
    ) {
      Block {
        Time
        Number
      }
      Call {
        Signature {
          Name
        }
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      Transaction {
        From
        Hash
      }
      Management {
        Description
        EventType
        Group {
          Description
          Id
          Title
        }
        Prediction {
          CollateralToken {
            AssetId
            ProtocolName
            SmartContract
            Name
            BalanceSlotIndex
            Decimals
          }
          Condition {
            Oracle
            Outcomes {
              Label
              Id
              Index
            }
            QuestionId
            Id
          }
          Marketplace {
            ProtocolName
            SmartContract
            ProtocolFamily
            ProtocolVersion
          }
          Outcome {
            Label
            Index
            Id
          }
          OutcomeToken {
            Decimals
            BalanceSlotIndex
            ProtocolName
            Name
            AssetId
          }
          Question {
            GroupId
            CreatedAt
            Image
            Id
            MarketId
            Title
            ResolutionSource
          }
        }
      }
      TransactionStatus {
        Success
      }
    }
  }
}

Similar queries