getting opcode for smart contract call

Returns the latest 10 calls on Ethereum, where call to is 0x2946…a20b: chain ID, block time, code, opcode name, call path, caller index, create and 16 more fields.

By gaurav · saved 26 December 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    Calls(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      where: {Call: {To: {is: "0x29469395eaf6f95920e59f858042f0e28d98a20b"}}}
    ) {
      ChainId
      Block {
        Time
      }
      Call {
        Opcode {
          Code
          Name
        }
        CallPath
        CallerIndex
        Create
        Delegated
        Depth
        Index
        EnterIndex
        ExitIndex
        Success
        Reverted
        From
        GasUsed
        Gas
        To
        Value
        Signature {
          Parsed
          Signature
          SignatureHash
          Name
        }
      }
    }
  }
}

Similar queries