createSolanaTransaction

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

Import

1import { createSolanaTransaction } from "@account-kit/signer";

Parameters

instructions

TransactionInstruction[]

  • The instructions to create transaction from

connection

Connection

  • The connection to use

address

string

  • The payer address

Returns

Promise<VersionedTransaction>

  • The transaction