Alchemy Logo

TransformInstruction

type TransformInstruction = (
  this,
  instructions,
) => 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

ParameterType

this

void

instructions

TransactionInstruction[]

PromiseOrValue<Transaction | VersionedTransaction>

Was this page helpful?