Skip to content
Fourohtwo

Reads one Base wallet's risky ERC-20 token approvals

lock-smith-production.up.railway.app/v1/approval-check

Reads one Base wallet's risky ERC-20 token approvals: scans Approval events over a stated recent block window (default 50,000 blocks), reads the current allowance for each pair found, and flags unlimited allowances and allowances to EOAs or spender contracts whose source is not verified on Blockscout. Returns per-approval risk flags, counts, and a plain summary. Read-only. Approvals granted before

BaseAnswering
POSThttps://lock-smith-production.up.railway.app/v1/approval-check

Uptime100% of 1 check 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://lock-smith-production.up.railway.app/v1/approval-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"wallet_address":"0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F"}),
});
console.log(await res.json());

Example input

{
  "wallet_address": "0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F"
}

More from lock-smithProvider status