Internal Calls Flow

Returns events and calls on Ethereum, where transaction hash is 0x9bed…06af: chain ID, call index, arguments index, arguments name, path index, path name, path type and 37 more fields.

By lukas · saved 24 February 2025 · run 11 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":"eth","hash":"0x9bed32f553d22f19c52adb7d3b8b3187e5c49a75a77d6f080ffa8be4169006af"}

Similar queries