Class: Solana::Ruby::Kit::Instructions::Instruction

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/solana/ruby/kit/instructions/instruction.rb

Overview

A single instruction to be executed by a Solana program. Mirrors TypeScript’s ‘Instruction<TProgramAddress, TAccounts, TData>`.

All fields are optional — instructions may omit accounts or data.