TransactionInstruction class

Transaction Instruction

Constructors

TransactionInstruction.new({required List<AccountMeta> keys, required Pubkey programId, required Uint8List data})
A TransactionInstruction object.

Properties

data Uint8List
Program input
final
hashCode int
The hash code for this object.
no setterinherited
keys List<AccountMeta>
Public keys to include in this transaction.
final
programId Pubkey
/ Program Id to execute
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMessageInstruction(List<Pubkey> keys) → MessageInstruction
Converts this TransactionInstruction into an MessageInstruction. The keys are an ordered list of all public keys referenced by this transaction.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited