account
Creates an SDK-owned local account. Its private key is cleared automatically when this client closes, including when used inside aptos.
Creates an SDK-owned account from a validated AIP-80 private key.
Creates an SDK-owned account from a canonical algorithm-prefixed AIP-80 string.
fun account(signingScheme: SigningSchemeInput = SigningSchemeInput.Ed25519, address: AccountAddressInput? = null): Account
Generates an SDK-owned local account. Ed25519 is the conventional Aptos default.