@openpit/engine
    Preparing search index...

    Class AccountId

    Stable account identifier (64-bit).

    Index
    value: bigint

    Returns the raw 64-bit value as a JS bigint.

    • Returns void

    • Returns a fresh AccountId holding the same value.

      Ordinary setters already borrow/clone wrapper inputs; this method is a convenience for callers that explicitly need another wrapper object.

      Returns AccountId

    • Returns true when both ids refer to the same account.

      Parameters

      Returns boolean

    • Returns void

    • Returns the decimal string form of the 64-bit value.

      Returns string

    • Builds an account id from an exact 64-bit integer (bigint).

      Parameters

      • value: bigint

      Returns AccountId

    • Builds an account id by FNV-1a-64 hashing a non-empty string.

      Errors

      Throws AccountIdError when value is empty or whitespace-only.

      Parameters

      • value: string

      Returns AccountId