Request for a base64-encoded unsigned swap transaction to be used in POST /ultra/v1/execute
Get API key via https://portal.jup.ag
payer is passed in, closeAuthority is requiredpayer is passed in, closeAuthority is requiredcloseAuthority==taker, the taker is the close authority and no additional instructions will be addedcloseAuthority!==taker, the closeAuthority will be set by adding an instruction to the transaction to set the close authority50 <= x <= 255iris, jupiterz, dflow, okx excludeDexes=Raydium,Orca+V2,Meteora+DLMMexcludeRouters=<all-except-Iris> and excludeDexes=RaydiumexcludeRouters=<all-except-Iris> and excludeDexes=<all-except-MeteoraDLMM>Successful response
priceImpact field instead, this is still available only for backwards compatibilityreferralAccount, referralFee (and payer if passed in) are passed in, the fee will be the integrator fee onlytaker, maker (JupiterZ's MM) or payer has to pay for the base network fee, if a valid transaction is returned.taker, maker (JupiterZ's MM) or payer if passed intaker, maker (JupiterZ's MM) or payer has to pay for higher priority landing, if a valid transaction is returnedtaker, maker (JupiterZ's MM) or payer if passed intaker or payer has to pay for account rent, if a valid transaction is returnedtaker or payer if passed iniris, jupiterz, dflow, okx /executetaker is null, this field will be null.transaction field is empty, it is returned with errorCode and errorMessage such as Insufficient Funds/executetaker is defined and transaction is an empty string1, 2, 3 taker is defined and transaction is an empty stringInsufficient funds, Top up `${solAmount}` SOL for gas, Minimum `${swapAmount}` for gasless