{"uid":"cap_8umdNv8q4EQgkjyvS5Uk0","slug":"base-contract-verification-7f62a0bb","name":"Base Contract Verification","description":"Verifies a contract address on Base and returns source verification status, compiler metadata, proxy info, and provenance. Useful for checking whether a contract is verified and how complete that verification is.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/contract-verification","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":"Base contract address to verify."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"base-contract-verification","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ydhAPEICI3vwGZz1exWUN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a Base (EVM) smart contract address and returns risk assessment, flags, and provenance metadata","exampleAgentPrompt":"Before I interact with this contract, can you verify the Base contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me its risk score and any safety flags?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the Base network identifier (eip155:8453), product name, risk_level (e.g. 'low'), numeric risk_score (0–100), an array of flags for any detected issues, plus identity, activity, provenance, and assessment objects providing detailed contract context.","failureModes":["Invalid or malformed address (not matching ^0x[a-fA-F0-9]{40}$) returns a validation error","Contract address not found or not deployed on Base returns empty or null result","Rate limiting or payment failure (402) if USDC micropayment is not attached","Network timeout if Base node is temporarily unavailable","EOA (non-contract) address may return low-confidence or empty assessment"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safety-check a Base (eip155:8453) smart contract address before signing a transaction, approving a token spend, or depositing funds — especially in autonomous DeFi workflows where human review is unavailable. Prefer this over generic blockchain explorers when you need a structured, machine-readable risk score and flag array rather than human-readable HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:26.085Z","isFirstParty":false}