Address

Address

Represents a NEM address.

Constructor

new Address(addressInput)

Description:
  • Creates a NEM address.

Source:
Parameters:
Name Type Description
addressInput Uint8Array | string | Address

Input string, byte array or address.

Classes

Address
Address

Members

ENCODED_SIZE :number

Description:
  • Length of encoded address string.

Source:

Length of encoded address string.

Type:
  • number

ENCODED_SIZE :number

Description:
  • Length of encoded address string.

Source:

Length of encoded address string.

Type:
  • number

NAME :string

Description:
  • Byte array name (required because constructor.name is dropped during minification).

Source:

Byte array name (required because constructor.name is dropped during minification).

Type:
  • string

NAME :string

Description:
  • Byte array name (required because constructor.name is dropped during minification).

Source:

Byte array name (required because constructor.name is dropped during minification).

Type:
  • string

SIZE :number

Description:
  • Byte size of raw address.

Source:

Byte size of raw address.

Type:
  • number

SIZE :number

Description:
  • Byte size of raw address.

Source:

Byte size of raw address.

Type:
  • number

Methods

toString() → {string}

Description:
  • Returns string representation of this object.

Source:
Returns:

String representation of this object.

Type
string

toString() → {string}

Description:
  • Returns string representation of this object.

Source:
Returns:

String representation of this object

Type
string

Address Address

Represents a Symbol address.

Constructor

new Address(addressInput)

Description:
  • Creates a Symbol address.

Source:
Parameters:
Name Type Description
addressInput Uint8Array | string | Address

Input string, byte array or address.

Classes

Address
Address

Members

ENCODED_SIZE :number

Description:
  • Length of encoded address string.

Source:

Length of encoded address string.

Type:
  • number

ENCODED_SIZE :number

Description:
  • Length of encoded address string.

Source:

Length of encoded address string.

Type:
  • number

NAME :string

Description:
  • Byte array name (required because constructor.name is dropped during minification).

Source:

Byte array name (required because constructor.name is dropped during minification).

Type:
  • string

NAME :string

Description:
  • Byte array name (required because constructor.name is dropped during minification).

Source:

Byte array name (required because constructor.name is dropped during minification).

Type:
  • string

SIZE :number

Description:
  • Byte size of raw address.

Source:

Byte size of raw address.

Type:
  • number

SIZE :number

Description:
  • Byte size of raw address.

Source:

Byte size of raw address.

Type:
  • number

Methods

toString() → {string}

Description:
  • Returns string representation of this object.

Source:
Returns:

String representation of this object.

Type
string

toString() → {string}

Description:
  • Returns string representation of this object.

Source:
Returns:

String representation of this object

Type
string