General
What chains are supported?
What chains are supported?
Fogo. See Supported Chains for capabilities and supported DEXs.
What tokens are supported?
What tokens are supported?
Any SPL token with liquidity on a supported DEX on Fogo: Vortex, Fluxbeam, Fogo.fun, or Moonit. If a direct pool doesn’t exist, the routing engine tries multi-hop paths through intermediate tokens like FOGO or USDC.If
GET /api/v1/quote returns no route found, the token either has no listed pools or insufficient liquidity for the requested amount.Quotes and pricing
How fresh are quotes?
How fresh are quotes?
Quotes reflect real-time pool state at the moment of the request. Prices can change between getting a quote and submitting the transaction. The
otherAmountThreshold field enforces a minimum output (ExactIn) or maximum input (ExactOut) on-chain.Quotes don’t have an explicit TTL, but the transaction built from POST /api/v1/swap expires at lastValidBlockHeight (roughly 60 seconds).What's the difference between ExactIn and ExactOut?
What's the difference between ExactIn and ExactOut?
- ExactIn: You specify the exact input amount. The API estimates the output. Use when selling a specific amount (“sell exactly 1 FOGO”).
- ExactOut: You specify the exact output amount. The API estimates the input needed. Use when buying a specific amount (“buy exactly 100 USDC”).
How are fees calculated?
How are fees calculated?
Two types of fees:
- Pool fees set by the DEX operators. Shown in
feeBpsin the quote response. - Aggregator fee on certain routes. Shown in
feeAmountin the swap/instructions response.
amountIn and amountOut values already account for all fees. No hidden charges.Technical
Is devnet supported?
Is devnet supported?
Not currently. The API operates on Fogo mainnet only. Devnet support may be added in the future.
What's the maximum transaction size?
What's the maximum transaction size?
Transactions have a 1232-byte limit. For multi-hop routes with many accounts, the API uses Address Lookup Tables (ALTs) to compress the transaction. If you use
POST /api/v1/instructions, include the addressLookupTableAddresses when building a v0 transaction.What are the rate limits?
What are the rate limits?
Default: 60 requests/minute, 10 requests/second burst. If you hit a
429 response, use exponential backoff (1s, 2s, 4s). Contact the team for higher limits for production integrations.When should I use /swap vs /instructions?
When should I use /swap vs /instructions?
- Use
POST /api/v1/swapfor the simplest integration. You get a ready-to-sign transaction. - Use
POST /api/v1/instructionswhen you need to compose the swap with other instructions in a single transaction (e.g., creating token accounts, adding memos, closing accounts).
What happens if a multi-hop swap partially fails?
What happens if a multi-hop swap partially fails?
Nothing. All swap instructions execute atomically on-chain. If any hop fails (insufficient liquidity, slippage exceeded, etc.), the entire transaction reverts. No partial fills, no stuck funds.
How do I monitor API status?
How do I monitor API status?
Call
GET https://api.vulcx.xyz/health. It returns {"status": "ok"} when the service is running. For production integrations, poll this endpoint periodically and alert if it returns a non-200 status.