EthereumIntermediate

Gas limit

The maximum amount of gas allowed for a transaction or block, depending on the context.

PLAIN-ENGLISH DEFINITION

In more detail

For a transaction, the gas limit is its execution budget. If it runs out before completing, execution fails. Setting a larger limit doesn't mean all of it will be spent; the fee depends on gas actually consumed. A block's gas limit instead caps how much execution work fits into that block.

IN THE WILD

How you might use it

A contract call needs more gas than a simple ETH transfer, so reusing the transfer’s gas limit can make the call fail.

Adjustable transaction work chambers leave unused capacity, while a small capped chamber stops an unfinished task and a separate frame caps block-wide work.
Illustrated by Crypto DictionaryAI-generated artwork

Got a way to make Gas limit click?

Add your take

By Crypto Dictionary · Published · Updated

Go to the source

Use the original reference to explore the details behind this entry.

Read the reference

An original explanation with a reference to follow. Protocol details and community usage can evolve. Sources & standards

PASS IT TO THE GROUP CHAT

Share a definition