heidr TypeDocs - v0.0.7
    Preparing search index...

    Class OpcodeService

    Service for EVM opcode lookups and information

    Index

    Constructors

    Methods

    • Get all opcodes

      Returns OpcodeWithHex[]

      All opcodes with their hex values

    • Get opcode by hex or name

      Parameters

      • identifier: string

        Hex value or name

      Returns OpcodeWithHex

      Opcode data with hex

    • Get opcode by hex value

      Parameters

      • hex: string

        Hex value (e.g., "00", "01", "0x00")

      Returns OpcodeWithHex

      Opcode data with hex

    • Get opcode by name

      Parameters

      • name: string

        Opcode name (e.g., "STOP", "ADD", "stop", "add")

      Returns OpcodeWithHex

      Opcode data with hex