Skip to main content
Opcode (BrandedOpcode) defines every EVM instruction byte from STOP (0x00) through SELFDESTRUCT (0xff), including post-Cancun opcodes (PUSH0, TLOAD, TSTORE, MCOPY, BLOBHASH, BLOBBASEFEE), along with stack I/O tables, base gas costs, push-size queries, and bytecode disassembly.

Quick Start

Import from @tevm/voltaire or @tevm/voltaire/Opcode.

Opcode Range Map

API Reference

  • Bytecode — CFG basic-block, stack, and gas analysis
  • GasConstants — Dynamic and hardfork-specific gas formulas
  • Hardfork — Which fork introduced each opcode