Zendesk 712.2

Returns smart contract calls on Ethereum, where tx hash is 0x6900…77f1, tx from is 0x537b…d39c and date is 2022-05-07, 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": "0x690046f64ebdea0bb276806a8116093c463b2dfbb2ff52aee2d369ecb2fa77f1",
  "txFrom": "0x537bf75de19f3d229e3a9018ee1a23c0c9c7d39c",
  "smartContractAddress": "0x0000000035634b55f3d99b071b5a354f48e10bef",
  "date": "2022-05-07",
  "external": true
}

Similar queries