Fear & Greed13▲ 1CME BTC net2,519▲ 991CME ETH net461▼ 617Prices: alternative.me14:37 UTC35 min old, not real timeBTC$53,393▼ 10.0%ETH$1,576▼ 5.2%USDT$0.99862▼ 0.0%BNB$519.08▼ 7.5%XRP$0.88823▼ 5.0%SOL$66.58▼ 7.4%TRX$0.28420▼ 2.8%ZEC$851.99▲ 7.0%

Guides

Layer 2 rollups explained: how Ethereum scales and what can go wrong

How optimistic and ZK rollups work, why their fees are lower, what blobs changed, how withdrawals work, and the trust assumptions to check first.

Published by miz.one · facts checked · about 6 min read

Ethereum's main chain, often called layer 1, can process only a limited number of transactions per block, so when demand is high, fees rise. Layer 2 networks move most of the work elsewhere while still relying on Ethereum for security. The dominant design is the rollup: it executes transactions on its own chain, then "rolls up" the data and posts it to Ethereum. Rollups now carry a large share of Ethereum-based activity, and their fees are usually a small fraction of mainnet fees. They also add new parties and new risks.

How a rollup works

  1. Users send transactions to the rollup, where an operator called the sequencer orders them into blocks.
  2. The rollup executes them and calculates the new state: who owns what.
  3. Periodically it posts to Ethereum the transaction data in compressed form and a commitment to the new state.
  4. A contract on Ethereum holds the assets that users have deposited into the rollup and lets them withdraw according to the rollup's rules.

Because the data is on Ethereum, anyone can reconstruct the rollup's state from it. That is the key difference from a separate blockchain or sidechain with its own validators: in principle, users do not need to trust the rollup operator to know who owns what.

Two ways to prove the state is correct

Optimistic rollupZero-knowledge (ZK) rollup
IdeaAssume the posted state is correct unless someone proves otherwiseProve every batch is correct with a cryptographic validity proof
ProofFraud proof, submitted only if someone disputes a batchValidity proof, verified on Ethereum for every batch
Withdrawal to Ethereum via the official bridgeAfter a challenge period, typically about 7 daysOnce the proof is verified, often within hours
Trade-offSimpler to build, compatible with existing Ethereum codeFaster finality on Ethereum; proofs are complex and costly to generate

In an optimistic rollup, the challenge period gives anyone watching time to show that a batch was invalid. If they do, the batch is reverted and the dishonest party loses a bond. For this to work, at least one honest party must be watching and able to submit a challenge.

Why fees are lower

On layer 1, every node executes every transaction. On a rollup, only the rollup's nodes execute them; Ethereum just stores the data and verifies proofs or handles disputes. Thousands of rollup transactions share the cost of one batch on Ethereum.

Since the Dencun upgrade in March 2024 (EIP-4844), rollups post data in blobs: a separate kind of data space with its own fee market, pruned by nodes after about 18 days. Blob space is much cheaper than ordinary transaction data, and rollup fees fell sharply after it launched. The Pectra upgrade in May 2025 doubled the target number of blobs per block from three to six, adding more room.

A worked example: comparing fees

A rollup fee has two parts: the cost of executing the transaction on the rollup, and the user's share of posting data to Ethereum.

Take a simple transfer using 21,000 gas.

  • On Ethereum mainnet at 5 gwei: 21,000 × 5 = 105,000 gwei = 0.000105 ETH, about $0.21 at $2,000 per ETH. This is the default in our gas calculator. When mainnet is busy and gas is 50 gwei, the same transfer costs about $2.10.
  • On a rollup where execution gas costs 0.01 gwei: 21,000 × 0.01 = 210 gwei, about $0.0004, plus a data fee that depends on blob prices and on how well the transaction compresses. In quiet conditions, the total is often a fraction of a cent to a few cents.

The figures are illustrative; actual fees change with demand on both layers.

Moving funds between layers

Deposits from Ethereum to a rollup through its official bridge usually take minutes.

Withdrawals through the official bridge follow the rollup's security model: about a week for optimistic rollups, hours for ZK rollups once proofs are posted.

Third-party bridges offer faster exits by having liquidity providers pay you on the other side for a fee. They add their own smart contract and operator risk. Bridges have been among the largest targets of hacks in crypto, as the DeFi risks guide describes.

The trust assumptions to check

Rollups vary widely in how much they still depend on their operators. Before using one for significant amounts, ask:

  1. Are proofs live? Some rollups launched without working fraud or validity proofs, relying on the operator's honesty.
  2. Who can upgrade the contracts, and how fast? If a small multisig can upgrade the bridge contract instantly, it can in principle change the rules for everyone's funds. A delay gives users time to exit.
  3. Is there an escape hatch? If the sequencer censors you or goes offline, can you force a transaction or withdrawal through Ethereum directly?
  4. Is the sequencer centralised? Most rollups run a single sequencer today. It cannot steal funds on a well-built rollup, but it can delay or reorder transactions, and outages halt the chain.
  5. Where is the data? A rollup posts data to Ethereum. Systems that keep data elsewhere, sometimes called validiums or optimiums, are cheaper but rely on outside parties to make data available.

The independent project L2BEAT tracks these properties and classifies rollups into "stages" according to how much they rely on their operators. It is a useful starting point.

Rollups and the wider network

Layer 2 networks have their own tokens in some cases, their own applications and their own block explorers. Your address is usually the same across Ethereum-compatible networks, but your balances are not: tokens on a rollup exist only there. Sending tokens to the right address on the wrong network is a common and sometimes unrecoverable mistake. Check the network in your wallet before every transfer.

Before you bridge: a short checklist

  1. Is this the official bridge, reached from the rollup's own website?
  2. How long will a withdrawal back to Ethereum take?
  3. Do I have enough of the fee token on the destination network?
  4. Is the token I receive the canonical version used by applications there?
  5. Have I sent a small test amount first?

Frequently asked questions

Is a layer 2 as safe as Ethereum?

The best-designed rollups inherit much of Ethereum's security for funds, but they add contract, upgrade and sequencer risks. Many are still in early stages where operators retain significant control. "As safe as Ethereum" is an aim, not a given.

Why does withdrawing from some layer 2s take a week?

Optimistic rollups need a challenge period so that anyone can dispute an invalid batch before funds leave the rollup through its official bridge.

Is a sidechain the same as a rollup?

No. A sidechain is a separate blockchain with its own validators and consensus, connected by a bridge. Its security depends on those validators, not on Ethereum.

Do I need a different wallet for a layer 2?

Usually not. Most Ethereum wallets can add rollup networks. You need some ETH, or the rollup's fee token, on that network to pay fees.

Will rollups make Ethereum mainnet fees cheap?

Rollups move activity off mainnet and pay Ethereum for data. Mainnet fees depend on the demand that remains there; rollups mainly make cheaper transactions available elsewhere.

Related on this site

Sources

  1. ethereum.org, Layer 2
  2. ethereum.org, Optimistic rollups
  3. ethereum.org, Zero-knowledge rollups
  4. EIP-4844: Shard blob transactions
  5. EIP-7691: Blob throughput increase
  6. L2BEAT, Layer 2 risk analysis

This guide explains how things work. It is general information, not financial, tax or legal advice, and it does not recommend any investment. Rules, rates and figures change; check the source before you act. Found an error? See the corrections policy.