Back to glossary
Gas Limit
In the context of the Ethereum blockchain, the gas limit is the maximum amount of gas that a user is willing to pay for a transaction or smart contract execution to be processed on the network.
The gas limit is set by users and acts as a sort of “budget” for their transaction. If the transaction or smart contract execution requires more gas than the user has specified in the gas limit, it will not be executed. It’s also used to prevent spamming and DoS attacks, by limiting the amount of computation that can be performed.