Class XOnlyPublicKey

Data structure that envelopes a XOnlyPublicKey.

XOnlyPublicKey is used as a payload part of the Address.

Constructors

Methods

  • Returns void

  • Get the [Address] of this XOnlyPublicKey. Receives a [NetworkType] to determine the prefix of the address. JavaScript: let address = xOnlyPublicKey.toAddress(NetworkType.MAINNET);.

    Parameters

    Returns Address

  • Get ECDSA [Address] of this XOnlyPublicKey. Receives a [NetworkType] to determine the prefix of the address. JavaScript: let address = xOnlyPublicKey.toAddress(NetworkType.MAINNET);.

    Parameters

    Returns Address

  • Returns string

Generated using TypeDoc