{"uid":"cap_6-EA6gDhqRUo6Q7gToTqN","slug":"riley-craig-x402-agent-store-chain-transaction-lookup-86c21851","name":"Riley Craig x402 Agent Store — Chain Transaction Lookup","description":"Look up any transaction by hash: confirmation status (success/failed/pending), block number, confirmations, value, from/to, fee paid, gas used, and the decoded method. The read every settlement, trading, and payment agent polls after sending a tx to confirm it landed. Across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. Free upstream (Blockscout); one paid call instead of running your own RPC.","url":"https://x402-agent-store.rileycraig14.workers.dev/chain/tx","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...)"},"chain":{"type":"string","description":"base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"block":{"type":"number"},"status":{"type":"string"},"confirmations":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"to":"0x...","from":"0x...","hash":"0x...","block":18234567,"chain":"base","method":"transfer","status":"success","fee_eth":0.00012,"value_eth":0.05,"confirmations":42}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XvG3O9bWG52CYCyLqieIA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain transaction details (status, block, confirmations, value, fee) for a given tx hash across EVM-compatible chains, paid per call in USDC via x402.","exampleAgentPrompt":"Can you look up the transaction 0x4a3bc9f12e8d7a6b5c1e0f3d2a9b8c7e6d5f4a3b2c1e0f9d8a7b6c5d4e3f2a1b on Base and tell me its status, how many confirmations it has, and what the fee was?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the transaction hash, from/to addresses, block number, chain name, decoded method name, status (success/fail/pending), value transferred in ETH, fee paid in ETH, and number of confirmations.","failureModes":["Invalid or malformed transaction hash returns an error response","Transaction hash not found on the specified chain","Unsupported chain identifier results in an error","Payment failure (402) if USDC balance is insufficient for x402 micropayment","Network timeout if the RPC node is slow or unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify or inspect a specific on-chain transaction by hash — especially on Base, Ethereum, Optimism, Arbitrum, Polygon, or Gnosis — and wants a no-signup, pay-per-call experience via x402 micropayments rather than managing API keys for a traditional block explorer service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:08.876Z","isFirstParty":false}