Caravan Documentation
    Preparing search index...

    Function getMaskedKeyOrigin

    • Derive a masked key origin from an xpub. Useful for generating descriptors and wallet configurations for keys that don't need to have their key origin info revealed. Bip32 path will use all 0s for the depth of the given xpub and the root fingerprint will be set to the parent fingerprint of the xpub

      Parameters

      • xpub: string

        {string} - xpub to mask

      Returns KeyOrigin

      masked key origin