MEV Explorer

Who extracted value in this block? Sandwiches, arbitrage, liquidations, builder and tips.

Public nodes only serve recent blocks (roughly the last day); older blocks need your own node (RPC_URL_<CHAIN>).

More options

{"block": {number, miner, extraData, baseFeePerGas, timestamp}, "transactions": [...], "receipts": [...]} as returned by eth_getBlockByNumber(…, true) and eth_getBlockReceipts.

Try an example:

More about this tool

Part of Chainscope Blockchain & Web3 explorers

How it works

Fetches one recent block and all of its receipts from a public node and looks for maximal-extractable-value patterns: sandwich attacks on Uniswap V2/V3-style pools (an actor trading right before and after a victim in the same pool), cyclic arbitrage (a transaction whose sender or contract ends with more of a token and less of none), Aave V3 liquidations, the block builder (fee recipient and extraData tag, plus the builder→proposer payment) and a priority-fee ranking.

  • Data: eth_getBlockByNumber(n, true) and eth_getBlockReceipts(n) (falls back to one eth_getTransactionReceipt per transaction, max 300).
  • Swaps: Uniswap V2 Swap(address,uint256,uint256,uint256,uint256,address) and V3 Swap(address,address,int256,int256,uint160,uint128,int24) logs (also emitted by the many forks using the same events), converted to pool deltas; direction = which token the pool received.
  • Sandwich: in one pool, a front-run and back-run by the same actor (same sender, or the same `to` contract when at most two senders call it in the block — public routers are excluded) in opposite directions, bracketing a victim swap by a different actor in the front-run's direction; the back-run must sell 50–105 % of what the front-run bought. Profit = what the back-run took out minus what the front-run put in, per pool token (before gas and builder tips).
  • Cyclic arbitrage: a transaction with swaps in ≥ 2 pools in which the sender or the called contract paid out a token and got more of that same token back, with no token ending negative (from ERC-20 Transfer logs). CoW Protocol settlements (GPv2Settlement) are excluded.
  • Liquidations: Aave V3 LiquidationCall events; the emitter is checked against the official Aave V3 Pool for the chain.
  • Builder: the block fee recipient (miner) and printable extraData; the builder→proposer payment is the last transaction sent by the fee recipient. Tips = (effectiveGasPrice − baseFee) × gasUsed; direct coinbase transfers inside contracts are not visible without traces.

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Chainscope Web3 investigation desk

    Investigate transactions, bridges, contracts, DAOs and wallets in one case file.

    Open Chainscope

Related tools

  • Transaction Decoder – See what an EVM transaction actually did: call, events, token transfers, fee, finality.
  • DeFi Liquidation Explorer – Recent Aave V3 liquidations in USD, who liquidated whom, and a live health-factor check.
  • Rollup Batch Explorer – How L2 transactions reach Ethereum: unsafe → safe → finalized, blobs, batch costs, withdrawal waits.

How to use the MEV Explorer

Find sandwiches, arbitrage and liquidations in a single block, see who built it and who paid the highest tips.

What it is for

MEV (maximal extractable value) is the profit someone makes by choosing the order of transactions in a block: buying just before your swap and selling just after it (a sandwich), closing a price gap between two pools (arbitrage), or liquidating a loan. If a swap of yours filled at a worse price than expected, the first question is: was I sandwiched? This tool answers it for one block at a time.

It fetches the block and all its receipts, decodes Uniswap V2/V3-style swap events (including forks like SushiSwap and PancakeSwap V3), looks for the patterns above, names the block builder from its fee recipient and extraData tag, and ranks transactions by priority tip.

Know the limits: detection uses logs only, not execution traces. Uniswap V4, Curve and Balancer swaps are not parsed, private order flow and direct payments to the builder inside contracts are invisible, and public nodes only serve roughly the last day of blocks.

Worked example

The page example is a small six-transaction Ethereum block pasted as JSON. The tool returned:

Block 20000000 on Ethereum (built by "Titan (titanbuilder.xyz)"): 6 txs, 5 swaps, 1 sandwich(es), 1 arbitrage(s), 1 liquidation(s); priority tips 0.01591 ETH.

  • Sandwich: in pool 0x9000…0009 (V2), transaction 0 bought in front of a victim at index 1 (sent by 0x1234…2345 through the Uniswap V2 router) and transaction 2 sold right after. Gross profit: 200000000000000000 raw units of token0 — offline, the tool cannot look up decimals, so with an 18-decimal token that would be 0.2.
  • Arbitrage: transaction 3 touched two pools and ended with 10000000000000000 raw units more WETH (0.01 WETH).
  • Liquidation: an Aave V3 liquidation repaying 5000000000 raw USDC (5,000 USDC) for 2.1 WETH of collateral.
  • Builder payment: the builder sent 0.05 ETH to the proposer in the last transaction.

The tip ranking is telling: the arbitrage paid the most (0.0075 ETH), the sandwich front-run paid 50 gwei per gas to get ahead of the victim, and the victim itself paid only 2 gwei.

How to read the result

  • Block: number, time, base fee, builder tag and the builder→proposer payment.
  • Sandwiches: pool, attacker, victim, the three transaction indices and the gross profit per pool token, before gas and tips.
  • Arbitrages: actor, pools touched and the token(s) that came back larger.
  • Liquidations: Aave V3 events, checked against the official Pool address.
  • Priority ranking: (effective gas price − base fee) × gas used, with MEV tags. High tips next to "front-run" or "arbitrage" tags are the classic searcher signature.

Tips and common mistakes

  • To check your own swap, look up its block number on a block explorer and enter it here, then search the victim column for your address.
  • The profit is gross. A sandwich bot may pay most of it to the builder, so a big gross figure does not mean a big net win.
  • A missing sandwich is not proof you were safe: V4 and Curve swaps, or MEV across several blocks, are not detected.
  • Shared contracts can produce false positives when unrelated actors use the same non-router contract; check the transactions yourself.
  • For blocks older than about a day, paste the block and receipts JSON from your own node.

FAQ

How do I protect myself from sandwiches?

Set a tight slippage tolerance and consider a private transaction route or an RPC that does not broadcast to the public mempool. Sandwiches need a visible pending swap and room in your slippage.

Why does the profit show "raw" units?

Offline, token decimals and symbols are not looked up. In live mode the tool resolves pool tokens; raw values just need dividing by 10^decimals.

What is the builder tag?

Many builders write a name into the block's extraData field. The tool prints it when it is readable text; it is self-reported.

Does this work on L2s?

The chain list includes Base, Arbitrum, OP Mainnet and others, but rollups with a single sequencer have little builder competition, so sandwiches there look different and are rarer.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://mevexplorer.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://mevexplorer.usefulweb.site/mcp · tool name mev_explorer
Example request
curl -s -X POST https://mevexplorer.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome