❗️ Note:This function does not convert POX addresses to Hex. If you wish to specifically convert POX addresses to HEX, please use polluxWeb.address.toHex instead.
Usage
Parameters String | Number | Object | Array | BigNumber-The value to be converted to HEX. If it is an object or array type, it will first be converted to a string using JSON.stringify. If BigNumber is passed in, you will get the HEX of the corresponding Number.Returns stringExample