EthereumIntermediate

Revert

An execution failure that rolls back changes made by the affected contract call.

PLAIN-ENGLISH DEFINITION

In more detail

A revert is a contract saying the requested action can't complete under its rules. It might mean a swap's minimum output wasn't met or a caller lacked permission. If the whole included transaction reverts, its execution changes are rolled back, but consumed gas still costs money and the sender's transaction nonce advances.

IN THE WILD

How you might use it

“My swap failed and I still paid gas.” The minimum-output check triggered a revert after the network had already done execution work.

Was this clear?

Got a way to make Revert click?

Add your take

By Crypto Dictionary · Published · Updated

Go to the source

Use the original reference to explore the details behind this entry.

Read the reference

An original explanation with a reference to follow. Protocol details and community usage can evolve. Sources & standards

PASS IT TO THE GROUP CHAT

Share a definition