{"uid":"cap_MAuCxRsDKKU9k8bXdXvyX","slug":"blockchain-transaction-explainer-decode-tx-1e69c833","name":"Blockchain Transaction Explainer (decode-tx)","description":"What did this Base transaction do? Returns a one-sentence explanation in French, built by rules from on-chain data (no AI), with its status and decoded ERC-20 transfers ($0.005 per call).","url":"https://api.api-agent-ia.ch/decode-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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"de":"0x1d7f97D26ae2C01F9b01Fc252B73Cf0Db3397E95","hash":"0x8a841e4f28fbef9ea69921e055a80f3ddf097d7969b87ecc3e9940e54b8a5a20","vers":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","statut":"réussie","valeur_eth":"0","explication":"Cette transaction a appelé le contrat 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. Elle a été réussie. Elle a transféré : 6.14 USDC de 0x747b72260748e8b999e19e58D5c373587282A473 vers 0x1d7f97D26ae2C01F9b01Fc252B73Cf0Db3397E95.","transferts_tokens":[{"de":"0x747b72260748e8b999e19e58D5c373587282A473","vers":"0x1d7f97D26ae2C01F9b01Fc252B73Cf0Db3397E95","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","montant":"6.14","symbole":"USDC","montant_brut":"6140000"}],"nb_transferts_tokens":1}},"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_OViPGMgbO0gs9js4wF4W5","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":"Takes a blockchain transaction hash and returns a plain-English explanation of what the transaction did","exampleAgentPrompt":"Can you explain to me in plain English what happened in this transaction: 0x4a1b2c3d4e5f6789abcdef1234567890abcdef1234567890abcdef1234567890ab?","exampleUseCases":[{"title":"Understand an unexpected wallet transaction","prompt":"I see a transaction in my wallet history with hash 0x9f8e7d6c5b4a3210fedcba9876543210fedcba9876543210fedcba9876543210fe — can you explain in plain English what it actually did?"},{"title":"Audit a DeFi protocol interaction","prompt":"My team executed a DeFi trade and I need to verify it worked correctly — can you decode transaction 0x1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890ab and tell me in simple terms what happened?"},{"title":"Explain a transaction to a non-technical user","prompt":"A client sent me transaction hash 0x7c8d9e0f1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef12 and wants to know what it means — can you break it down in plain, non-technical language?"}],"resultDescription":"A JSON object containing the original transaction hash and a plain-English explanation (labeled 'explication') describing what the transaction did — e.g. who sent what asset to whom, what smart contract was called, or what DeFi operation was executed.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on the supported network","Network timeout when fetching on-chain data","Unsupported transaction type or contract interaction that cannot be decoded","Missing required 'hash' query parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a human-readable, natural-language explanation of a single blockchain transaction by hash, especially for non-technical users who cannot interpret raw on-chain data. It is ideal for wallet dashboards, DeFi audit tools, customer support bots, or any agent that needs to bridge raw transaction data and plain English. Prefer this over raw block explorer APIs when you need interpretation rather than raw data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T06:52:38.817Z","isFirstParty":false,"canonicalSlug":"blockchain-transaction-explainer-decode-tx-1e69c833"}