Skip to main content

Routing

Argyros evaluates multiple paths to find the best execution for every swap.

Direct swaps

For common pairs with deep liquidity (e.g., SOL/USDC), a single pool often provides the best price. Argyros compares rates across all supported pools and picks the one with the lowest price impact.

Multi-hop routing

When a direct swap isn’t optimal, Argyros routes through intermediate tokens. For example, swapping Token A → Token B might execute as:
Token A → SOL → USDC → Token B
Each hop uses the best available pool. The routing engine evaluates all viable paths and selects the one that maximizes output (ExactIn) or minimizes input (ExactOut). The routing engine supports up to 5 hops on Fogo.
Solana coming soon. With P-Token optimization, Solana will support up to 7 hops, enabling deeper route search for exotic token pairs. See Supported Chains.

Supported liquidity sources

SourceType
VortexConcentrated liquidity
FluxbeamAMM
Fogo.funBonding curves
MoonitBonding curves

Price impact

Every quote includes price impact data:
SeverityRangeMeaning
none< 0.1%Negligible
low0.1% – 1%Normal for most trades
moderate1% – 3%Consider splitting into smaller trades
high3% – 5%Significant. Review before proceeding.
extreme> 5%Very large trade relative to available liquidity

Slippage protection

The slippageBps parameter sets the maximum acceptable price deviation. If the on-chain execution price is worse than the threshold, the transaction reverts atomically. No partial fills.