Function fromH160

  • Converts a H160 (160-bit high-low structure) to a bigint. This is commonly used for Ethereum address conversions.

    Parameters

    • value: H160

      The H160 value to convert.

    Returns bigint

    The converted bigint value.

    Throws

    Error if the high part (hi) of the H160 value is undefined.

Generated using TypeDoc