Class AccountAbstract

Interface for a generic Aptos account.

The interface is defined as abstract class to provide a single entrypoint for account generation, either through Account.generate() or Account.fromDerivationPath. Despite this being an abstract class, it should be treated as an interface and enforced using the implements keyword.

Note: Generating an account instance does not create the account on-chain.

Implemented by

Constructors

Properties

accountAddress: AccountAddress

Account address associated with the account

privateKey: PrivateKey

Private key associated with the account. Note: this will be removed in the next major release, as not all accounts have a private key.

publicKey: AccountPublicKey

Public key associated with the account

signingScheme: SigningScheme

Signing scheme used to sign transactions

Methods

Generated using TypeDoc