Add get_transactions method