AptosMultiKeyAccount class
- Inheritance
-
- Object
- AptosAccount<
AptosMultiKeyAccountPublicKey, AptosAccountAuthenticatorMultiKey, AptosMultiKeySignature> - AptosMultiKeyAccount
Constructors
-
AptosMultiKeyAccount.new({required List<
AptosBasePrivateKey< privateKeys, required AptosMultiKeyAccountPublicKey publicKey})AptosCryptoPublicKey< >IPublicKey> , AptosAnySignature>
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< ? signers, bool forAuth = false}) → AptosMultiKeySignatureAptosCryptoPublicKey< >IPublicKey> , AptosAnySignature> -
Sign the digest using the appropriate private keys, considering the threshold and bitmap.
signers
can be provided to select specific private keys. IfforAuth
is true, the function will break early when the required number of signatures for authentication is reached.override -
signWithAuth(
List< int> digest, {List<AptosBasePrivateKey< ? signers}) → AptosAccountAuthenticatorMultiKeyAptosCryptoPublicKey< >IPublicKey> , AptosAnySignature> -
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