Skip to main content

What Happens If One Leg of an Atomic Swap Fails?

If one leg of an atomic swap fails (e.g. due to insufficient gas, an expired time lock, or a contract error), the entire transaction is reverted to its original state. The funds remain in their original wallets or are returned to the sender after the time lock expires.

This is the core guarantee of atomicity: no party is left with a partial or incomplete trade, eliminating counterparty default risk.

How Does the Blockchain Ensure the Atomicity of a Complex Transaction?
What Are the Key Differences between a Consortium Blockchain and a Private Blockchain in Financial Settlements?
Define “Atomic Swap” and Its Role in Trustless Cross-Chain Trading
Explain the Concept of “Rug Pull” in Relation to Mutable Contract Ownership