{"uid":"cap_waT0LYV_3IAqT23lwZh0g","slug":"optimism-tx-explainer-4d4b2ddc","name":"Optimism Tx Explainer","description":"Use when: what did this Optimism transaction do? Explain a Optimism transaction: status, fee, decoded method + args (openchain signature DB), and ERC-20 transfers with symbols and human amounts.","url":"https://automaton-tx-explainer.vercel.app/v1/optimism/tx?utm_source=zero.xyz","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":["hash"],"properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Optimism transaction hash"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_v9xMywT8smmGYplUK-7HB","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":"Explains an Optimism transaction by returning its status, fee, decoded method and arguments, and ERC-20 token transfers with symbols and human-readable amounts.","exampleAgentPrompt":"Can you explain what happened in this Optimism transaction — 0x4a7b3c9d1e2f5a6b8c0d3e7f1a2b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b — including whether it succeeded, what method was called, and any token transfers?","exampleUseCases":[{"title":"Debugging a failed DeFi swap","prompt":"I think my Optimism swap failed — can you look up transaction 0x3f1a2b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a and tell me the status, what function was called, and what the fee was?"},{"title":"Verifying a token transfer receipt","prompt":"Can you confirm that this Optimism transaction 0xab12cd34ef56ab78cd90ef12ab34cd56ef78ab90cd12ef34ab56cd78ef90ab12 actually sent USDC and how much, along with the human-readable amount?"},{"title":"Auditing a contract interaction","prompt":"What method was called and what arguments were passed in Optimism transaction 0x9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e? I need the decoded calldata and any ERC-20 transfers that happened."}],"resultDescription":"Returns the transaction status (success/failure), gas fee paid, decoded function name and arguments (via OpenChain signature DB), and a list of ERC-20 token transfers including token symbols and human-readable amounts for the given Optimism transaction hash.","failureModes":["Invalid or malformed transaction hash returns a validation error","Transaction hash not found on Optimism network returns not found error","Unrecognized function selector returns undecoded calldata (no match in signature DB)","Network or RPC issues may cause temporary lookup failures","Non-Optimism transaction hashes (e.g. Ethereum mainnet) will not be found"],"whenToPreferThis":"Use this endpoint when you specifically need to analyze a transaction on the Optimism L2 network, including decoded method calls, ERC-20 transfer breakdowns, and fee information. Prefer this over generic block explorers when you need structured, machine-readable output with human-readable token amounts rather than raw hex data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:13:22.746Z","isFirstParty":false,"canonicalSlug":"optimism-tx-explainer-4d4b2ddc"}