v2 evm

Returns one call on Ethereum, where transaction hash is 0xb60d…f51e, block date since 2000-01-01 and block date till 2025-02-01, sorted by block time: transaction hash, to, input, internal calls, call path, depth, success and 24 more fields.

By Nick · saved 25 February 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($txHashes: [String!]!, $limit: Int!, $offset: Int!, $from: String!, $till: String!, $fromHeight: String = "0") {
  EVM(network: eth, dataset: archive) {
    Calls(
      where: {Transaction: {Hash: {in: $txHashes}}, Block: {Date: {since: $from, till: $till}, Number: {ge: $fromHeight}}}
      limit: {offset: $offset, count: $limit}
      orderBy: {ascending: Block_Time}
    ) {
      Transaction {
        Hash
      }
      Call {
        To
        Input
        InternalCalls
        CallPath
        Depth
        Success
        Opcode {
          Code
          Name
        }
        Create
        CallerIndex
        Delegated
        EnterIndex
        Error
        ExitIndex
        From
        Gas
        GasUsed
        Index
        LogCount
        Output
        Reverted
        SelfDestruct
        Signature {
          Name
          Parsed
          Abi
          Signature
        }
      }
      Arguments {
        Name
        Type
      }
      Block {
        Time
        Number
      }
    }
  }
}

Variables

{
  "txHashes": ["0xb60d3e2ce0ece74ff8e5494952dc570416dfc6715232e294229138ab68d2f51e"],
  "limit": 1,
  "offset": 0,
  "from": "2000-01-01",
  "till": "2025-02-01"
}

Similar queries