Understanding a swap lifecycle

What is the lifecycle of a swap transaction?

Swap status flow diagram

The following diagram shows the decision tree used by the Skybridge nodes to decide which states that a swap moves through during processing.
Standard process for a cross-chain swap (outdated).

Why was my transaction refunded?

A transaction may be refunded for several reasons, such as:
  • Lack of liquidity in the float pools.
  • Timeout.
  • Wrong amounts.
  • Miscellaneous risk prevention in the node software.