Implemented all transactions for account query