• Constructs a key expression string from its constituent components.

    This function essentially performs the reverse operation of ParseKeyExpression. For detailed explanations and examples of the terms used here, refer to ParseKeyExpression.

    Parameters

    • __namedParameters: {
          masterNode: BIP32Interface;
          originPath: string;
          change?: number;
          index?: number | "*";
          keyPath?: string;
          isPublic?: boolean;
      }
      • masterNode: BIP32Interface
      • originPath: string
      • Optional change?: number
      • Optional index?: number | "*"
      • Optional keyPath?: string
      • Optional isPublic?: boolean

        Compute an xpub or xprv

        Default

        true
        

    Returns string