def get_blinding_factor(self, hash_prevouts, output_index, bftype, multisig_name=None):
        """
        RPC call to get deterministic blinding factors to blind an output.
        Predicated on the host calculating the 'hash_prevouts' value correctly.
        Can fetch abf, vbf, or both together.

        Parameters
        ----------

        hash_prevouts : 32-bytes
            This value should be computed by the host as specified in bip143.
            It is not verified by Jade, since at this point Jade does not have the tx in question.

        output_index : int
            The index of the output we are trying to blind

        bftype : str
            Can be "ASSET", "VALUE", or "ASSET_AND_VALUE", to generate abf, vbf, or both.

        multisig_name : str, optional
            The name of any registered multisig wallet for which to fetch the blinding factor.
            Defaults to None

        Returns
        -------
        32-bytes or 64-bytes
            The blinding factor for "ASSET" and "VALUE" requests, or both concatenated abf|vbf
            ie. the first 32 bytes being abf, the second 32 bytes being vbf.
        """
        params = {'hash_prevouts': hash_prevouts,
                  'output_index': output_index,
                  'type': bftype,
                  'multisig_name': multisig_name}
        return self._jadeRpc('get_blinding_factor', params)

        RPC call to get deterministic blinding factors to blind an output.
        Predicated on the host calculating the 'hash_prevouts' value correctly.
        Can fetch abf, vbf, or both together.

        Parameters
        ----------

        hash_prevouts : 32-bytes
            This value should be computed by the host as specified in bip143.
            It is not verified by Jade, since at this point Jade does not have the tx in question.

        output_index : int
            The index of the output we are trying to blind

        bftype : str
            Can be "ASSET", "VALUE", or "ASSET_AND_VALUE", to generate abf, vbf, or both.

        multisig_name : str, optional
            The name of any registered multisig wallet for which to fetch the blinding factor.
            Defaults to None

        Returns
        -------
        32-bytes or 64-bytes
            The blinding factor for "ASSET" and "VALUE" requests, or both concatenated abf|vbf
            ie. the first 32 bytes being abf, the second 32 bytes being vbf.
        
electrum/plugins/jade/jadepy/jade.py