web3-utilsFunctionsbytesToHexbytesToHex CallablebytesToHex(bytes: Bytes): stringConvert a byte array to a hex string@exampleconsole.log(web3.utils.bytesToHex(new Uint8Array([72, 12])));> "0x480c"Parametersbytes: BytesByte array to be convertedReturns stringThe hex string representation of the input byte array
Convert a byte array to a hex string