> For the complete documentation index, see [llms.txt](https://docs.0max1.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0max1.com/overview/our-solution/quant-ai-bot/mev-arbitrage.md).

# MEV Arbitrage

<figure><img src="https://3178843284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDTuvot4fROkCCGtjC2y8%2Fuploads%2FmrIU4s8xUn4GRwnRBu9g%2Fimage.png?alt=media&amp;token=8939a8bd-aa7f-4286-85ef-68e77beb581b" alt=""><figcaption></figcaption></figure>

Onchain arbitrage bundles, completed within the same block to generate USDi passive income.

The revenue is the price spread between different swap pools and the cost is on chain gas fees.
