toHex
Midnight.js API Reference v2.0.2
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