Events and Calls

Returns events and calls on Arbitrum, where transaction hash is 0x80d1…f7a6: chain ID, call index, arguments index, arguments name, path index, path name, path type and 37 more fields.

By Nadia · saved 12 February 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $hash: String) {
  EVM(dataset: combined, network: $network) {
    Events(where: {Transaction: {Hash: {is: $hash}}}) {
      ChainId
      Call {
        Index
      }
      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
          SignatureHash
          Name
        }
      }
    }
    Calls(where: {Transaction: {Hash: {is: $hash}}}) {
      ChainId
      Block {
        Time
      }
      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
        GasUsed
        Gas
        To
        Value
        Signature {
          Parsed
          Signature
          SignatureHash
          Name
        }
      }
    }
    Transfers(where: {Transaction: {Hash: {is: $hash}}}) {
      Block {
        Time
      }
      ChainId
      Call {
        Index
        CallerIndex
        Value
      }
      Transfer {
        Sender
        Receiver
        Amount
        Currency {
          Symbol
          Name
          SmartContract
        }
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "hash": "0x80d1234ef9ac4462df315defd3a089c16387662f2902de20dbcac3b9b3aff7a6"
}

Similar queries