What is a Sequencer?
A sequencer is the entity responsible for receiving, ordering, and executing transactions on a Layer 2 rollup network. It determines transaction order, provides fast "soft" confirmations to users, and batches transactions for submission to the Layer 1 blockchain. The sequencer plays a critical role in rollup performance and user experience, essentially serving as the central coordinator for L2 operations.
How Sequencers Work
When users submit transactions to a rollup, they go directly to the sequencer rather than a public mempool. The sequencer orders these transactions (typically first-come-first-served with some priority fee consideration), executes them against the rollup state, and provides soft confirmations. Fast acknowledgments that the transaction will be included in the next batch.
Periodically, the sequencer batches transactions and posts compressed data to Ethereum. For optimistic rollups, this batch includes state roots that are assumed correct unless challenged during the dispute period. For ZK rollups, validity proofs accompany the batches, providing immediate mathematical certainty.
Centralized Sequencers
Currently, most major rollups (Arbitrum, Optimism, Base, zkSync) run centralized sequencers operated by their development teams or foundations. This provides excellent performance, reliability, and simple user experience. However, it introduces trust assumptions: the sequencer cannot steal funds (L1 enforces this), but can censor transactions, extract MEV, or cause temporary unavailability.
Centralized sequencers represent a practical tradeoff during rollup maturation. They guarantee reliable service while teams develop and test decentralization mechanisms. However, they create single points of failure and potential regulatory pressure points that must eventually be addressed.
Decentralizing Sequencers
Rollup roadmaps include sequencer decentralization through various mechanisms. Some approaches rotate sequencing rights among staked operators using leader election. Others use shared sequencing services like Espresso or Astria that provide cross-rollup ordering. Based sequencing uses L1 proposers for ordering, inheriting Ethereum's decentralization.
Escape Hatches
Even with centralized sequencers, rollups provide escape hatches. Users can force-include transactions directly through L1, bypassing the sequencer. This ensures funds remain accessible even if the sequencer goes offline permanently, though it's slower and more expensive than normal operation.