When sending cryptocurrency or interacting with a smart contract, you typically pay a small fee. Without it, most blockchain networks simply wouldn't function: this fee rewards those who verify your transactions and add them to the public ledger.
KEY CONCEPTS
Before diving into how fees work, let's agree on the terms. Below are the main words you'll encounter later in the text.
- Transaction fee: A small amount of cryptocurrency that you pay to network operators for processing your transaction.
- Miner: A participant in a Proof-of-Work network (an algorithm where blocks are created through computation) who spends computational power to verify transactions and create new blocks.
- Validator: A participant in a Proof-of-Stake network (an algorithm where blocks are created through collateral) who locks their cryptocurrency to verify transactions and create blocks.
- Block reward: Newly created cryptocurrency that a miner or validator receives for successfully adding a new block to the chain.
- Gas: Payment for executing operations in Ethereum and other EVM-compatible blockchains.
- Network congestion: A situation where there are more pending transactions than the network can handle, causing fees to typically rise.
- Throughput: How many transactions the network can process per second.
HOW IT WORKS
In Proof-of-Work networks, like Bitcoin, miners compete to solve complex computational problems. Whoever solves the problem first adds the next block of transactions to the blockchain. For the effort and electricity expended, they receive a dual reward: newly created coins (the block reward) and all the fees for the transactions included in that block.
To make it clearer, let's take a simple case. Suppose you are sending 0.01 BTC and attach a fee to the transaction. This transaction enters the general pool of pending transactions and waits until a miner includes it in their block. The miner who assembles the next block will take the fee you specified. The more generous the fee, the more attractive your transaction is to miners, and the faster it is usually confirmed.
USE CASES
You encounter transaction fees every time you move cryptocurrency from your wallet or interact with decentralized applications. When you transfer funds to another person, the fee ensures that a validator accepts your transaction. When you exchange tokens on a DEX (decentralized exchange), the fee covers the computational costs of executing the exchange's smart contract. Even a simple action like collecting rewards from a DeFi protocol requires payment to network operators.
The fees themselves are structured differently depending on how the network creates blocks. A brief comparison helps to see the difference.
| Proof-of-Work (e.g., Bitcoin) | Proof-of-Stake |
|---|---|
| Blocks are created by miners through computation | Blocks are created by validators through collateral (stake) |
| Operator income: block reward plus fees | Operator income: block reward plus fees |
| Operator costs: mainly electricity and hardware | Operator costs: locked capital |
FREQUENTLY ASKED QUESTIONS
Transaction fees are a dynamic part of blockchain operation, not a fixed tariff. Their size fluctuates with demand: the more users compete for limited block space, the higher the fees rise. This structure keeps miners and validators motivated, as they are the ones maintaining the network's security and integrity. Remove this incentive, and operators will have no resources to continue working, and the decentralized nature of the network itself will suffer.