Skip to main content

Interface: IAddress

Interface defining address.

Implemented by

Table of contents

Methods

Methods

toAddress

toAddress(): Uint8Array

Convert the public key to an address.

Returns

Uint8Array

The address.


verify

verify(publicKey, address): boolean

Use the public key to validate the address.

Parameters

NameTypeDescription
publicKeyUint8Array-
addressUint8ArrayThe address to verify.

Returns

boolean

True if the data and address is verified.