AnchorInstruction class
- Inheritance
-
- Object
- Instruction
- AnchorInstruction
Constructors
-
AnchorInstruction.withDiscriminator({required Ed25519HDPublicKey programId, required ByteArray discriminator, required List<
AccountMeta> accounts, ByteArray arguments = const ByteArray.empty()}) -
factory
Properties
-
accounts
→ List<
AccountMeta> -
finalinherited
- data → ByteArray
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- programId → Ed25519HDPublicKey
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compile(
Map< Ed25519HDPublicKey, int> accountIndexesMap) → CompiledInstruction -
Compiles instruction according to the instruction format.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited
Static Methods
-
forMethod(
{required Ed25519HDPublicKey programId, required String method, required String namespace, required List< AccountMeta> accounts, ByteArray arguments = const ByteArray.empty()}) → Future<AnchorInstruction>