Zendesk 712.3

Returns smart contract calls on Ethereum, where tx hash is 0x5bec…f627, tx from is 0x537b…d39c and date is 2022-06-10, sorted by call depth: address address, smart contract method name, signature hash, caller address, call depth and tx from address.

By Sayon Sai Dutta · saved 5 July 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!, $txFrom: String!, $date: ISO8601DateTime, $external: Boolean) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {asc: "callDepth"}
      txHash: {is: $hash}
      date: {is: $date}
      external: $external
      txFrom: {is: $txFrom}
    ) {
      smartContract {
        address {
          address
        }
      }
      smartContractMethod {
        name
        signatureHash
      }
      caller: caller {
        address
      }
      callDepth
      transaction {
        txFrom {
          address
        }
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "hash": "0x5bece1c8bc1d36a6975bb313f3e1f559ec0d153675b22a8e36b6a5c939c4f627",
  "txFrom": "0x537bf75de19f3d229e3a9018ee1a23c0c9c7d39c",
  "smartContractAddress": "0x6571d6be3d8460cf5f7d6711cd9961860029d85f",
  "date": "2022-06-10",
  "external": true
}

Similar queries