What Is a Layer 2? Rollups and Blockchain Scaling
Author: Lzzo Editor · Crypto · 6 min read · · Reviewed by the Lzzo.com editorial team
Short answer
A layer 2 is a separate network that processes transactions away from a main blockchain and then writes the results and data back to it. On Ethereum the common form is the rollup, which bundles hundreds of transactions into one, so each user pays a smaller share of the fee. It also adds bridge, operator and withdrawal risks.
Sources read on 1 November 2026. The Dencun date comes from the ethereum.org network upgrades page, the challenge period from Ethereum's developer documentation and the Wormhole example from the ethereum.org bridges page and the incident report of 3 February 2022 it cites; the dollar figure is the value at the time.
Key points
- ethereum.org defines a layer 2 as a separate blockchain that extends Ethereum and inherits its security; sidechains do not qualify.
- Withdrawals from an optimistic rollup wait out a challenge period of roughly seven days; zero-knowledge rollups use validity proofs.
- A layer 2 token's price is not a usage meter, and some networks charge fees in ETH rather than the token.
On this page
What does layer 2 mean?
The main network of a blockchain is called layer 1; the Bitcoin and Ethereum mainnets are layer 1 networks. ethereum.org describes a layer 2 as a separate blockchain that extends Ethereum and inherits its security. The aim is to fit more activity into the main chain's limited block space and lower the cost per transaction. Users move funds in through a bridge contract and can later withdraw them.
How do rollups lower fees?
According to ethereum.org, rollups bundle, or roll up, hundreds of transactions into a single transaction on layer 1. Execution happens on the rollup, while the transaction data is posted to Ethereum, so the main chain keeps enough information to check the rollup's state later. The cost of posting a batch is split across every transaction inside it, which is where the fee saving comes from.
The Dencun upgrade, activated on 13 March 2024, introduced EIP-4844, known as proto-danksharding. ethereum.org says it significantly decreases the cost of data storage for layer 2 rollups. The Lzzo.com Ethereum page also notes that rollups write their data to Ethereum through blob space.
Optimistic or zero-knowledge: what is the difference?
The two designs prove in different ways that the result sent to Ethereum is correct. Optimistic rollups assume transactions are valid and let anyone challenge a suspected invalid one with a fault proof, so, as Ethereum's developer documentation explains, withdrawals to Ethereum wait until a challenge period of roughly seven days has passed.
Zero-knowledge (ZK) rollups compute transactions off chain and submit the result to Ethereum together with a validity proof showing that the transactions are correct. Once the proof is verified there is no challenge window to wait for.
Are sidechains and bridges layer 2?
No. ethereum.org separates sidechains and validiums from layer 2: they connect to the main chain through bridges but do not derive their security or data availability from it, so they rest on different trust assumptions even when they scale in a similar way.
A bridge is the contract or system that moves assets between chains. ethereum.org names code bugs that can lose user funds and, in trusted bridges, colluding operators as its main risks, and cites the February 2022 attack on the Wormhole bridge on Solana, in which 120,000 wETH, about 325 million dollars at the time, was stolen.
What can go wrong on a layer 2?
Lower fees come with risks that the main chain does not have:
- Centralized sequencers: Ethereum's developer documentation notes that centralized rollup operators can influence transaction ordering, censor users by going offline and prevent withdrawals.
- Slow withdrawals: leaving an optimistic rollup for the main chain can take about a week, during which the funds cannot be used on Ethereum.
- Bridge and contract risk: an asset on a layer 2 represents an asset locked in a bridge contract, so a flaw in that contract affects both sides.
- Maturity: ethereum.org says many layer 2 projects are still young and somewhat experimental, and that no layer 2 is as battle tested as Ethereum mainnet.
Does Bitcoin have layer 2 networks?
Yes. The most familiar approach is the Lightning Network: two participants open a payment channel by recording an entry on the blockchain that both must sign, then pay each other inside the channel off the blockchain, with on-chain enforceability. The Lightning Network site cites very low fees and payments in milliseconds to seconds. In the Lzzo.com catalogue, the Bitcoin layer 2 category label is not an assessment of how a project uses Bitcoin's security.
How are layer 2 coins shown on Lzzo.com?
The Layer 1 and 2 filter of the crypto list shows these networks' coins together, and a coin page's category label reads Layer 2 / scaling or Bitcoin layer 2. Each page shows the price in US dollars, the change and the observation time; the Turkish lira value is the dollar price multiplied by the USD/TRY rate. A layer 2 token's price is not a usage meter: the Lzzo.com Arbitrum page notes that fees on that network are paid in ETH, not ARB.
Worked example
How is the cost of a rollup batch shared between transactions?
- Suppose a rollup posts a batch of 400 transactions to Ethereum and the batch costs 2 dollars on the main chain.
- Main-chain cost per transaction: 2 ÷ 400 = 0.005 dollars.
- If the same batch carried only 100 transactions: 2 ÷ 100 = 0.02 dollars each.
- The fee a user pays also includes the rollup's own execution cost, which is left out here.
- Result: the fuller the batch, the lower the main-chain cost per transaction, and the batch cost itself moves with main-chain fees.
Illustrative example; the amounts are assumptions and do not show any network's actual fees.
Common mistakes and risks
- Assuming the layer 2 token is the network's gas: on some rollups fees are paid in ETH and the token is used for governance.
- Treating every network labelled layer 2 as equally secure: ethereum.org separates sidechains and validiums, which do not take their security from the main chain.
- Expecting a withdrawal to settle at once: leaving an optimistic rollup for Ethereum involves a challenge period of roughly seven days.
- Opening a bridge site from a link in a message: fake bridge front ends ask for wallet approvals and can take the funds.
- Reading low fees as low risk: cheap transactions do not remove contract, bridge or sequencer risk.
Frequently asked questions
Which coin pays the fees on a layer 2?
It depends on the network. The Lzzo.com Arbitrum page notes that fees on Arbitrum are paid in ETH rather than ARB; other networks may use their own token. Each network's documentation states its fee unit.
Is ETH on a layer 2 the same as ETH on Ethereum?
An asset moved over a bridge is the layer 2 counterpart of an asset locked in the bridge contract. Its value depends on the bridge and the rollup working as designed; withdrawn to the main chain, it becomes the main-chain asset again.
Why do withdrawal times differ between networks?
Mostly because of the proof type. Optimistic rollups wait for the challenge period to end, which Ethereum's documentation puts at roughly seven days. On zero-knowledge rollups a withdrawal can complete once the validity proof is verified.
What is the core difference between layer 1 and layer 2?
Layer 1 settles transactions under its own rules. A layer 2 executes transactions itself but writes results and data to layer 1 and inherits its security from there.
Related pages on Lzzo.com
Related guides
- What Is DeFi? How Decentralized Finance WorksWhat is DeFi? How smart contracts run swaps, collateralized loans and stablecoins, what DeFi coins do, and the code, oracle and liquidation risks.
- What Is Bitcoin and How Does It Work?What is Bitcoin? How the network confirms payments without a bank, what miners do, why supply stops near 21 million, and the main risks to know.
- Coin vs Token: What Is the Difference?Coin vs token: a coin is the native unit of its own blockchain, a token is defined by a smart contract on an existing one. Explained with the ERC-20 standard.
- What Is Staking in Crypto? How Staking WorksWhat is staking in crypto? How proof-of-stake rewards work, solo, pooled and exchange staking compared, plus slashing, withdrawal queues and other risks.
Lessons in this subtopic
Bitcoin and Ethereum
- What is Bitcoin?
- Bitcoin halving
- Layer 2 (current lesson)
Sources
- ethereum.org
- lightning.network
Primary and official publications.