On a busy token, dozens of transactions compete for the same block. Your fill depends on where yours lands in that queue and whether someone can wrap it.
Solana: priority fee and tips
A priority fee raises your transaction's rank with the current leader. Some trading bots also send a tip to a block-building relay to land faster or privately. Both are costs on top of the swap; on small orders they can exceed the price impact itself.
EVM chains: gas and private routes
On Ethereum, Base and BNB Chain you pay gas, and a higher priority tip lands earlier in the block. Public mempools let bots see your order before it lands; private transaction routes hide it until inclusion.
How a sandwich works
A bot sees your buy with a wide slippage tolerance, buys just before you, lets your order push the price up, then sells right after. Your loss is close to your slippage tolerance. The defence is simple: keep tolerance near your expected price impact, and use private or protected routing where your tool offers it.
Practical settings
- Small orders: modest priority fee; the fee should be a small fraction of the trade.
- Hot launches: accept that some transactions fail rather than widening slippage to 30%.
- Always check total cost: fee + tip + impact + token tax. The simulator adds them up.
Educational only. Not financial advice. #DYOR #NFA