Interface SwapInstructionsResponse

SwapInstructionsResponse

interface SwapInstructionsResponse {
    addressLookupTableAddresses: string[];
    cleanupInstruction?: Instruction;
    computeBudgetInstructions: Instruction[];
    setupInstructions: Instruction[];
    swapInstruction: Instruction;
    tokenLedgerInstruction?: Instruction;
}

Properties

addressLookupTableAddresses: string[]

The lookup table addresses that you can use if you are using versioned transaction.

SwapInstructionsResponse

cleanupInstruction?: Instruction

SwapInstructionsResponse

computeBudgetInstructions: Instruction[]

The necessary instructions to setup the compute budget.

SwapInstructionsResponse

setupInstructions: Instruction[]

Setup missing ATA for the users.

SwapInstructionsResponse

swapInstruction: Instruction

SwapInstructionsResponse

tokenLedgerInstruction?: Instruction

SwapInstructionsResponse