Initializes transaction with params hash