{"uid":"cap_lHvk8BhEeOeDLkZX7XATM","slug":"dappdojo-semantic-transaction-decoder-20a00e34","name":"DappDojo Semantic Transaction Decoder","description":"Semantic Transaction Decoder that turns raw blockchain transactions into structured, machine-readable intent for AI agents using x402.","url":"https://api.dappdojo.com/summary/%7Bnetwork%7D/%7Btx_hash%7D","method":"POST","headers":{},"bodySchema":{"type":"object","required":["network","tx_hash"],"properties":{"network":{"enum":["1","8453","84532"],"type":"string","description":"Numeric EVM chain id."},"tx_hash":{"type":"string","description":"0x-prefixed 32-byte transaction hash."}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"tx_hash":{"type":"string"},"schema_version":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0QXMtwsQH1hRKFvvb2WUD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a raw EVM blockchain transaction into structured, machine-readable intent for AI agents","exampleAgentPrompt":"Can you decode transaction 0x4f3a2b1c... on Ethereum mainnet (chain ID 1) and tell me what intent or action it represents in structured form?","exampleUseCases":[{"title":"Real-time fraud detection in DeFi","prompt":"I need to monitor incoming transactions to our protocol and flag anything suspicious. Can you decode these transaction hashes and tell me what actions were actually performed so I can identify unusual patterns or unauthorized contract interactions?"},{"title":"Customer support wallet explanation","prompt":"A user is asking why their recent Ethereum transaction failed and what it was trying to do. Can you decode their transaction hash and break down exactly which contracts were involved and what actions they attempted?"},{"title":"Automated transaction auditing system","prompt":"We're building an audit log for our DAO treasury. Can you decode all these transaction hashes from our multisig wallet and extract the structured intent for each one so we can maintain a human-readable record of what was actually approved and executed?"}],"resultDescription":"Returns a JSON object containing the transaction hash, a schema version string, and a structured 'data' object representing the machine-readable intent extracted from the raw transaction — including what the transaction did, which contracts or addresses were involved, and what actions were performed.","failureModes":["Invalid or malformed tx_hash (not 0x-prefixed or wrong length) returns an error","Unknown or unsupported chain ID returns an error","Transaction not found on the specified network","Network congestion or RPC unavailability causes timeout","Payment of 0.001 USDC via x402 not provided returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an AI agent needs to understand the semantic meaning or intent of a raw EVM transaction hash — especially when building DeFi analytics, transaction monitoring, wallet explainers, or any agent workflow that needs to reason about what an onchain action actually did rather than just raw hex data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:30:22.216Z","isFirstParty":false}