Atomic transaction
An operation whose included state changes succeed together or are rolled back together under the execution rules.
In more detail
Atomicity lets a contract combine dependent steps without leaving half the intended state change completed. If a required step fails, the operation can revert those changes. This is useful for workflows such as flash loans, although rolling back the changes does not necessarily refund execution fees.
How you might use it
"The flash-loan workflow couldn't repay, so it reverted. It didn't get to keep the loan and half a completed swap."

Got a way to make Atomic transaction click?
Add your takeBy Crypto Dictionary · Published · Updated
Go to the source
Use the original reference to explore the details behind this entry.
Read the referenceAn original explanation with a reference to follow. Protocol details and community usage can evolve. Sources & standards