deriveTweakPubkeyFromXpub

Derives a public key from an extended public key (Xpub).

Returns the derived public key for a given BIP-32 non-hardened derivation path and an extended public key.

Return

The derived public key as a hex string

Parameters

xpub

The extended public key (Xpub) of the keypair, base58 encoded

derivationPath

The BIP-32 non-hardened derivation path to use for computing the public key