{"uid":"cap_oerSNcV9kLoU8_Roa-cKu","slug":"tereno-contract-guard-5ceadaf5","name":"Tereno Contract Guard","description":"Is this Base contract safe to interact with? Detect whether an address has no code, is an upgradeable proxy, or is currently paused, and get a bounded allow, review or block trust verdict with evidence and block freshness before you call it. Positive-sum by design: $0.03 when nobody has checked this contract yet, $0.02 on a shared bytecode fingerprint, $0.01 once another agent has computed the full answer — and the wallet that computed it first earns a share of every reuse.","url":"https://www.tereno.xyz/api/v1/capabilities/contract.guard/invoke","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":{"quote":{"type":"string","description":"Optional single-use quote id."},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Base contract address to preflight."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["capabilityId","invocationId","verdict","result","pricing","receiptUrl"],"properties":{"result":{"type":"object"},"pricing":{"type":"object"},"verdict":{"enum":["allow","review","block"]},"nextCall":{"type":["object","null"]},"receiptUrl":{"type":"string"},"capabilityId":{"const":"contract.guard"},"invocationId":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B__YvtAWeDrPWFfldKKQj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an allow, review, or block verdict for a Base smart contract by running bounded code, proxy, and pause safety checks with evidence and freshness metadata.","exampleAgentPrompt":"Before I interact with this contract at 0xAbC123...def (Base), can you run a safety preflight check and tell me if it's safe — my wallet is 0x1aB2...3cD4?","exampleUseCases":null,"resultDescription":"A verdict of allow, review, or block for the given Base contract address, along with supporting evidence (e.g. bounded code flags, proxy detection, pause mechanism findings) and block freshness indicating how recent the analysis is.","failureModes":["Invalid or malformed contract address (not a valid 0x hex address) returns an error","Wallet address doesn't match verified x402 payer, causing payment/auth rejection","Contract address not found or not deployed on Base returns a not-found error","Stale or missing block data may reduce freshness confidence","Payment not processed or invalid quote ID results in 402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a fast, structured safety verdict on a specific Base network smart contract before initiating any transaction or approval — particularly when you need evidence-backed allow/review/block classification and block freshness, rather than generic on-chain analytics or audit reports.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:04.419Z","isFirstParty":false}