Smart Contract call without argument name with indexes

Smart Contract call without argument name

Returns 10 calls, where transaction hash is 0xa28a…1d82, signature signature is allowance(address,address) and block date after 2023-06-01: from, to, signature signature, transaction hash, arguments name, arguments index, integer and 5 more fields.

By Aleksey · saved 14 June 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive) {
    Calls(
      limit: {count: 10}
      where: {Block: {Date: {after: "2023-06-01"}}, Transaction: {Hash: {is: "0xa28a83f64d57a136efb971e2a9b06f79c1eac578f96ab616d9633b0a25ba1d82"}}, Call: {Signature: {Signature: {is: "allowance(address,address)"}}}}
    ) {
      Call {
        From
        Token: To
        Signature {
          Signature
        }
      }
      Transaction {
        Hash
      }
      Arguments {
        Name
        Index
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
    }
  }
}

Similar queries