The response from the quote endpoint
Base58-encoded address of the swapper's wallet
Compute unit price in micro-lamports. Mutually exclusive with prioritizationFeeLamports.
x >= 0If the fee account isn't a referral token account derived from the seeds
["referral_ata", referral_account, mint] and the Referral program ID
REFER4ZgmyYx9c6He5XfaTMiGfdLwRnkV4RPp9t9iF3, this should be unspecified. If specified, the
transaction will create the fee_account if it doesn't already exist. The user pays for the
creation of the fee account. Ignored if fee_account is unspecified.
The account that will receive the output token. If not specified, the user's associated token account for the output mint will be used. Allowed values are:
associatedTokenAccount - object
owner - base58-encoded address of the owner of the destination token accountIf true, the server will simulate the transaction to determine its compute unit limit. If unspecified or false, the transaction will use the default compute unit limit.
Base58-encoded address of the token account that will receive the platform fee if a platform fee applies to the swap. If specified, this account's mint must match the fee mint for the swap.
If true, the transaction will include a Jito sandwich mitigation account. The account will
be included in the SetComputeUnitLimit instruction.
See https://docs.jito.wtf/lowlatencytxnsend/#sandwich-mitigation for more details.
Positive slippage fee parameters. If specified, then the swap will pay some or all positive slippage to the specified account.
Prioritization fee in lamports. Mutually exclusive with computeUnitPriceMicroLamports.
If both computeUnitPriceMicroLamports and prioritizationFeeLamports are unspecified, the
default of prioritizationFeeLamports="auto" will be used.
Allowed values are:
priorityLevelWithMaxLamports - object
priorityLevel - string, either medium, high, or veryHighmaxLamports - integer, a cap on the prioritization feeautoMultiplier - a u32 which specifies how much to multiply the automatically
determined fee by. The total prioritization fee will be capped at 0.005 SOL.Base58-encoded address of the sponsor's wallet. If specified, the sponsor will pay the transaction fee and for token account creation, and both the user and the sponsor must sign the swap transaction. This can be used to implement gasless swaps.
If false, the transaction will use wrapped SOL
Imperative swap transaction
The lookup table addresses
A blockhash that can be used to construct the transaction
Instructions that should be included after the swap instruction
Instructions that determine the compute budget and prioritization fee for the transaction
Compute unit limit assigned to the transaction
x >= 0Other instructions that should be included in the transaction. The indices of these instructions in the transaction are not important.
Prioritization fee in lamports
x >= 0Instructions that should be included before the swap instruction
The instruction that performs the swap
Prioritization fee type for the transaction