What Is A Transaction Fee?
A Bitcoin Transaction Fee, commonly known as a miner fee, is the amount of bitcoin that a sender attaches to their transaction to incentivize Bitcoin miners to confirm the transaction and add it to the blockchain.
Transaction fees are part of the block rewardWhat Is The Block Reward? The block reward is how Bitcoin miners are compensated for mining and adding blocks of transactions to the blockchain. The block reward is made up... and are paid to the miner in the coinbase transaction along with the block subsidyWhat Is The Block Subsidy? The Block Subsidy is the amount of new bitcoin that is created in each block and awarded to the miner that finds the block. The....
Fees are driven by three primary factors.
– Transaction Data Size
– Block Space Supply
– Block Space Demand
Transaction Data Size
Unlike payments within the traditional financial system, Bitcoin fees are not a percentage of the amount being sent.
Instead, Bitcoin transactionWhat Is A Bitcoin Transaction? A Bitcoin transaction is the transfer of bitcoin from one address to another address or when new bitcoin is created. Transactions can also be the... fees are based on how much data is in a transaction. Transactions with more sending and receiving addresses (inputs & outputsWhat Are Inputs & Outputs? Every bitcoin transaction is made up of inputs & outputs. Inputs are bitcoin being sent and outputs are bitcoin being received. Until bitcoin is sent...) tend to take up more block space than those with fewer. As a result, the more inputsWhat Are Inputs & Outputs? Every bitcoin transaction is made up of inputs & outputs. Inputs are bitcoin being sent and outputs are bitcoin being received. Until bitcoin is sent... and output addresses that a transaction has, the greater the likelihood that a larger fee will be needed. The number of satsWhat Is A Satoshi? A Satoshi (sat or sats for short) is the smallest unit of a bitcoin. 1 Satoshi is a hundred millionth of a BTC (1 sat =... per byte that the sender is willing to pay is commonly known as the fee rateWhat Is The Fee Rate? The fee rate for a Bitcoin transaction is the number of sats a sender is willing to pay for each byte of on-chain transaction data.....
Another important part of what determines the amount of data in a transaction is the address format and whether or not the addresses support a bitcoin improvement proposalWhat Is A BIP? BIP is short for a Bitcoin Improvement Proposal and as the name suggests, they are proposals on how the bitcoin network can be improved. BIPs are... known as SegWit (segregated witness). Addresses that support SegWit have segregated the witness part of transaction data to allow for a more efficient use of block space and allow for fewer bytes in transactions. As a result, transactions involving SegWit use less data and need a smaller fee.
Block Space Supply
The reason that transaction data size is so important is because bitcoin blocks are limited to 1 MB of data each. In order for pay the smallest fee possible, there’s a financial incentive for senders to use that limited block space as efficiently as possible. Sending transactions that require the least amount of data possible ensures that transactions will pay the lowest fee.
Everyone sending bitcoin is technically “competing” for the same limited 1MB of block space. While block space itself is limited, there is no limit to the number of blocks that will ever be mined.
Once a transaction has been sent on the Bitcoin network, it enters a pool of unconfirmed Bitcoin transactions known as the MemPoolWhat Is The MemPool? The MemPool, short for memory pool, is a short-term database of unconfirmed transactions that is kept by each node. Although the term "MemPool" is frequently used,... where they queue to be confirmed by miners and added to the blockchainWhat Is The Blockchain? The blockchain is the public record of bitcoin transactions, which are organized into blocks that are all chronologically linked to one another. Because every block is.... When bitcoin miners are building their candidate blocks, they have a financial incentive to select transactions with the highest fee rate.
Block Space Demand
With block space limited to 1MB per block, the Bitcoin MemPool acts as a sort of fee market. Those who need/want transactions confirmed as soon as possible are able to outbid other unconfirmed transactions by attaching a larger miner fee than other transactions. Naturally, Bitcoin miners tend to prioritize the higher paying transactions in order to to maximize revenue.
The fee rate of any given transaction is typically a reflection of how quickly a user wants their transaction confirmed. Using a high fee rate signals more urgency while a lower fee rate signals less urgency. Those who are willing to wait hours, days, or even weeks to have a transaction confirmed can send with a low fee rate and the miners will add it to the blockchain when the MemPool clears.
Transaction Fee Bumping
In the event that a transaction is taking too long to confirm, the owner of the sending address or any of the receiving addresses can use one of the transaction fee bumpingWhat Is Fee Bumping? Fee Bumping is a method of increasing the miner fee of a transaction after it has been sent but has not yet been confirmed and added... methods to create a second transaction with an increased fee.
Fee bumping is also helping Bitcoin to scale by enabling a more precise fee market.
Bitcoin Exchange Fees
Most Bitcoin exchangesUnderstanding Bitcoin Exchanges Bitcoin has proven itself to be one of the fastest horses in the financial arena. To keep up with the rising demand, countless Bitcoin exchanges have popped... and brokerages charge some sort of fees for buying, selling, and withdrawing bitcoin. However, the fees charged by exchanges are entirely separate from the fees required to send a transaction on the Bitcoin network itself.
The only fees associated with the Bitcoin protocol are on-chain transaction fees to send Bitcoin from one address to another. There are also routing fees on a second layer of Bitcoin known as the Lightning networkWhat Is The Lightning Network? The lightning network is a layer 2 payment protocol that enables near-instant, low-fee, private payments on the Bitcoin network. It is intended to enable scalable,... but they tend to be much lower than on-chain fees.