added get txn by id to lea and gene