Skip to main content
FeeMarket implements Ethereum’s EIP-1559 execution gas fee market and EIP-4844 blob gas fee market: deterministic next-block baseFeePerGas, exponential blobBaseFee via fakeExponential, excess blob gas tracking, transaction inclusion checks, and multi-block projections.

Protocol Constants

EIP-1559 (FeeMarket.Eip1559)

EIP-4844 (FeeMarket.Eip4844)

Quick Start

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

API Reference

State helper namespace FeeMarket.State: next, getBlobBaseFee, getGasTarget, isAboveGasTarget, isAboveBlobGasTarget.
  • Denomination — Branded Wei, Gwei, and Ether units
  • Blob — EIP-4844 blob payloads and gas constants
  • Transaction — EIP-1559 and EIP-4844 transaction types