Method for obtaining a main product stream with hydrocarbons from a reactant, which reactant comprises at least one substance of the group of alcohols and the group of ethers, for the production of transport fuel, wherein the reactant is fed to a prereactor stage, in which prereactor stage the reactant is at least partially catalytically converted into an intermediate product stream, wherein the molar proportion of C2 to C5 hydrocarbon among all hydrocarbon of the intermediate product stream is at least 55 percent, wherein the intermediate product stream is fed to a main reactor stage, in which main reactor stage the hydrocarbons of the intermediate product stream are oligomerized by means of a main reactor stage catalyst for obtaining the main product stream, wherein the weight proportion of C10 to C16 hydrocarbons among all hydrocarbons of the main product stream is at least 15 percent, and the main reactor stage catalyst is a metal organic framework (MOF) catalyst.