Skip to main content
Hashbeam

Crypto protocols, markets and policy

ab08aa

Why a Shorter Cross-Chain Swap Route Can Cost More

A cross-chain route with fewer hops can still return less: pool depth, price impact, destination gas and failure handling determine the net amount delivered.

The Hashbeam Desk··5 min read

Why a Shorter Cross-Chain Swap Route Can Cost More

A cross-chain swap route with fewer hops can cost more when its pools are shallower, its price impact is higher, or its destination-chain fee is larger. The useful comparison is the amount expected to arrive after swap fees and network costs, alongside the time and failure conditions attached to that quote. “Direct” describes a path; it does not guarantee a better execution price.

In THORChain, a swap between two non-RUNE assets uses two continuous liquidity pool (CLP) legs: the source asset is swapped into RUNE, then RUNE into the destination asset. The network handles both legs as one swap flow, while the final asset is sent from a vault on its native chain. A practical thor swap route check also needs to account for destination-specific delivery details; that fuller walkthrough covers those checks.

Why can a route with fewer hops return less?

Each pool leg trades against available liquidity, so the route’s output depends on pool balances and the size of the trade relative to them. In a constant-product pool, a larger input shifts the balance more and moves the execution price against the swap. The resulting price impact compounds across legs: a route that passes through one deep pool may outperform a nominally shorter route that crosses a thin pool.

Routes can also differ in what “one hop” means. An aggregator may split an order across several pools, or route through an intermediate asset, to improve the combined quote. That adds execution steps and may create extra fees or points of failure, but it can reduce the price impact in any one pool. Conversely, a direct pool can be cheaper when it has enough depth and the route avoids unnecessary conversions.

Compare the same input amount and destination address, then inspect the estimated net output. The quote should reflect the swap’s price impact and protocol fees, as well as any destination-chain network fee deducted before delivery. A route with a better displayed exchange rate can still deliver less if its fixed or variable costs are higher.

What costs should a route quote include?

A route quote is useful only if it accounts for costs at each stage. Separate costs paid directly by the sender from those deducted from the swap output: the source-chain transaction fee is usually paid to broadcast the deposit, while liquidity and outbound fees reduce what can be delivered.

  • Source-chain fee: the fee to send the input asset. Congestion or a wallet’s fee setting can affect the cost and confirmation time.
  • Pool price impact and liquidity fee: the trade changes pool balances; larger trades relative to pool depth generally incur greater impact and a larger slip-based fee.
  • Destination-chain outbound fee: the network must pay to send the output asset. Its cost depends on the destination chain and current fee conditions.
  • Optional interface or affiliate fee: an interface may charge an additional fee. Check whether it is included in the quoted output.

These costs do not all scale the same way. Price impact is sensitive to trade size and pool depth; outbound fees are tied to delivery on the destination chain. A route with another pool leg may add liquidity costs, while a route that avoids that leg may still have a more expensive outbound transaction. The net amount is the comparable figure.

How do timing and failure handling change the choice?

A route’s quoted output is an estimate for execution conditions that may change before all steps finish. Cross-chain swaps depend on observing the source transaction and completing delivery on another chain; congestion, changing fees, or a route’s execution constraints can affect timing and the final result.

Some protocols offer streaming execution, splitting a large swap into smaller sub-swaps over time. In THORChain, smaller executions can reduce per-swap price impact and give arbitrageurs time to rebalance pools between parts. The trade-off is duration: the full amount is not delivered in one immediate step, and a price limit can prevent remaining parts from executing if the limit is no longer met.

Before signing, check the minimum output, destination address and asset, estimated delivery time, and what happens if the route cannot complete. A refund path is not the same as instant recovery: the input may need to be returned through a separate transaction, with its own delay or fee. Never treat a quoted output as guaranteed unless the protocol’s execution rules make it so.

How should you choose between routes?

Choose by net output under acceptable timing and failure conditions, not by hop count alone. For a small swap, a direct route through sufficiently deep pools often avoids unnecessary steps. For a larger trade, a split route or a slower streamed swap can be better if it reduces price impact enough to offset added time and costs.

Compare routes using the same input and destination, and distinguish quoted output from minimum guaranteed output. Check every fee, the pool depth behind each leg, the destination-chain delivery cost, and whether execution is atomic, split, or subject to a time limit. When two routes are close, fewer dependencies can make the simpler route easier to reason about; when liquidity is uneven, the deeper route can win despite taking more steps.