def awaitTxConfirmation(self, transaction, limit=<NUM_LIT:10>):
counter = <NUM_LIT:10><EOL>for block in self.blocks():<EOL><INDENT>counter += <NUM_LIT:1><EOL>for tx in block["<STR_LIT>"]:<EOL><INDENT>if sorted(tx["<STR_LIT>"]) == sorted(transaction["<STR_LIT>"]):<EOL><INDENT>return tx<EOL><DEDENT><DEDENT>if counter > limit:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT><DEDENT>
Returns the transaction as seen by the blockchain after being
            included into a block

            .. note:: If you want instant confirmation, you need to instantiate
                      class:`.blockchain.Blockchain` with
                      ``mode="head"``, otherwise, the call will wait until
                      confirmed in an irreversible block.

            .. note:: This method returns once the blockchain has included a
                      transaction with the **same signature**. Even though the
                      signature is not usually used to identify a transaction,
                      it still cannot be forfeited and is derived from the
                      transaction contented and thus identifies a transaction
                      uniquely.