Sub topic 10
How Fee Markets Set the Price of Block Space
Assume you know what a blockchain transaction is, what a mempool is, and how to read percentages and basis points. This chapter explains why network fees rise during congestion and how transactions compete for limited block space.
Block space is a scarce resource
A block has a limit. Bitcoin limits blocks mainly by weight, while Ethereum and other EVM chains limit execution with gas. Every pending transaction competes for part of this limited capacity.
The fee market is the process that matches:
- Demand: transactions waiting to be confirmed.
- Supply: the block space that miners or validators can include in the next blocks.
- Price: the fee users offer for their transactions.
A fee does not buy a guaranteed confirmation time. It gives a transaction a priority compared with other transactions. When demand exceeds available capacity, users must usually offer more to be included sooner.
Bitcoin fee markets
Bitcoin users usually specify a fee rate in satoshis per virtual byte, written as sat/vB. A transaction with a larger virtual size consumes more block space, so its total fee is:
| Quantity | Meaning | Example |
|---|---|---|
| Fee rate | Price per virtual byte | 20 sat/vB |
| Virtual size | Transaction space consumed | 150 vB |
| Total fee | Fee rate × virtual size | 3,000 sats |
Miners generally prefer transactions with the highest fee per unit of block space, not simply the highest total fee. A large transaction paying 10,000 sats may be less attractive than a small transaction paying 5,000 sats if the small transaction has the higher sat/vB rate.
Wallets estimate the fee rate by observing the mempool and recent blocks. During a quiet period, a low rate may confirm quickly. During a rush, the same rate may wait for many blocks.
A replacement transaction can sometimes use Replace-by-Fee (RBF) to offer a higher fee. Child Pays for Parent (CPFP) lets a later transaction pay enough to encourage miners to include an earlier, low-fee transaction.
EVM fee markets
EVM chains measure computational work in gas. A transaction pays for the gas it uses, and each unit has a price.
On Ethereum-style networks, the effective gas price commonly includes:
- A base fee, which changes with network demand and is burned on Ethereum.
- A priority fee, also called a tip, paid to the validator.
- A sender-selected maximum fee that limits the most the transaction can pay.
The base fee responds to how full recent blocks were. When blocks are above the target fullness, the base fee rises. When they are below the target, it falls. This adjustment helps balance demand over time.
A transaction can still fail if its maximum fee is too low for current conditions. A high maximum fee does not necessarily mean the transaction pays that full amount. The effective price is constrained by the current base fee, the priority fee, and the sender’s maximum.
What fee estimates can and cannot tell you
Fee estimates are forecasts, not promises. Confirmation depends on:
- The transaction’s fee rate or gas settings.
- Current and future demand.
- The transaction’s size or gas usage.
- Miner or validator selection policies.
- Replacement and dependency rules.
- Whether the transaction is accepted by the node’s mempool policy.
Before submitting a transaction, compare the fee with the urgency of the transfer. A low fee can be sensible for a non-urgent Bitcoin payment, while a time-sensitive Ethereum trade may need a higher priority fee.
Exercise
Bitcoin transaction A is 200 vB at 15 sat/vB. Transaction B is 100 vB at 25 sat/vB. Which transaction is more attractive to a miner, and what is each total fee?
Show answer
Transaction B is generally more attractive because its fee rate is higher. A costs 3,000 sats, while B costs 2,500 sats.