Class: Ed25519Address
An Ed25519 Address.
Hierarchy
↳
Ed25519Address
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Ed25519Address(address
)
Parameters
Name | Type | Description |
---|---|---|
address | string | An Ed25519 address as hex-encoded string. |
Overrides
Properties
type
• Readonly
type: AddressType
Inherited from
pubKeyHash
• Readonly
pubKeyHash: 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
getPubKeyHash
▸ getPubKeyHash(): string
Get the public key hash.
Returns
string
toString
▸ toString(): string
Returns
string