The Core Mechanism: Gas, Base Fees, and Priority Fees
Ethereum transaction inclusion economics revolve around the concept of gas, a unit that measures computational work. Every operation on the network, from a simple ETH transfer to a complex smart contract interaction, consumes a specific amount of gas. Gas is priced in gwei (a subunit of ether), and a transaction's total fee is the product of gas used and the gas price. Since the London hard fork in August 2021, Ethereum adopted a fee market known as EIP-1559, which introduced two distinct components: a base fee and a priority fee (or tip).
The base fee is algorithmically determined based on network congestion. It increases when blocks are more than 50% full and decreases when they are less than 50% full. This mechanism aims to keep average block utilization near 50% and soft-cap block sizes. The base fee is burned—removed from circulation—providing a deflationary pressure on ether supply. The priority fee, on the other hand, is an optional addition that users pay directly to validators to incentivize faster inclusion. In a congested network, users must offer a sufficient tip to outcompete other pending transactions.
A transaction is considered included when a validator chooses to place it into a proposed block. Validators are rational economic actors: they select transactions that maximize their revenue from tips and any other forms of compensation. The base fee alone does not determine inclusion; it merely sets a floor that every transaction must meet. The priority fee is the primary battleground for inclusion speed. Users who want near-instant settlement often set high tips, while those willing to wait can set lower tips and risk processing delays of several blocks.
The interplay between base fee and priority fee creates a dynamic market. When demand spikes, the base fee rises sharply, making transactions expensive for all users. But because the base fee is burned, validators have no direct incentive to include transactions with high base fees alone—only the tips matter for their revenue. This separation is a key design feature: it aligns validator incentives with network health while reducing the economic waste of simple-bidding auctions seen in earlier Ethereum fee models.
Block Building and the Role of MEV
Transaction inclusion economics extend beyond base fees and tips into the realm of Maximal Extractable Value (MEV). MEV refers to the profit validators or block builders can capture by reordering, including, or excluding transactions within a block. In the proof-of-stake era, block building has been largely professionalized. Specialized entities known as "block builders" construct blocks using sophisticated algorithms to optimize for both legitimate transaction fees and MEV opportunities. These builders submit blocks to validators, who then select the most profitable block to propose.
A common MEV strategy is arbitrage: a bot sends a transaction that profitably trades across a decentralized exchange (DEX) after detecting a price discrepancy. Another is sandwiching: a bot places a trade before and after a user's large order to profit from the resulting price impact. These activities have significant implications for inclusion economics. For example, a user's transaction may be delayed or front-run if it creates a profitable MEV opportunity. To mitigate this, some users opt for private transaction relay services, which send orders directly to block builders rather than the public mempool.
Block builders compete in a market where inclusion decisions are based on total value to the builder. This value includes standard priority fees plus any side payments from MEV searchers. As a result, a transaction with a modest tip but high MEV potential may be included faster than a transaction with a larger tip but no MEV. This complexity means that inclusion is not solely a function of user-set fees; it is also a function of the broader ecosystem of searchers and builders. For developers building applications that rely on timely execution, understanding these mechanics is crucial. Many turn to Decentralized Exchange Apis to access real-time data on order books and liquidity that inform their fee-setting and exclusion strategies.
The growing prominence of MEV has led to debates about fairness and centralization. Validators, especially smaller ones, often rely on third-party block builders, which can concentrate power among a few large actors. Nonetheless, the block building market remains competitive, with several builders offering different trade-offs between speed, inclusivity, and MEV protection. Users who want guaranteed inclusion without MEV risk can use flashbots-protected RPC endpoints, which process transactions privately.
Priority Fee Auctions and Inclusion Timing
In practice, the priority fee functions like a continuous auction. Users submit transactions with an attached tip, and validators select those with the highest tips from the mempool. However, the auction is not purely transitive because validators also consider non-financial factors, such as transaction size and computational cost. A transaction that requires more gas (i.e., higher gas limit) may be less attractive because it consumes more block space, reducing the number of other transactions a validator can include.
Inclusion timing can be approximated by observing the current base fee and the median priority fee of recent blocks. If a user sets a tip at or above the median of the last few blocks, their transaction is likely to be included within one or two blocks. If the tip is below the median, inclusion may take several blocks or be delayed indefinitely. Note that if the base fee decreases in subsequent blocks, a transaction with a low tip may eventually become competitive because the total fee is lower. However, users cannot rely on this, as network conditions can shift unpredictably.
Advanced users and institutional traders often employ dynamic fee estimation algorithms. These algorithms analyze real-time mempool data, recent block times, and base fee trajectories to predict the optimal tip. A common approach is to set a tip that targets the 50th to 80th percentile of recent tips, depending on desired speed. For extremely time-sensitive operations—like liquidations or arbitrage—users may set tips in the 95th percentile. Many wallet providers and Ethereum Transaction Gas Optimization tools automate this process, allowing users to specify a desired confirmation interval and letting the software adjust fees dynamically.
The emergence of priority fee auctions has also spurred the development of "flashbots bundles," where transactions are grouped and submitted with a direct payment to the block builder. This bypasses the public mempool entirely and gives the user a higher guarantee of inclusion, albeit at a cost. Bundles are often used by searchers and advanced traders who want to maximize control over their transaction ordering within a block.
Block Space Scarcity and Platform Economics
Ethereum's block space is a scarce resource. Each block has a target size of 15 million gas and a maximum of 30 million gas (though the protocol's algorithm tends to keep it near 15 million). During periods of high demand, this fixed supply means that users must compete for inclusion. The resulting fee volatility can be extreme: on days with heavy DeFi activity or NFT mints, the median transaction fee can spike to hundreds of dollars. This has direct implications for dApps and their user bases. Apps that generate high-value transactions (e.g., large swaps) are less sensitive to fees, while applications with low-margin operations (e.g., gaming or micropayments) become economically unviable.
From an economic perspective, the fee market allocates block space to the highest-value transactions. This is an efficient market function but can feel regressive to smaller users. Layer-2 solutions, such as Optimism and Arbitrum, have emerged to address this, offering cheaper block space by batching multiple transactions off-chain and posting compressed proofs to Ethereum. On layer-2, transaction inclusion follows similar principles but with lower base fees and different validator sets. However, the underlying economic logic—users pay a fee to creators of block space—remains identical.
For developers, understanding block space economics is essential for tokenomics design. Projects that issue tokens or run auctions must consider how gas fees affect user behavior. High fees can drive users to migrate to competing chains or layer-2s. Some projects have turned to relayer models, where a service provider pays the gas fees on behalf of users and recoups costs through off-chain mechanisms. This is common in applications like gasless minting or meta-transactions. The success of these models depends on the cost of Ethereum block space, which is ultimately determined by global demand and the efficiency of the fee market.
Future Developments and Market Evolution
Ethereum's transaction inclusion economics are not static. Protocol upgrades, such as proto-danksharding (EIP-4844), aim to reduce gas costs for rollups by introducing a new data blob type that is cheaper than calldata. This could shift some demand away from the main chain's block space, potentially lowering base fees for layer-1 transactions. Similarly, proposer-builder separation (PBS) is a longer-term goal that could further decentralize block building and reduce the influence of large validators on inclusion order.
Another evolving area is the concept of "inclusion lists," which require validators to include a set of forced transactions to prevent censorship. This proposal would give users a guaranteed path to inclusion regardless of tips, ensuring the base layer remains permissionless. Market participants are also designing new fee models, such as prioritized fee tiers offered by relayers, that could make inclusion speeds more predictable for regular users.
The interplay between MEV, tips, and base fees creates an intricate system that continues to evolve. Users and developers who stay informed about these dynamics can make better decisions about fee setting, transaction timing, and application design. As the Ethereum ecosystem matures, transaction inclusion economics will remain a critical lever for fairness, efficiency, and accessibility in decentralized applications.