---
eip: 7999
label: EIP-7999
title: Unified multidimensional fee market
status: Draft
type: Standards Track
category: Core
created: 2025-08-04
requires: 1559, 2718, 4844, 7516, 7691, 7840, 7918
official: https://eips.ethereum.org/EIPS/eip-7999
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7999.md
canonical: https://eips.huatuo.xyz/eip-7999/
lang: en
tldr: Proposes one fee market with a separate base fee per resource (EVM gas, blob gas, calldata), where each transaction sets a single ETH max_fee that can cover whichever resource gets expensive.
tags: [gas, fees, multidimensional, calldata, core]
---

# EIP-7999: Unified multidimensional fee market

> Let transactions specify one aggregate `max_fee` budget for all resources, unify fee markets, normalize gas, and generalize EIP-7918.

**TL;DR:** Proposes one fee market with a separate base fee per resource (EVM gas, blob gas, calldata), where each transaction sets a single ETH max_fee that can cover whichever resource gets expensive.

## What problem does it solve?

Ethereum already prices two resources separately: regular gas under [EIP-1559](/eip-1559/) and blob gas under [EIP-4844](/eip-4844/), each with its own mechanism and its own `max_fee_per_*`. Adding more dimensions this way would get worse for users: every resource needs its own cap, and if any one is set too low the transaction can't be included, even when the user would happily pay the total.

EIP-7999 lets users think in ETH instead: "I'll pay at most X for this transaction." The protocol spreads that budget across resources as prices move. It also replaces the two current mechanisms with one shared, EIP-4844-style design, and adds calldata as the first new priced resource.

## How it works

- **New transaction type** (type number still TBD) with a single scalar `max_fee` (total wei) and `max_priority_fee_per_gas` as either one value or one per resource. `gas_limit` covers EVM gas only; blob and calldata gas are derived from the transaction itself.
- **Three resources, three base fees:** EVM gas, blob gas and calldata gas. The header replaces `gas_limit`, `gas_used`, `base_fee_per_gas`, `blob_gas_used` and `excess_blob_gas` with vectors `gas_limits`, `gas_used`, `excess_gas`.
- **Inclusion check:** the sum over resources of `base_fee[i] × gas_limit[i]` must be ≤ `max_fee`. Base fees for gas actually used are burned, the tip goes to the block producer, the rest is refunded.
- **One update rule:** every base fee is `fake_exponential(1, excess_gas, BASE_FEE_UPDATE_FRACTION)`, like blob fees today. Excess gas is normalized by each resource's limit so all dimensions share one update fraction, and raising a limit doesn't jolt the price.
- **Reserve pricing:** the [EIP-7918](/eip-7918/) idea is generalized so blob and calldata base fees can't fall far below the EVM base fee.
- **Calldata limit** is a quarter of the EVM gas limit, with target a quarter of that. A new opcode `CALLDATABASEFEE` (`0x4b`, 2 gas) exposes its base fee.
- **Old transactions keep working:** their per-gas caps are multiplied out into an equivalent `max_fee`, and the calldata portion is carved out of their `gas_limit`.

## Sample code

The core inclusion check, from the spec's Python:

```python
def get_required_max_fee(base_fees, tx_gas_limits):
    # e.g. base_fees = [evm, blob, calldata], limits likewise
    return sum(b * g for b, g in zip(base_fees, tx_gas_limits))

base_fees     = get_block_base_fees(parent)          # one per resource
tx_gas_limits = [tx.gas_limit, blob_gas, calldata_gas]
max_base      = get_required_max_fee(base_fees, tx_gas_limits)

assert max_base <= tx.max_fee                         # one budget, any mix
fee_to_deduct = max_base + priority_fee(tx, ...)      # refunded unused part later
```

## Things to know

- Status is **Draft**; the transaction type number is still TBD and it is not scheduled for any upgrade.
- It builds on [EIP-7706](/eip-7706/) (a separate gas type for calldata), which is Stagnant. It also defines how calldata should be treated by inclusion lists ([EIP-7805](/eip-7805/)).
- The calldata floor pricing of EIP-7623 would be dropped in favor of the separate calldata market.
- Wallets would need new fee estimation that tracks several base fees. Converted blob transactions would obey the aggregate `max_fee`, not their separate per-resource caps.
- The spec also sketches longer-term paths for splitting EVM gas itself into multiple resources while keeping gas introspection workable; those parts are exploratory.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7999
