

def _get_marker_output(self, asset_quantities, metadata):
    '\n        Creates a marker output.\n\n        :param list[int] asset_quantities: The asset quantity list.\n        :param bytes metadata: The metadata contained in the output.\n        :return: An object representing the marker output.\n        :rtype: TransactionOutput\n        '
    payload = openassets.protocol.MarkerOutput(asset_quantities, metadata).serialize_payload()
    script = openassets.protocol.MarkerOutput.build_script(payload)
    return bitcoin.core.CTxOut(0, script)

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