The /connections endpoint and /quote or /routes endpoints serve different purposes:
/connections returns all theoretically possible transfer paths between chains/tokens based on supported bridges and exchanges. It shows what routes could exist.
/quote and /routes return actual executable routes with real-time pricing, liquidity, and transaction data. A route may not be returned even if a connection exists due to:
- Insufficient liquidity at the moment
- Bridge/DEX temporarily unavailable
- Amount too small or too large for available pools, can the bridge/DEX actually swap that amount
- Price impact exceeding thresholds
- The
fromAddresslacking sufficient funds (error 1001) 1 step / 2 step route: which limits if an exchange on the destination should be used or not
wallet/contract used: accounts for specific limitations
So connections represent supported pathways, while quotes/routes represent what's actually executable right now.
These pages may help from our main website and its super helpful AI can also help you to Know more :