{"service":"HALOWERK defiwerk","endpoint":"/mev/risk","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["chain","token_in","token_out","amount_in"],"additionalProperties":false,"properties":{"chain":{"type":"string","enum":["base","ethereum","arbitrum","optimism","polygon"]},"token_in":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"token_out":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"amount_in":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Input amount in whole token units as a decimal string."},"slippage_bps":{"type":"integer","minimum":1,"maximum":5000,"default":50},"route":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Optional pool address to assess instead of the automatically chosen one."},"scan_history":{"type":"boolean","default":true,"description":"Scan past Swap events for actual sandwiches. Costs time; switch off for a faster answer."}}},"requestExample":{"chain":"base","token_in":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","token_out":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","amount_in":"0","slippage_bps":50,"scan_history":true},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["chain","token_in","token_out","amount_in"],"additionalProperties":false,"properties":{"chain":{"type":"string","enum":["base","ethereum","arbitrum","optimism","polygon"]},"token_in":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"token_out":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"amount_in":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Input amount in whole token units as a decimal string."},"slippage_bps":{"type":"integer","minimum":1,"maximum":5000,"default":50},"route":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Optional pool address to assess instead of the automatically chosen one."},"scan_history":{"type":"boolean","default":true,"description":"Scan past Swap events for actual sandwiches. Costs time; switch off for a faster answer."}}},"requestExample":{"chain":"base","token_in":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","token_out":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","amount_in":"0","slippage_bps":50,"scan_history":true}}]}