A fully encoded Solana transaction instruction.

This is the SDK-native representation. Use toKitInstruction() from the programs module to convert to a @solana/kit IInstruction.

1.1.0

interface TransactionInstruction {
    data: Uint8Array<ArrayBufferLike>;
    keys: AccountMeta[];
    programId: never;
}

Properties

Properties

data: Uint8Array<ArrayBufferLike>

Serialised instruction data (Borsh / custom binary).

keys: AccountMeta[]

Ordered list of account inputs.

programId: never

Program that will process this instruction.