find question id details

Returns one event on Polygon, where signature name is Questi…ized, log header address is 0x6507…f2A7 and signature name is Condit…tion: block time, block number and transaction hash.

By Divyasshree · saved 7 January 2026 · run 14 times · Bitquery API v2

What it returns

Filters

The query

query GetEventTimeDifference($questionId: String!) {
  EVM(dataset: realtime, network: matic) {
    QuestionInit: Events(
      where: {Block: {Time: {since_relative: {days_ago: 30}}}, Arguments: {includes: {Name: {is: "questionId"}, Value: {Bytes: {is: $questionId}}}}, Log: {Signature: {Name: {is: "QuestionInitialized"}}}, LogHeader: {Address: {is: "0x65070BE91477460D8A7AeEb94ef92fe056C2f2A7"}}}
      limit: {count: 1}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
    }
    ConditionPrep: Events(
      where: {Block: {Time: {since_relative: {days_ago: 30}}}, Arguments: {includes: {Name: {is: "questionId"}, Value: {Bytes: {is: $questionId}}}}, Log: {Signature: {Name: {is: "ConditionPreparation"}}}, LogHeader: {Address: {is: "0x4d97dcd97ec945f40cf65f87097ace5ea0476045"}}}
      limit: {count: 1}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "questionId": "4d92afae9e3b755a69691e44c3c3d2233f88bc6b16c217fa7b025bc8232701d0"
}

Similar queries