Skip to main content

Class: AliasAddress

An Alias address.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AliasAddress(address)

Parameters

NameTypeDescription
addressstringAn Alias address as Alias ID.

Overrides

Address.constructor

Properties

type

Readonly type: AddressType

Inherited from

Address.type


aliasId

Readonly aliasId: 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


getAliasId

getAliasId(): string

Get the alias ID.

Returns

string


toString

toString(): string

Returns

string

Overrides

Address.toString