x402 Agent Wallet Tools: Erc20 Allowance Risk Scan
Scan ERC20 allowance snapshots for unlimited approvals, high USD exposure, unknown spenders, stale approvals, and revoke actions. receipt-gate-policy first: a $0.009 x402 receipt gate route for agent payment enforcement, followed by wallet signing safety, EIP-712, ERC20 allowance, Permit2, transaction simulation, spend guard, and private-key boundary tools. Browsers can inspect the quote, but payment requires a buyer-owned runtime that signs and retries the same request with X-PAYMENT. Buyers can download the route-specific first-payment client at https://x402-wallet.558686.xyz/x402/route/erc20-allowance-risk-scan/first-payment-client.mjs, run node first-payment-client.mjs for quote-only checks, then opt into a buyer-owned x402 payment with PAY_REAL_X402=1. Copy-ready first paid request: c
Start with a quote-only recipe. Payment signing stays in your project.
const response = await fetch("https://x402-wallet.558686.xyz/v1/tools/erc20-allowance-risk-scan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"replace": "with provider-approved input"
}),
});
console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));
// A valid 402 is a quote, not a completed paid call.Review the provider input schema before running this non-read-only method. No payment code is included.
- Exact route checked
not safely testable · potentially-mutating-method:POST
- Origin unavailable
ERR_SSL_PACKET_LENGTH_TOO_LONG
- Observed in 402-index
Discovered through self-registered.
- Registry record checked
Registry health: healthy.
EVIDENCE
Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.