Takes chain, token pair, input amount and slippage tolerance, finds the pool the
Takes chain, token pair, input amount and slippage tolerance, finds the pool the trade would most likely use and reads its live state. The maximum the caller can lose is arithmetic and exact: the gap between the quoted output and the minimum output their own tolerance permits. The attacker profit is an estimate and labelled as one — the profit-maximising front-run size is searched for inside a constant-liquidity pool model, bounded by the largest front-run the caller own tolerance still permits,
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://defi.halowerk.com/mev/risk
| Category | Market data |
|---|---|
| Provider host | defi.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.006 | 1214 ms |
| 2026-11-26 | valid payment request | 402 | $0.006 | 1345 ms |
| 2026-11-25 | valid payment request | 402 | $0.006 | 1340 ms |
| 2026-11-24 | valid payment request | 402 | $0.006 | 1208 ms |
Example input (from the provider)
{
"body": {
"amount_in": "1",
"chain": "base",
"scan_history": false,
"token_in": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"token_out": "0x4200000000000000000000000000000000000006"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"amount_in": {
"description": "Input amount in whole token units as a decimal string.",
"pattern": "^[0-9]+(\\.[0-9]+)?$",
"type": "string"
},
"chain": {
"enum": [
"base",
"ethereum",
"arbitrum",
"optimism",
"polygon"
],
"type": "string"
},
"route": {
"description": "Optional pool address to assess instead of the automatically chosen one.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"scan_history": {
"default": true,
"description": "Scan past Swap events for actual sandwiches. Costs time; switch off for a faster answer.",
"type": "boolean"
},
"slippage_bps": {
"default": 50,
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"token_in": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"token_out": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"chain",
"token_in",
"token_out",
"amount_in"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}