Skip to main content

What Is Gas in the Context of Smart Contract Execution?

Gas is a unit of measurement for the computational effort required to execute operations on the Ethereum network. It is the fee paid by users to compensate miners for the energy and resources needed to process and validate transactions and smart contract executions.

The gas price is dynamic, fluctuating based on network congestion, and is paid in the network's native currency (Ether).

What Is the Difference between a Transaction’s Size and Its Gas Limit?
How Does the Implementation of EIP-1559 Change the Dynamic of Transaction Fees for Miners?
What Is the Difference between ‘Gas Limit’ and ‘Gas Price’?
What Is a ‘Gas Fee’ in Blockchain Transactions?