What Is a ‘Reverted Transaction’?

A reverted transaction is one that failed during execution due to an error, such as running out of gas, a smart contract function failing a condition, or a transaction attempting an invalid operation. When reverted, all state changes made during the execution are undone, but the transaction is still included in a block and the fee is paid.

What Happens to the Gas Fee If a Smart Contract Execution Fails?
Can a Transaction Be Partially Executed and Still Consume Gas?
What Is an Atomic Transaction in the Context of Blockchain?
Why Is a Contract’s State Considered Inconsistent after an Unchecked Failed External Call?
What Happens If a Transaction Runs out of Gas?
What Is the Primary Resource Consumed to Achieve Consensus in a PoW System?
What Happens When a Transaction Runs out of Gas?
Can a Transaction with a Lower Gas Fee Still Be Included before a Higher-Fee Transaction?

Glossar