Supported DEXes
Raydium
Raydium is one of Solana’s largest AMMs, offering both traditional constant-product pools and Concentrated Liquidity Market Maker (CLMM) pools for capital-efficient trading. SURCHI indexes all Raydium pools in real time, including permissionless pool creation events.
Orca
Orca’s Whirlpools implement concentrated liquidity on Solana, giving liquidity providers the ability to target specific price ranges for maximum capital efficiency. SURCHI routes through Whirlpool ticks to find the most efficient execution path.
Jupiter
Jupiter is Solana’s leading liquidity aggregator and already performs multi-hop routing across dozens of DEXes. SURCHI integrates Jupiter as a routing leg, meaning you benefit from Jupiter’s deep liquidity network as one option within SURCHI’s broader comparison.
Pump.fun
Pump.fun uses a bonding curve mechanism for token launches. SURCHI monitors every active bonding curve and routes trades through Pump.fun pools during the launch phase. When a token graduates to Raydium, SURCHI automatically switches to the new Raydium pool.
How the Routing Algorithm Works
1
Query all available pools
When you request a swap route, SURCHI simultaneously queries every pool holding the input and output token pair across all integrated DEXes. This includes direct pairs and potential intermediate tokens for multi-hop routes.
2
Calculate effective price per route
For each candidate route, the engine calculates the net output after accounting for pool fees, price impact (based on pool depth and trade size), and any slippage within the price range. Multi-hop routes include the cumulative cost of each leg.
3
Identify split routing opportunities
If splitting the trade across multiple DEXes yields a better total output than routing through a single pool, the engine proposes a split route. For example: 60% through Raydium and 40% through Orca might net more output than routing 100% through either one alone.
4
Return the optimal route
SURCHI returns the single best route (or best split combination) with the estimated output amount, price impact percentage, total fees, and a breakdown of each leg. All alternative routes are returned alongside so you can compare.
5
Execute the swap (via API or app)
When using the SURCHI app or Liquidity API, you can execute the swap directly against the recommended route. The route is refreshed every 500ms so your execution price reflects the latest on-chain state.
Liquidity Aggregation
SURCHI aggregates pool depth across all integrated DEXes into a unified view, so you see the complete liquidity picture for any token pair — not just what’s available on one exchange. This is especially valuable for tokens with fragmented liquidity spread across multiple AMMs, where the best route is rarely the most obvious one.Multi-hop routes can traverse up to 3 intermediate tokens. For example, a BONK → ETH swap might route through BONK → USDC → SOL → ETH if that path yields a better net output than a direct BONK → ETH pair (if one even exists).