Transactions - Data query updated to allow for filter parameters

Hey @rcrichton. Please have a look at this when you have a chance. Thanks