Skip to content
All library documents

How mistX Uses Flashbots Bundles for Trade Protection and Gas Payments

Article Paradigm research

Summary

The document explains how mistX submits decentralized exchange trades through Flashbots bundles instead of Ethereum’s public mempool. Because a bundle is executed atomically and placed at the start of a block, the approach can shield a trade from public mempool sandwich attacks. The example transaction shows a swap receiving more USDC than its stated minimum, and the author uses its block position and private transaction status to illustrate the mechanism.

mistX also makes trades gasless in the usual transaction-fee sense by paying miners through a conditional smart contract call. If the trade fails, that payment is not made. The cost is still borne by the trader through worse execution or funds taken from their wallet. The example includes payments to a miner and a fee wallet, while the article notes that bundles use more gas than a regular DEX trade and compete for valuable block space. Its analysis describes one transaction and an early implementation routing trades through Uniswap v2; it does not establish that the approach is free of trust or optimal for every trade.

Key ideas

  • Private Flashbots bundles can keep trades out of the public mempool, reducing exposure to public sandwich attacks.
  • Bundles execute atomically and are placed at the start of a block, but users still trust miners not to exploit their transactions.
  • A conditional on-chain payment lets mistX compensate miners only when a trade executes.
  • Gasless describes how the transaction fee is paid; traders still bear costs through execution or wallet payments.
  • Bundle payments and extra transactions increase gas use and consume block space.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.