GasConstants exports exact bigint EVM gas constants from the Ethereum Yellow Paper and subsequent EIPs (EIP-150, EIP-2200, EIP-2929, EIP-3529, EIP-3860, EIP-1153, EIP-4844) together with dynamic gas and refund calculators.
Core Gas Constants
Quick Start
@tevm/voltaire or @tevm/voltaire/GasConstants.
Dynamic Calculators & Fork Queries
Memory Expansion Formula
For words: Expansion gas is when , else0n.
Related
- Opcode — Static opcode metadata
- Hardfork — Protocol upgrade activation ordering
- AccessList — EIP-2930 pre-warming gas deltas

