Class CLValueUInt64

Represents a 64-bit unsigned integer value in the Casper type system.

Hierarchy

  • CLValueNumeric
    • CLValueUInt64

Constructors

Properties

Methods

Constructors

Properties

value: BigNumber

Methods

  • Converts the UInt64 value to its byte representation in little-endian format.

    Returns

    A Uint8Array representing the bytes of the UInt64 value.

    Returns Uint8Array

  • Retrieves the numeric value.

    Returns

    The numeric representation of the value.

    Returns BigNumber

  • Converts the instance to a JSON-compatible string.

    Returns

    The string representation of the instance.

    Returns string

  • Converts the numeric value to a JavaScript number.

    Returns

    The numeric value as a JavaScript number.

    Returns number

  • Provides a string representation of the numeric value.

    Returns

    The string representation of the value.

    Returns string

  • Creates a CLValueUInt64 instance from a Uint8Array. Parses the byte array to retrieve the UInt64 value.

    Returns

    An object containing the new CLValueUInt64 instance and any remaining bytes.

    Throws

    Error if the source array is smaller than the required size for a UInt64.

    Parameters

    • source: Uint8Array

      The Uint8Array containing the byte representation of the UInt64 value.

    Returns IResultWithBytes<CLValueUInt64>

Generated using TypeDoc