check_mev_exposure
Assess pending transactions for MEV exposure, identifying sandwich attack and frontrunning risks before execution.
Instructions
Analyze a pending or proposed transaction for MEV exposure (sandwich attack, frontrunning risk)
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": {
"to": "<to>",
"data": "<data>"
},
"name": "check_mev_exposure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target contract address | |
| data | Yes | Transaction calldata (hex) | |
| value | No | ETH value (in wei) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| slippageTolerance | No | Slippage tolerance percentage (e.g., 0.5 for 0.5%) |