Interface: Ed25519PublicKeyLike
An ed25519 public key.
BCS
The BCS serialized form for this type is defined by the following ABNF:
ed25519-public-key = 32OCTET
Methods
deriveAddress()
deriveAddress(): AddressLike;
Derive an Address from this Public Key
An Address can be derived from an Ed25519PublicKey by hashing the
bytes of the public key with no prefix flag.
hash(32-byte ed25519 public key)
Returns
scheme()
scheme(): SignatureScheme;
Returns the signature scheme for this public key.
Returns
toBytes()
toBytes(): ArrayBuffer;
Returns
ArrayBuffer
toFlaggedBytes()
toFlaggedBytes(): ArrayBuffer;
Returns the bytes with signature scheme flag prepended.
Returns
ArrayBuffer