Hashtag Web3 Logo

Sequencer

A centralized or decentralized entity that orders transactions on layer 2 systems, batching them together before posting to layer 1 for efficient settlement.

technicalIntermediate
Sequencer

Sequencer refers to the entity responsible for ordering, batching, and submitting transactions on Layer 2 networks before they are posted to the underlying Layer 1 blockchain for final settlement. In practice, sequencers receive user transactions, arrange them in a specific order, compress them into batches, and publish the resulting data to Ethereum or another base layer. Arbitrum One, one of the largest Layer 2 networks, processes a significant portion of its transactions through a centralized sequencer operated by Offchain Labs. While this architecture enables fast confirmation times and low fees, it creates potential risks around censorship and MEV extraction, which is why most major rollups have decentralized sequencer implementations on their roadmaps. For professionals entering Web3 infrastructure roles, understanding sequencer mechanics is increasingly valuable as Layer 2 scaling solutions dominate network activity.

Sequencer Role

What sequencers do:

  • Transaction Collection: Receive transactions from users in L2 mempool.

  • Ordering: Decide order of transactions. Order matters for outcomes (MEV).

  • Batching: Group multiple transactions into single batch for efficiency.

  • Posting: Post ordered batch to Layer 1 as single transaction.

  • Confirmation: Users get L2 confirmation through sequencer before L1 finality.

Sequencers enable fast L2 transactions through efficient batching.

Sequencer Economics

Financial aspects:

  • Sequencer Profit: Collects fees from users. Profit equals fees collected minus L1 posting cost.

  • MEV Extraction: Sequencer sees all pending transactions and can extract MEV.

  • Competition: Multiple sequencers compete to batch transactions.

  • Incentives: Sequencers are incentivized to order transactions benefiting users or themselves.

Sequencer incentives must align with user interests.

Centralized vs Decentralized

Comparing models:

  • Centralized Sequencer: Single entity orders transactions. Fast but centralized.

  • Decentralized Sequencing: Multiple sequencers compete. More decentralized but complex.

  • Threshold Encryption: Encrypt transactions until after ordering to prevent front-running.

  • MEV-Burn: Sequencer burns MEV revenue to reduce MEV extraction incentives.

Different approaches balance decentralization and efficiency.

Sequencer Risks

Potential issues:

  • Censorship: Sequencer can censor transactions and exclude certain users or transactions.

  • MEV Extraction: Sequencer extracts MEV through ordering, reducing user value.

  • Centralization: A single sequencer creates centralization risk.

  • Downtime: If sequencer goes down, L2 stops. A fallback mechanism is necessary.

  • Front-Running: Sequencer can front-run users and execute ahead of them.

Sequencer risks are serious and require mitigations.

Sequencer Mitigations

Risk controls:

  • Escape Hatch: Users can bypass sequencer and post transactions directly to L1 if sequencer censors.

  • Decentralization Timeline: Protocols are planning transitions to decentralized sequencers.

  • Ordering Fairness: Protocols are working on fair ordering to prevent MEV extraction.

  • Sequencer Bonds: Sequencers bond capital and can be slashed if they misbehave.

  • Failover: Multiple sequencers enable failover if the primary fails.

Mitigations reduce but do not eliminate sequencer risks.

Sequencer Examples

Real systems:

  • Arbitrum: Currently has a single sequencer (Offchain Labs) with planned decentralization.

  • Optimism: Operates a single sequencer with a transition to decentralized sequencing planned.

  • Polygon: Uses multiple sequencers backing Polygon PoS for a more decentralized approach.

  • StarkNet: StarkWare runs a sequencer with plans for permissionless sequencing.

Major Layer 2s are running sequencers with decentralization roadmaps.

Decentralized Sequencing Solutions

Emerging approaches:

  • Proposer-Builder Separation: Separate builders propose blocks from proposers who order transactions.

  • Encrypted Mempools: Encrypt transactions to prevent ordering before commitment.

  • Threshold Encryption: Encrypt until after ordering and decrypt in deterministic order.

  • Intent-Based Architectures: Users specify intents, and solvers compete to fulfill them.

Decentralized sequencing is an active research area.

Career Opportunities

Sequencing creates roles:

  • Protocol Engineers build sequencer infrastructure.

  • Systems Architects design decentralized sequencing.

  • Cryptography Experts design threshold encryption.

  • Performance Engineers optimize sequencing.

  • MEV Researchers study MEV economics.

Best Practices

Using sequencer Layer 2s:

  • Understand Risks: Recognize centralization risks of current sequencers.

  • Plan for Escapes: Know how to use the escape hatch if the sequencer censors.

  • Monitor Roadmaps: Track decentralization timelines.

  • Diversify: Use multiple Layer 2s rather than a single Layer 2.

The Future of Sequencing

Sequencing evolution:

  • Decentralized Sequencing: Transition to permissionless sequencing.

  • Encrypted Sequencing: Sequencing without MEV extraction.

  • Cross-Chain Sequencing: Sequencers coordinating across multiple Layer 2s.

  • Intent-Based: Shift from transaction ordering to intent fulfillment.

Order Transactions Efficiently

Sequencers are critical Layer 2 infrastructure enabling fast, cheap transactions. Decentralization of sequencing is a major roadmap item for Layer 2s. If you're interested in Layer 2 architecture or MEV, explore layer 2 careers at Arbitrum, Optimism, and protocol research teams. These roles focus on building scalable and fair ordering systems.

Find Sequencer Jobs

Explore positions at companies working with Sequencer technology

Browse open roles

Learn More

Read in-depth articles and guides about Web3 careers and technology

Explore the blog