

def transfer_assets(self, asset_id, transfer_spec, btc_change_script, fees):
    '\n        Creates a transaction for sending an asset.\n\n        :param bytes asset_id: The ID of the asset being sent.\n        :param TransferParameters transfer_spec: The parameters of the asset being transferred.\n        :param bytes btc_change_script: The script where to send bitcoin change, if any.\n        :param int fees: The fees to include in the transaction.\n        :return: The resulting unsigned transaction.\n        :rtype: CTransaction\n        '
    return self.transfer([(asset_id, transfer_spec)], TransferParameters(transfer_spec.unspent_outputs, None, btc_change_script, 0), fees)

dataset/ETHPy150Open OpenAssets/openassets/openassets/transactions.py TransactionBuilder.transfer_assets/original