EVM V2 Query

Returns calls, where block number is above 0: call path, signature name, signature signature, signature hash and to.

By Nick · saved 4 November 2024 · Bitquery API v2

What it returns

Filters

The query

query (
  $network: evm_network, 
  $txHashes: [String!]!, 
  $dataset: dataset_arg_enum, 
  # $limit: Int!, 
  # $offset: Int!, 
  # $from: String, 
  # $till: String, 
  $fromHeight: String = "0"
) {
  EVM(dataset: $dataset, network: $network) {
    Calls(
      where: {
        Transaction: {Hash: {in: $txHashes}}, 
        Block: {
        Number: {gt: $fromHeight}, 
          # Date: {after: $from, before: $till}
        }
      }
      # limit: {offset: $offset, count: $limit}
    ) {
      Call {
        CallPath
        Signature {
          Name
          Signature
          SignatureHash
        }
        To
      }
    }
  }
}

Variables

{
  "dataset": "archive",
  "network": "eth",
  "txHashes": ["0x8e17b51af14f5e9e6c5cebcc99ada69c42bdb9a18ec92a3aa8a3f2324891a964"],
  "limit": 100,
  "offset": 0,
  "from": "2000-01-01",
  "till": "2024-10-16",
  "fromHeight": "0",
}

Similar queries