Skip to content

Address⚓︎

Address
Represents a fixed size byte array.

Extends⚓︎

Constructors⚓︎

new Address()⚓︎

new Address(address?): Address

Parameters⚓︎

Parameter Type
address? Uint8Array<ArrayBuffer>

Returns⚓︎

Address

Overrides⚓︎

ByteArray.constructor

Properties⚓︎

Property Modifier Type Description Inherited from
bytes public Uint8Array Underlying bytes. ByteArray.bytes
NAME static string Byte array name (required because constructor.name is dropped during minification). ByteArray.NAME
SIZE static number - -

Accessors⚓︎

size⚓︎

Get Signature⚓︎

get size(): number
Returns⚓︎

number

Methods⚓︎

serialize()⚓︎

serialize(): Uint8Array<ArrayBufferLike>

Returns⚓︎

Uint8Array<ArrayBufferLike>


toJson()⚓︎

toJson(): string

Address.serialize
Returns representation of this object that can be stored in JSON.

Returns⚓︎

string

JSON-safe representation of this object.

Inherited from⚓︎

ByteArray.toJson


toString()⚓︎

toString(): string

Address.toString
Returns string representation of this object.

Returns⚓︎

string

String representation of this object

Inherited from⚓︎

ByteArray.toString


deserialize()⚓︎

static deserialize(payload): Address

Parameters⚓︎

Parameter Type
payload any

Returns⚓︎

Address