Skip to main content

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 When a Transaction Runs out of Gas?
Why Is a Contract’s State Considered Inconsistent after an Unchecked Failed External Call?
What Happens to a Transaction on Ethereum If It Runs out of Gas before Completion?
What Happens If a Transaction Runs out of Gas?