Input for createSmartTransaction. The SDK automatically simulates
compute units and fetches priority fees before signing.
On "legacy" and 0 the compute-unit limit and price are prepended as
ComputeBudgetProgram instructions. On version 1 they are written to the
transaction's header config instead — no compute-budget instructions are
emitted, since SIMD-0385 makes them no-ops that still cost bytes and CUs.
Input for
createSmartTransaction. The SDK automatically simulates compute units and fetches priority fees before signing.On
"legacy"and0the compute-unit limit and price are prepended asComputeBudgetPrograminstructions. On version1they are written to the transaction's header config instead — no compute-budget instructions are emitted, since SIMD-0385 makes them no-ops that still cost bytes and CUs.