jupiter_swap
Build an unsigned Solana swap transaction from a quote response. Sign and send the returned transaction to execute the swap.
Instructions
Build an unsigned swap transaction from a quote response. Sign and send the returned transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feeAccount | No | Solana wallet public key (base58) | |
| quoteResponse | Yes | The full quoteResponse object from getQuote | |
| userPublicKey | Yes | Solana wallet public key (base58) | |
| useTokenLedger | No | ||
| dynamicSlippage | No | ||
| wrapAndUnwrapSol | No | Auto wrap/unwrap SOL (default true) | |
| useSharedAccounts | No | ||
| asLegacyTransaction | No | ||
| destinationTokenAccount | No | Solana wallet public key (base58) | |
| dynamicComputeUnitLimit | No | ||
| skipUserAccountsRpcCalls | No | ||
| computeUnitPriceMicroLamports | No | Priority fee in µ-lamports/CU |