Fee Guard
Set a maximum fee limit in basis points. Transactions exceeding your threshold are automatically rejected before sending โ no SOL wasted.
Usage
Recommended Settings
| Token Category | Suggested maxFeeBps | Reasoning |
|---|---|---|
| Direct route (SOL, USDC) | 5 bps | Only VAEA fee, no swap cost |
| LSTs via Sanctum (mSOL, bSOL) | 10 bps | Low swap cost via Sanctum |
| Majors via Jupiter (TRUMP) | 15 bps | Moderate swap cost |
| Mid-caps via Jupiter (BONK) | 20 bps | Higher swap slippage possible |
โ ๏ธ Warning
When using executeLocal() (Turbo Mode), fee guard is skipped because there's no API call. Use isProfitable() instead for turbo-mode cost validation.