Skip to main content
Vulcx system overview: the widget, SDK, and your app call the Vulcx API at api.vulcx.xyz over HTTPS (GET /quote, POST /swap). The API finds the best-price route across all pools and returns an unsigned transaction. Your wallet signs and submits it on-chain to Fogo, where liquidity comes from Vortex, Fluxbeam, Fogo.fun, and Moonit.

Data flow

Client                    Vulcx API                 Fogo
  │                           │                          │
  GET /quote                  │                          │
  ──────────────────────────> │                          │
                              │  find best route         │
  QuoteResponse               │  across all pools        │
  <────────────────────────── │                          │
                              │                          │
  POST /swap                  │                          │
  ──────────────────────────> │                          │
                              │  build transaction       │
  unsigned transaction        │                          │
  <────────────────────────── │                          │
                              │                          │
  sign + submit ────────────────────────────────────────>│
                              │                          │
  confirmation <─────────────────────────────────────────│

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. Vortex (concentrated liquidity), Fluxbeam (AMM), Fogo.fun (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

PathEndpointUse case
TransactionPOST /api/v1/swapGet a ready-to-sign transaction. Sign it and submit. Simplest integration.
InstructionsPOST /api/v1/instructionsGet raw instructions to compose with your own transaction logic (e.g., adding custom instructions before/after the swap).
CPI accountsPOST /api/v1/cpi/route-accountsCall the route instruction on-chain from another program via CPI, signed by your program’s PDA. Makes a swap one atomic step inside your protocol. See Composing Swaps On-Chain.
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.
Last modified on July 6, 2026