onchain_risk_approval_risk
ERC-20 approval exposure: scans Approval logs granted by the address and flags unlimited / active allowances, via eth_getLogs over public EVM JSON-RPC. Read-only; price 0.0 (free).
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": {
"address": "<address>"
},
"name": "onchain_risk_approval_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | EVM chain (default: ethereum). | |
| address | Yes | EVM address (0x-hex) | |
| fromBlock | No | Optional start block for the log scan (default: a recent window). |