Skip to main content

What Is a ‘Smart Contract’ and How Does It Relate to Gas Consumption?

A Smart Contract is a self-executing contract with the terms of the agreement directly written into code. They run on a blockchain like Ethereum.

Every function call and state change within a Smart Contract requires computational resources, which are measured and paid for in Gas. More complex contracts or those that perform more calculations will consume a higher amount of Gas.

How Does Proof of Stake (PoS) Reduce Energy Consumption Compared to PoW?
What Is the Difference between ‘Gas Limit’ and ‘Gas Price’?
Explain the Difference between “Gas” and “Gas Limit” in a Transaction
What Role Do Gas Fees Play in Smart Contract Execution and Network Consensus?