Function getHDKeyFromXpub

  • Retrieves an HD key from a given extended public key (xpub).

    Parameters

    • publicExtendedKey: string

      The extended public key (xpub).

    • network: NetworkEnum

      The network type.

    Returns HDKey

    The HD key derived from the xpub.