Skip to main content

Ed25519PublicKeyInterface

interface Ed25519PublicKeyInterface

An ed25519 public key.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

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.
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toBytesabstract fun toBytes(): ByteArray
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toFlaggedBytesabstract fun toFlaggedBytes(): ByteArray
Returns the bytes with signature scheme flag prepended.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.