search for question id using asset id

Returns the latest event on Polygon, where signature name is Questi…ized and log header address is 0x6507…f2A7: block time, block number, block hash, transaction hash, from, to, success and 7 more fields.

By Divyasshree · saved 21 November 2025 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: matic) {
    Events(
      orderBy: {descending: Block_Time}
      where: {Block: {Time: {since_relative: {hours_ago: 72}}}, Arguments: {includes: {Name: {is: "questionID"}, Value: {Bytes: {is: "3157494464103239338612934203227495159566337958716529030283272477225538516714"}}}}, Log: {Signature: {Name: {in: ["QuestionInitialized"]}}}, LogHeader: {Address: {is: "0x65070BE91477460D8A7AeEb94ef92fe056C2f2A7"}}}
      limit: {count: 1}
    ) {
      Block {
        Time
        Number
        Hash
      }
      Transaction {
        Hash
        From
        To
      }
      TransactionStatus {
        Success
      }
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
    }
  }
}

Similar queries