
Your app calls the Vulcx API, which finds the best-price route and returns an unsigned transaction; your wallet signs and submits it to Fogo.
Data flow
Components
API Server. HTTP service that handles quote requests, builds swap transactions, and returns raw instructions. Stateless and horizontally scalable. Routing Engine. Off-chain route search that evaluates routes across all supported DEXs on Fogo. Finds direct swaps, multi-hop paths (e.g., Token A → FOGO → USDC → Token B), and split routes across multiple pools. Supported DEXs. Valiant (concentrated liquidity), Fluxbeam (AMM) (bonding curves), and Moonit (bonding curves). On-chain Program. Verifies and executes the swap instructions atomically. If any hop fails or slippage is exceeded, the entire transaction reverts.Three integration paths
The first two paths start with
GET /api/v1/quote to find the best route. For prices that update in
real time, the API also exposes a WebSocket quote stream that pushes a new
quote whenever a pair’s price changes.