Transaction Call Trace Example 2

Returns 20 smart contract calls on Ethereum, where tx hash is 0xb31e…5e54, sorted by call depth: smart contract method name, signature hash, success and call depth.

By Divyasshree N · saved 7 July 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {limit: $limit, offset: $offset, asc: "callDepth"}
      txHash: {is: $hash}
    ) {
      smartContractMethod {
        name
        signatureHash
      }
      success
      callDepth
    }
  }
}

Variables

{
  "limit": 20,
  "offset": 0,
  "network": "ethereum",
  "hash": "0xb31e380f80206b4a2c2181d50c164983043aa0c749d62b7a21c1c8efebfb5e54"
}

Similar queries