calls_from_transactions

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

By Sneazzy · saved 14 June 2021 · 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
          __typename
        }
        contractType
        protocolType
        __typename
      }
      smartContractMethod {
        name
        signatureHash
        __typename
      }
      address: caller {
        address
        annotation
        __typename
      }
      success
      amount
      gasValue
      callDepth
      __typename
    }
    __typename
  }
}

Variables

{
  "limit": 20,
  "offset": 0,
  "network": "bsc",
  "hash": "0x0434c43834480996e4c0dd3578c4df4387ee53dc1cfb23c752f27fedb6497888"
}

Similar queries