AccountMeta class
Class representing metadata for an account, including its public key, signer status, and writability.
Constructors
- AccountMeta({required SolAddress publicKey, required bool isSigner, required bool isWritable})
-
Constructor to create an AccountMeta instance.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSigner → bool
-
True if an instruction requires a transaction signature matching publicKey.
final
- isWritable → bool
-
True if the publicKey can be loaded as a read-write account..
final
- publicKey → SolAddress
-
Public key of the account.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{SolAddress? publicKey, bool? isSigner, bool? isWritable}) → AccountMeta - Method to create a copy of AccountMeta with optional parameters overridden.
-
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.
inherited