jupiter_swapInstructions
Obtain separate swap instructions from a quote to compose with other Solana instructions, enabling custom transaction assembly.
Instructions
Get individual swap instructions instead of a full transaction. Useful for composing with other instructions.
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 | ||
| wrapAndUnwrapSol | No | ||
| useSharedAccounts | No | ||
| asLegacyTransaction | No | ||
| destinationTokenAccount | No | Solana wallet public key (base58) | |
| dynamicComputeUnitLimit | No | ||
| computeUnitPriceMicroLamports | No |