Abstract
Transaction fees are the primary mechanism for prioritizing transactions in public blockchains. Because unconfirmed transactions are visible in a "mempool," strategic users can monitor competition to minimize costs. This paper investigates a novel transaction policy that determines the broadcasting time and the transaction fee simultaneously. We analyze scenarios with mempool-oblivious and semi-strategic opponents, showing that the optimal strategy depends heavily on the underlying consensus mechanism: Bitcoin’s random block intervals favor immediate broadcasting, while Ethereum’s fixed slots reward waiting until the last possible moment. Furthermore, we demonstrate that reactive "fee bumping" is essential for maintaining priority in competitive environments.
Introduction: The Dilemma of Transaction Fee Setting
Setting blockchain transaction fees is a high-stakes guessing game. Bid too low, and a transaction may languish in the mempool; bid too high, and you overpay. Most wallets rely on historical averages, which are often inefficient because they ignore the real-time state of the mempool. This paper addresses the "Dilemma of Transaction Fee Setting" by modeling how a single strategic user can optimize their entry into the block-inclusion race by prying into the mempool.
Methods and System Model
The researchers modeled a "Strategic User" (SP) competing against two types of opponents: "mempool-oblivious" users (who set a fee and forget it) and "semi-strategic" users (who check the mempool periodically and bump their fees).
The study utilized stochastic modeling to account for different blockchain architectures:
- PoW (Bitcoin): Modeled using an exponential distribution for random mining intervals.
- PoS (Ethereum): Modeled with fixed 12-second time slots.
- Markov Chains: Used to simulate the dynamic "arms race" of fee bumping (Replace-By-Fee), where users adjust bids to stay within the top $m$ transactions likely to fit in the next block.
Key Insights: Timing and Consensus
The research reveals a fundamental split in optimal behavior based on the "memoryless" property of Proof-of-Work:
- The Bitcoin Strategy: In Bitcoin, the probability of a block being found in the next second is constant regardless of how much time has passed. Waiting to observe more mempool data doesn't provide a statistical advantage; it only increases the risk of missing the current round. Thus, the optimal move is to send immediately.
- The Ethereum Strategy: Because Ethereum blocks occur at predictable 12-second intervals, a strategic user can wait until the very end of a slot (e.g., 11.9 seconds) to observe nearly all competitors, then bid just enough to secure a spot at the lowest possible cost.
- Reactive Fee Bumping: In scenarios where fees can be updated, the optimal policy is to be highly reactive—increasing the fee the moment the transaction falls out of the "inclusion zone."
Key Results: Quantifying the Strategic Advantage
The models were validated using real-world data from Bitcoin (blocks 762,407 to 763,020) and post-Merge Ethereum. Strategic users achieved significantly higher utility (savings) than those using standard methods.
As shown in the table above, increasing the observation time significantly boosts the success probability of low-fee transactions. For instance, Strategy 1 with a 0.5-minute observation window yields a 52.69% success probability, while Strategy 3 with a 15-minute window achieves 88.58%, with utility per vByte reaching 14.77 Sats.
Limitations and Future Work
The current study focuses on a single strategic user. If all users adopted these strategies, the system would likely shift toward a new Nash Equilibrium, potentially causing fee spikes at the end of Ethereum slots. Future research will explore multi-user strategic games and scenarios where users might strategically lower fees if the mempool clears.
Summary updated