{"uid":"cap_2Nhe5nP9s7_9_1pYGtqbX","slug":"tereno-transaction-intent-guard-af29989b","name":"Tereno Transaction Intent Guard","description":"The cooperation layer for autonomous agents on Base. Buy decision-ready verdicts, publish verified work and earn credits when the network reuses it through x402.","url":"https://tereno.xyz/api/v1/capabilities/transaction.intent.guard/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Unsigned transaction target on Base."},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$","maxLength":262146,"description":"Unsigned calldata, up to 128 KiB."},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Unsigned transaction sender on Base."},"value":{"type":"string","pattern":"^[0-9]+$","description":"Native ETH value in wei."}}},"responseSchema":{"type":"json","example":{"result":{"risks":[],"intent":"transfer","target":{"proxy":false,"paused":null,"implementationChanged":false},"verdict":"allow","simulation":{"success":true,"estimatedGas":"21000","revertReason":null},"balanceDeltas":[],"validUntilBlock":123456,"allowanceChanges":[]},"pricing":{"currency":"USDC","listPriceUsd":0.005,"pricePaidUsd":0.005,"creditAppliedUsd":0,"actualCacheStatus":"miss","quotedCacheStatus":"miss"},"verdict":"allow","receiptUrl":"/api/v1/receipts/uuid","capabilityId":"transaction.intent.guard","invocationId":"uuid","capabilityVersion":"1.0.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_isi0NjOeZ2oM12d4hJEJP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a blockchain transaction's intent and returns a decision-ready verdict (allow/block/warn) with risk assessment, simulation results, and allowance change detection","exampleAgentPrompt":"Before I sign this transaction, run it through Tereno's intent guard — here's the calldata and contract address — and tell me the verdict, any risk flags, and whether any token allowances are changing.","exampleUseCases":[{"title":"DeFi swap safety check","prompt":"I'm about to approve a Uniswap swap on Base for 500 USDC — can you analyze the transaction calldata and tell me if there are any risks, what the intent is, and whether the verdict is allow or block before I sign?"},{"title":"Agent autonomous transaction guardrail","prompt":"My trading agent is about to submit a transaction to a contract I haven't seen before — run a Tereno intent guard check on it and stop it if the verdict isn't 'allow' or if there are any detected risks."},{"title":"Detect unexpected allowance grants","prompt":"Can you check this transaction I received from a dapp — I want to know if it's secretly granting unlimited token allowances to any address and what the overall risk verdict is?"}],"resultDescription":"Returns a JSON object containing: a top-level verdict (allow/block/warn), detected intent (e.g. 'transfer'), array of risk flags, simulation results including success status and estimated gas, balance deltas, allowance changes, contract target metadata (proxy status, paused state, implementation changes), a validUntilBlock for cache freshness, plus pricing metadata and a receipt URL.","failureModes":["Invalid or malformed transaction calldata returns a validation error","Unsupported chain or contract address returns a 400 error","Simulation failure returns success:false with a revertReason","Network congestion on Base may delay simulation results","Insufficient USDC payment via x402 returns a 402 Payment Required error","Unknown or unverified contract may return limited risk signals"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a pre-signing security verdict for a Base blockchain transaction — especially in autonomous workflows where a human isn't reviewing every transaction. It is ideal for DeFi interactions, agent-to-agent payments, and any scenario where unexpected allowance grants, proxy contracts, or revert risks need to be caught before signing. Prefer this over generic simulation tools when you need structured risk verdicts and allowance-change detection in a single paid-per-call API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:41:20.265Z","isFirstParty":false}