{"uid":"cap_YMwmZDAyjVjXmWSsTF4-g","slug":"agentdiet-bytecode-scanner-834e040e","name":"AgentDiet Bytecode Scanner","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/bytecode-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_yz7Uda7dbGmBfN5YXzM85","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 for bytecode analysis and returns compressed intelligence data about the contract.","exampleAgentPrompt":"Can you scan the bytecode for the smart contract at address 0x1234567890abcdef1234567890abcdef12345678 and tell me what you find?","exampleUseCases":[{"title":"Audit deployed contract bytecode","prompt":"I want to verify what bytecode is actually deployed at this contract address on Base: 0xAbCd1234... — can you scan it and summarize the findings?"},{"title":"Security check before interacting with contract","prompt":"Before I interact with this DeFi protocol, can you scan the bytecode at 0xDeF456... and let me know if anything looks suspicious or non-standard?"},{"title":"Verify contract deployment matches expected code","prompt":"Can you check the bytecode deployed at 0x9a8b7c6d... to confirm it matches what I'd expect for a standard ERC-20 token contract?"}],"resultDescription":"Returns a JSON object with a 'status' field (e.g. 'ok'), a 'data' object containing bytecode analysis results, and an 'roi_proof' object showing compression metrics such as compression_ratio_pct (~91.4%), indicating the efficiency of the intelligence extraction.","failureModes":["Invalid or missing contract address returns empty or error data","Address not deployed on the target chain returns no bytecode","Malformed address format causes request rejection","Network or gateway timeout if the chain node is slow","Payment failure (insufficient USDC on Base) blocks the request"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract and analyze the bytecode of a deployed smart contract by address, especially within an x402/MCP agent workflow that settles in USDC on Base. It is well-suited for on-chain due diligence, security auditing, or contract verification steps in an automated agent pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:57.087Z","isFirstParty":false,"canonicalSlug":"agentdiet-bytecode-scanner-834e040e"}