Skip to content

hexToPublicKey

hexToPublicKey(hex): Uint8Array

Defined in: src/Utils.ts:153

Convert a hex public key to Uint8Array for contract calls.

Parameters

hex

string

64-character hex string (32 bytes)

Returns

Uint8Array

Uint8Array of 32 bytes

Since

0.2.0