{"uid":"cap_mzK7zSCAVjVRZJxj3HxFo","slug":"base-token-safety-check-43889468","name":"Base Token Safety Check","description":"Base ERC-20 check before an agent buys or holds a token. Input: one contract address. Output: allow, warn, or block. Block: not a contract, not an ERC-20, zero supply, or the owner or token contract holds at least 50 percent. Warn: 20 to 50 percent held, proxy (EIP-1967, EIP-1167, or implementation()), or bytecode contains mint or pause. A selector does not prove the public can call it. Concentration covers only the owner and the token contract. Not an audit.","url":"https://base-token-check.fly.dev/v1/token-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 contract address on Base to check for supply concentration, proxy, mint, and pause."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iVgHmZ0bgA3PWkB7Frs8l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a Base ERC-20 token contract address and returns allow, warn, or block based on supply concentration, proxy patterns, and dangerous bytecode selectors.","exampleAgentPrompt":"Before you buy any of this token, check if contract address 0x1234567890abcdef1234567890abcdef12345678 on Base is safe — I want to know if it should be allowed, warned about, or blocked due to supply concentration, proxy patterns, or mint/pause functions.","exampleUseCases":[{"title":"Pre-purchase token safety screening","prompt":"Before my DeFi agent swaps into this token at 0xabc123def456abc123def456abc123def456abc1 on Base, run a safety check — tell me if it's a real ERC-20 with no dangerous concentration or suspicious bytecode."},{"title":"Portfolio risk audit for held tokens","prompt":"I'm holding a bunch of Base tokens and want to make sure none are risky — start by checking 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef for supply concentration, proxy flags, and mint or pause selectors."},{"title":"Automated agent trade guard","prompt":"My trading agent is about to execute a buy — first check 0x9999888877776666555544443333222211110000 to see if the owner or contract holds 50% or more of supply or if there's any bytecode red flag that should block the trade."}],"resultDescription":"Returns a verdict of 'allow', 'warn', or 'block'. Block conditions: the address is not a contract, not an ERC-20, has zero supply, or the owner or token contract itself holds ≥50% of supply. Warn conditions: 20–50% concentration, presence of proxy patterns (EIP-1967, EIP-1167, or implementation()), or bytecode containing mint or pause selectors. Allow means none of the above triggers fired. This is a heuristic screen, not a formal audit.","failureModes":["Invalid address format (not a 0x-prefixed 40-hex-character string) causes request rejection","Address is an EOA or non-contract — verdict is 'block' with reason not-a-contract","Token has no detectable ERC-20 interface — verdict is 'block' with reason not-an-erc20","Network or RPC unavailability may cause timeout or 5xx error","Proxy contracts may obscure underlying logic — proxy warning issued but full audit not possible","Mint/pause selector presence does not confirm public callability — may produce false-positive warns"],"whenToPreferThis":"Use this endpoint when an AI agent is about to buy, swap into, or hold an ERC-20 token on the Base network and needs a lightweight pre-flight safety check. It is purpose-built for agentic trading workflows that require a fast allow/warn/block signal rather than a full audit. Prefer this over manual inspection when automating token purchases at scale or when integrating a safety gate into a DeFi agent loop. It is not a substitute for a full smart contract audit but is ideal as a fast, cheap ($0.01 USDC) first-pass filter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:31:38.915Z","isFirstParty":false,"canonicalSlug":"base-token-safety-check-43889468"}