Optional
requiredKeyType: TStatic
AccountStatic
ExternalStatic
isStatic
SetStatic
toGet 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
Optional
options: signOptionsTypeVerify a detached signature against some data
Optional
options: signOptionsTypeStatic
compareStatic
fromConstruct a new account from a public key encoded in DER-encoded ASN.1
Static
fromConstruct an account from an ECDSA private key for SECP256K1.
Static
fromConstruct an account from an ECDSA public key for SECP256K1.
Static
fromConstruct an account from an ECDSA private key for SECP256R1.
Static
fromConstruct an account from an ECDSA public key for SECP256R1.
Static
fromStatic
fromProtected
Static
fromStatic
fromStatic
fromConstruct an Account from an KeyType and Public Key buffer
Static
fromConstruct 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
Static
fromConstruct an account from a Seed and Index.
Construct an account from a Seed and Index.
Static
fromStatic
fromStatic
generateStatic
generateStatic
generateSecurely 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
Optional
options: { asString: boolean }Static
isStatic
seedConvert a passphrase into a seed
Convert a passphrase into a seed
Convert a passphrase into a seed
Convert a passphrase into a seed
Optional
options: { asString: boolean }Static
toStatic
toStatic
to
Determine if this account has a private key associated with it