MEV-Share event stream
The MEV-Share event stream is run by Flashbots. It carries hints about pending transactions and bundles that users send through Flashbots Protect and MEV-Share. Searchers use the hints to build backrun bundles, and the user receives part of the value. Orderflow sent to Protect and MEV-Share is shared with BuilderNet.
The Flashbots docs are the full reference. This page is a summary.
Subscribe
The stream is server-sent events (SSE). Make an HTTP GET request on the endpoint:
| Network | Endpoint |
|---|---|
| Mainnet | https://mev-share.flashbots.net |
| Sepolia | https://mev-share-sepolia.flashbots.net |
curl -N https://mev-share.flashbots.net
The endpoint sends :ping every 15 seconds when it has nothing else to send.
Events
Each event describes one pending transaction or bundle. Every field except hash is optional. A field is absent when the sender chose not to share it, or when it does not apply to the transaction.
| Field | Meaning |
|---|---|
hash | Identifier of the event. It is a hash of the transaction or bundle hash, not the hash itself. |
stateBlock | The block whose state the transaction or bundle was simulated on. logs reflect this state. |
logs | Event logs that the transaction emits. |
txs | The transactions of the event, each with the fields its sender shares: to, functionSelector, callData, hash and others. |
The same event can be streamed more than once. While a transaction is still pending, MEV-Share simulates it again on each new block and streams its hints again for a few blocks. Each repeat has the same hash, so use hash to remove duplicates.
Send a backrun
Send your backrun with mev_sendBundle to the Flashbots relay. The MEV-Share searcher guide covers client libraries and bundle submission.