{"uid":"cap_-G3r6pWPYqa_CzVvdamiY","slug":"base-transaction-explainer-282c9145","name":"Base Transaction Explainer","description":"Explain any Base mainnet transaction in plain English plus structured JSON: status, method name, fee (L2+L1), decoded ERC-20/NFT transfers with token symbols and decimals, approvals (flags unlimited), swaps, wraps, EIP-3009 relays, and the sender's net token changes. Query: hash (0x + 64 hex).","url":"https://agent-utils-x402.fishbowlinc.workers.dev/v1/base-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}$"}}}},"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_fnpMrVdGSA6yGlaAQQQgC","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":"Decodes and explains any Base mainnet transaction in plain English plus structured JSON, including status, fees, token transfers, approvals, swaps, and net balance changes","exampleAgentPrompt":"Can you explain what happened in this Base transaction — 0x3a7f2c1d9e4b8f05c6a2d3e7f1b9c4d5a8e2f6b3c7d1a4e9f2b5c8d3e6a1f4b7 — in plain English, including any token transfers, fees, and whether there were any unlimited approvals?","exampleUseCases":[{"title":"Audit suspicious wallet approval","prompt":"I just saw this Base tx hash 0x4b8e1f2a9c3d7e5b6f2a8c4d9e1b3f7a5c2d8e4b6f9a1c3d7e5b2f4a8c6d1e9b — can you check if it granted an unlimited token approval to some contract and what the fee was?"},{"title":"Explain DeFi swap to a user","prompt":"My user made this Base mainnet transaction 0x9d2f5a8c1e4b7f3a6d2e8c5b9f1a4d7e3b6c2f8a5d1e9b4c7f2a6d3e8b5c1f4a — can you explain exactly what swap happened, which tokens moved, and what it cost them in L1 and L2 fees?"},{"title":"Verify NFT transfer completion","prompt":"Can you tell me whether this Base transaction 0x1c7a4e9f2b5d8c3a6f1e7b4d9c2a5f8e3b7d1c4a6f9e2b5c8d3a7f1e4b6d9c2a actually transferred the NFT and what the final status was?"}],"resultDescription":"Returns a plain-English summary of what the transaction did plus structured JSON containing: success/fail status, the contract method name called, L1 and L2 gas fees, a list of decoded ERC-20 and NFT transfers with token symbols and decimals, token approvals with unlimited-flag detection, swap events, wrap/unwrap events, EIP-3009 relay metadata, and the sending address's net token balance changes across all involved assets.","failureModes":["Invalid tx hash format (must be 0x + 64 hex chars) returns 400 error","Transaction not found on Base mainnet returns 404","Non-Base (e.g. Ethereum mainnet or other L2) tx hashes return no results or error","Payment not included or insufficient USDC ($0.005 required via x402) returns 402","Rate limiting or Cloudflare Worker timeout on complex transactions"],"whenToPreferThis":"Use this endpoint when you need a human-readable breakdown of a Base mainnet transaction with structured decoded data — including fees, token transfers, approvals, and net balance changes — without running your own RPC node or writing ABI decoding logic. Prefer it over raw RPC calls when the goal is to explain or audit a transaction to a user rather than query chain state programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:39.281Z","isFirstParty":false,"canonicalSlug":"base-transaction-explainer-282c9145"}