inputMint string —  REQUIRED | 
outputMint string —  REQUIREDOutput token mint address  | 
amount integer —  REQUIREDAtomic value to swap (Before applying decimals) - Input Amount if 
SwapMode=ExactIn - Output Amount if 
SwapMode=ExactOut 
  | 
slippageBps integerDefault: 50 - This is threshold denoted in basis points.
 - If the output amount exceeds the threshold, then the swap transaction will fail.
 
  | 
swapMode stringPossible values: [ExactIn, ExactOut] Default: ExactIn - ExactOut is for supporting use cases where you need an exact output amount, like payments
 - In this case the slippage is on the input token.
 
  | 
dexes string[]Default: Include ALL DEXes - If a DEX is indicated, the route will only use that DEX
 - Multiple DEXes can be pass in by comma separating them
 - Full list of DEXes here
 
  | 
excludeDexes string[]Default: Exclude NONE of the DEXes - If a DEX is indicated, the route will not use that DEX
 - Multiple DEXes can be pass in by comma separating them
 - Full list of DEXes here
 
  | 
restrictIntermediateTokens boolean- Restrict intermediate tokens within a route to a set of more stable tokens
 - This will help to reduce exposure to potential high slippage routes
 
  | 
onlyDirectRoutes booleanDefault: false - Limits the routeDirect Routes limits Jupiter routing to single hop routes only
 
  | 
asLegacyTransaction booleanDefault: false - Instead of using versioned transaction, this will use the legacy transaction
 
  | 
platformFeeBps integer- Take fees in basis points from signer
 - Used together with 
feeAccount in /swap, see Adding Fees guide 
  | 
maxAccounts integer- Rough estimate of the max accounts to be used for the quote
 - Useful if composing with your own accounts or to be more precise in resource accounting resulting in better routes
 - Jupiter Frontend uses a maxAccounts of 64
 
  |