Kaspa [Address] struct that serializes to and from an address format string: kaspa:qz0s...t8cv.

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • address: string

    Returns Address

Properties

payload: string
prefix: string
version: string

Accessors

  • set setPrefix(value): void
  • Parameters

    • value: string

    Returns void

Methods

  • Returns void

  • Parameters

    • n: number

    Returns string

    • Return copy of self without private attributes.

    Returns Object

  • Return stringified version of self.

    Returns string

  • Convert an address to a string.

    Returns string

  • Parameters

    • address: string

    Returns boolean

Generated using TypeDoc