AptosAccount<PUBLICKEY extends AptosAccountPublicKey, AUTHENTICATOR extends AptosAccountAuthenticator, SIGNATURE extends AptosSignature> class abstract

Abstract class representing an Aptos account with public key, authenticator, and signature.

Implementers

Constructors

AptosAccount.new({required AptosSigningScheme scheme, required PUBLICKEY publicKey})
Constructor to initialize the Aptos account with a scheme and public key.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
publicKey → PUBLICKEY
The public key associated with this account.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme AptosSigningScheme
The signing scheme used for this account.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(List<int> digest) → SIGNATURE
Sign the given digest.
signWithAuth(List<int> digest) → AUTHENTICATOR
Sign and account's authenticator.
toAddress() AptosAddress
Get the address corresponding to the public key of this account.
toString() String
A string representation of this object.
inherited

Operators

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