AccountMeta class
Class that wraps addresses with information necessary for solana transactions to be encoded correctly.
- Implemented types
- Annotations
-
- @immutable
Constructors
- AccountMeta({required Ed25519HDPublicKey pubKey, required bool isWriteable, required bool isSigner})
-
const
- AccountMeta.readonly({required Ed25519HDPublicKey pubKey, required bool isSigner})
-
Constructs a readonly account that is not signer has
pubKey
public key. To make it a signing account setisSigner
to true.factory - AccountMeta.writeable({required Ed25519HDPublicKey pubKey, required bool isSigner})
-
Constructs a writeable account that is not signer with
pubKey
public key. To make it a signing account setisSigner
to true.factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isSigner → bool
-
final
- isWriteable → bool
-
final
- pubKey → Ed25519HDPublicKey
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
AccountMeta other) → int -
Compare accounts according to the following rules.
override
-
mergeWith(
AccountMeta other) → AccountMeta -
Merges
this
withother
by applying the following rules: -
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 ==(
Object other) → bool -
The equality operator.
override