Overview
Routers extend Gateway functionality with swap capabilities, enabling any-to-any token transfers across chains.| Router | Location | Purpose |
|---|---|---|
| GatewayRouter | Source chain | Swap input token → bridge asset |
| SolverRouter | Destination chain | Swap payout → output token |
GatewayRouter (Source Chain)
The GatewayRouter handles pre-bridge swaps and partner integrations.Swap & Bridge Flow
Contract Interface
Partner Mode
Partners (CEXes, wallets, enterprise apps) can integrate with custom fee arrangements:1
Fee Collection
Router collects fees using Gateway fee logic
2
Partner Fee
Additional partner fee deducted and sent to partner address
3
Net Amount
Remaining amount passed to Gateway for intent creation
SolverRouter (Destination Chain)
The SolverRouter handles post-payout swaps on the destination chain.Receive & Swap Flow
Contract Interface
Whitelisted DEX Aggregators
Routers only interact with pre-approved DEX aggregators for security:Audit Required
All aggregators must pass security review
Rate Limited
Spending limits prevent large-scale exploits
Monitored
All swap activity is tracked and analyzed
Revocable
Compromised aggregators can be removed instantly
Leftover Handling
If a swap produces leftover tokens (due to slippage or rounding):- ERC20 leftovers — Returned to the user automatically
- Native token leftovers — Returned to the user automatically
- No stuck funds — Router contracts don’t hold balances
Use Cases
- Wallet Integration
- CEX Integration
- dApp Integration
Next: Learn about SolverPool — isolated liquidity vaults.

