I don't know tbh. According a post on the MongoDB community forum Transactions are built on concepts of logical sessions they require features which are only available in replica set environment. You can see more here [0]
[0] https://www.mongodb.com/community/forums/t/why-replica-set-i...