Class: Address
The base class for addresses.
Hierarchy
Address
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Address(type)
Parameters
| Name | Type | Description |
|---|---|---|
type | AddressType | The type of the address. |
Properties
type
• Readonly type: AddressType
Methods
getType
▸ getType(): AddressType
Get the type of address.
Returns
toString
▸ Abstract toString(): string
Returns
string
parse
▸ Static parse(data): Address
Parse an address from a JSON string.
Parameters
| Name | Type |
|---|---|
data | any |