web3-utilsFunctionsutf8ToHexutf8ToHex Callableutf8ToHex(str: string): stringShould be called to get hex representation (prefixed by 0x) of utf8 stringParametersstr: stringReturns string
Should be called to get hex representation (prefixed by 0x) of utf8 string