Query Parameters
- The public key of an account that will be used to cover 'gas-related' fees on behalf of the taker
- Gas related fees such as signature fees, priority fees and rent. Note that enabling this may result in different routing decisions.
- When
payeris passed in,closeAuthorityis required - Refer to Integrator Payer for more details
- The public key of an account to set as the close authority of ATAs created during the swap transaction. Only applies to non-wSOL ATAs that persist beyond the execution of the transaction.
- When
payeris passed in,closeAuthorityis required - If the
closeAuthority==taker, thetakeris the close authority and no additional instructions will be added - If the
closeAuthority!==taker, thecloseAuthoritywill be set by adding an instruction to the transaction to set the close authority
- Refer to Integrator Fees for more details
- Refer to Integrator Fees for more details
Required range:
50 <= x <= 255Available options:
iris, jupiterz, dflow, okx - Full list of DEXes here, for example:
excludeDexes=Raydium,Orca+V2,Meteora+DLMM - Important: This only excludes DEXes on the Iris router, does not apply to other routers
- For example:
- Exclude Raydium:
excludeRouters=<all-except-Iris>andexcludeDexes=Raydium - Only include Meteora DLMM:
excludeRouters=<all-except-Iris>andexcludeDexes=<all-except-MeteoraDLMM>
- Exclude Raydium:
Response
Successful response
- Please use
priceImpactfield instead, this is still available only for backwards compatibility
- The fee includes either Ultra default fee or your integrator fee, depending on if referral and/or payer params are passed in
- If
referralAccount,referralFee(andpayerif passed in) are passed in, the fee will be the integrator fee only - If no additional referral params are passed in, the fee will be the Ultra default fee only and can include additional fees for gasless support mechanism
- The number of lamports the
taker,maker(JupiterZ's MM) orpayerhas to pay for the base network fee, if a valid transaction is returned.
- The number of lamports the
taker,maker(JupiterZ's MM) orpayerhas to pay for higher priority landing, if a valid transaction is returned - Includes priority fees and tips for services such as Jito, etc, if any
- The number of lamports the
takerorpayerhas to pay for account rent, if a valid transaction is returned - Note that this value is just an estimate
- JupiterZ's MM currently does not cover for rent fees
- Deprecated, in favour of router
Available options:
iris, jupiterz, dflow, okx - Unsigned base-64 encoded transaction to be signed and used in
/execute - If
takeris null, this field will be null. - If the
transactionfield is empty, it is returned witherrorCodeanderrorMessagesuch as Insufficient Funds
- Required to make a request to
/execute
- This field shows the platform fee only, does not include fee for gas
- Platform fee can either be the Ultra default fee or your integrator fee
- The public key of the account that will cover the signature fee, it can be either
taker,maker(JupiterZ's MM) orpayerif passed in
- The public key of the account that will cover the prioritization fee, it can be either
taker,maker(JupiterZ's MM) orpayerif passed in
- The public key of the account that will cover the rent fee, it can be either
takerorpayerif passed in - JupiterZ's MM currently does not cover for rent fees
- This field will be present if
takeris defined andtransactionis an empty string - It is unique for each error scenarios
Available options:
1, 2, 3 - This field will be present if
takeris defined andtransactionis an empty string - This field can still return despite having a valid order/quote
- This is meant for display purposes only and it is discouraged to match these error messages as they could be parameterized
Available options:
Insufficient funds, Top up `${solAmount}` SOL for gas, Minimum `${swapAmount}` for gasless 