@midnight-ntwrk/midnight-js-utils v0.2.5 • API
Midnight.js API Reference v0.2.5 / @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