MemoProgram class
Represents an instruction for the Memo program.
- Inheritance
-
- Object
- TransactionInstruction
- MemoProgram
Constructors
-
MemoProgram({required MemoLayout layout, List<
SolAddress> pubKeys = const []}) -
Constructs a MemoProgram instruction.
factory
-
MemoProgram.fromBytes({required List<
AccountMeta> keys, required List<int> instructionBytes, SolAddress programId = MemoProgramConst.programId}) -
factory
Properties
-
data
→ List<
int> -
Program input.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
AccountMeta> -
Public keys to include in this transaction
Boolean represents whether this pubkey needs to sign the transaction
finalinherited
- layout → ProgramLayout
-
Program layout.
finalinherited
- programId → SolAddress
-
Program Id to execute.
finalinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited