Add method getTransaction