TeachMeBitcoin

Transaction Fee Economics

From TeachMeBitcoin, the free encyclopedia ⏱️ 3 min read

The Economics of Transaction Fee Collection in Mining

While the Block Subsidy represents a programmatic injection of new currency into circulation, Transaction Fees represent a non-inflationary transfer of existing circulating capital from transacting users to miners. As the block subsidy approaches zero over the next century, these transaction fees will transition to become the sole incentive structure securing the blockchain.

This guide details the mathematical calculations, fee dynamics, and economic transitions of transaction fee collection in mining.


🧮 1. Calculating Transaction Fees

Unlike standard banking payments, transaction fees are not explicitly declared inside transaction bodies. Instead, they are calculated implicitly by analyzing the difference between the total input values and the total output values of a transaction:

$$\text{Transaction Fee} = \sum \text{Inputs} - \sum \text{Outputs}$$

                           THE TRANSACTION FEE DIFFERENTIAL

    ┌───────────────────────────┐
    │  Total Input UTXOs        │
    │  e.g. 1.500 BTC           │
    └───────────────────────────┘
                  │
                  ▼
         [ Transaction Execution ]
                  │
                  ├──► Payout Outputs (e.g. 1.498 BTC)
                  └──► [ Leftover Remainder (0.002 BTC) ] ──► (Claimed by Miner)

⚖️ 2. Non-Inflationary Capital Redistribution

It is critical to distinguish between the two components of the miner's reward: * The Block Subsidy is Inflationary: It creates brand new currency, increasing the total circulating supply towards the 21 million limit. * Transaction Fees are Non-Inflationary: No new coins are created when fees are paid. They represent a reallocation of existing satoshis. Users voluntarily transfer a portion of their balances to prioritize their transactions within the block template.


📈 3. The Long-Term Economic Subsidy Transition

As the block subsidy decays exponentially, the global hashrate must eventually be sustained primarily by transaction fee revenue.

                         THE SECURE MONETARY POLICY TRANSITION

  Mining Payouts %
  100% ┌──────────────────────────────────────────────────────────────────┐
       │████████████████████████                                          │
       │████████████████████████████████                                  │
       │████████████████████████████████████████                           │
       │░░░░░░░░░░░░░░░░░░░░░░███████████████████████                      │
       │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█████████████         │
       │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
    0% └──────────────────────────────────────────────────────────────────┘
       Year 2009                                                    Year 2140

       [█] Block Subsidy (Decays to Zero)      [░] Transaction Fees (Rises)

The Fee Market Model

  1. Block Space Scarcity: Because the block size and weight limits are strictly capped ($4,000,000\text{ WU}$), the capacity to process transactions is a scarce resource.
  2. Fee bidding: When transaction volume exceeds block capacity, users must bid against each other by offering higher feerates (measured in satoshis per vByte).
  3. Miner Selection: Miners prioritize higher feerate transactions to maximize their revenue, creating a robust, decentralized marketplace that secures the network without requiring any inflation.
☕ Help support TeachMeBitcoin

TeachMeBitcoin is an ad-free, open-source educational repository curated by a passionate team of Bitcoin researchers and educators for public benefit. If you found our articles helpful, please consider supporting our hosting and ongoing content updates with a clean donation:

Ethereum: 0x578417C51783663D8A6A811B3544E1f779D39A85
Bitcoin: bc1q77k9e95rn669kpzyjr8ke9w95zhk7pa5s63qzz
Solana: 4ycT2ayqeMucixj3wS8Ay8Tq9NRDYRPKYbj3UGESyQ4J
Address copied to clipboard!