createSolanaTransaction

1function createSolanaTransaction(
2 instructions,
3 connection,
4 address,
5): Promise<VersionedTransaction>;

Defined in: account-kit/signer/src/utils/solana.ts:82

Creates a regular (non-sponsored) Solana transaction from instructions

Parameters

ParameterTypeDescription

instructions

TransactionInstruction[]

The instructions to create transaction from

connection

Connection

The connection to use

address

string

The payer address

Returns

Promise<VersionedTransaction>

  • The transaction