Transaction Call Trace v2

Smart contract calls to an nft contract

Returns the latest 10 calls on Ethereum, where transaction hash is 0xfd2c…db36: from, gas, gas used, to, call value, call path, code and 22 more fields.

By gaurav · saved 10 July 2023 · run 29 times · Bitquery API v2

What it returns

Filters

The query

query myquery($network: evm_network!, $hash: String!) {
  EVM(dataset: combined, network: $network) {
    Calls(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Transaction: {Hash: {is: $hash}}}
    ) {
      Call {
        From
        Gas
        GasUsed
        To
        Value
        CallPath
        Opcode {
          Code
          Name
        }
        SelfDestruct
        Create
        Delegated
        Depth
        InternalCalls
        Success
        Reverted
        Output
        LogCount
        Input
      }
      Transaction {
        Hash
      }
      Arguments {
        Index
        Path {
          Name
        }
        Type
        Name
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
    }
  }
}

Variables

{
  "hash": "0xfd2ce83798867583d37c044d988d3cb343efd57713dc1135edec80af2985db36",
  "network": "eth"
}

Similar queries