Quote flow, agent chat flow, and price flow.
User enters amount + tokens.
UI calls backend quote endpoint.
Backend queries X1/X2/X3 in parallel.
Scoring ranks candidates.
UI renders ordered routes.
User sends a message.
Backend agent parses intent.
Agent calls tools (quotes, compare, prices, balances).
Agent returns a plan + best route.
Browser calls a server-side proxy route.
Server fetches market data.
Browser receives normalized JSON.
Keep market-data routes separate from execution routes. It simplifies security reviews.
Last updated 15 hours ago