{"uid":"cap_l9SQD0hPBK8Qj4E0BNSWe","slug":"base-transaction-lookup-api-b497f969","name":"Base Transaction Lookup API","description":"Get transaction status, fee, and decoded ERC20 Transfer events","url":"https://base-facts.yankii.fr/v1/tx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"type":"string","description":"0x-prefixed 32-byte transaction hash"}}},"responseSchema":{"type":"json","example":{"to":"0x...","from":"0x...","hash":"0x...","feeEth":"0.000000021","source":"base-mainnet-rpc","status":"success","gasUsed":"21000","timestamp":"1700000000","blockNumber":"52130000","erc20Transfers":[],"contractAddress":null,"effectiveGasPrice":"100000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Sjbx28zRrYiCwUr4QRZhB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain details for a specific Base mainnet transaction by its hash, including gas, status, transfers, and block info","exampleAgentPrompt":"Can you look up the details for this Base transaction — 0x4a3b...f9c2 — I need to know if it succeeded, how much gas was used, and whether there were any ERC-20 transfers?","exampleUseCases":[{"title":"Verify payment confirmed on Base","prompt":"I just sent a payment on Base with tx hash 0xabc123...def456 — can you confirm it went through, who it went to, and how much the fee was?"},{"title":"Audit ERC-20 token transfer","prompt":"Pull up the on-chain details for Base transaction 0x7f8e...2a1b — I need to see all ERC-20 transfers that happened in that transaction."},{"title":"Debug failed transaction","prompt":"This Base transaction 0xd3c9...88fa seems like it might have failed — can you check its status and tell me the gas used vs what was provided?"}],"resultDescription":"Returns a JSON object with the transaction's to/from addresses, hash, status (success/failure), gas used, effective gas price, fee in ETH, block number, Unix timestamp, ERC-20 transfers array, and contract address if applicable — all sourced from Base mainnet RPC.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on Base mainnet (e.g. wrong network)","RPC node timeout or connectivity issues","Hash exists but transaction is still pending","Payment of 0.003 USDC not fulfilled, returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need detailed on-chain facts about a specific Base mainnet transaction — particularly when you need gas metrics, ERC-20 transfer data, status confirmation, or timestamp/block info — and you are operating in a context where x402 micropayments are supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:41:22.540Z","isFirstParty":false,"canonicalSlug":"base-transaction-lookup-api-b497f969"}