Internal calls ethereum of an address

Returns the latest 100 calls and transfers on Ethereum, where transaction from is 0x392d…6d19: chain ID, from, transaction hash, block time, returns index, returns name, path index and 36 more fields.

By gaurav · saved 29 July 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String) {
  EVM(dataset: combined, network: $network) {
    Calls(
      where: {Transaction: {From: {is: $address}}}
      limit: {count: 100}
      orderBy: {descending: Block_Time}
    ) {
      ChainId
      Transaction {
        From
        Hash
      }
      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: {From: {is: $address}}}
      limit: {count: 100}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      ChainId
      Call {
        Index
        CallerIndex
        Value
      }
      Transfer {
        Sender
        Receiver
        Amount
        Currency {
          Symbol
          Name
          SmartContract
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "address": "0x392d0dbc4e67e6286b51e425f9fabdc3e5e76d19"
}

Similar queries