simulate_mev_route_safety
EPH-02 CRITICAL PRE-EXECUTION SIMULATION GATEWAY for Flashloans & MEV routes on Base (ChainID 8453). Executes read-only EVM sandbox tracing before broadcasting real arbitrage or swap routes to mainnet. Detects hidden reverts, slippage traps, fee-on-transfer hooks, and gas bombs. Zero host OS privilege, strictly memory-isolated. Charges 1.50 USDC via x402 on Base. Supply payer_address. For redemption pass invoice_id and signature in _meta.x402/payment, with tx_hash for on-chain payment or method=points where supported. Settlement errors set isError and _meta.x402/payment-error.status_code; 503 indicates admission unavailable, while a 409 uncertain outcome must not be automatically retried.
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": {
"target_address": "<target_address>",
"payer_address": "<payer_address>"
},
"name": "simulate_mev_route_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Native ETH value in wei (default 0) | |
| calldata | No | Hex encoded calldata (e.g. 0x06fdde03) | |
| payer_address | Yes | Payer wallet for invoice creation and redemption | |
| target_address | Yes | Smart contract address on Base |