activity of user

Returns the latest 50 prediction trades on Polygon: block time, signature name, smart contract, buyer, seller, outcome trade amount, collateral amount and 25 more fields.

By gaurav · saved 31 March 2026 · run 1 time · Bitquery API v2

What it returns

The query

query MyQuery {
  EVM(network: matic) {
    PredictionTrades(
      limit: {count: 50}
      orderBy: {descending: Block_Time}
      where: {any: [{Trade: {OutcomeTrade: {Buyer: {is: "0xb27bc932bf8110d8f78e55da7d5f0497a18b5b82"}}}},
        {Trade: {OutcomeTrade: {Seller: {is: "0xb27bc932bf8110d8f78e55da7d5f0497a18b5b82"}}}}],
        TransactionStatus: {Success: true}}
    ) {
      Block {
        Time
      }
      Call {
        Signature {
          Name
        }
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      Trade {
        OutcomeTrade {
          Buyer
          Seller
          Amount
          CollateralAmount
          CollateralAmountInUSD
          OrderId
          Price
          PriceInUSD
          IsOutcomeBuy
        }
        Prediction {
          CollateralToken {
            Name
            Symbol
            SmartContract
            AssetId
          }
          ConditionId
          OutcomeToken {
            Name
            Symbol
            SmartContract
            AssetId
          }
          Marketplace {
            SmartContract
            ProtocolVersion
            ProtocolName
            ProtocolFamily
          }
          Question {
            Title
            ResolutionSource
            Image
            MarketId
            Id
            CreatedAt
          }
          Outcome {
            Id
            Index
            Label
          }
        }
      }
      Transaction {
        From
        Hash
      }
    }
  }
}

Similar queries