Routing & Routes
How VAEA Flash routes your borrow request through lending protocols and swap providers to deliver any token.
How Routing Works
Protocol Priority
| Priority | Protocol | Strengths |
|---|---|---|
| 1st | Marginfi | Deepest liquidity for SOL, USDC, USDT β lowest borrow cost |
| 2nd | Kamino | Best for cbBTC, JLP β alternative liquidity for SOL/USDC |
| 3rd | Save (Solend) | Fallback for major tokens when others are at capacity |
Fallback is automatic and transparent β you don't specify which protocol to use. If Marginfi is at capacity, VAEA silently falls back to Kamino, then Save.
Swap Providers
| Provider | Used For | Typical Slippage |
|---|---|---|
| Sanctum | LSTs (mSOL, bSOL, INF, laineSOL) | ~0.03% |
| Jupiter | Everything else (BONK, TRUMP, PENGUβ¦) | ~0.05β0.12% |
βΉοΈ Note
Sanctum is preferred for LSTs because it offers stake account routing with near-zero slippage.Fallback Behavior
π‘ Tip
You can force a specific source with source: 'kamino' in the options, but auto-routing handles 99% of cases optimally.