EVM V2 Query

Returns 100 calls on Ethereum, where transaction hash is 0x22ce…30be, block date after 2000-01-01 and block date before 2024-10-16: call path, signature name, signature signature, signature hash, to and transaction hash.

By Nick · saved 18 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
      },
      Transaction {
        Hash
      }
    }
  }
}

Variables

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

Similar queries