Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-utils / toHex
Function: toHex()
toHex(
bytes
):string
Converts a byte string into a hex string.
Parameters
bytes
Uint8Array
The byte string to encode.
Returns
string