def promote_transaction(<EOL>self,<EOL>transaction,<EOL>depth=<NUM_LIT:3>,<EOL>min_weight_magnitude=None,<EOL>):<EOL>
if min_weight_magnitude is None:<EOL><INDENT>min_weight_magnitude = self.default_min_weight_magnitude<EOL><DEDENT>return extended.PromoteTransactionCommand(self.adapter)(<EOL>transaction=transaction,<EOL>depth=depth,<EOL>minWeightMagnitude=min_weight_magnitude,<EOL>)<EOL>
Promotes a transaction by adding spam on top of it.

:return:
    Dict with the following structure::

        {
            'bundle': Bundle,
                The newly-published bundle.
        }