Function publicKeyToAddress

  • Retrieves an 'Address' object from the given public key.

    Returns

    the fetched address as an 'Address' object.

    Throws

    • if the public key is invalid

    Parameters

    • pubKey: string

      Base58check encoded public key of the address

    Returns Address

Generated using TypeDoc