| userPublicKeystring —  REQUIRED | 
| wrapAndUnwrapSolbooleanDefault: true To automatically wrap/unwrap SOL in the transaction
If false, it will use wSOL token accountParameter be ignored if destinationTokenAccountis set because thedestinationTokenAccountmay belong to a different user that we have no authority to close.
 | 
| useSharedAccountsbooleanDefault: true This enables the usage of shared program accountsIf true, no intermediate token accounts or open orders accounts need to be created for userIf you are using destinationTokenAccount, you must set this totrue. If this is not set, this will be set tofalsein the case that the route plan is just through one simple AMM that isn't Openbook or Serum. Otherwise, it will be set totrue
 | 
| feeAccountstringThe referral account's token account of specific mints depending on SwapModeto collect feesSee Add Fees guide for more details
 | 
| trackingAccountstringSpecify any public key that belongs to you to track the transactionsUseful for integrators to get all the swap transactions from this public keyUse this endpoint https://stats.jup.ag/tracking-account/:public-key/YYYY-MM-DD/HH
 | 
| prioritizationFeeLamportsintegerTo specify a level or amount of additional fees to prioritize the transactionIt can be used for both priority fee and jito tip
| priorityLevelWithMaxLamports| prorityLevelstringEither medium,highorveryHigh |  | maxLamportsMaximum lamports to cap the priority fee estimation, to prevent overpaying | 
 |  | jitoTipLamports| jitoTipLamportsintegerExact amount of tip to use in a tip instructionEstimate how much to set using Jito tip endpoint, see their docs
 | 
 | 
 | 
| asLegacyTransactionbooleanDefault: false Request a legacy transaction rather than the default versioned transactionUsed together with asLegacyTransactionin /quote, otherwise the transaction might be too large
 | 
| useTokenLedgerbooleanDefault: false This is useful when the instruction before the swap has a transfer that increases the input token amountThen, the swap will use the difference between the token ledger token amount and post token amount
 | 
| destinationTokenAccountstringPublic key of a token account that will be used to receive the token out of the swapIf not provided, the signer's ATA will be usedIf provided, we assume that the token account is already initialized
 | 
| dynamicComputeUnitLimitbooleanDefault: false When enabled, it will do a swap simulation to get the compute unit used and set it in ComputeBudget's compute unit limitThis will increase latency slightly since there will be one extra RPC call to simulate thisThis can be useful to estimate compute unit correctly and reduce priority fees needed or have higher chance to be included in a block
 | 
| skipUserAccountsRpcCallsbooleanDefault: false When enabled, it will not do any additional RPC calls to check on user's accountsEnable it only when you already setup all the accounts needed for the trasaction, like wrapping or unwrapping sol, or destination account is already created
 | 
| dynamicSlippagebooleanDefault: false When enabled, it will use a set of categories and math to calculate a dynamic slippage threshold to useSee dynamic slippage notes
 | 
| computeUnitPriceMicroLamportsintegerTo specify a compute unit price to calculate priority feecomputeUnitLimit (1400000) * computeUnitPriceMicroLamportsIf autois used, Jupiter will automatically set a priority fee and it will be capped at 5,000,000 lamports / 0.005 SOLWe recommend using prioritizationFeeLamportsanddynamicComputeUnitLimitinstead of passing in a compute unit price
 | 
| quoteResponseobject —  REQUIRED| inputMintstring —  REQUIRED |  | inAmountstring —  REQUIRED |  | outputMintstring —  REQUIRED |  | outAmountstring —  REQUIREDCalculated output amount from routing algorithmExlcuding network fees, slippage or platform fees
 |  | otherAmountThresholdstring —  REQUIREDCalculated minimum output amount after accounting for slippageBpsandplatformFeeBpsNot used by build transaction
 |  | swapModestring —  REQUIREDPossible values: [ExactIn,ExactOut] |  | slippageBpsint32 —  REQUIRED |  | platformFeeobject| amountstring |  | feeBpsint32 | 
 |  | priceImpactPctstring —  REQUIRED |  | routePlanobject[] —  REQUIRED| swapInfoobject —  REQUIRED| ammKeystring —  REQUIRED |  | labelstring |  | inputMintstring —  REQUIRED |  | outputMintstring —  REQUIRED |  | inAmountstring —  REQUIRED |  | outAmountstring —  REQUIRED |  | feeAmountstring —  REQUIRED |  | feeMintstring —  REQUIRED | 
 |  | percentint32 —  REQUIRED | 
 |  | contextSlotnumber |  | timeTakennumberTime taken to determine quote | 
 |