Back to Glossary
◈
Gas
Ethereum•blog.difficulty.beginner
Gas is the fee required to execute a transaction or smart contract on the Ethereum blockchain.
Simple Explanation
Gas is like the fuel you need to drive a car. Just as you need to pay for gasoline to make your car move, you need to pay gas fees to make transactions happen on Ethereum.
Why Gas Exists
- Prevents Spam: Makes it costly to flood the network
- Compensates Miners: Rewards people who process transactions
- Prioritizes Transactions: Higher gas = faster processing
Gas Price
- Measured in Gwei (1 Gwei = 0.000000001 ETH)
- Varies based on network demand
- You can choose to pay more for faster transactions
Example
Sending 1 ETH might cost 0.002 ETH in gas fees. During busy times, gas fees can be much higher.