AbstractAbstract ReadonlyaccountAccount address associated with the account
Abstract ReadonlypublicPublic key associated with the account
AbstractsigningSigning scheme used to sign transactions
AbstractsignAbstractsignSign the given transaction using the available signing capabilities.
the transaction to be signed
Signature
AbstractsignSign a transaction using the available signing capabilities.
the raw transaction
the AccountAuthenticator containing the signature of the transaction, together with the account's public key
AbstractsignSign a message using the available signing capabilities.
the signing message, as binary input
the AccountAuthenticator containing the signature, together with the account's public key
Verify the given message and signature with the public key.
StaticauthPublicKey - public key of the account
The authentication key for the associated account
use publicKey.authKey() instead.
This key enables account owners to rotate their private key(s)
associated with the account without changing the address that hosts their account.
See here for more info: https://aptos.dev/concepts/accounts#single-signer-authentication
StaticfromDerives an account with bip44 path and mnemonics
StaticfromCreates an account from the provided private key.
StaticfromStaticgenerateDerives an account from a randomly generated private key.
Optionalargs: GenerateEd25519AccountArgsAn account compatible with the provided signature scheme
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()orAccount.fromDerivationPath. Despite this being an abstract class, it should be treated as an interface and enforced using theimplementskeyword.Note: Generating an account instance does not create the account on-chain.