Class: AliasAddress
An Alias address.
Hierarchy
↳
AliasAddress
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AliasAddress(address)
Parameters
| Name | Type | Description |
|---|---|---|
address | string | An Alias address as Alias ID. |
Overrides
Properties
type
• Readonly type: AddressType
Inherited from
aliasId
• Readonly aliasId: string
Methods
getType
▸ getType(): AddressType
Get the type of address.
Returns
Inherited from
parse
▸ Static parse(data): Address
Parse an address from a JSON string.
Parameters
| Name | Type |
|---|---|
data | any |
Returns
Inherited from
getAliasId
▸ getAliasId(): string
Get the alias ID.
Returns
string
toString
▸ toString(): string
Returns
string