Skip to main content
State exports the StorageKey (StorageKeyType) primitive — an immutable composite key pairing a 20-byte contract AddressType with a 256-bit bigint storage slot for state databases, EVM execution journals, and EIP-2929 warm-storage tracking.

Quick Start

Import StorageKey or State from @tevm/voltaire or @tevm/voltaire/State.

Structure

API Reference

  • Trie — Merkle Patricia Trie storing Ethereum account & storage state
  • BinaryTree — EIP-7864 unified binary state tree
  • AccessList — EIP-2930 pre-warmed (address, storageKeys) entries