defi_scan
Scan DeFi protocols (Uniswap, Aave, Curve, Compound) for anomalous transaction flows. Pass a protocol name or contract address to receive a story label and anomaly score.
Instructions
Anomaly scan for a DeFi protocol — detects unusual flows through major lending and DEX contracts (Uniswap, Aave, Curve, Compound). Pass a protocol name or contract address. Returns a story label and anomaly score. Costs $0.03 USDC on Base mainnet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Blockchain (default: ethereum) | |
| window | No | Lookback window (default: 24h) | |
| protocol | Yes | Protocol name (uniswap_v3, uniswap_v3_r2, aave_v3, aave_v2, curve_3pool, compound_v3) or a 0x contract address |