{"uid":"cap_0PnfHjAZBSNp0Job11wb9","slug":"transaction-explainer-d483ea96","name":"Transaction Explainer","description":"Decode an on-chain transaction and explain it in plain English, with token transfer detection.","url":"https://transaction-explainer.pdfextractapi.workers.dev/explain","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["tx_hash"],"properties":{"chain":{"type":"string","description":"Optional chain key. Default 'ethereum'. One of: ethereum, base, polygon, arbitrum, optimism, bnb."},"tx_hash":{"type":"string","description":"The 32-byte transaction hash, 0x-prefixed."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qVeekx1aLVm9j0_OVIJRl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an on-chain transaction hash and returns a plain-English explanation with token transfer detection","exampleAgentPrompt":"Can you explain what happened in this Ethereum transaction — 0x4a1b2c3d4e5f6789abcdef01234567890abcdef01234567890abcdef012345678 — in plain English, including any token transfers?","exampleUseCases":[{"title":"Decode a suspicious wallet transaction","prompt":"I just received a notification about this transaction on my wallet: 0xabc123...def456 on the Ethereum network. Can you explain exactly what happened and whether any tokens were transferred out?"},{"title":"Explain a DeFi swap to a newcomer","prompt":"My friend sent me this tx hash from a Uniswap trade on Polygon — 0x9f8e7d6c5b4a3210fedcba9876543210fedcba9876543210fedcba9876543210 — can you break down what the swap actually did in plain English?"},{"title":"Audit a DAO governance transaction","prompt":"We need to understand what this on-chain transaction on Arbitrum did for our audit report: 0x1234abcd5678efgh9012ijkl3456mnop7890qrst1234abcd5678efgh9012ijkl — explain the action and list any token movements."}],"resultDescription":"A plain-English explanation of what the on-chain transaction did, including a description of the action performed, parties involved, and any token transfers detected (token names, amounts, sender/receiver addresses).","failureModes":["Invalid or malformed tx hash returns an error","Transaction hash not found on the specified chain","Unsupported chain key returns a validation error","Network timeouts when fetching chain data","Complex multi-call transactions may produce incomplete explanations"],"whenToPreferThis":"Use this endpoint when you need a human-readable summary of an on-chain transaction for non-technical users, auditing, or reporting purposes. It supports multiple EVM chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BNB) and specializes in token transfer detection, making it ideal for wallets, block explorers, DeFi dashboards, or compliance tools that need to surface what a transaction actually did without requiring the caller to parse ABI data themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:46.899Z","isFirstParty":false}