Glossary

Gas War

A gas war is a competitive bidding event where users rapidly increase transaction fees to get their transactions included in the next block.

Key Takeaways

  • A gas war occurs when many users compete for limited block space by rapidly outbidding each other on transaction fees, often triggered by NFT mints, token launches, or airdrop claims.
  • Gas wars can push gas fees from a few dollars to hundreds or thousands of dollars per transaction, pricing out ordinary users and wasting funds on failed transactions that still consume gas.
  • Layer 2 solutions and off-chain protocols like Spark avoid gas wars entirely by processing transactions outside the congested base layer.

What Is a Gas War?

A gas war is a competitive fee-bidding event on a blockchain network where users rapidly increase their transaction fees to outbid each other for inclusion in the next block. Gas wars erupt when demand for limited block space suddenly and dramatically exceeds supply, typically during time-sensitive, high-value events where being included first confers a significant advantage.

The term originates from Ethereum, where transaction fees are denominated in gas, but the same competitive fee-bidding dynamic occurs on Bitcoin and other blockchains. On Bitcoin, the equivalent phenomenon is typically called a "fee spike," though the underlying mechanics are the same: users bid up fees in a race for scarce block space.

Gas wars represent a fundamental tension in blockchain design. Fixed block sizes create an inherent capacity ceiling, and when demand exceeds that ceiling, the only rationing mechanism is price. Users who can afford to pay more get their transactions processed; everyone else waits or abandons their transactions entirely.

How It Works

Validators and miners prioritize transactions by fee: the higher the fee, the more likely a transaction is to be included in the next block. Under normal conditions, modest fees are sufficient. During a gas war, the feedback loop works as follows:

  1. A high-demand event occurs (an NFT drop, token launch, or airdrop claim window opens)
  2. Thousands of users submit transactions simultaneously, each hoping to be included in the next block
  3. Users who see their transactions stuck in the mempool increase their priority fees to jump ahead
  4. Other users respond by raising their fees even higher, creating an escalating bidding war
  5. Fees spike to 10x, 50x, or even 100x normal levels until the event concludes or becomes unprofitable

In academic literature, this pattern is formalized as a Priority Gas Auction (PGA): an all-pay English auction where participants spam the network with incrementally higher bids. The "all-pay" aspect is critical: even losing bidders (those whose transactions fail or aren't included) still pay for the gas consumed.

Pre-EIP-1559 vs. Post-EIP-1559

Before EIP-1559 (activated August 2021), Ethereum used a pure first-price auction for gas. Users set a single gas price, and miners picked the highest-paying transactions. This made fee estimation unpredictable and gas wars chaotic.

EIP-1559 introduced a two-component fee structure:

  • A base fee that adjusts algorithmically based on network utilization (increasing by up to 12.5% per block when blocks are more than 50% full)
  • A priority fee (tip) paid directly to validators to incentivize faster inclusion

The base fee is burned rather than paid to validators, removing incentives for validators to artificially congest the network. During a gas war, the base fee rises predictably rather than spiking chaotically. However, users still compete via priority fees, so gas wars are reduced in volatility but not eliminated.

// Post-EIP-1559 transaction fee structure
{
  "maxFeePerGas": "300 gwei",       // Maximum total willing to pay
  "maxPriorityFeePerGas": "50 gwei", // Tip to validator
  "baseFee": "200 gwei"              // Set by protocol, burned
  // Actual cost: baseFee + min(maxPriorityFeePerGas, maxFeePerGas - baseFee)
}

Bitcoin Fee Competition

Bitcoin uses a simpler fee model based on transaction weight measured in virtual bytes. Users set a fee rate in satoshis per virtual byte (sat/vB), and miners select the highest-paying transactions to fill each block. Without a dynamic base fee mechanism, Bitcoin fee competition during high-demand periods resembles pre-EIP-1559 Ethereum: a raw first-price auction.

Users can increase fees on pending transactions using Replace-by-Fee (RBF) or Child-Pays-for-Parent (CPFP), both of which are forms of fee bumping that intensify bidding wars during congestion.

What Triggers Gas Wars

NFT Mints

Fixed-supply NFT drops are the most common gas war trigger. When a collection offers a limited number of tokens at a set price, every prospective buyer races to mint before the supply runs out. The most extreme example was the Yuga Labs Otherside mint on April 30, 2022, which consumed over $176 million in gas fees (approximately 64,000 ETH) in a single day. More than 14,000 transactions failed during the event, wasting roughly $5 million in gas on transactions that never completed.

Token Launches and Airdrops

New token launches create gas wars when early buyers expect rapid price appreciation. Airdrop claim windows produce similar dynamics: claimants rush to convert or sell claimed tokens before the market adjusts.

DeFi Opportunities

DeFi liquidations, arbitrage opportunities, and yield farming launches trigger localized gas wars among sophisticated traders and bots competing for profitable transactions.

Protocol Events on Bitcoin

Bitcoin experienced its own fee spikes during the Ordinals and BRC-20 frenzy of May 2023, when fee rates surged from around 5 sat/vB to over 654 sat/vB and the mempool swelled to over 400,000 unconfirmed transactions. The Runes protocol launch in April 2024 (coinciding with Bitcoin's fourth halving) was even more extreme: fee rates peaked above 2,750 sat/vB, with a single block generating more than $2.4 million in fees.

Notable Gas Wars

DateEventImpact
Dec 2017CryptoKittiesConsumed ~25% of Ethereum network capacity; gas fees exceeded the cost of the kitties themselves
Sep 2020DeFi SummerGas prices peaked at 750 gwei; yield farming became inaccessible to average users
Feb 2021NFT boomAverage gas exceeded 373 gwei; typical transaction cost over $70
Apr 2022Otherside mint$176M+ in gas consumed; 14,000+ failed transactions; single transactions cost up to $44,000
May 2023BRC-20 frenzy (Bitcoin)654 sat/vB peak; 682K daily transactions; median fee over $30
Apr 2024Runes launch (Bitcoin)2,750 sat/vB peak; $2.4M single-block fees; average fee $128

The MEV Connection

Maximal extractable value (MEV) and gas wars are deeply intertwined. Front-running bots monitor the public mempool for profitable pending transactions and submit competing transactions at higher gas prices. MEV searchers engage in Priority Gas Auctions, submitting the same transaction at incrementally higher fees until they win inclusion. Sandwich attacks further inflate gas prices as attackers place buy and sell orders around victim swaps.

Systems like MEV-Boost and Flashbots partially address this by moving the auction off-chain: searchers submit sealed bids to block builders via private relays rather than spamming the public mempool with escalating gas prices. This reduces the on-chain gas impact of MEV competition but does not eliminate gas wars caused by legitimate user demand.

Why It Matters

Gas wars expose the scalability limitations of base-layer blockchains. When ordinary users cannot afford to transact because bots and whales have bid fees to extreme levels, the network fails its core purpose as an open, permissionless payment system. The problem is especially acute for users in emerging markets, where a $50 transaction fee can exceed a day's wages.

This is one of the key motivations behind Layer 2 scaling solutions and off-chain protocols. Spark, for example, processes Bitcoin transactions off-chain using a virtual UTXO model, meaning users never compete for on-chain block space during normal operation. Similarly, the Lightning Network routes payments through pre-established channels without touching the base layer. Understanding fee market dynamics is essential for evaluating how these protocols provide relief.

On Ethereum, rollups like Arbitrum and Optimism reduce costs by 90-99% compared to mainnet, and EIP-4844 blob transactions further lowered Layer 2 data posting costs. The result: gas wars on Ethereum mainnet have become significantly less common since 2024, with gas prices down over 90% from peak levels as activity migrates to Layer 2s.

Risks and Considerations

Failed Transactions Still Cost Money

During a gas war, transactions frequently fail due to race conditions, contract reverts, or supply exhaustion. On Ethereum, failed transactions still consume the gas used before the revert. During the Otherside mint, roughly $5 million was lost to failed transactions alone. Users effectively pay to lose.

Network Degradation

Extreme congestion during gas wars affects all network users, not just participants in the triggering event. Simple token transfers, DeFi position management, and time-sensitive operations like loan repayments become prohibitively expensive or delayed. The entire network suffers from one event's demand spike.

Unequal Access

Gas wars favor well-funded participants and sophisticated actors with access to private mempools, custom transaction submission infrastructure, and MEV-aware tooling. Retail users competing with bots and whales are at a structural disadvantage, undermining the permissionless ethos of blockchain networks.

Smart Contract Risks

Projects launching during anticipated gas wars face pressure to optimize their smart contracts for gas efficiency. Rushed optimization can introduce bugs. Some projects have moved to allowlist-based minting, Dutch auctions, or off-chain minting to avoid gas wars entirely: a design trade-off between decentralization and user experience.

How to Avoid Gas Wars

Several strategies reduce or eliminate exposure to gas wars:

  • Use Layer 2 protocols: rollups, state channels, and off-chain systems like Spark process transactions without competing for base-layer block space
  • Avoid minting or trading during known high-demand events unless the expected value clearly exceeds potential gas costs
  • Set a maximum fee cap to prevent accidentally overpaying (the maxFeePerGas parameter in EIP-1559 transactions serves this purpose)
  • Use gasless transaction services or paymasters that abstract fee management from the user
  • On Bitcoin, use fee estimation tools and consider waiting for the mempool to clear rather than bidding against peak congestion

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.