Function: toHex()
toHex(
value):string
Defined in: src/utils/num.ts:68
Convert BigNumberish to hex-string
Parameters
value
value to convert
Returns
string
converted number in hex-string format
Example
toHex(100); // '0x64'
toHex('200'); // '0xc8'
toHex('0x00023AB'); // '0x23ab'