{"uid":"cap_2TYcoaWOt3XlfQfNWPYd_","slug":"plainchain-transaction-decoder-19075929","name":"Plainchain Transaction Decoder","description":"Gas, balances, token data, address type, approvals, transaction decoding, x402 receipt verification and verifiable randomness on Base, Arbitrum, Ethereum and Optimism. No API key: pay $0.001-$0.01 per call in USDC on Base via x402.","url":"https://plainchain.appin60.com/v1/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"},"chain":{"type":"string","description":"base (default), arbitrum, ethereum or optimism; chain ids 8453, 42161, 1, 10 also work"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"fee":{"eth":4.1e-7,"usd":0.00104},"chain":"Base","status":"success","confirmations":3820001,"tokenTransfers":[{"to":"0x36c3...","from":"0x4c29...","amount":"0.01","symbol":"USDC"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002942","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.002942/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002942","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002942","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jraqdTkCjJ2Pd502uCnov","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002942","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and retrieves detailed information about a blockchain transaction by hash, including token transfers, fees, status, and confirmations across Base, Arbitrum, Ethereum, and Optimism.","exampleAgentPrompt":"Can you decode transaction 0x3a7f...b2c4 on Base and tell me what token transfers happened, the fee, and how many confirmations it has?","exampleUseCases":[{"title":"Verify USDC payment receipt","prompt":"I need to confirm that a USDC payment went through — can you look up transaction 0x4c29d8f1a2b3e4f5678901234567890abcdef1234567890abcdef1234567890ab on Base and tell me the status, how many confirmations it has, and what tokens were transferred?"},{"title":"Audit gas fees for a transaction","prompt":"What was the gas fee in USD for Ethereum transaction 0xabc123def456789012345678901234567890abcdef1234567890abcdef123456 — I want to know the exact cost in both ETH and dollars."},{"title":"Decode Arbitrum DeFi transaction","prompt":"Can you decode this Arbitrum transaction — 0x9f8e7d6c5b4a3210fedcba9876543210fedcba9876543210fedcba9876543210fe — and show me all the token transfers and whether it succeeded?"}],"resultDescription":"Returns a JSON object with the chain name, transaction status (success/failure), number of confirmations, fee in ETH and USD, and an array of token transfers each containing sender address, recipient address, token amount, and token symbol.","failureModes":["Invalid or malformed transaction hash (not matching 0x + 64 hex chars) returns a validation error","Transaction hash not found on the specified chain returns an error or empty result","Unsupported chain identifier returns an error","Payment failure via x402 (insufficient USDC balance) blocks the request","Network timeout if the chain RPC is slow or degraded"],"whenToPreferThis":"Use this endpoint when you need to decode a specific transaction by hash on Base, Arbitrum, Ethereum, or Optimism — especially for verifying x402 payment receipts, auditing token transfers, or checking confirmation counts. Prefer this over general block explorers when operating in an agent context that supports x402 micropayments and needs structured JSON output rather than HTML. Particularly suited for agents that need to verify that a USDC payment on Base was completed successfully.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T12:42:08.519Z","isFirstParty":false,"canonicalSlug":"plainchain-transaction-decoder-19075929"}