internal calls for a tx

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

By gaurav · saved 3 November 2022 · run 9 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": "ethereum",
  "hash": "0x7c162c0e67ad47bd223d052a7358333fea613ee6237c57a0986493d86b1e6b2b"
}

Similar queries