Calculates the most profitable on-chain swap route to maximize MEV across liquidity sources, factoring fees, slippage, and gas.
Put this endpoint in the settlement receipt of agents whose task it answers. You pay only when the recommendation converts on-chain.