example-internal

internal calls for a tx

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

By me · saved 7 March 2023 · run 10 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!,
                    $hash: String!,
                 ){
                ethereum(network: $network){
                  smartContractCalls(
                     options:{
                      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

{
  "network": "ethereum",
  "hash": "0x743a999a322c065e4c3a6e24c3973d980747e0e7f2ee6d087b199b82cf4179a4"
}

Similar queries