I'm very new to this, but I've managed to use the write function swapexacttotkensforeth directly in the browser on bscscan with the pcs router.
The issue is I can only perform a swap if the sum of the value of amountIn and -OutMin is within current market price. If I try to set a higher value in amountOutMin (like setting a limit order) the gas fees go way up to about 0.4bnb.
Ok, so this is "not allowed" apparently. But how does i.e. a bot manage to buy/sell way above current market price? In my mind they have to use the same write function "swapexact...", but some how they manage to buypass "blockage" that I encounter.
Does this make any sense.