{"uid":"cap_rJTiSYihvjyEXM_63thCT","slug":"base-transaction-lookup-2860e1ea","name":"Base Transaction Lookup","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.dev/base/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 on Base"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0xd6145b2D3F379919E8CdEda7B97e37c4b2Ca9c40","fee":"0.000001440003084728","from":"0xf87F67497C535f856670518a3577b2bfC1bEE976","hash":"0xff80142e4591e95e4088a7f37838e359843151633209f62a3b39f85402cc7d06","chain":"base","value":"0.0005","status":"success","gasUsed":130678,"timestamp":"2026-10-22T15:30:13.000Z","blockNumber":52946833,"nativeSymbol":"ETH","methodSelector":"0x3593564c","tokenTransfers":[{"to":"0xf87F67497C535f856670518a3577b2bfC1bEE976","raw":"1198173","from":"0x1C450D7d1FD98A0b04E30deCFc83497b33A4F608","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1.198173","symbol":"USDC"},{"to":"0x1C450D7d1FD98A0b04E30deCFc83497b33A4F608","raw":"500000000000000","from":"0xd6145b2D3F379919E8CdEda7B97e37c4b2Ca9c40","token":"0x4200000000000000000000000000000000000006","amount":"0.0005","symbol":"WETH"}],"contractCreated":null}},"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_LEHctHYxO73bWh4umTuK6","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":"Returns a human-readable summary of a Base blockchain transaction including status, block, time, sender, recipient, ETH value, gas usage, fee, method selector, and decoded ERC-20 transfers.","exampleAgentPrompt":"Can you look up Base transaction 0x4a3b2c1d... and give me a full breakdown — who sent it, who received it, how much ETH moved, what the gas fee was, and whether any ERC-20 tokens were transferred?","exampleUseCases":[{"title":"Verify a crypto payment received","prompt":"I just got told a payment was sent to me on Base — the transaction hash is 0xabc123...def456. Can you pull up the full details so I can confirm the amount, sender, and whether it actually went through?"},{"title":"Audit ERC-20 token transfers in a tx","prompt":"Can you decode Base transaction 0x7f8e9d... and tell me exactly which ERC-20 tokens were transferred, the amounts, and the token symbols?"},{"title":"Check gas cost of a past transaction","prompt":"I need to know how much gas was used and what the total fee was for Base transaction 0x2c4d6e... — I'm trying to calculate my on-chain costs for accounting purposes."}],"resultDescription":"Returns a structured, human-readable summary of the specified Base transaction including: success/failure status, block number, timestamp, from and to addresses, ETH value transferred, gas used and total fee paid, the method selector called, and a decoded list of ERC-20 transfers with token symbols and amounts.","failureModes":["Invalid transaction hash format (must be 0x followed by 64 hex characters) — returns validation error","Transaction hash not found on Base — returns not found error","Transaction still pending (not yet mined) — may return incomplete data or error","Network or RPC timeout — returns service error","Payment failure (insufficient USDC balance for x402 micropayment) — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a complete, human-readable breakdown of a single Base transaction by hash, especially when you need decoded ERC-20 transfer data alongside gas and sender/recipient details. Prefer this over raw RPC calls when you want pre-parsed, structured output without handling ABI decoding yourself. Best for accounting, audit, and verification workflows on the Base L2 network specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:44:52.929Z","isFirstParty":false,"canonicalSlug":"base-transaction-lookup-2860e1ea"}