prepareBaseInstructions()
prepareBaseInstructions()
function prepareBaseInstructions(connection, __namedParameters): TransactionInstruction[];Defined in: utils.ts:573
Create Base instructions for Solana
- sets compute price if
computePriceis provided. IfcomputePriceis a function, it will be ignored (the value must be resolved before calling this function). - sets compute limit if
computeLimitis provided. IfcomputeLimitis a function, it will be ignored (the value must be resolved before calling this function).
Parameters
| Parameter | Type |
|---|---|
connection | Connection |
__namedParameters | ITransactionExt |
Returns
TransactionInstruction[]