Events and Calls_1

Returns events and calls on Ethereum, where transaction hash is 0x64f2…84bb and transaction hash is 0xbeb9…2bab: chain ID, arguments index, arguments name, path index, path name, path type, arguments type and 26 more fields.

By Nadia · saved 28 August 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    Events(
      where: {Transaction: {Hash: {is: "0x64f21d1a3d5eef9e0811047f5ce4a2a7b5c1874d2e31a5ecdce632d7944d84bb"}}}
    ) {
      ChainId
      Arguments {
        Index
        Name
        Path {
          Index
          Name
          Type
        }
        Type
        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
          }
        }
      }
      Log {
        LogAfterCallIndex
        EnterIndex
        ExitIndex
        Index
        SmartContract
        Signature {
          Parsed
          Signature
        }
      }
    }
    Calls(
      where: {Transaction: {Hash: {is: "0xbeb9a66b138b979985e616655e99f9ee2298892170d818e9228dd8a448aa2bab"}}}
    ) {
      ChainId
      Returns {
        Index
        Name
        Path {
          Index
          Name
          Type
        }
        Type
        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
          }
        }
      }
      Arguments {
        Index
        Name
        Path {
          Index
          Name
          Type
        }
        Type
        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
          }
        }
      }
      Call {
        CallPath
        CallerIndex
        Create
        Delegated
        Depth
        Index
        EnterIndex
        ExitIndex
        Success
        Reverted
        From
        To
        Signature {
          Parsed
          Signature
        }
      }
    }
  }
}

Similar queries