new method - getTransactions