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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"hash": "<hash>"
},
"name": "mev_sandwich_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| chain | Yes | EVM chain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche |