TransformInstruction

1type TransformInstruction = (
2 this,
3 instructions,
4) => PromiseOrValue<Transaction | VersionedTransaction>;

Defined in: account-kit/react/dist/types/hooks/useSolanaTransaction.d.ts:11

Used in the sendTransaction, will transform either the instructions (or the transfer -> instructions) into a transaction

Parameters

ParameterType

this

void

instructions

TransactionInstruction[]

Returns

PromiseOrValue<Transaction | VersionedTransaction>