{"uid":"cap_454vzuJeR0EKt-6Y6b_-e","slug":"on-chain-transaction-explainer-payment-verification-api-357ab37e","name":"On-Chain Transaction Explainer & Payment Verification API","description":"Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.","url":"https://freetier-agent-api.pages.dev/api/tx-explain?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","description":"transaction hash 0x + 64 hex"},"chain":{"enum":["base","ethereum"],"type":"string","description":"default base"},"expect_to":{"type":"string","description":"optional: recipient address the payment should reach"},"expect_token":{"type":"string","description":"optional: ETH, USDC, USDT, EURC, DAI, WETH ... or a token address (default USDC)"},"expect_amount":{"type":"string","description":"optional: minimum amount in human units, e.g. 0.001"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","from":"0x...","chain":"base","feeEth":"0.0000012","method":{"selector":"0xe3ee160e","signatures":["transferWithAuthorization(address,address,uint256,uint256,uint256,bytes32,uint8,bytes32,bytes32)"]},"status":"success","transfers":[{"to":"0x165eb3dc3e98403ecb1141e90400f5e71806554b","from":"0x...","amount":"0.001","symbol":"USDC","standard":"erc20"}],"paymentCheck":{"matched":true},"confirmations":120000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A-io9Z6bI9JlgdjdXV4p5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an Ethereum/Base transaction hash into a human-readable JSON summary including transfers, method signatures, gas fees, and optional payment verification checks.","exampleAgentPrompt":"Can you explain what happened in this Base transaction — 0x3a4f...c9d2 — and check whether it successfully sent at least 0.001 USDC to 0x165eb3dc3e98403ecb1141e90400f5e71806554b?","exampleUseCases":[{"title":"Verify agent payment before fulfilling order","prompt":"I need to confirm that transaction 0xabc123...def456 on Base actually sent at least 5 USDC to my wallet address 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 before I release the digital goods."},{"title":"Debug a failed DeFi transaction","prompt":"Something went wrong with transaction 0x7f2e...a901 on Ethereum — can you decode it and tell me the method that was called, the status, and what token transfers actually happened?"},{"title":"Audit payment receipts for an autonomous agent","prompt":"My agent just processed a payment and I want to verify that transaction 0xd44b...8812 on Base moved exactly 0.001 USDC and confirm the method signature used — pull the full breakdown for me."}],"resultDescription":"Returns a JSON object containing: transaction status (success/failure), sender and recipient addresses, chain name, gas fee in ETH, decoded method selector and human-readable ABI signatures, a list of ERC-20 token transfers with amount/symbol/standard, number of confirmations, and an optional paymentCheck.matched boolean indicating whether the transfer met the specified recipient, token, and amount criteria.","failureModes":["Invalid or malformed transaction hash returns an error — hash must be 0x followed by 64 hex characters","Transaction not found on the specified chain returns a not-found error","Unrecognized or unverified chain value causes a rejection — only 'base' and 'ethereum' are supported","Payment check fields provided but transfer doesn't match returns paymentCheck.matched: false rather than an error","Node or RPC timeout may cause a slow or failed response for very recent transactions with low confirmations","Providing a token symbol not in the supported list without a contract address may fail token resolution"],"whenToPreferThis":"Choose this endpoint when you need to decode and explain a specific on-chain transaction by hash, especially when verifying that a crypto payment (USDC, ETH, or other ERC-20) reached the right recipient with the correct amount on Base or Ethereum. It is ideal for AI agent payment workflows using x402, post-payment verification steps, and debugging transaction outcomes. Prefer it over generic block explorers when you need structured JSON output optimized for programmatic consumption at low cost with no API key required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:14.848Z","isFirstParty":false,"canonicalSlug":"on-chain-transaction-explainer-payment-verification-api-357ab37e"}