What Is a Gas Auction?

A gas auction is the real-time fee competition behind every Ethereum transaction. Here is how bidding works, why it still happens after EIP-1559, and how to avoid getting burned.

A gas auction is the real-time bidding you enter every time you submit a transaction. Whoever offers the highest fee gets into the next block first.

That sounds simple. But a gas auction can spike fees 10x in seconds. It can strand your transaction for hours. A bot can even jump ahead of your trade before the block confirms. Most people on Ethereum have no idea they are bidding at all.

This guide walks through the whole mechanism. It starts with the chaotic first-price bidding of early Ethereum. Then it covers the EIP-1559 reform. It ends with the sealed-bid MEV-Boost auctions that now run over 90% of Ethereum blocks. By the end, you will know exactly what happens when you hit “Send.”

Key takeaways

  • Every Ethereum transaction is a bid for block space. Validators and block builders pick the highest-paying transactions first.
  • EIP-1559 reformed the gas auction but did not end it. A protocol-set base fee now handles the floor, but users still bid competitively with priority tips.
  • Flashbots’ MEV-Boost moved the fiercest auction activity off-chain, reducing public gas wars — but fee spikes still happen when demand exceeds block capacity.

How a Gas Auction Actually Works

The mempool is where transactions wait. Every time you send ETH, call a smart contract, or run a DeFi swap, your transaction lands there. It sits beside thousands of others, all fighting for a slot in the next block.

Validators and block builders scan that waiting room. They rank each pending transaction by its effective gas price. That is the amount you pay per unit of computation. Higher bids get picked first. Think of it as an open-cry auction. Every pending transaction is a live bid on block space. The auctioneer, in this case the validator, pockets the top bids.

You are not buying a transaction outright. You are bidding on limited space. Each Ethereum block can only hold so much gas. When demand tops that limit, prices rise fast.

Some of the fee is yours to set. The rest is decided by the network. Here is the split:

What You Control What the Network Decides
Gas limit (maximum units of computation you authorise) Base fee (set by protocol based on how full the last block was)
Max fee per gas (your ceiling bid, including the base fee) Whether your bid beats competing transactions
Priority fee / tip (the extra amount you offer validators on top of the base fee) Which transactions fill the block and in what order

Setting your max fee too close to the current base fee is a common mistake. If the base fee ticks up before you confirm, your bid falls short. Then your transaction sits in the mempool, stuck and going nowhere.

The First-Price Gas Auction Era (Pre-EIP-1559)

Before August 2021, Ethereum ran a pure first-price gas auction. You submitted a gas price. Miners accepted it or ignored it. You got no refund if you overbid. There was no protocol floor, so you were guessing.

The results were brutal. During busy periods, miners ignored any bid below the top tier. Users who needed fast confirmation had to outbid each other by hand. Nobody knew where the floor sat. The only safe move was to overpay hard. And you could not claw that excess back.

The Otherdeed NFT mint in May 2022 shows what this looked like at scale. Demand for the Bored Ape Yacht Club land parcels hit mainnet all at once. The gas war pushed fees to $6,500–$14,000 per transaction. Many users paid a fortune and still missed out. Their bids lost to faster or higher offers. Others had transactions fail outright and still paid the gas.

Several concrete problems defined this era:

  • Unpredictable fees — the right bid could change within seconds as new transactions flooded the mempool
  • No refund mechanism — every bid was final regardless of how much you overpaid
  • Persistent winner’s curse — the only safe strategy was to overpay, which further inflated fees for everyone
  • Gas wars — any high-demand launch created a real-time bidding escalation that priced out smaller participants

Ethereum’s gas and fees documentation describes the original mechanism and the pressures that drove the London Hard Fork. That fork took effect on August 5, 2021 and replaced the first-price model.

How EIP-1559 Changed the Gas Auction

EIP-1559 did not end the gas auction. It made it less wasteful — but the competition is still there.

The reform activated in the London Hard Fork on August 5, 2021. It split the single bid into two parts. First comes a base fee set by the protocol. It adjusts based on how full the last block was. Second comes an optional priority fee, or tip, that users still bid competitively. The base fee gets burned. Validators earn only the tip.

The gain here is real. The base fee moves on a formula. If a block runs more than 50% full, the base fee rises up to 12.5% for the next block. If it runs under 50% full, the base fee drops. So you no longer guess the minimum miners will accept. You set a max fee with headroom. If the base fee at confirmation comes in lower, the difference is refunded automatically.

But the priority fee is still a first-price auction. When demand is high and many users want the same block, they outbid each other with higher tips. Validators still include the highest-tipping transactions first. The auction did not disappear. It just narrowed to the tip instead of the whole fee.

Before EIP-1559 After EIP-1559
Single gas price bid for the entire fee Base fee (burned) plus priority tip (to validator)
No refund if you overbid Max fee ceiling with automatic refund of unused headroom
Auction covered the full fee amount Auction applies only to the priority tip
Floor was unpredictable — guesswork required Base fee adjusts algorithmically — more predictable under normal conditions

The refund mechanic is worth learning. Say you set a max fee of 50 gwei and the base fee at inclusion is 30 gwei. You pay 30 gwei plus your tip. The other 20 gwei goes back to your wallet. So a conservative max fee ceiling is safe now. Under the old model, it just meant a longer wait.

The system still strains under demand spikes. When a big token launch or NFT mint floods the mempool, the base fee climbs block by block. At the same time, tip bidding heats up. The auction is still running. It is just more structured than before.

Priority Gas Auctions and MEV — When Bots Enter the Gas Auction

Priority gas auctions (PGAs) happen when humans stop running the gas auction. The bidding gets handed to bots that move in milliseconds.

Searchers are the specialists here. They run software that scans the public mempool nonstop. They hunt for profitable openings. That might be a large pending DEX swap that will move the price. Or a loan about to become liquidatable. Or an arbitrage gap between two pools. When a searcher bot spots one, it fires a higher-bid transaction to jump ahead. In a gas war, several bots escalate bids against each other in the same block, all chasing the same profit.

For regular users, the damage is real. Take a sandwich attack. A bot sees your pending swap. It places one transaction right before yours to push the price the wrong way. Your swap then fills at the worse rate. The bot places a second transaction right after to bank the profit. You pay more, the bot wins, and the extra fees inflate the auction for everyone in that block.

So Flashbots built MEV-Boost, a sealed-bid auction that runs off-chain. Instead of broadcasting bids into the public mempool, searchers submit private transaction bundles to block builders. Builders assemble the most profitable block from those bundles plus regular transactions. Then they offer it to validators. The validator picks the highest-value block. The winning bundle stays hidden until the block confirms.

The result reshaped mainnet fees. Over 90% of Ethereum blocks now route through MEV-Boost. That pushed the fiercest searcher competition off-chain. Public gas wars between bots largely vanished. Regular users still compete with tips during congestion. But the bot bidding wars that used to flood the mempool are mostly contained.

MEV-Boost does not kill every auction, though. When user demand spikes, the base fee still climbs. Think a major DeFi launch, a hot NFT drop, or a token going viral. Tip bidding among humans still heats up. The gas auction never went away. It just got cleaner plumbing around one type of bidder.

How the Gas Auction Landscape Changed

Three concrete changes shifted the gas auction from the 2021–2022 fee-spike era to where things stand now.

The first was Ethereum’s gas limit increase from 30 million to 36 million gas units in February 2025. A higher limit means each block holds more transactions. More block space means lower base fees under normal demand. This did not end spikes. It raised the point where demand tips into congestion, and it cut baseline fees for routine transactions.

The second change ran deeper. EIP-4844, the Dencun upgrade, activated in March 2024. Before Dencun, Layer 2 rollups posted their data to mainnet as calldata. That data fought for the same block space you needed. EIP-4844 added blob transactions and a separate blob fee market just for L2 data. L2s now post into blobspace, a lane that does not crowd out regular Ethereum transactions. The result was a 10–100x drop in L2 data costs. It also cut the congestion that used to spill from L2s into mainnet gas auctions.

The third change is that L2 chains are redesigning their own fee auctions. Arbitrum launched TimeBoost in April 2025. It gives fast-lane priority to transactions paying a small ongoing fee, while keeping fair ordering for the rest. Base introduced Flashblocks in July 2025. It enables sub-second block updates and changes how fee priority works on that chain. These are distinct designs, not copies of mainnet’s model. They vary across hybrid rollup chains and other L2 architectures.

Mainnet gas auctions are calmer than in 2021–2022. But they still spike hard during real demand events. L2 auction rules keep evolving and differ by chain. So knowing which chain you are on, and what fee model it uses, counts for more than it once did.

How to Navigate a Gas Auction Without Overpaying

Knowing how the auction works only pays off if you act on it. A few habits keep your fees sane during congestion.

These five tactics give non-technical users a real edge in the gas auction:

  • Check a gas tracker before you transact. Etherscan’s Gas Tracker and MetaMask’s built-in estimator both show live base fee and tip estimates across speed tiers. If the base fee is two or three times its weekly average, waiting 30–60 minutes can cut your cost sharply.
  • Set your max fee ceiling with room above the base fee, not tight to it. Under EIP-1559, unused headroom is refunded. A ceiling set tight to the current base fee means a small spike can stall your transaction. Setting it 20–30% higher gives you safety at almost no extra cost.
  • Avoid new token launches and NFT mints at the exact moment they go live. These are the highest-pressure auction windows. Bots and eager buyers flood the mempool at once, the base fee spikes block by block, and tip bidding races upward. If you must join, set a high max fee and accept the cost. Or decide the spike is not worth it.
  • Check the mempool depth before a large DeFi swap. Under roughly 50,000 pending transactions, a small tip is usually enough for a timely fill. When the mempool is deep, with tens of thousands of high-fee bids, you need a real tip or the patience to wait. A transaction bundle checker can show whether your pending transaction risks being front-run before you submit.
  • Consider L2 chains for non-urgent transactions. After EIP-4844, base fees on Arbitrum, Base, and Optimism are often 10–100x cheaper than mainnet. For routine activity like token transfers, mid-size swaps, and staking, L2s give you the same finality without the mainnet auction premium.

None of these tactics need technical skill. They need you to check one number before you act, and to wait when the auction is at its hottest.

FAQ

What is a gas auction in simple terms?

A gas auction is the real-time bidding that decides which transactions get into an Ethereum block. You submit a fee bid, a gas price. Validators and block builders then pick the highest payers first. Every transaction you send is a bid. The auction runs in the background, whether or not you set your fee on purpose.

Is a gas war the same as a gas auction?

A gas war is a gas auction that has boiled over into chaos. In a normal gas auction, users bid and the highest bids win. That happens every block. A gas war is when many users or bots fight for the same block at once, often during an NFT mint or DeFi launch. Tips and base fees spike hard in a short window. So every gas war is a gas auction, but most gas auctions are not gas wars.

Does EIP-1559 mean there are no more gas auctions on Ethereum?

No. EIP-1559 replaced the pure first-price model with a base fee plus a priority tip. But the tip is still a competitive bid. During congestion, users outbid each other with higher tips for faster confirmation. The base fee also spikes on its formula as blocks fill up. EIP-1559 made fees more predictable under normal conditions and added a refund for unused headroom. It did not remove the gas auction. It just changed which part of the fee gets auctioned.

How did Flashbots change gas auctions on Ethereum?

Flashbots introduced a sealed-bid auction that runs off-chain for MEV-seeking transactions. Before it, bots escalated gas bids against each other in the public mempool and created visible gas wars. Now searchers submit private transaction bundles straight to block builders. Builders assemble the most profitable block and offer it to validators through MEV-Boost. The winning bundle stays hidden until the block confirms. This largely ended the bot-driven public gas wars that defined 2020–2022 and moved that fight off-chain.

Can I get a refund if I overpay during a gas auction?

With EIP-1559, yes, partly. You set a max fee ceiling when you submit. If the base fee at inclusion is lower than your ceiling, you pay only the base fee plus your tip. The gap between your max fee and your real cost is refunded automatically. The tip itself is not refunded. It goes to the validator either way. Under the old pre-EIP-1559 model, there were no refunds at all.

Where To Start

Pull up Etherscan’s Gas Tracker before your next Ethereum transaction. Look at the “Slow,” “Standard,” and “Fast” columns. If the fast lane is more than 3x the slow lane, the auction is under stress. That is your signal to wait or move to an L2.

Set your max fee at least 20–30% above the current base fee, not exactly equal to it. MetaMask lets you edit this in the gas settings panel. Thanks to the refund, spare headroom costs you nothing if the base fee stays low.

Worried about front-running on a large DEX swap or a new pool? Check whether your transaction shows up in the mempool before you submit. Private RPC endpoints, like Flashbots Protect, keep it out of the public mempool. That closes the window bots use to sandwich you.

For routine, non-urgent activity, price out the same action on Arbitrum or Base first. After EIP-4844, the gap is often wide enough that mainnet is simply the pricier default.

Finally, bookmark the Etherscan Gas Tracker. Gas auction conditions shift with market activity. Checking it before a large transaction takes ten seconds and can save you real money.