Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Id

This class is used to define mosaicIds and namespaceIds

Hierarchy

Index

Constructors

constructor

  • new Id(uintArray: number[]): Id

Properties

higher

higher: number

uint64 higher part

lower

lower: number

uint64 lower part

Methods

add

compact

  • compact(): number

compare

  • compare(other: UInt64): number

equals

  • equals(other: UInt64): boolean

Private pad

  • pad(str: any, maxVal: any): string
  • Parameters

    • str: any
    • maxVal: any

    Returns string

subtract

toHex

  • toHex(): string

toString

  • toString(): string

Static fromHex

  • fromHex(hexId: string): Id

Static fromNumericString

  • fromNumericString(input: string): UInt64

Static fromUint

  • fromUint(value: number): UInt64

Static isLongNumericString

  • isLongNumericString(input: string): boolean

Generated using TypeDoc