Blob Space

The cheap, temporary data layer added by EIP-4844 that rollups post to instead of expensive calldata.

Basically

Blob space is cheap, short-term storage for batches of Ethereum transaction data. EIP-4844 added it so these batches cost less to store.

Key Takeaways

  • EIP-4844 (proto-danksharding) introduced blob space as a separate Ethereum data market. It stores rollup transaction data outside the execution layer and prices it separately from regular gas.
  • Each blob holds about 128 KB and is pruned automatically after about 18 days. Temporary storage limits node requirements while giving rollups enough time to finalise their state.
  • Blob space sharply cut Layer 2 fees. After the Dencun upgrade in March 2024, moving rollup data from costly calldata into blobs reduced transaction costs on major L2s by 10 to 100x.

What Is Blob Space?

Blob space is dedicated data storage capacity on Ethereum, created by EIP-4844. It was activated with the Dencun (Cancun-Deneb) upgrade on 13 March 2024. Each Ethereum block reserves some of this capacity for large binary data objects called blobs, which sit on the beacon chain (consensus layer) rather than the execution layer.

Before blob space, rollups had to post transaction data as calldata in regular Ethereum transactions. Calldata competes with all other transactions for the same block space and every node stores it permanently, which makes it expensive. Blob space creates a parallel data market for rollup data that is large, temporary and cheap.

Blob space is like renting short-term storage rather than buying permanent shelf space. Rollups only need their data available long enough for anyone to verify it and challenge fraud. Once that window closes, the data can be discarded without weakening Ethereum's security guarantees.

How It Works

Blob space uses a new transaction type, Type 3 (0x03), called a blob transaction. These transactions carry one or more blobs alongside regular execution data. The blob data itself never enters the execution layer or the EVM.

Blob Structure

Each blob contains 4,096 field elements of 32 bytes each, giving a total of about 128 KB (131,072 bytes). One blob transaction can carry up to 6 blobs. EIP-4844 originally set a target of 3 blobs per block and a maximum of 6, although later upgrades have increased these parameters.

Every blob has a KZG (Kate-Zaverucha-Goldberg) polynomial commitment. This cryptographic commitment lets anyone verify that a specific piece of data was included in a blob without downloading the whole blob. The execution layer only sees a versioned hash of the KZG commitment, not the blob data itself, which keeps execution costs low.

The Blob Fee Market

Blob space has its own fee market, separate from Ethereum's regular gas fees. It uses an EIP-1559-style pricing mechanism. The key difference is that it targets a specific number of blobs per block rather than a specific gas usage.

The blob target drives the price mechanism. Regular gas usage is not its measure.

Two separate fee markets keep these costs apart. Higher demand for regular Ethereum transactions, such as NFT mints or DeFi activity, does not directly raise blob costs for rollups, and higher blob demand does not directly raise regular gas fees.

Data Pruning

Calldata is stored permanently on-chain, but blob data is temporary. Consensus layer nodes must store blobs for about 18 days (4,096 epochs). Nodes then prune the blob data to reclaim storage after this retention window.

The 18-day window gives rollup security a large buffer. Optimistic rollups usually have a 7-day challenge period for fraud proofs, so 18 days provides more than twice the required availability. KZG commitments remain on-chain after pruning, so anyone who kept a copy can still verify the integrity of the original data.

Accessing Blob Data

EIP-4844 adds the BLOBHASH opcode. It lets a smart contract read the versioned hash of a blob in the current transaction. The opcode costs 3 gas and takes an index that selects the blob.

Contracts cannot read blob contents directly. They can only access the versioned hashes, which is enough to verify that the expected data was posted without making the EVM process large data payloads.

Blob Capacity Over Time

Blob capacity per block has risen sharply since the initial Dencun launch. Ethereum has increased it in stages as part of its approach to scaling data availability.

The Fusaka upgrade also activated PeerDAS (Peer Data Availability Sampling), which lets nodes verify blob availability without downloading every blob in full. After PeerDAS, Ethereum uses Blob Parameter Only (BPO) forks to raise blob limits gradually based on observed network performance, with a long-term goal of 128 or more blobs per block under full danksharding.

Rollup Data Posting

Blob space mainly gives rollups a place to post data. Optimistic rollups such as Arbitrum and Optimism and ZK-rollups such as zkSync and Starknet use blobs to post compressed transaction data back to Ethereum. Anyone can then reconstruct the rollup state and verify that it is correct, while the rollup pays a fraction of the calldata cost.

Data Availability for Validiums

Validiums usually store data off-chain. Some hybrid designs use blob space as a middle ground, with lower costs than permanent calldata and stronger availability guarantees than purely off-chain systems.

Batch Posting for Layer 2 Sequencers

Layer 2 sequencers combine hundreds or thousands of transactions into compressed data and post it as blobs. The cost of one blob-carrying transaction is then spread across all the L2 transactions in the batch.

Why It Matters

Before blob space, Ethereum L1 data posting fees made up most rollup operating costs. L2 fees could reach several dollars per transaction during heavy mainnet congestion simply because calldata was expensive, but blob space separated rollup economics from execution layer congestion.

The effect was immediate and large. Within days of the Dencun upgrade, major L2 networks reported fee reductions of 10 to 100x, and rollup transactions that previously cost $0.50 or more fell to fractions of a cent. Lower costs widened the design space for applications needing high transaction throughput at low cost, including gaming, micropayments, social protocols and high-frequency DeFi strategies.

The EIP-4844 and Blob Fees research article gives a detailed analysis of these effects. It explains how the blob fee market affects Layer 2 economics.

The Path to Full Danksharding

Blob space under EIP-4844 is explicitly a stepping stone towards full danksharding. The current system uses the transaction format, fee market structure and KZG commitment scheme that full danksharding will use, but at a smaller scale.

Full danksharding will expand capacity to 64 or more blobs per block and introduce full data availability sampling, where nodes verify availability by downloading only small random samples instead of entire blobs. Combined with erasure coding, this lets Ethereum scale data throughput without proportionally increasing the bandwidth and storage requirements for individual nodes.

Temporary Data Availability

After the 18-day pruning window, Ethereum no longer guarantees that blob data is available. You must arrange your own archival storage if you or your application need historical blob data. If nobody keeps the data, it is effectively lost, although the on-chain KZG commitment can still prove what was originally posted.

Blob Fee Volatility

The blob fee market is separate from regular gas, but it can still become congested and produce fee spikes. Blob base fees rise exponentially when rollup demand for blob space exceeds the target. Posting costs can rise sharply during intense L2 activity or when several rollups compete for limited blob slots.

Centralization Pressure on Blob Producers

Higher blob counts increase the bandwidth and storage that block builders and validators need. Nodes must download, validate and propagate every blob in a block within the 12-second slot time. This pushes block production towards more powerful infrastructure, although data availability sampling reduces this burden for regular validators.

Dependency on KZG Trusted Setup

The KZG commitment scheme used for blobs relies on a trusted setup ceremony. Ethereum ran a large ceremony with over 140,000 participants to generate the required parameters, and security assumes that at least one participant was honest and destroyed their secret contribution. This is considered a very strong guarantee at that scale, but it remains a cryptographic trust assumption that trustless proof schemes do not have.

This glossary entry is for information only and is not financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms