sam-robeson

What is a cross chain swap: Steps, costs and outcomes

A cross-chain swap trades one token on one blockchain for a different token on another in one user action, although the route may contain several transactions. A cross-chain bridge aggregator such as lifi bridge fits this description because it combines bridge and swap routes in one quote. Chains keep separate liquidity, so the route links a transfer with a trade when the assets differ.

How does a cross-chain swap work?

A cross-chain swap starts with an input token on a source chain and ends with the requested output token on a destination chain. Its route may include:

  • An optional source swap into a token accepted by the transfer route.
  • A bridge that moves value between chains, or a solver that fills from liquidity on the destination chain.
  • An optional destination swap into the requested output token.

The route joins these steps under one wallet action. A DEX, or decentralized exchange, trades tokens on one chain. A bridge moves an asset between chains, usually delivering its corresponding token. A cross-chain swap combines a cross-chain move with a token change. Calling a bridge transfer a completed swap hides the question that matters: which token arrived?

Say you hold USDC on Arbitrum and want SOL in a Solana wallet. One possible route moves USDC to Solana, then trades it for SOL on a Solana DEX. Another could trade on Arbitrum before the transfer. The quote should show both chains and tokens, the bridge or fill method, the expected and minimum SOL output, one total for fees across steps, and one estimated duration for the whole route. The quote gives you one decision even though its steps finish at different times.

A quote might name Stargate as its bridge. Across uses relayers: they supply tokens on the destination chain to fill transfers and receive repayment later. The Across documentation on deposit tracking describes the filled state as delivery by a relayer on the destination chain. Read the quoted destination token rather than inferring it from the route name.

The most useful distinction appears when the destination swap fails after the cross-chain transfer succeeds. In this case, you may receive USDC on Solana instead of SOL. That USDC is an intermediate token in your destination wallet, not lost funds or a completed SOL purchase. Inspect the received token and amount before acting. You can request a separate Solana swap after a problem such as slippage or thin liquidity clears, but it needs a new quote and may add another fee.

The LI.FI status endpoint documentation distinguishes DONE with substatus COMPLETED, PARTIAL, or REFUNDED. COMPLETED means the requested transfer finished; PARTIAL can mean value arrived as a different token; REFUNDED means tokens were returned instead. Treating PARTIAL as REFUNDED sends you looking on the source chain when the intermediate token is on the destination chain. Treating PARTIAL as COMPLETED may make you assume you already hold SOL. The received token and chain settle which action makes sense.

For a first attempt, keep enough ETH on Arbitrum for the source transaction and use a wallet that supports Solana for the destination address. Confirm that address and the quoted destination token before signing.

Two questions help you read a cross-chain swap quote: who pays for destination gas, and what makes the route cost more than a same-chain trade?

Do I need gas on the destination chain for a cross-chain swap?

A cross-chain swap may include destination execution gas in its quote, so a successful route may require no SOL beforehand. Read which gas costs are included and which transactions your wallet pays for. If intermediate USDC arrives and you swap it yourself, you normally need SOL for that new Solana transaction.

Why does a cross-chain swap cost more than a normal swap?

A cross-chain swap can cost more than a same-chain swap because it includes a cross-chain transfer as well as token trading. Network gas, bridge or relayer fees, DEX liquidity, and the chosen route change the total. Compare expected and minimum output with the total fee and estimated time; a smaller fee does not necessarily mean more SOL will arrive.

A cross-chain swap is complete when the requested token reaches the destination chain. Because separate chains require a transfer alongside any token trade, the decisive check is what arrived and where, especially if the status is PARTIAL.