{"uid":"cap_Dho9b0CoZr5-Nza4tvCNS","slug":"ethereum-transaction-decoder-69270f11","name":"Ethereum Transaction Decoder","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.dev/eth/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":"Transaction hash on Ethereum"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0x0000000aa232009084Bd71A5797d089AA4Edfad4","fee":"0.000137971046894364","from":"0xc917c3fa468f2c4B9c84C72caA46420eb9825249","hash":"0x2b7b271e4a988344e4f82589264460f5dae71851a0c0c9f1c8384a21267548b1","chain":"eth","value":"0","status":"success","gasUsed":251716,"timestamp":"2026-10-22T15:29:59.000Z","blockNumber":26249061,"nativeSymbol":"ETH","methodSelector":"0x09c5eabe","tokenTransfers":[{"to":"0x0000000aa232009084Bd71A5797d089AA4Edfad4","raw":"17027742","from":"0x000000000004444c5dc75cB358380D2e3dE08A90","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","amount":"17.027742","symbol":"USDC"},{"to":"0x0000000aa232009084Bd71A5797d089AA4Edfad4","raw":"25524479608","from":"0x000000000004444c5dc75cB358380D2e3dE08A90","token":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","amount":"0.000000025524479608","symbol":"WETH"},{"to":"0x0000000aa232009084Bd71A5797d089AA4Edfad4","raw":"61185467","from":"0x000000000004444c5dc75cB358380D2e3dE08A90","token":"0xdAC17F958D2ee523a2206206994597C13D831ec7","amount":"61.185467","symbol":"USDT"},{"to":"0x0000000aa232009084Bd71A5797d089AA4Edfad4","raw":"25524505641771054","from":"0x73D53553EE552C1F2A9722E6407D43e41E19593f","token":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","amount":"0.025524505641771054","symbol":"WETH"},{"to":"0x73D53553EE552C1F2A9722E6407D43e41E19593f","raw":"61185467","from":"0x0000000aa232009084Bd71A5797d089AA4Edfad4","token":"0xdAC17F958D2ee523a2206206994597C13D831ec7","amount":"61.185467","symbol":"USDT"}],"contractCreated":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_bZr4vzy0sZNWLctuDk1ac","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":"Returns a human-readable summary of an Ethereum transaction including status, block, timestamp, sender/recipient, ETH value, gas usage, fee, method selector, and decoded ERC-20 token transfers.","exampleAgentPrompt":"Can you look up Ethereum transaction 0x4e3a3754410177e6937ef1f84bba68ea139e8d1b80b03d5c7a9f57b94baa2b7f and give me a plain-English breakdown — who sent what to whom, how much ETH moved, what ERC-20 tokens were transferred, the gas fee paid, and whether it succeeded?","exampleUseCases":[{"title":"Crypto tax record reconciliation","prompt":"I need to verify what happened in this Ethereum transaction for my tax records — pull up 0x3f8e2d1a9b6c4f7e0d2a5b8c1e4f7a0d3b6c9e2f5a8b1d4e7f0a3c6b9e2d5a8b and show me the ETH value, any ERC-20 tokens that moved, the fee paid, and the exact timestamp."},{"title":"DeFi trade confirmation audit","prompt":"Can you decode this Ethereum transaction for me — 0xa1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2 — I want to know which tokens were swapped, the amounts, the method called, and whether the transaction went through."},{"title":"Suspicious transfer investigation","prompt":"I think someone sent tokens from my wallet in this transaction: 0x7d4e2f1a9b3c5e8d0f2a4b6c8e0d2f4a6b8c0e2d4f6a8b0c2e4f6a8b0c2e4f6a — can you decode it and tell me the sender, recipient, what ERC-20 amounts were moved, and what the transaction status is?"}],"resultDescription":"A human-readable breakdown of the Ethereum transaction including: confirmation status (success/failed/pending), block number and timestamp, from/to addresses, ETH value transferred, gas limit and gas used, total fee in ETH, the method selector (4-byte function signature), and a decoded list of ERC-20 token transfer events with each token's symbol and formatted amount.","failureModes":["Invalid or malformed transaction hash (not matching ^0x[0-9a-fA-F]{64}$) returns a validation error","Transaction hash not found on Ethereum mainnet returns a not-found error","Very recent unconfirmed transactions may return pending status with limited data","Node RPC failures or rate limits may cause temporary 5xx errors","Unverified or non-standard token contracts may result in missing token symbol or undecodable transfer data"],"whenToPreferThis":"Choose this endpoint when you need a complete, human-readable summary of a single Ethereum mainnet transaction — especially when you need decoded ERC-20 transfer details alongside gas fees and status in one call. Prefer it over raw RPC calls when you want structured, pre-parsed output without writing ABI decoding logic. Best suited for tax reporting, portfolio tracking, trade auditing, and wallet activity review on Ethereum mainnet specifically (not Layer 2s or other chains, for which sibling endpoints exist).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:44:39.447Z","isFirstParty":false,"canonicalSlug":"ethereum-transaction-decoder-69270f11"}