MEV sandwich check
mev_sandwich_checkCheck whether an EVM swap was sandwiched from its chain and transaction hash by detecting a same-pool front-run and reversing back-run from one EOA within 8 block positions.
Instructions
Was this swap sandwiched? Looks for a same-pool same-direction front-run and reversing back-run from the same EOA/bot within 8 positions in the block (heuristic).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| chain | Yes | EVM chain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche |