web3-utilsFunctionsaddHexPrefixaddHexPrefix CallableaddHexPrefix(str: string): stringAdds “0x” to a given String if it does not already start with “0x”.Parametersstr: stringReturns string
Adds “0x” to a given
String
if it does not already start with “0x”.