Example of querying for transactions.