revoke_plan
Generate a prioritized list of risky approvals to cancel, with calldata to zero out each allowance.
Instructions
Return ONLY the revoke action plan for a wallet: the ordered list of risky approvals to cancel, each with the token, spender and the exact approve(spender,0) calldata the user signs to revoke it. Use after check_approvals to get a clean, signable to-do list. Read-only; the user signs each revoke themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain: ethereum, base, bsc, polygon or arbitrum. | |
| wallet | Yes | The wallet address (0x...). | |
| minRisk | No | Only include approvals at or above this risk: low | medium | high | critical (default: medium). |