AptosMultiKeyAccount class

Inheritance

Constructors

AptosMultiKeyAccount.new({required List<AptosBasePrivateKey<AptosCryptoPublicKey<IPublicKey>, AptosAnySignature>> privateKeys, required AptosMultiKeyAccountPublicKey publicKey})

Properties

hashCode int
The hash code for this object.
no setterinherited
privateKeys List<AptosBasePrivateKey<AptosCryptoPublicKey<IPublicKey>, AptosAnySignature>>
final
publicKey AptosMultiKeyAccountPublicKey
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<AptosBasePrivateKey<AptosCryptoPublicKey<IPublicKey>, AptosAnySignature>>? signers, bool forAuth = false}) AptosMultiKeySignature
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<AptosBasePrivateKey<AptosCryptoPublicKey<IPublicKey>, AptosAnySignature>>? signers}) AptosAccountAuthenticatorMultiKey
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