• Converts a hexadecimal string to a bigint. The input is interpreted as hexadecimal with or without a '0x' prefix. It uses big-endian byte order.

    Parameters

    • value: string

      The hexadecimal string to convert.

    Returns bigint

    The bigint representation of the hexadecimal string.