Event Logs - Smart contract calls

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

By lukas · saved 17 November 2022 · run 8 times · 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}
    ) {
      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

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "hash": "0xe4eceaecb22f2610afdd19d5b7a2a80edaf51c9a35168dbac12e11be403aee50"
}

Similar queries