The type of the key algorithm used for this account.
OptionalrequiredKeyType: TStaticAccountStaticExternalStaticisStaticSetDetermine if this account has a private key associated with it
Get the type of key for this account (SECP256K1 / R1 or ED25519)
Get the public key for this account
Get the encoded public key string
Determine the size of signatures (in bytes) or null if the key type cannot produce signatures
Internal helper method to copy accounts
Internal helper method to copy accounts
Determine if an account is an identifier
Sign some data and generate a detached signature in SEC format
Optionaloptions: signOptionsTypeVerify a detached signature against some data
Optionaloptions: signOptionsTypeStaticcompareStaticfromConstruct a new account from a public key encoded in DER-encoded ASN.1
StaticfromConstruct an account from an ECDSA private key for SECP256K1.
StaticfromConstruct an account from an ECDSA public key for SECP256K1.
StaticfromConstruct an account from an ECDSA private key for SECP256R1.
StaticfromConstruct an account from an ECDSA public key for SECP256R1.
StaticfromStaticfromProtected StaticfromStaticfromStaticfromStaticfromConstruct an Account from an KeyType and Public Key buffer
Construct an Account from an KeyType and Public Key buffer
Construct an Account from an KeyType and Public Key buffer
StaticfromConstruct an account from a public key string. The public key string encodes the type and public key data
Construct an account from a public key string. The public key string encodes the type and public key data
Construct an account from a public key string. The public key string encodes the type and public key data
Construct an account from a public key string. The public key string encodes the type and public key data
Construct an account from a public key string. The public key string encodes the type and public key data
StaticfromConstruct an account from a Seed and Index.
Construct an account from a Seed and Index.
StaticfromStaticfromStaticgenerateStaticgenerateStaticgenerateSecurely generate a new random seed value
Securely generate a new random seed value
Securely generate a new random seed value
Securely generate a new random seed value
Optionaloptions: { asString: boolean }StaticisStaticseedConvert a passphrase into a seed
Convert a passphrase into a seed
Convert a passphrase into a seed
Convert a passphrase into a seed
Optionaloptions: { asString: boolean }StatictoStaticto
Account class, which is used to represent a key pair or an identifier account (which have no private key) such as tokens.