Skip to content
QSwapDocs

Routing and gasless

QSwap has no router. Jupiter asks several routers for each order and keeps the best. Some orders are gasless.

QSwap sends every quote request to Jupiter's Swap API (/swap/v2/order). Jupiter runs a meta-aggregation: it asks each of its routers for the same order and keeps the one that gives you the most.

One request, several routersJupiter asks each of its routers for this order and keeps the best net result.
Your order10 SOL → USDCJupiter
  1. MetisJupiter's own router across Solana's DEXs1412.38 USDC
  2. JupiterZRFQ: market makers quote a firm price1411.95 USDC
  3. DFlowThird-party router1411.20 USDC
  4. OKXThird-party router1410.87 USDC
Best output winsThe order names the winner in its router field."router": "metis"
Source: Jupiter Swap API v2 → GET /swap/v2/order (router)
RouterWhat it is
MetisJupiter's own router, splitting your trade across Solana DEX pools
JupiterZRequest for quote: market makers offer a firm price for the whole amount
DFlowA third-party router Jupiter includes
OKXA third-party router Jupiter includes

The order names the winner in its router field, and the app shows it beside the route.

The route plan

When a DEX route wins, routePlan says which pools it uses and what share of your trade goes through each one.

A route planHow the winning route splits a 10 SOL trade across pools (an example of routePlan).
Raydium CLMM55% · 776.809 USDC
Orca Whirlpool30% · 423.714 USDC
Meteora DLMM15% · 211.857 USDC

Pools: 3 · Share: 100%

Source: GET /swap/order → routePlan[]

Gasless orders

Some orders are gasless: you don't pay the Solana network fee, so you don't need SOL for it. Jupiter decides this per order and says so in the gasless field. QSwap shows it on the quote and doesn't ask you for SOL when it is set.

Regular and gasless orders
Regular ordergasless: falseNetwork feeYou pay it, in SOLSOL needed for feesYesWho decidesJupiter, per order
Gasless ordergasless: trueNetwork feeCovered for youSOL needed for feesNoWho decidesJupiter, per order

Small trades can be below the gasless minimum: BELOW_MINIMUM.

Source: GET /swap/order → gasless

Why the wallet signs partially

On an RFQ (JupiterZ) or gasless order, another party also signs the transaction: the market maker or the fee payer. Your wallet adds your signature only, and Jupiter adds the other one when it lands the transaction.