Skip to Content
GlossaryGGas Limit of a Transaction

Gas Limit of a Transaction

The maximum amount of gas a user is willing to spend on an Ethereum transaction.

What is Gas Limit of a Transaction?

The gas limit for a transaction on Ethereum specifies the maximum computational effort, measured in gas units, that a user is willing to allocate for executing a transaction or smart contract. It ensures transactions don’t consume excessive network resources. For example, a simple ETH transfer might require 21,000 gas, while complex smart contract interactions need more. If the gas limit is too low, the transaction fails; if too high, unused gas is refunded. Users set this limit in wallets like MetaMask, balancing cost and reliability.

Last updated on