Gasless swaps let users trade without holding SOL for transaction fees. OnDocumentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
/order, the gasless: true response field can be set by three independent paths:
- Automatic Jupiter sponsorship — Jupiter covers gas when the taker has low SOL.
- JupiterZ market maker — an RFQ market maker pays signature and priority fees directly.
- Integrator payer — your wallet covers gas via the
payerparameter.
signatureFeePayer to the taker:
signatureFeePayer value | Source |
|---|---|
Equal to taker | Not gasless, taker pays |
gasTzr94Pmp4Gf8vknQnqxeYxdgwFjbgdJa4msYRpnB | Automatic Jupiter sponsorship |
Equal to your payer parameter | Integrator-sponsored gas |
| Any other address | JupiterZ market maker (varies per quote) |
Types of gas costs
Solana transactions can incur four types of gas costs:- Base network transaction fee (signature fee)
- Associated token account (ATA) rent for new token accounts
- Priority fee (or tips for Jito, etc.)
- Other account rent (some DEXes require additional accounts of the taker, e.g. Pump.fun)
How to opt out of gasless
The most reliable check issignatureFeePayer == taker on every /order response. Drop any quote where they differ. This catches all three gasless paths and survives future changes to routing.
You can also reduce gasless quotes upstream by passing excludeRouters=jupiterz. This blocks the JupiterZ RFQ path, which is the most common source of gasless quotes. It is not a complete opt-out on its own: if the taker has less than 0.01 SOL on a trade of about $10 or more, automatic Jupiter sponsorship still fires through Metis with signatureFeePayer = gasTzr94Pmp4Gf8vknQnqxeYxdgwFjbgdJa4msYRpnB. The signatureFeePayer check catches both cases.
Automatic gasless (/order)
Jupiter automatically covers gas costs when the taker lacks SOL.
When it applies:
- Taker has less than 0.01 SOL
- Minimum trade size of ~$10 (dynamic, varies with current priority fee market)
- A JupiterZ market maker is not winning the quote, and integrator
payeris not set
- Jupiter calculates the required SOL to cover gas and increases the swap fee. The taker receives less output tokens. The top-level
feeBpsfield reflects this increased total fee, whileplatformFee.feeBpsonly reflects the Jupiter platform fee. - The sponsor wallet
gasTzr94Pmp4Gf8vknQnqxeYxdgwFjbgdJa4msYRpnBis added as a secondary signer and is returned as thesignatureFeePayer,prioritizationFeePayer, andrentFeePayerin the response.
- Does not fire when
payeris set to a wallet other than the taker (integrator payer takes over instead)
JupiterZ gasless (/order)
When a JupiterZ (RFQ) market maker wins the quote on /order, the market maker pays network and priority fees directly. ATA rent is not covered by the market maker, so the taker must have enough SOL for rent or JupiterZ will not be routed.
When it applies:
- Taker trades a pair the market makers are willing to quote
payeris not set, andreferralAccount/referralFeeare not set (either disables JupiterZ in favour of Metis)
rentFeePayer) remains the taker.
How it works:
- The order transaction includes a secondary signer for the market maker
- Jupiter sets the gas payer to the MM signer and on
/execute, your partially signed transaction is sent to the MM for them to co-sign and execute - The
signatureFeePayeris the MM’s address. MM addresses vary per quote, so do not hardcode against a single address — use thesignatureFeePayer != takercheck instead.
- Does not fire when
payeris set - Does not fire when
referralAccountandreferralFeeare set - Requires the taker to have sufficient SOL for token account rent
Integrator payer
Integrators can cover all gas costs on behalf of their users by passing thepayer parameter. This works on both /order and /build.
payer only activates when set to a wallet different from taker. Setting payer=taker has no effect — the request behaves as if no payer was provided.On /order
Pass payer to cover all gas-related fees. The transaction requires both taker and payer signatures.
This needs to be used together with referral parameters (
referralAccount and referralFee) because it is assumed that you will be taking fees to recoup the costs spent on gas./execute.
What it covers: all four gas types.
How it works:
- Regardless of how much SOL the taker has, the payer covers all fees
- Temporary wSOL ATA rent is covered by the payer and returned in the same transaction
- Other ATAs are covered by the payer but not returned (they hold tokens post-swap)
- Routes through Metis only
On /build
Pass payer to change the fee payer on all returned instructions. The payer address replaces the default taker as the fee payer for the transaction.
payer address. You are responsible for building the transaction, collecting both signatures (taker + payer), and sending via your own RPC.
Related
- Order & Execute for the default swap flow
- Build for full transaction control
- Routing impact matrix for how
payeraffects routing - Fees for how gasless affects the fee calculation
