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
Name | Type | Description |
---|---|---|
publicKey | Uint8Array | - |
address | Uint8Array | The address to verify. |
Returns
boolean
True if the data and address is verified.