Function: removeHexPrefix()
removeHexPrefix(
hex):string
Defined in: src/utils/encode.ts:130
Remove hex prefix '0x' from hex-string
Parameters
hex
string
hex-string
Returns
string
The hex-string
Example
const hexStringWithPrefix = '0x48656c6c6f';
const result = encode.removeHexPrefix(hexStringWithPrefix);
// result: "48656c6c6f"