Transaction Call Trace

Returns smart contract calls on Ethereum, where tx hash is 0x572a…f3db, sorted by call depth: address address, annotation, contract type, protocol type, smart contract method name, signature hash, caller address and 4 more fields.

By Divyasshree N · saved 31 May 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!, $offset: Int!) {
  ethereum(network: $network) {
    smartContractCalls(
      options: {offset: $offset, asc: "callDepth"}
      txHash: {is: $hash}
    ) {
      smartContract {
        address {
          address
          annotation
        }
        contractType
        protocolType
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      success
      amount
      amount_usd: amount(in: USD)
      gasValue
      gas_value_usd: gasValue(in: USD)
      callDepth
     
    }
  }
}

Variables

{
  "offset": 0,
  "network": "ethereum",
  "hash": "0x572ab5136495ec2740c4b5ae345793179ac092ca8a0b2ee26702bb9cce4af3db"
}

Similar queries