The main instructions to include in the transactions.
The fee payer for the transactions.
Configuration for if and how the Compute budget instructions will be added to the transactions.
Optional list of lookup tables to try to build transactions with.
Optional
beforeIxs: InstructionReturn[]Optional instructions to include at the beginning of each transaction.
Optional
afterIxs: InstructionReturn[]Optional instructions to include at the end of each transaction.
The maximum number of instructions to include in each transaction.
A promise that resolves to a result object containing either the built transactions or an error message.
Builds compute-optimized dynamic transactions from a set of instructions, fee payer, connection, lookup tables, and optional before/after instructions. This should only be run with instructions that can be executed in parallel. If the instructions are dependent on each other, subsequent simulations will fail and the compute limit numbers will be incorrect.s
Generated using TypeDoc
The connection to use for getting the rbh and passed in to the priority config functions