Skip to main content

Why Is the Fee Still Paid Even If the Transaction Fails?

The fee is paid because the validator successfully processed the transaction up to the point of failure. The validator expended the necessary computational resources to execute the code and determine that the transaction should revert.

The fee compensates the validator for this expended and necessary work.

What Is the “Priority Fee” and Why Is It Still Necessary with EIP-1559?
Why Is the Gas Fee Still Charged Even If a Transaction Reverts or Fails?
Why Is the Fee Still Consumed If the Transaction Fails Due to Gas Limit?
What Happens to the Gas Fee If a Smart Contract Execution Fails?