Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-utils / fromHex
Function: fromHex()
fromHex(
str
):Buffer
Converts a hex string into a byte string.
Parameters
str
string
The hex string to decode.
Returns
Buffer