Skip to main content

Ed25519PublicKeyInterface

interface Ed25519PublicKeyInterface

An ed25519 public key.

BCS

The BCS serialized form for this type is defined by the following ABNF:

ed25519-public-key = 32OCTET

Inheritors

Ed25519PublicKey

Functions

NameSummary
deriveAddressabstract fun deriveAddress(): Address
Derive an Address from this Public Key
schemeabstract fun scheme(): SignatureScheme
Returns the signature scheme for this public key.
toBytesabstract fun toBytes(): ByteArray
toFlaggedBytesabstract fun toFlaggedBytes(): ByteArray
Returns the bytes with signature scheme flag prepended.