Optimism · Ethereum layer 2

Also known as: OP Mainnet

On this page 7

Optimism is an Ethereum layer 2 network built as an optimistic rollup: it executes transactions on its own chain, posts the transaction data to Ethereum, and relies on fault proofs to challenge any invalid state. Its main network is called OP Mainnet, and the open-source software behind it, the OP Stack, is used by many other chains.

In blockchain scaling, Optimism belongs to the rollup family that inherits security from Ethereum rather than running its own validator set. The result is fees that are typically a small fraction of Ethereum mainnet and confirmations in about two seconds, in exchange for a seven-day withdrawal delay when funds return to Ethereum through the native bridge.

How the Optimism rollup processes transactions

Optimism processes transactions through a sequencer that orders them, produces layer 2 blocks and periodically publishes compressed batches to Ethereum. The network remains EVM-equivalent, so contracts, wallets and developer tools written for Ethereum work with minimal or no changes.

The word optimistic describes the security assumption: state updates are accepted as valid by default and are only examined if someone disputes them. Proposers submit output roots, compact commitments to the layer 2 state, to a contract on Ethereum. During the challenge window of roughly seven days, any participant can open a dispute game, and the fault proof system replays the disputed step on Ethereum to decide who is right.

The table below summarizes the main components and their roles in the system.

ComponentRoleWhere it runs
SequencerOrders transactions and builds blocksLayer 2, operated by one party
BatcherPosts compressed transaction dataSubmits to Ethereum blobs or calldata
ProposerPublishes output roots of the stateSubmits to Ethereum contracts
Dispute game contractsResolve challenges to output rootsEthereum layer 1
Standard bridgeMoves ETH and tokens between layersContracts on both layers
Execution clientRuns the EVM and stores stateLayer 2 nodes
Main components of the OP Mainnet architecture

Since the Ecotone upgrade in 2024, batches are posted mainly as EIP-4844 blobs, a cheaper data format introduced by Ethereum’s Dencun upgrade. This change cut data costs sharply and is the main reason fees fell to cents or less for ordinary transfers.

Key parameters and network properties

OP Mainnet is defined by a small set of parameters that affect speed, cost and finality. Values below describe the network as commonly configured; governance can change several of them through protocol upgrades.

ParameterTypical valueWhat it affects
Block timeAbout 2 secondsSpeed of layer 2 confirmations
Withdrawal challenge periodAbout 7 daysTime to exit via native bridge
Data availabilityEthereum blobs, calldata fallbackSecurity and data cost
Gas tokenETHHow fees are paid
Fee componentsL2 execution fee plus L1 data feeTotal transaction cost
Governance tokenOPVoting on upgrades and funding
Typical OP Mainnet parameters

Finality has two meanings on a rollup. A transaction is soft-confirmed by the sequencer within seconds, becomes safe once its batch is included on Ethereum, and becomes withdrawable to layer 1 only after the challenge period passes without a successful dispute.

Optimism compared with other scaling approaches

Optimism differs from other scaling designs mainly in how it proves correctness and where it stores data. The comparison below places it among neighboring approaches in the same topic.

DesignValidity methodExit to EthereumData location
OptimismFault proofs after challengeAbout 7 daysEthereum
ArbitrumInteractive fraud proofsAbout 7 daysEthereum or committee
ZK-rollupValidity proofs per batchHours or lessEthereum
SidechainOwn validator consensusBridge dependentOwn chain
State channelSigned off-chain updatesDispute periodParticipants only
Optimism against related scaling designs

Compared with a ZK-rollup, Optimism avoids the cost and complexity of generating cryptographic proofs, which made full EVM equivalence easier to achieve. The trade-off is the long native withdrawal window, which third-party liquidity bridges shorten for a fee by fronting funds and taking on the waiting period themselves.

The OP Stack and the Superchain

The OP Stack is the modular, open-source codebase that runs OP Mainnet, and it allows other teams to launch their own layer 2 chains with the same architecture. Base, among others, is built on it, and chains that adopt shared standards and upgrades form what the project calls the Superchain.

Governance sits with the Optimism Collective, which uses a bicameral model: the Token House of OP holders votes on protocol upgrades and incentives, while the Citizens’ House directs retroactive public goods funding to projects judged to have created value. Sequencer revenue from Superchain members partly flows back to the Collective.

  • Shared upgrades: member chains adopt common protocol versions.
  • Shared bridge standards: assets follow a consistent model across chains.
  • Planned interoperability: native message passing between OP Stack chains is under development.
  • Common governance: protocol rules are set by the Collective rather than each chain alone.

Limitations and trust assumptions

Optimism still carries trust assumptions beyond Ethereum itself, and understanding them is essential for evaluating risk. The most discussed one is the single sequencer, currently operated by the Optimism Foundation, which can delay or reorder transactions even though it cannot steal funds.

AssumptionRiskMitigation
Centralized sequencerCensorship or downtimeForced inclusion through Ethereum
Upgradeable contractsMalicious or faulty upgradeSecurity council and governance delays
Fault proof correctnessBug lets invalid state finalizeAudits, guardian override role
Honest challengerNo one disputes a bad rootAt least one honest watcher needed
Main trust assumptions and their mitigations

Permissionless fault proofs went live on OP Mainnet in 2024, moving the network to the stage where anyone can challenge output roots. A guardian role and a security council can still intervene in emergencies, so the system is not yet fully trustless. A common mistake is assuming that a fast exchange withdrawal reflects native bridge security, when it actually relies on the liquidity provider.

The short version

Optimism is a faster, cheaper lane built beside Ethereum. Instead of every transaction going through the busy main road, Optimism handles them on its own lane and then sends a summary back to Ethereum for safekeeping.

It is called optimistic because it assumes the summaries are honest unless someone proves otherwise within about a week. That waiting period is why moving money from Optimism back to Ethereum through the official route takes several days, while everyday payments on Optimism itself feel almost instant.

Where it makes a difference

A small online game studio wants players to trade in-game items as tokens. On Ethereum mainnet, each trade could cost several dollars in busy periods, which is more than many items are worth. The studio deploys its existing Solidity contracts to OP Mainnet without rewriting them, because the network is EVM-equivalent.

Players now trade items for fees of around one cent or less, with confirmations in about two seconds. The studio tells players that withdrawing ETH back to Ethereum through the native bridge takes about seven days, and links a liquidity bridge for those who prefer a faster exit for a small fee. The outcome is a marketplace that would be uneconomic on layer 1 but runs smoothly on layer 2.