Skip to main content

Explain the Difference between “Gas” and “Gas Limit” in a Transaction.

"Gas" refers to the computational effort required to execute an operation on the blockchain, and its cost is measured in the blockchain's native currency. "Gas limit" is the maximum amount of gas a user is willing to spend on a transaction.

Setting a gas limit prevents users from spending excessive funds on a faulty or complex transaction. If the operation costs less than the limit, the user is refunded the difference.

What Is the Difference between “Gas Limit” and “Gas Price”?
What Is the Purpose of the ‘Gas Limit’ Parameter When Submitting a Smart Contract Transaction?
What Is the Difference between ‘Gas Limit’ and ‘Gas Used’?
How Is the Gas Fee Calculated on a Turing-Complete Blockchain like Ethereum?