Function fromH256

  • Converts a H256 (256-bit high-low structure) to a bigint. This is useful for handling larger numeric values in blockchain contexts.

    Parameters

    • value: H256

      The H256 value to convert.

    Returns bigint

    The converted bigint value.

    Throws

    Error if the low (lo) or high (hi) part of the H256 value is undefined.

Generated using TypeDoc