Created methods to query transaction history and abandoned transactions.
Remove inheritance from Query. Added class methods instead, as the class
doesn't hold any data.