

def issue(self, issuance_spec, metadata, fees):
    '\n        Creates a transaction for issuing an asset.\n\n        :param TransferParameters issuance_spec: The parameters of the issuance.\n        :param bytes metadata: The metadata to be embedded in the transaction.\n        :param int fees: The fees to include in the transaction.\n        :return: An unsigned transaction for issuing an asset.\n        :rtype: CTransaction\n        '
    (inputs, total_amount) = issuance_spec._collect_uncolored_outputs(issuance_spec.unspent_outputs, ((2 * self._dust_amount) + fees))
    return bitcoin.core.CTransaction(vin=[bitcoin.core.CTxIn(item.out_point, item.output.script) for item in inputs], vout=[self._get_colored_output(issuance_spec.to_script), self._get_marker_output([issuance_spec.amount], metadata), self._get_uncolored_output(issuance_spec.change_script, ((total_amount - self._dust_amount) - fees))])

dataset/ETHPy150Open OpenAssets/openassets/openassets/transactions.py TransactionBuilder.issue/VarMisuse@24/165 `self`->`issuance_spec`