Passing list of transaction to getInBalance() and getOutBalance() methods