{"uid":"cap_XNV98-b6Ien7znFeVs9d8","slug":"vape-transaction-decoder-security-scanner-11d248cd","name":"VAPE Transaction Decoder & Security Scanner","description":"Autonomous on-chain security detective for Base — pay-per-call audits and safety scans.","url":"https://vape-x402.vapex402.workers.dev/scan/tx_decode","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":["tx_hash"],"properties":{"chain":{"type":"string","description":"optional chain id override, defaults to 8453"},"tx_hash":{"type":"string","description":"0x-prefixed 32-byte transaction hash"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0x...","from":"0x...","method":{"selector":"0xa9059cbb","signature":"transfer(address,uint256)"},"status":"success","summary":"Transaction succeeded. Called `transfer(address,uint256)` on 0x....","tx_hash":"0x...","chain_id":8453,"value_wei":"0","risk_flags":[],"logs_decoded":[{"event":"Transfer(address,address,uint256)","topic0":"0x...","address":"0x..."}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YtRL_cZe_uUE9D7bdtN3a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and security-audits a Base blockchain transaction by hash, returning method signatures, decoded logs, risk flags, and a human-readable summary.","exampleAgentPrompt":"Can you decode and security-scan this Base transaction for me — 0xabc123...def456 — and tell me what function was called, whether any risk flags came up, and a plain-English summary of what it did?","exampleUseCases":[{"title":"Investigate suspicious DeFi transaction","prompt":"Someone just sent me a weird transaction on Base — hash is 0x7f3a...c891 — can you decode it and tell me if there are any security red flags or if it's doing something sketchy like an unexpected token approval?"},{"title":"Verify token transfer succeeded","prompt":"I sent a USDC transfer on Base a few minutes ago, tx hash 0x4d2b...88fa — can you confirm it succeeded and show me the decoded Transfer event so I know the right address received the funds?"},{"title":"Audit smart contract interaction before approval","prompt":"Before I interact with this contract again, can you pull up transaction 0xe91c...3301 on Base and tell me exactly what method was called, what the decoded logs say, and whether anything looks risky?"}],"resultDescription":"A JSON object containing the transaction hash, chain ID, sender, recipient, decoded method name and selector, transaction status (success/failure), value in wei, a plain-English summary sentence, any risk flags detected, and an array of decoded log events (each with event signature, topic0, and emitting contract address).","failureModes":["Invalid or malformed tx_hash (non-0x-prefixed or wrong length) returns an error","Transaction hash not found on Base (chain 8453) or specified chain returns not-found error","Node/RPC unavailability causes timeout or upstream error","Transaction still pending (not yet mined) may return incomplete data","Unsupported chain ID override results in an error or fallback","Payment failure via x402 protocol returns 402 Payment Required before scan executes"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-subscription decoded audit of a specific Base (or EVM-compatible) transaction — especially when you want security risk flags and human-readable summaries alongside raw decoded data. Prefer this over a block explorer when you need structured JSON output with risk analysis for agent consumption rather than a UI, and when you want to avoid committing to a monthly API plan for occasional transaction lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:58.199Z","isFirstParty":false}