Replay and analyze smart contract security audits. Detect vulnerabilities, simulate flash loan attacks, test for oracle manipulation, and assess reentrancy risks.
# Get your free API key first curl -X POST https://api.aaido.dev/signup \ -H "Content-Type: application/json" \ -d '{"email": "you@example.com"}' # Make your first API call curl -X POST https://api.aaido.dev/v1/products/auditreplay/replay \ -H "X-API-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"contract_address": "0x1234...abcd", "chain": "ethereum", "checks": ["reentrancy", "flash_loan", "oracle"]}'
{"contract": "0x1234...abcd", "findings": [{"type": "reentrancy", "severity": "CRITICAL", "function": "withdraw()", "description": "State update after external call allows reentrancy", "recommendation": "Apply checks-effects-interactions pattern"}], "risk_score": 9.1, "gas_analysis": {"avg_cost": "0.003 ETH"}}