AccountAddress

constructor(hex: String)

This constructor is used to create an account address from a hex string.

It is made to be as sensitive as possible to invalid hex characters. There are instances where a character less is considered valid, but we are not allowing that here. It must fail at both the char level and the byte level.

Parameters

hex

The hex string to create the account address from.


constructor(data: ByteArray)

Creates an account address from a hex string.