AptosMultiEd25519Account class

Aptos account implementation for multi-signature Ed25519 accounts.

Inheritance

Constructors

AptosMultiEd25519Account.new({required List<AptosED25519PrivateKey> privateKeys, required AptosMultiEd25519AccountPublicKey publicKey})
Constructor to initialize the multi-signature Ed25519 account with a list of private keys.

Properties

hashCode int
The hash code for this object.
no setterinherited
privateKeys List<AptosED25519PrivateKey>
List of private keys for signing transactions.
final
publicKey AptosMultiEd25519AccountPublicKey
The public key associated with this account.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme AptosSigningScheme
The signing scheme used for this account.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(List<int> digest, {List<AptosED25519PrivateKey>? signers, bool forAuth = false}) AptosMultiEd25519Signature
Sign the digest using the appropriate private keys, considering the threshold and bitmap. signers can be provided to select specific private keys. If forAuth is true, the function will break early when the required number of signatures for authentication is reached.
override
signWithAuth(List<int> digest, {List<AptosED25519PrivateKey>? signers}) AptosAccountAuthenticatorMultiEd25519
Sign the digest using multiple private keys and create the authenticator. signers can be provided to select specific private keys.
override
toAddress() AptosAddress
Get the address corresponding to the public key of this account.
inherited
toString() String
A string representation of this object.
inherited

Operators

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