Query Claims for account

Returns 10 events on Polygon, where log smart contract is 0x5474…6efF and signature name is TokensClaimed, sorted by block time: signature name, block time, arguments name, arguments type, path index, path name, path type and 2 more fields.

By Carlos · saved 21 November 2024 · Bitquery API v2

What it returns

Filters

The query

    query MyQuery {
    EVM(dataset: combined, network: matic) {
      Events(
        where: {Log: {SmartContract: {is: "0x54746E49B55838023632A714FF46156EF59B6efF"}, Signature: {Name: {in: ["TokensClaimed"]}}}, Topics: {includes: {Hash: {in: ["0xfa76a4010d9533e3e964f2930a65fb6042a12fa6ff5b08281837a10b0be7321e"]}}}, Arguments: {includes: {Name: {in: ["claimConditionIndex", "claimer", "receiver", "startTokenId", "quantityClaimed"]}}}}
        orderBy: {ascending: Block_Time} 
        limit: {count: 10, offset: 0}
      ) {
        Log {
          Signature {
            Name
          }
        }
        Block {
          Time
        }
        Arguments {
          Name
          Type
          Path {
            Index
            Name
            Type
          }
          Value {
            ... on EVM_ABI_Integer_Value_Arg {
              integer
            }
            ... on EVM_ABI_Address_Value_Arg {
              address
            }
            ... on EVM_ABI_Address_Value_Arg {
              address
            }                            
            ... on EVM_ABI_Integer_Value_Arg {
              integer
            }
            ... on EVM_ABI_Integer_Value_Arg {
              integer
            }
          }
        }
      }
    }
  }

Variables

{
  "network": "matic",
  "address": "0x54746E49B55838023632A714FF46156EF59B6efF"
}

Similar queries