Skip to content
Fourohtwo

api.macaroonnetwork.com/execute/token-risk-check-v1

Evidence-based risk indicators for an ERC-20 token on Base, all reproducible at one stated block: a simulated buy, sell and transfer through the token's Uniswap v2 or Aerodrome WETH pool with measured taxes; upgradeable-proxy and owner checks; and admin functions present in the code. Transparent 0-100 score (higher is riskier) and a LOW/MEDIUM/HIGH level. Not financial advice.

BaseUnchecked
POSThttps://api.macaroonnetwork.com/execute/token-risk-check-v1

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.macaroonnetwork.com/execute/token-risk-check-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"predicate":{"conditions":[{"field":"$.chain_id","operator":"eq","type":"field_changed","value":8453},{"field":"$.block_number","operator":"gte","type":"field_changed","value":1},{"field":"$.risk_level","operator":"in","type":"field_changed","value":["LOW","MEDIUM","HIGH"]},{"field":"$.risk_score","operator":"gte","type":"field_change),
});
console.log(await res.json());

Example input

{"input":{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"predicate":{"conditions":[{"field":"$.chain_id","operator":"eq","type":"field_changed","value":8453},{"field":"$.block_number","operator":"gte","type":"field_changed","value":1},{"field":"$.risk_level","operator":"in","type":"field_changed","value":["LOW","MEDIUM","HIGH"]},{"field":"$.risk_score","operator":"gte","type":"field_change

More from Macaroon Network