Skip to main content
Aeterna Sol

Crypto markets, protocols and policy

SunSwap routes show which pools can improve your quote

How does SunSwap choose a swap route? Its router compares quotes across available pools and sources, then shows a cost-effective path for your trade.

The Aeterna Sol Editors

SunSwap routes show which pools can improve your quote

SunSwap’s Universal Router compares quotes across six supported liquidity sources and selects a cost-effective route, which can run through several pools, exchange versions, or protocols.

  • It searches for paths between your chosen tokens.
  • It compares expected output after pool fees and price impact.
  • The displayed path shows any intermediate tokens and liquidity sources.

Say you want to swap token A for token B. If a direct pool is available, the router can compare its quote with a route that trades A for TRX, then TRX for B. The path with more steps can still return more B if its pools offer better combined pricing after fees.

A quote ranks the paths available at that moment

The Universal Router compares routes it can reach using available liquidity when you request a quote. SUN.io documents route discovery across pools and quote-based selection. Its swap interface shows the recommended path so you can see how the trade is expected to move.

A router coordinates the path and trade execution; what a SunSwap router contract does explains that role in more detail. SunSwap’s interface applies that routing idea by showing which pools or sources make up the suggested swap.

The supported sources include SunSwap V1, V2, V3 and V4, as well as Curve and PSM. A route can therefore cross versions or protocols. For instance, one leg could use a V2 pool and another a Curve pool if those sources together produce a better quote for the selected tokens.

To read the quote, separate the route into its individual swaps. A path such as A → TRX → B means the trade first exchanges A for TRX in one pool, then TRX for B in another. Each leg has its own pool price and fee, and the combined result determines the amount of B shown.

Pool fees are charged for swaps through a pool. Price impact is the way your trade size can move the pool’s price as it uses available liquidity. A thinly funded pool may offer a less favorable quote for a larger trade than its displayed price initially suggests. Comparing the complete paths helps account for both effects.

Use the interface to inspect the route before you confirm:

  1. Select the input and output tokens, then enter the amount.
  2. Read the recommended path and note any intermediate token, such as TRX.
  3. Look at the pool or protocol labels to see which sources handle each leg.

This is useful when you already know which tokens you want but are unsure why the route takes a detour. In a constructed example, you plan to swap A for B and see A → TRX → B. The router’s role is to compare that combined quote with reachable alternatives; the displayed path lets you understand which pools supply the quoted output.

Can SunSwap route a trade through TRX?

Yes, a route can pass through TRX when pools for A-to-TRX and TRX-to-B are available and their combined quote is competitive. TRX is then an intermediate token: it connects the two swaps, while the trade’s goal remains exchanging A for B.

The router considers the available paths for your token pair and amount at quote time. A route through TRX may suit one trade while a direct pool may quote better for another. Changes in available liquidity or the amount entered can change the comparison.

Why does SunSwap show a multi-hop route?

A multi-hop route appears when a sequence of pools offers a cost-effective quote for the requested trade. The route can split the conversion across pools with stronger liquidity or pricing, even after accounting for the extra pool fee on each leg.

More hops mean more pool trades in the displayed path, so read each leg and its source rather than treating the route as one pool. Available routes depend on the selected tokens and liquidity when the quote is generated. The deciding factor is the combined quote: follow the path shown to see how the trade reaches its expected output.