This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

DEX Multi-Hop Route Visualizer

Trading · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryTrading
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

DEX Multi-Hop Route Visualizer is a powerful transparency tool that reveals the complete routing path your DEX swap will take through multiple pools and tokens. When you're on a supported DEX (Uniswap, SushiSwap, 1inch, Curve, or Balancer) with a configured swap, the tool intercepts the transaction route by analyzing the page's contract calls or fetching quotes via eth_call to multiple pool contracts. It identifies and visualizes the multi-hop route the DEX router will use—for example, Token A → Token B → Token C → Token D—displaying the complete route as a visual flow diagram. The panel shows intermediate tokens, estimated amounts at each hop, price impact per hop, and a total efficiency score. The tool calculates route efficiency compared to direct swaps and other possible routes, highlighting the best option and providing alternative route suggestions. A "Use Route" button allows you to configure the swap with the visualized route. All route history is tracked for performance monitoring.

WHERE IT RUNS

This overlay operates on major DEX platforms including Uniswap (app.uniswap.org, uniswap.org), SushiSwap (sushi.com), 1inch (1inch.io), Curve (curve.fi), and Balancer (balancer.fi). It works in any browser that supports the BotGentz extension framework and has an EVM-compatible wallet extension installed. The panel activates automatically when you're on a supported DEX page with a trading pair selected.

HOW TO USE

Install the extension and connect your wallet. Navigate to any supported DEX and configure a swap—select your token pair and enter a trade amount. The tool automatically detects the token pair and trade amount from the page, then analyzes the available routes. The panel displays the best route as a visual flow diagram showing each token and hop, with estimated amounts, price impact per hop, and total efficiency. Alternative routes are shown for comparison. Configure your settings: set the maximum number of hops to display (default 4), toggle route comparison on/off, and enable or disable notifications. The "Use Route" button lets you apply the visualized route to your swap (where supported). Use the "Refresh" button to manually update route data, "Save Settings" to apply changes, and "Copy Report" to export a summary. The tool tracks all route history for performance analysis.

MECHANISM: ROUTE DETECTION WITH ON-CHAIN QUOTE FETCHING AND EFFICIENCY COMPARISON

The extension implements a route detection system that analyzes the DEX page's contract interaction patterns to identify the multi-hop route being used. For each supported DEX, the tool extracts the router contract address and function call parameters from the page's JavaScript or contract interaction data. It then uses eth_call to simulate the swap through the router's getAmountsOut or similar quote function, fetching the amounts for each hop in the route. For alternative routes, the tool queries multiple pool contracts (Uniswap V2, V3, Sushiswap, Balancer, Curve) using getReserves() and calculates potential routes through intermediate tokens. The efficiency score is calculated as (output_amount / input_amount) * 100, with higher scores indicating better execution. The price impact per hop is calculated using the constant product formula for each pool in the route. The tool caches pool data to minimize RPC calls, with a configurable TTL. The route comparison feature analyzes up to 5 alternative routes, ranking them by efficiency and gas cost. All route data is stored locally using GM_setValue, tracking the route path, number of hops, efficiency score, and timestamp for historical analysis.

THE PANEL

The overlay panel is fully draggable via its title bar and remembers its position per-site using GM_setValue. It snaps to the nearest edge when dragged within 40px of any screen boundary. The panel includes clear sections for multi-hop route visualizer (chain, wallet address, gas price, token pair, trade amount), best route (visual flow diagram with token circles connected by arrows, hop count, efficiency percentage, total output, and price impact), alternative routes (list of alternative routes with DEX names, route paths, and efficiency percentages), route comparison (efficiency comparison table with direct swap baseline), route history (recent routes with timestamps and efficiency scores), settings (maximum hops input, route comparison toggle, notification toggle), and action buttons (Refresh, Save Settings, Copy Report, Clear History). The visual flow diagram uses token circles connected by directional arrows, with each hop showing the token address and estimated amount. Pressing Escape temporarily dismisses the panel until you navigate to a new DEX page or manually reactivate.

PLEASE NOTE

This extension requires the free BotGentz framework extension to be installed and active. You must also have a real EVM-compatible wallet extension (such as MetaMask, WalletConnect, Coinbase Wallet, or Rabby) already installed in your browser—the overlay uses your wallet's RPC provider for eth_call queries. This tool is read-only—it does not send transactions; it only displays route information and suggestions. The tool cannot detect routes that involve tokens with complex fee structures or rebasing mechanisms; depends on DEX price feeds which may be manipulated or delayed; cannot guarantee that the visualized route matches the actual execution route used by the DEX router; does not support non-EVM chains where DEX interfaces differ; cannot detect routes that use aggregator-specific routing logic; cannot account for MEV or front-running that may affect route execution; does not support routes that involve private pools or non-standard AMMs; and cannot detect routes that require multiple steps beyond the configured maximum hops. No private keys, wallet balances, browsing history, or trade data are ever collected, transmitted, or stored outside your local browser—all data is stored locally using GM_setValue. The route visualization is an approximation—actual execution may differ due to market conditions, slippage, and router implementation differences.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.