Feature/transaction

What is this methods trying to achieve?