Use when
automaton-tx-explainer.vercel.app/v1/approvals/sweep
Use when: which approvals on this wallet should I revoke, on every EVM chain? Sweeps a wallet on Base, Ethereum, BNB, Arbitrum, Optimism, Polygon and Avalanche for live ERC-20 allowances and NFT setApprovalForAll approvals (GoPlus + explorer logs, re-read onchain), ranks them by risk (unlimited, unknown spender, unverified or non-contract spender, flagged) and returns a ready-to-sign revoke tx (to
GET
https://automaton-tx-explainer.vercel.app/v1/approvals/sweepUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://automaton-tx-explainer.vercel.app/v1/approvals/sweep?address=0x28C6c06298d514Db089934071355E5743bf21d60");
console.log(await res.json());Example input
{
"address": "0x28C6c06298d514Db089934071355E5743bf21d60"
}