{"uid":"cap_GSSo2AkAnkLiA3DcVj4QS","slug":"base-token-safety-snapshot-x402-91cb8b1b","name":"Base Token Safety Snapshot (x402)","description":"Heuristic safety snapshot of a Base ERC-20 from public RPC data. $0.01 USDC per call via x402 on Base.","url":"https://base-token-safety-x402.grokbot-hk.workers.dev/token?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"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 token contract address on Base (chain 8453)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["address","heuristic","confidence","checks","limitations","disclaimer"],"properties":{"meta":{"type":"object"},"chain":{"type":"string"},"pools":{"type":"array","items":{"type":"object"}},"token":{"type":"object","properties":{"name":{"type":["string","null"]},"symbol":{"type":["string","null"]},"decimals":{"type":["number","null"]},"total_supply":{"type":["string","null"]}}},"checks":{"type":"array","items":{"type":"object","required":["id","status","detail"],"properties":{"id":{"type":"string"},"data":{},"detail":{"type":"string"},"status":{"enum":["pass","info","warn","fail","unknown"],"type":"string"}}}},"address":{"type":"string"},"chainId":{"type":"number"},"summary":{"type":"string"},"heuristic":{"type":"boolean","const":true},"confidence":{"enum":["low","medium"],"type":"string"},"disclaimer":{"type":"string"},"limitations":{"type":"array","items":{"type":"string"}},"flagged_checks":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"meta":{"note":"EXAMPLE snapshot captured once for illustration; not live","took_ms":250,"version":"0.1.0","generated_at":"2026-10-10T00:00:00.000Z","rpc_requests":8},"chain":"base","pools":[{"dex":"uniswap_v3","pool":"0xBA3F945812a83471d709BCe9C3CA699A19FB46f7","quote":"WETH","pool_param":"10000","approx_liquidity_usd":1516851},{"dex":"aerodrome_slipstream","pool":"0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02","quote":"WETH","pool_param":"tickSpacing=200","approx_liquidity_usd":765005},{"dex":"uniswap_v3","pool":"0x76Bf0abD20f1e0155Ce40A62615a90A709a6C3D8","quote":"WETH","pool_param":"3000","approx_liquidity_usd":80895}],"token":{"name":"Brett","symbol":"BRETT","decimals":18,"total_supply":"9999997544.340006","total_supply_raw":"9999997544340006294456944163"},"checks":[{"id":"is_contract","data":{"bytes":23271},"detail":"Contract with 23271 bytes of runtime code.","status":"pass"},{"id":"proxy","detail":"No EIP-1967 / legacy-zOS / EIP-1167 proxy pattern detected (custom proxy patterns are not detected).","status":"pass"},{"id":"erc20_interface","detail":"Responds to decimals() and totalSupply() like an ERC-20.","status":"pass"},{"id":"mint_functions","data":[],"detail":"No common mint selectors found (heuristic).","status":"pass"},{"id":"blacklist_functions","data":[],"detail":"No common blacklist selectors found (heuristic).","status":"pass"},{"id":"pause_trading_functions","data":["enableTrading()"],"detail":"Pause/trading-toggle selectors present (enableTrading()).","status":"warn"},{"id":"fee_tax_functions","data":["excludeFromFees(address,bool)"],"detail":"Fee/tax setter or exemption selectors present (excludeFromFees(address,bool)); transfer fees may be configurable.","status":"warn"},{"id":"limit_functions","data":["removeLimits()"],"detail":"Max-tx/wallet/cooldown selectors present (removeLimits()).","status":"warn"},{"id":"ownership","data":{"owner":"0x0000000000000000000000000000000000000000","renounced":true},"detail":"owner() is the zero address: ownership appears renounced.","status":"pass"},{"id":"pool_discovery","data":[{"dex":"uniswap_v3","pool":"0xBA3F945812a83471d709BCe9C3CA699A19FB46f7","quote":"WETH","pool_param":"10000","approx_liquidity_usd":1516851},{"dex":"aerodrome_slipstream","pool":"0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02","quote":"WETH","pool_param":"tickSpacing=200","approx_liquidity_usd":765005},{"dex":"uniswap_v3","pool":"0x76Bf0abD20f1e0155Ce40A62615a90A709a6C3D8","quote":"WETH","pool_param":"3000","approx_liquidity_usd":80895}],"detail":"10 pool(s) found. Deepest by quote-side balance: uniswap_v3 10000 vs WETH (0xBA3F945812a83471d709BCe9C3CA699A19FB46f7).","status":"pass"},{"id":"liquidity","data":{"eth_usd_ref":2486,"deepest_pool_approx_usd":1516851},"detail":"Approx. liquidity in deepest pool ≈ $1,516,851 (2x quote-side token balance held by the pool contract; may include uncollected fees / concentrated-liquidity out-of-range amounts).","status":"pass"},{"id":"sell_simulation","data":{"dex":"uniswap_v3","swap_ok":true,"transfer_ok":true,"balance_slot":0,"amount_in_raw":"85423709209130304503815","amount_out_raw":"178631767645783841"},"detail":"Simulated sell of 85423.709209 BRETT via uniswap_v3 (10000) succeeded (output ≈ 0.1786 WETH), and a plain transfer from a fresh address succeeded. Does NOT rule out taxes, dynamic restrictions, or later changes.","status":"pass"}],"address":"0x532f27101965dd16442E59d40670FaF5eBB142E4","chainId":8453,"summary":"3 heuristic flag(s) raised: pause_trading_functions, fee_tax_functions, limit_functions. Flags are signals to investigate, not verdicts.","heuristic":true,"confidence":"medium","disclaimer":"HEURISTIC, NOT FINANCIAL ADVICE. This is an automated best-effort scan of public Base on-chain data. It can miss risks and can raise false alarms. It is not an audit, a guarantee of safety, or a recommendation to buy, sell or hold anything. Verify independently; you are solely responsible for your decisions.","limitations":["Public RPC data only; no off-chain, social, holder-distribution, audit or deployer-history data is used.","Selector scan only shows that a function exists in bytecode, not how it is used or who can call it.","Sell simulation uses eth_call with state overrides against current pool state; real trades can differ (MEV, taxes applied by hidden logic, changing state).","Only Uniswap v3 and Aerodrome (v2 + Slipstream) pools paired with WETH or USDC on Base are searched."],"flagged_checks":["pause_trading_functions","fee_tax_functions","limit_functions"]}},"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_KBhAOWwL4ynzM4ZWHXlql","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":"Returns a heuristic on-chain safety analysis of a Base ERC-20 token contract, checking for proxy patterns, mint/blacklist/pause functions, fee mechanisms, ownership, and liquidity.","exampleAgentPrompt":"Can you run a safety snapshot on the Base token at 0xBA3F945812a83471d709BCe9C3CA699A19FB46f7 and tell me if there are any red flags like hidden fees, mint functions, or unrenounced ownership?","exampleUseCases":[{"title":"Pre-trade rug pull check","prompt":"Before I buy this token on Base, can you check 0x532f27101965dd16442E59d40670FaF5eBB142E3 for rug pull signals — things like mint functions, blacklists, or trading pause controls?"},{"title":"DeFi portfolio risk audit","prompt":"I hold a few Base tokens and want to know which ones have risky contract features. Start with 0xBA3F945812a83471d709BCe9C3CA699A19FB46f7 — does it have renounced ownership, any fee setters, or proxy patterns I should worry about?"},{"title":"Token listing due diligence","prompt":"We're considering listing this Base ERC-20 at 0x4200000000000000000000000000000000000006 on our platform — can you pull a heuristic safety snapshot and flag anything like pausable trading, configurable fees, or suspicious selectors?"}],"resultDescription":"A JSON object containing: token metadata (name, symbol, decimals, total supply), a list of safety checks each with a status (pass/info/warn/fail/unknown) and detail, a flagged_checks array, discovered liquidity pools with approximate USD liquidity, an overall confidence level (low or medium), a summary string, and a disclaimer with known limitations.","failureModes":["Invalid or non-ERC-20 contract address returns an error or unknown statuses across checks","Non-Base contract addresses (wrong chain) may return misleading or empty results","Heuristic confidence is capped at 'medium' — custom proxy patterns or obfuscated selectors are not detected","RPC rate limits or node unavailability may cause partial or failed responses","Recently deployed contracts may have limited on-chain data, reducing check reliability"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01 USDC) heuristic safety scan of a specific Base ERC-20 token contract address using only public on-chain RPC data — no API key required. Ideal for pre-trade due diligence, token listing checks, or DeFi portfolio risk audits on Base (chain 8453). Not suitable when you need audited security guarantees, Ethereum mainnet analysis, or off-chain/social signal checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T00:36:04.738Z","isFirstParty":false,"canonicalSlug":"base-token-safety-snapshot-x402-8ef98095"}