Skip to main content
Web3Fire
consensusintermediate

Gas Limit

The maximum amount of gas a block may contain or a transaction may consume.

entity.loading_intelligence

Fakta Kunci

Kategoriconsensus
Kesulitanintermediate

Overview

The gas limit is the maximum amount of gas a block may contain or a transaction may consume. It bounds the computation in each block and per transaction. It protects the network from runaway computation.

How It Works

A block's gas limit caps the total gas of its transactions, while a transaction's gas limit caps what that transaction may use. Unused gas is refunded. After EIP-1559, blocks have a target size with variable limits.

Why It Matters

Gas limits control block capacity and network throughput. They prevent denial-of-service via excessive computation. Understanding gas limits is essential for developers and users estimating costs.

Related Concepts

The Gas Limit relates to Gas Fees, Blocks, and EIP-1559. It determines transaction cost and block capacity.

Graf Pengetahuan

entity.loading_graph

entity.faq

entity.loading_faq

entity.related_comparisons

ARCHITECTURE V3 — Static Knowledge Shell · 297/297 Concepts · SSG · 0 D1