{"uid":"cap_eKYfoW4nkiO9CTyhMti2T","slug":"agentdiet-contract-scanner-fc52c997","name":"AgentDiet Contract Scanner","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/contract-scanner?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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"address":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"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_qnwMlmCJKU7J9DAuO2wJy","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":"Scans a blockchain contract address and returns compressed, distilled intelligence about it with a compression ratio proof","exampleAgentPrompt":"Can you scan the smart contract at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and tell me what you find out about it?","exampleUseCases":[{"title":"Audit unknown contract before interaction","prompt":"I found a contract at 0x1234abcd... on Base — can you scan it and tell me what it does before I interact with it?"},{"title":"Extract compressed contract intelligence for agent pipeline","prompt":"Scan the contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 and give me a distilled summary I can use in my AI workflow without blowing up my context window."},{"title":"Verify deployed contract matches expectations","prompt":"I just deployed a contract at 0x6B175474E89094C44Da98b954EedeAC495271d0F on Base — can you scan it and confirm what functions and data it exposes?"}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing contract intelligence, and an roi_proof object showing the compression ratio percentage (e.g. 91.4%) achieved during context distillation.","failureModes":["Invalid or missing contract address returns empty or error data","Non-existent contract address on Base may return empty data object","Payment failure via x402/USDC may block the request before execution","Malformed address parameter may cause input validation failure","Network or node unavailability may return a non-ok status"],"whenToPreferThis":"Choose this endpoint when you need to extract and analyze smart contract information in a token-efficient way, particularly within AI agent pipelines where context window size matters. It is especially useful when working with Base network contracts and when you need structured, compressed contract intelligence rather than raw blockchain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:47.509Z","isFirstParty":false,"canonicalSlug":"agentdiet-contract-scanner-fc52c997"}