Theoretical sandwich-attack profit for a swap of a given
agent_intel_mev_sandwich_risk_analyzerTheoretical sandwich-attack profit for a swap of a given size in one DEX pool, at the pool's current reserves (DexScreener) and the swap's slippage tolerance: the largest front-run that still lets the victim's trade succeed, and the profit it would give. Constant-product pools only, no mempool view, no competing bots: a worst-case estimate, not a prediction. Suggests a slippage tolerance. Related tools on this server, for a different need: agent_intel_defi_yield_risk_optimizer when you need to rank DeFi pools by total APY from DefiLlama's public; agent_intel_holder_cluster_analyzer when you need holder concentration for an EVM token: share of supply held. Price: $0.003 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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": {
"pair": "<pair>",
"amount": "<amount>"
},
"name": "agent_intel_mev_sandwich_risk_analyzer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Pool (pair) address | |
| side | No | sell = victim gives base token; buy = victim gives quote token (default sell) | |
| chain | No | DexScreener chain name, e.g. base, ethereum (default base) | |
| amount | Yes | Victim's input amount in that token's units | |
| feePct | No | Pool fee in percent, 0 to 5 (default 0.3) | |
| slippagePct | No | Victim's slippage tolerance in percent, 0 to 50 (default 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | ||
| note | No | ||
| pair | No | ||
| risk | No | ||
| side | No | ||
| chain | No | ||
| model | No | ||
| source | No | ||
| checkedAt | No | ||
| victimAmount | No | ||
| victimMinOut | No | ||
| maxFrontRunSize | No | ||
| theoreticalProfit | No | ||
| victimExpectedOut | No | ||
| victimSlippagePct | No | ||
| suggestedSlippagePct | No | ||
| victimPriceImpactPct | No | ||
| profitAsPctOfVictimSize | No |