mev-sandwich
Detect sandwich-attack legs in a same-block, same-pool trade sequence and optionally return only those flagged legs.
Instructions
Flag sandwich-attack legs in a same-block, same-pool trade sequence.
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": {
"trades": "<trades>"
},
"name": "mev-sandwich"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trades | Yes | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. | |
| sandwiches_only | No |