getTransaction() now checks the timestamp