AptosSingleKeyAccount class
- Inheritance
-
- Object
- AptosAccount<
AptosSingleKeyAccountPublicKey, AptosAccountAuthenticatorSingleKey, AptosAnySignature> - AptosSingleKeyAccount
Constructors
-
AptosSingleKeyAccount.new(AptosBasePrivateKey<
AptosCryptoPublicKey< privateKey)IPublicKey> , AptosAnySignature>
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
privateKey
→ AptosBasePrivateKey<
AptosCryptoPublicKey< IPublicKey> , AptosAnySignature> -
final
- publicKey → AptosSingleKeyAccountPublicKey
-
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) → AptosAnySignature -
Signs the digest with the private key and returns the signature.
override
-
signWithAuth(
List< int> digest) → AptosAccountAuthenticatorSingleKey -
Sign and account's authenticator.
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