Skip to main content

Class: Ed25519Address

An Ed25519 Address.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Ed25519Address(address)

Parameters

NameTypeDescription
addressstringAn Ed25519 address as hex-encoded string.

Overrides

Address.constructor

Properties

type

Readonly type: AddressType

Inherited from

Address.type


pubKeyHash

Readonly pubKeyHash: string

Methods

getType

getType(): AddressType

Get the type of address.

Returns

AddressType

Inherited from

Address.getType


parse

Static parse(data): Address

Parse an address from a JSON string.

Parameters

NameType
dataany

Returns

Address

Inherited from

Address.parse


getPubKeyHash

getPubKeyHash(): string

Get the public key hash.

Returns

string


toString

toString(): string

Returns

string

Overrides

Address.toString