Yes Transit visa is a valid option ! I have corrected my last post. I wrote a mistake : Transit, not transfer...

Several friends of mine spent 5 days in Iran within April or May 2019. What a pity to have to leave Iran, the most helpful people I have ever met !
Have a safe trip.