Atomic Transaction

A blockchain transaction where every step completes together or the entire operation reverts, leaving no partial state on the chain.

An atomic transaction is a blockchain operation in which every step either completes successfully or the entire transaction reverts, leaving the chain exactly as it was before. There is no partial outcome: all of the effects land together or none of them do. The concept comes from database engineering, where atomicity is the A in ACID, and it is a native property of transactions on Ethereum and EVM networks such as Base.

Atomicity is the foundation of DeFi composability. A single transaction can swap tokens on a decentralized exchange, deposit the proceeds into a vault, and mint a receipt token, all in one call. If any leg fails, for example because the price moves beyond a slippage tolerance or the transaction runs out of gas, every prior step unwinds automatically. Users are never left holding half of a trade or an incomplete position.

Flash loans are the clearest example: a contract can borrow a large sum with no collateral because the borrow, the use of the funds, and the repayment must all settle within the same transaction, or the loan never happens at all. Index platforms rely on the same guarantee. When Tessera routes the purchase of an index token across several DEXs and ERC-4626 vaults in a single trade, the buyer either receives a fully backed share or the whole transaction reverts.

Atomicity guarantees consistency, not quality. A transaction can succeed while executing at a poor price, and a reverted transaction still costs the gas it consumed before failing. Atomicity removes the risk of stuck, partial states, but it does not remove market risk, smart-contract risk, or the need to check what a transaction actually does before signing it.

Go deeper

Related terms

See it in action
Onchain ETFs on Base: create or trade a basket in one click.
Launch App →