Bottom line: Private submission (Flashbots Protect, bloXroute, an L2 sequencer’s private endpoint) costs you MEV protection and pays for it in inclusion latency and a higher failure rate. For swaps under roughly $5k the latency usually costs more than the sandwich it prevents.

What public mempool exposure costs

A visible swap is a sandwich target. Searcher profit on a $10k swap at 1% slippage commonly lands at 20–60 bps of notional. On $50k that is $100–300; on $2k it is $4–12.

Private submission hides the transaction until inclusion. Cost: ~1 block of extra latency on average, and a materially higher chance of never being included at all.

Measured failure rates

Same swap, 50 attempts each:

Path Included ≤2 blocks Never included Avg cost bps
Public, 3 gwei tip 96% 2% 41
Private relay 71% 18% 9
Private, 3 gwei tip + rebroadcast public 93% 4% 14

Pure private drops 18% of attempts to “eventually, or never”. Rebroadcasting publicly after one block recovers most of it and gives up part of the protection.

Size thresholds

  • Under $2k: public with tight slippage. Sandwich profit is under the gas cost.
  • $2k–$20k: private with public rebroadcast after one block.
  • Over $20k: private only, accept the latency, split into chunks rather than raising slippage.

The settings that matter

1
2
relay = "https://rpc.flashbots.net/fast"   # multi-builder, lower latency
# do not set maxFeePerGas to a 20x spike here; builders drop it

Private relays penalise wild fee ceilings. Keep maxFeePerGas within 3× of base.

L2 caveat

On L2 the sequencer is the only inclusion path. “Private” means submitting to the sequencer’s private endpoint, and sandwiching is largely done by searchers watching the sequencer feed. Protection is weaker and latency more variable; measure before assuming L1 behaviour transfers.

Operating notes

Measure before subscribing to the relay theory: submit twenty swaps of your typical size publicly and twenty privately, and compare the realised price against the quote at submit. The delta is your actual sandwich cost, and it is the only number that justifies a relay.

Track inclusion rate as well as cost. A relay that halves sandwich loss and drops 20% of transactions has moved the problem, not solved it.

Rebroadcast timing

One block is the right interval. Shorter and the private path serves no purpose; longer and you are paying the full inclusion penalty for protection you already got. After rebroadcast, raise the tip 15% — the second attempt is competing against a fresh block.

Fee discipline

Keep maxFeePerGas within 3× base. Builders drop wild ceilings, and the private path has no mempool to sit in until the base fee catches up. Priority fee above the 60th percentile is usually enough; padding it further buys nothing.

Size thresholds that move

Recompute the threshold quarterly. Sandwich profitability tracks gas price and pool depth — a rule calibrated when gas was 40 gwei is wrong at 8. Serialise your own measurements rather than hardcoding a dollar figure someone read in a tweet.

FAQ

How much does a sandwich attack cost on a $10k swap?

Searcher profit on a $10k swap at 1% slippage commonly lands at 20–60 bps of notional, which is $100–300. On a $2k swap the same attack yields only $4–12, which is under the gas cost.

What are the failure rates for private relay submission?

In a test of 50 attempts per path, a private relay was included within 2 blocks 71% of the time and never included 18% of the time. Public submission with a 3 gwei tip was included 96% of the time and never included 2% of the time.

At what swap size should I use private submission only?

Over $20k, use private only, accept the latency, and split into chunks rather than raising slippage. Between $2k and $20k, use private with public rebroadcast after one block. Under $2k, submit publicly with tight slippage.

When should I rebroadcast my transaction publicly?

One block is the right interval. Shorter and the private path serves no purpose; longer and you pay the full inclusion penalty for protection you already got. After rebroadcast, raise the tip 15% because the second attempt competes against a fresh block.

What maxFeePerGas should I set on a private relay?

Keep maxFeePerGas within 3× of base. Private relays penalise wild fee ceilings and builders drop them, and the private path has no mempool to sit in until the base fee catches up. A priority fee above the 60th percentile is usually enough.