Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Transaction Ordering Policy

A transaction ordering policy is the formal rule set that determines how a sequencer or block producer selects and arranges transactions within a block.
Chainscore © 2026
definition
BLOCKCHAIN CONSENSUS

What is a Transaction Ordering Policy?

A Transaction Ordering Policy (TOP) is the formal rule set that determines the sequence in which pending transactions are included in a block by a network validator or sequencer.

A Transaction Ordering Policy is a critical component of a blockchain's consensus mechanism and mempool management. It defines the deterministic or probabilistic algorithm a block producer uses to select and arrange transactions from the pool of unconfirmed transactions. Common policies include First-In-First-Out (FIFO), Highest-Fee-First (akin to a Priority Gas Auction), or Fair Ordering principles. The chosen policy directly impacts network performance metrics like throughput and latency, as well as economic outcomes such as Maximal Extractable Value (MEV).

The enforcement of a TOP is not merely a technical detail but a core governance and security parameter. In Proof-of-Work systems like Bitcoin, ordering is implicitly determined by miner profit maximization. In Proof-of-Stake and layer-2 rollups, the policy can be explicitly coded and may be permissioned or decentralized. A poorly designed policy can lead to front-running, censorship, and instability, while a robust one promotes fairness and predictability for all network participants.

In practice, a TOP interacts with a node's mempool and gossip protocol. When a validator creates a new block, it applies its ordering policy to the set of transactions it has observed. This process is distinct from, but complementary to, the consensus algorithm that agrees on the block's finality. For example, Avalanche uses a Directed Acyclic Graph (DAG)-based approach to ordering, while Solana's Proof-of-History provides a cryptographic clock that helps standardize transaction sequence.

Advanced research into Transaction Ordering Policies focuses on mitigating MEV and enhancing decentralization. Concepts like time-boost mechanisms, encrypted mempools, and commit-reveal schemes are proposed to create more equitable ordering. In rollup architectures, the sequencer—the entity responsible for ordering—often operates with a specific, sometimes centralized, policy, leading to ongoing design work on decentralized sequencer sets and based sequencing.

how-it-works
BLOCKCHAIN CONSENSUS

How a Transaction Ordering Policy Works

A transaction ordering policy is the formal rule set a blockchain network uses to determine the sequence in which pending transactions are included in a block and added to the ledger, directly impacting security, fairness, and performance.

A transaction ordering policy is the deterministic algorithm a blockchain's consensus mechanism or block proposer uses to sequence pending transactions from the mempool into the next block. Unlike the consensus protocol that secures agreement on the block's validity, the ordering policy dictates its internal structure. Common policies include ordering by highest transaction fee (e.g., a fee-based auction), by arrival time (First-In-First-Out), or by other attributes like sender address. This policy is critical because the order of execution can affect transaction outcomes, especially in decentralized finance (DeFi), where the phenomenon of maximal extractable value (MEV) arises from the ability to reorder transactions for profit.

The implementation of the policy is a core function of the block producer (e.g., miner or validator). In networks like Bitcoin and Ethereum's proof-of-work, miners typically order transactions by descending gas price or fee rate to maximize their revenue from block rewards and fees, creating a competitive fee market. More sophisticated policies are emerging to combat MEV and improve fairness, such as time-boost mechanisms or credible commitment schemes like FCFS (First-Come-First-Served). The choice of policy creates a game-theoretic environment where users strategize their fee bids, and block producers optimize for profit, often leading to complex dynamics around network congestion.

Advanced research focuses on fair ordering protocols that aim to prevent malicious actors from manipulating transaction order for gain. Techniques include using a threshold encryption scheme to hide transaction content until a block is proposed or employing a sequencer in rollup architectures that provides a canonical order. The policy also interacts with consensus-layer upgrades; for example, Ethereum's transition to proof-of-stake introduced proposer-builder separation (PBS), where specialized block builders create optimally ordered blocks for validators to propose. Ultimately, a transaction ordering policy defines the economic and operational rules of the network's marketplace, balancing efficiency, decentralization, and resistance to manipulation.

key-features
MECHANICAL PROPERTIES

Key Features of Transaction Ordering Policies

Transaction ordering policies define the deterministic rules that a blockchain or sequencer uses to arrange pending transactions into a block. These core features determine the network's fairness, efficiency, and security guarantees.

01

Determinism

A core requirement where the final ordering of transactions must be deterministically reproducible by any honest node given the same mempool state. This prevents forks and ensures network consensus. Without it, validators could produce conflicting blocks from the same transaction set.

  • Example: In Ethereum's Gas Price Auction, the canonical order is determined by sorting transactions by descending gasPrice and then by nonce.
02

Fairness & Censorship Resistance

Policies define how resistant the system is to transaction censorship or frontrunning. A fair policy minimizes the ability for powerful actors (like block proposers or MEV searchers) to arbitrarily exclude or reorder transactions for profit.

  • Time Boost: Some policies include a time-based priority boost to prevent indefinite exclusion.
  • Commit-Reveal Schemes: Used to hide transaction content until ordering is decided, mitigating frontrunning.
03

Throughput & Latency

The efficiency of the ordering algorithm directly impacts transactions per second (TPS) and confirmation latency. Parallelizable policies (e.g., ordering by account shards) enable higher throughput. The policy also defines the finality time—how quickly users can trust an order is settled.

  • Bottleneck: A complex, global sorting rule can become a throughput bottleneck for the sequencer.
04

MEV (Maximal Extractable Value)

The ordering policy is the primary source of MEV. It determines the surface area for value extraction through arbitrage, liquidations, and sandwich attacks. Policies can be designed to mitigate MEV (e.g., fair ordering) or explicitly auction it off (e.g., PGA - Priority Gas Auctions).

  • MEV-Boost: Ethereum's marketplace where block proposers sell their ordering rights to specialized searchers.
05

Decentralization of Ordering Power

Specifies who controls the ordering function. This ranges from permissionless validator sets (decentralized) to a single sequencer (centralized, common in L2 rollups). The policy defines the trust assumptions: users must trust the sequencer to follow the published rules.

  • Decentralized Sequencer Sets: Multiple entities take turns ordering, reducing single points of failure and censorship.
  • Proposer-Builder Separation (PBS): Separates the entity that chooses the block contents from the entity that proposes it.
06

Pre-Confirmation Security

For systems with a designated sequencer (like many rollups), the policy may offer soft commitments or pre-confirmations to users before transactions are posted to L1. The security of these pre-confirms depends on the sequencer's bonding/slashing conditions and the challenge period for disputing incorrect orders.

common-policy-types
MECHANISMS

Common Types of Ordering Policies

A transaction ordering policy is the deterministic rule set a blockchain or sequencer uses to arrange pending transactions into a block. The chosen policy is a core design choice that directly impacts security, user experience, and protocol economics.

01

First-Come, First-Served (FCFS)

Transactions are ordered strictly by the time they are received by the network node or sequencer. This is the simplest policy, often used as a baseline.

  • Key Feature: Minimizes centralization of ordering power.
  • Drawback: Highly vulnerable to frontrunning and time-bandit attacks, as the public mempool order is predictable.
  • Example: The base Ethereum mempool nominally uses FCFS, though miners/validators can reorder transactions, making the practical policy more complex.
02

Priority Gas Auction (PGA)

A market-driven policy where users explicitly bid (via transaction fees) for priority positioning within a block. Order is determined by descending fee price.

  • Key Feature: Creates a transparent, auction-based market for block space.
  • Mechanism: Users submit transactions with a maxPriorityFee or similar; the block builder orders by the highest effective fee paid.
  • Drawback: Can lead to fee inflation and MEV extraction, as searchers outbid each other to secure profitable positions.
03

First-Price Sealed-Bid Auction

A variant where users submit a bid (fee) without seeing others' bids. The block builder sees all bids and orders transactions accordingly, with the highest bidders winning the best positions.

  • Key Feature: Reduces some real-time bidding wars compared to open PGAs.
  • Context: This is often the practical model used by Ethereum block builders after EIP-1559, where the priority fee is the sealed bid.
  • Consideration: Can still result in overpayment as bidders lack perfect information.
04

Sequencer-Enforced Fair Ordering

A policy enforced by a centralized or decentralized sequencer designed to mitigate malicious ordering. It uses criteria like transaction receipt time or cryptographic proofs to establish a fair order.

  • Goal: Prevent frontrunning and sandwich attacks against ordinary users.
  • Implementation: May use a first-seen rule with commit-reveal schemes or threshold encryption to hide transaction content until ordering is decided.
  • Example: Flashbots SUAVE aims to provide a decentralized network for fair ordering commitments.
05

Time-Based Ordering (e.g., FIFO in a Queue)

Transactions are placed into a time-based queue (like FIFO) based on a cryptographically verifiable timestamp, often provided by a trusted sequencer or a decentralized time oracle.

  • Key Feature: Provides fairness and predictability for users, as order is not for sale.
  • Requirement: Depends on a secure and reliable timestamping mechanism, which can be a centralization vector.
  • Use Case: Common in high-throughput centralized sequencers for rollups, where the operator defines the order.
06

MEV-Optimized Ordering

The block builder (proposer) actively reorders transactions to extract Maximum Extractable Value (MEV), such as arbitrage or liquidations. The policy is to maximize builder revenue.

  • Reality: This is the de facto policy on many chains, as builders run MEV-Boost or similar software.
  • Process: Searchers submit bundles of transactions to builders; the builder selects and orders bundles to maximize their profit.
  • Impact: Creates a specialized market for block space but can degrade experience for non-MEV transactions.
MECHANISM OVERVIEW

Comparison of Major Transaction Ordering Policies

A technical comparison of the dominant transaction ordering policies used by blockchains and rollups, detailing their core mechanisms, security properties, and performance characteristics.

Feature / PropertyFirst-Come, First-Served (FCFS)Priority Gas Auction (PGA)Proposer-Builder Separation (PBS)Time-Boost Auctions

Primary Mechanism

Chronological arrival in mempool

Open auction for block space via gas bids

Decoupled block building (builders) and proposing (proposers)

Fixed base fee with priority fee for expedited inclusion

MEV Resistance

Censorship Resistance

Transaction Fairness

High (temporal)

Low (capital-based)

Low (builder-controlled)

Medium (time-priority hybrid)

Primary Use Case

Simple L1s, private mempools

Ethereum mainnet (pre-EIP-1559)

Ethereum post-merge, sophisticated L2s

Solana, Avalanche, other high-throughput chains

Inclusion Latency

Variable, often high

< 1 sec for top bids

Predictable (1 slot)

< 400ms target

Fee Market Complexity

Low

Extremely High (volatile)

High (off-chain competition)

Medium (predictable base + premium)

Builder Centralization Risk

High

mev-relationship
BLOCKCHAIN CONSENSUS

Relationship to Maximal Extractable Value (MEV)

A Transaction Ordering Policy (TOP) is a formalized rule set that determines how transactions are sequenced within a block, directly influencing the opportunities for and distribution of Maximal Extractable Value (MEV).

A Transaction Ordering Policy (TOP) is the core mechanism that defines the permissible sequences of transactions in a block, moving beyond the simple first-come-first-served model. It establishes the "rules of the game" for block builders and validators, dictating whether transactions can be arbitrarily reordered, bundled, or censored. This policy is the primary lever for managing MEV, as the economic value extracted from a block is a direct function of the order in which transactions are executed. A liberal TOP allows sophisticated searchers to exploit arbitrage, liquidations, and sandwich attacks, while a restrictive TOP can limit these activities.

The design of a TOP creates a fundamental trade-off between efficiency and fairness. A policy that allows free ordering (e.g., the common practice in Ethereum post-Merge) maximizes chain revenue and block space efficiency, as builders can create the most profitable sequence. However, this concentrates MEV rewards among sophisticated actors and can lead to negative externalities like network congestion and increased costs for regular users. In contrast, a policy like first-in-first-out (FIFO) or timestamp ordering promotes fairness and predictability but may reduce overall chain revenue and efficiency by preventing value-optimizing arrangements.

Implementing a specific TOP often requires protocol-level changes or dedicated infrastructure. For example, FCFS (First-Come-First-Served) policies can be enforced by mempool rules, while more complex rules like PGA (Priority Gas Auction) ordering emerge from market behavior. Advanced solutions like MEV-Boost on Ethereum introduce a marketplace for block space, effectively creating a TOP where the winning builder's proposed order is accepted. Future developments, such as proposer-builder separation (PBS) and encrypted mempools, aim to formalize TOPs that mitigate MEV's negative impacts while preserving some economic benefits.

The choice of TOP has profound implications for network security and decentralization. When MEV profits are large and concentrated, they can incentivize validator centralization through practices like proposer stealing or the formation of dominant builder cartels. A well-designed TOP can help distribute MEV more evenly, protecting the network from these risks. Furthermore, policies that incorporate cryptographic techniques like commit-reveal schemes or fair ordering protocols aim to prevent frontrunning and create a more equitable environment for all network participants.

ecosystem-usage
TRANSACTION ORDERING POLICY

Ecosystem Usage & Examples

Transaction ordering policies are implemented by block builders and sequencers to determine the final sequence of transactions within a block, directly impacting user experience, protocol security, and application logic.

01

First-Come, First-Served (FCFS)

The simplest ordering policy where transactions are processed in the order they are received by the network node. This is the default, naive approach used by many base-layer blockchains like Bitcoin and Ethereum's execution clients before block building.

  • Key Feature: Provides a baseline of fairness and predictability.
  • Limitation: Highly vulnerable to Maximum Extractable Value (MEV) exploitation, as the public mempool allows sophisticated actors to front-run or sandwich user transactions.
02

Priority Gas Auction (PGA) & MEV

A market-driven ordering policy where validators or block builders accept transactions with the highest gas fees, often from searchers competing in real-time to have their arbitrage or liquidation bundles included. This is a de facto standard on Ethereum.

  • Mechanism: Searchers bid via transaction gas prices, and the builder selects the most profitable sequence.
  • Consequence: Leads to MEV extraction, network congestion, and increased costs for regular users. Tools like Flashbots' MEV-Boost formalize this auction process.
03

Sequencer-Based Ordering (Rollups)

Centralized or decentralized sequencers in Layer 2 rollups (e.g., Optimism, Arbitrum, Starknet) enforce a specific ordering policy before submitting batches to Layer 1.

  • Typical Policy: Uses a first-come, first-served queue based on when the sequencer receives the transaction, often providing fast pre-confirmations.
  • Goal: To offer a fair, low-cost user experience while mitigating L1-level MEV. Some networks are exploring decentralized sequencer sets and time-boosting mechanisms for fairness.
05

Application-Specific Ordering

Some decentralized applications implement their own ordering logic on top of the base layer's policy to protect their users.

  • Example: A DEX may use a batch auction for its liquidity pools, where all trades in a block are settled at the same clearing price, eliminating sandwich attacks.
  • Another Example: CowSwap uses batch auctions with uniform clearing prices and off-chain order matching (CoW Protocol) to provide MEV-protected trades.
06

Proposer-Builder Separation (PBS)

An architectural design (formally proposed for Ethereum) that separates the roles of block proposer (validator) and block builder. Builders compete to create the most profitable block bundle via an auction.

  • Impact on Ordering: The builder, who wins the auction, has full control over transaction ordering within their block. This professionalizes and centralizes ordering decisions.
  • Goal: To democratize MEV profits and prevent validator centralization. MEV-Boost is an in-practice implementation of PBS.
security-considerations
TRANSACTION ORDERING POLICY

Security & Trust Considerations

Transaction ordering policies define the rules a blockchain or mempool uses to sequence pending transactions, directly impacting security, fairness, and front-running risks.

01

First-Come, First-Served (FCFS)

The simplest ordering policy where transactions are processed in the order they are received by the network. While intuitive, it is highly vulnerable to network-level manipulation, as an attacker with better connectivity can ensure their transaction is seen first. This creates a latency race and is the primary enabler for front-running and sandwich attacks in decentralized finance.

02

Priority Gas Auction (PGA)

A market-driven ordering mechanism where users compete by bidding transaction fees (gas price) to have their transaction included earlier in a block. The highest bidder wins the top position. This is the de facto policy on networks like Ethereum. While it creates a clear economic incentive for validators, it can lead to inefficient fee markets and disadvantages users unwilling to pay exorbitant priority fees.

03

Fair Sequencing Services (FSS)

A class of solutions designed to provide fair transaction ordering by mitigating the advantages of network position. An FSS node or network receives transactions, orders them using a deterministic rule (e.g., by timestamp from a trusted time source), and then submits the ordered batch to the blockchain. This aims to prevent front-running and MEV extraction by malicious validators or sophisticated bots.

04

MEV & Validator Incentives

The chosen ordering policy directly creates Maximal Extractable Value (MEV) opportunities. Validators (or sequencers) who control block production can reorder, insert, or censor transactions to extract value. Policies that centralize ordering power (e.g., a single sequencer) introduce trust assumptions and censorship risks. Decentralized sequencing and proposer-builder separation (PBS) are architectural responses to mitigate these risks.

05

Censorship Resistance

A critical security property impacted by ordering. A malicious validator could censor transactions by refusing to include them. Robust networks require mechanisms like credible neutrality and inclusion lists to ensure all valid transactions have a probabilistic guarantee of being processed. The ordering policy must balance efficiency with the ability to resist targeted exclusion of users or applications.

06

Time-Boost & Private Mempools

User-facing mechanisms to influence ordering. A time-boost function (used by networks like Solana) allows a transaction to pay an extra fee to reduce its latency penalty, blending FCFS and PGA. Private mempools (or channels) allow users to submit transactions directly to a validator, hiding them from the public mempool to prevent front-running, though this increases reliance on the validator's honesty.

TRANSACTION ORDERING POLICY

Common Misconceptions

Clarifying widespread misunderstandings about how transactions are selected, ordered, and included in blocks across different blockchain architectures.

No, transaction ordering on Ethereum is not strictly first-come, first-served; it is primarily determined by validators (or miners pre-Merge) who have the authority to order transactions within the blocks they propose. While the mempool operates on a first-seen basis, validators use priority gas auctions and Maximal Extractable Value (MEV) strategies to reorder transactions to maximize their profits, often placing higher-fee transactions first. This creates a competitive auction environment where users can pay higher gas fees to influence, but not guarantee, earlier inclusion.

TRANSACTION ORDERING POLICY

Frequently Asked Questions (FAQ)

A Transaction Ordering Policy (TOP) is a set of rules that determines how transactions are sequenced in a block. This FAQ covers the core mechanics, key differences between policies, and their impact on users and developers.

A Transaction Ordering Policy (TOP) is the formal rule set that dictates the sequence in which pending transactions are selected and arranged into a new block by a block producer (e.g., a miner or validator). It is the core algorithm that translates the unordered mempool into an ordered, immutable chain of state transitions. The choice of TOP directly impacts front-running vulnerability, maximum extractable value (MEV), and user experience, as it defines whether transactions are ordered by gas price, arrival time, or more complex criteria. On networks like Ethereum, the default policy is typically a gas price auction, while other chains or layer-2 solutions may implement first-come-first-served (FCFS) or fair ordering mechanisms to mitigate manipulation.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Transaction Ordering Policy: Definition & Role in Blockchain | ChainScore Glossary