getTransactions return an array of hashes.