• Removes the '0x' prefix from a given hex string.

    Parameters

    • hex: string

      The hex string to strip.

    Returns string

    The stripped hex string.

    Throws

    An error if the input is not a valid hex string.

Generated using TypeDoc