Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Address

A Value Object to facilitate Address conversions.

Hierarchy

  • Address

Index

Methods

equals

  • equals(address: Address): boolean

getAccountId

  • getAccountId(): string

getPublicKey

  • getPublicKey(): string

getReedSolomonAddress

  • getReedSolomonAddress(): string

getReedSolomonAddressExtended

  • getReedSolomonAddressExtended(): string

Static fromExtendedRSAddress

  • fromExtendedRSAddress(extendedRSAddress: string): Address
  • Creates a Burst Address object from public key

    throws

    Error if the passed address is invalid, i.e. not extended format , or extension aka base36 encoded public key does not match address

    Parameters

    • extendedRSAddress: string

      The Reed-Solomon address in extended format (with base36 suffix)

    Returns Address

Static fromPublicKey

  • fromPublicKey(publicKey: string): Address