| inputMintstring —  REQUIRED | 
| outputMintstring —  REQUIREDOutput token mint address | 
| amountinteger —  REQUIREDAtomic value to swap (Before applying decimals) Input Amount if SwapMode=ExactInOutput Amount if SwapMode=ExactOut
 | 
| slippageBpsintegerDefault: 50 This is threshold denoted in basis points.If the output amount exceeds the threshold, then the swap transaction will fail.
 | 
| swapModestringPossible values: [ExactIn,ExactOut]Default: ExactIn ExactOut is for supporting use cases where you need an exact output amount, like paymentsIn this case the slippage is on the input token.
 | 
| dexesstring[]Default: Include ALL DEXes If a DEX is indicated, the route will only use that DEXMultiple DEXes can be pass in by comma separating themFull list of DEXes here
 | 
| excludeDexesstring[]Default: Exclude NONE of the DEXes If a DEX is indicated, the route will not use that DEXMultiple DEXes can be pass in by comma separating themFull list of DEXes here
 | 
| restrictIntermediateTokensbooleanRestrict intermediate tokens within a route to a set of more stable tokensThis will help to reduce exposure to potential high slippage routes
 | 
| onlyDirectRoutesbooleanDefault: false Limits the routeDirect Routes limits Jupiter routing to single hop routes only
 | 
| asLegacyTransactionbooleanDefault: false Instead of using versioned transaction, this will use the legacy transaction
 | 
| platformFeeBpsintegerTake fees in basis points from signerUsed together with feeAccountin /swap, see Adding Fees guide
 | 
| maxAccountsintegerRough estimate of the max accounts to be used for the quoteUseful if composing with your own accounts or to be more precise in resource accounting resulting in better routesJupiter Frontend uses a maxAccounts of 64
 |