Skip to main content

Why Is the Fee Still Consumed If the Transaction Fails Due to Gas Limit?

The fee is consumed because the computational work was still performed by the validator, even though the transaction did not successfully complete its intended function. The validator expended resources (time, memory, processing power) to execute the smart contract logic until the gas limit was hit.

The fee compensates for this expended effort.

What Is the Difference between Gas Limit and Gas Price?
What Happens If a Transaction Runs out of Gas?
What Happens If a Transaction Runs out of Gas before Completion?
What Is the Concept of “Gas Limit” and How Does It Differ from Gas Price?