{"uid":"cap_cmc--0zD7b8ay2XefBeGA","slug":"riley-craig-x402-agent-store-blockchain-transaction-explainer-184e24d4","name":"Riley Craig x402 Agent Store — Blockchain Transaction Explainer","description":"Decode any transaction by hash into plain English: what happened (swap/transfer/approval/mint/call), the actors, and the full asset changes (every native+token in/out with symbol, amount, direction), plus status, fee and method. For wallet UX, accounting, risk and trading agents. Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis via Blockscout.","url":"https://x402-agent-store.rileycraig14.workers.dev/chain/tx-explain","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"},"chain":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hash":"0x...","action":"swap","method":"swapExactETHForTokens","summary":"swapped 1.5 ETH for 4,200 USDC via Uniswap V3","asset_changes":[{"amount":1.5,"symbol":"ETH","direction":"out"},{"amount":4200,"symbol":"USDC","direction":"in"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5CAOEaZo5cIOvrZF1jfvU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and explains a blockchain transaction by hash, returning a human-readable summary of the action, method called, and asset changes (e.g. swaps, transfers)","exampleAgentPrompt":"Can you explain what happened in this Ethereum transaction — hash 0xabc123...def456? I want to know what action was performed, which contract method was called, and what assets moved in or out.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the transaction hash, a short action label (e.g. 'swap'), the contract method name (e.g. 'swapExactETHForTokens'), a plain-English summary sentence, and an array of asset changes each listing symbol, amount, and direction (in/out).","failureModes":["Invalid or malformed transaction hash returns an error","Transaction not found on the specified chain returns 404 or empty result","Unsupported chain identifier causes lookup failure","Unrecognized or low-level contract calls may yield incomplete method or summary data","Payment not provided or insufficient USDC causes 402 response"],"whenToPreferThis":"Use this endpoint when an agent needs to explain or audit a specific on-chain transaction in plain language — especially for DeFi operations like swaps, transfers, or contract interactions. Ideal when the user provides a tx hash and wants asset flows and a human-readable summary without setting up an RPC node or indexer. Prefer over raw RPC calls when interpretability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:51:07.274Z","isFirstParty":false}