{"uid":"cap_P17-kUr1v0Rw86-lMJXbE","slug":"nightshift-labs-base-transaction-lookup-ce40302f","name":"Nightshift Labs Base Transaction Lookup","description":"Decode a Base transaction: status, block time, from/to, ETH value, fee, method selector and every ERC-20 transfer with symbol and human amount. Flags fake look-alike tokens (address-poisoning, e.g. a fake USDC with homoglyph characters).","url":"https://nightshift-x402.nightshift-labs.workers.dev/v1/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}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"from":"0x1da8…","feeEth":"0.00000015","status":"success","erc20Transfers":[{"amount":"200.05","symbol":"USDC","warning":"IMPERSONATES_USDC_WITH_LOOKALIKE_CHARACTERS"}]}},"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_WhAHHHTQ0WxRPOTM7bE_f","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":"Looks up and decodes a Base blockchain transaction by hash, returning sender, fee, status, and ERC-20 token transfer details including USDC impersonation warnings.","exampleAgentPrompt":"Can you look up Base transaction 0x3a7f2e1d4b8c9f0e6a5d2b1c8e3f7a4d9b6c0e2f5a8d1b4c7e0f3a6d9b2c5e8 and tell me who sent it, what the status is, and whether any of the token transfers look suspicious?","exampleUseCases":[{"title":"Verify a received USDC payment","prompt":"I just got paid on Base — can you check transaction 0x4a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b and confirm it's a real USDC transfer, not a fake token trying to look like USDC?"},{"title":"Debug a failed Base transaction","prompt":"My Base transaction 0xd1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2 might have failed — can you check its status and tell me what actually happened, including fees paid?"},{"title":"Audit agent payment trail","prompt":"Our AI agent just made a payment on Base — please look up transaction 0xf0e1d2c3b4a5f6e7d8c9b0a1f2e3d4c5b6a7f8e9d0c1b2a3f4e5d6c7b8a9f0e1 and report the sender address, amount transferred, and whether the token is legitimate USDC or a lookalike."}],"resultDescription":"A JSON object containing: the sender address (from), transaction status (success/failed), ETH fee paid (feeEth), and an array of ERC-20 token transfers each with amount, symbol, and an optional warning flag (e.g. IMPERSONATES_USDC_WITH_LOOKALIKE_CHARACTERS) if the token appears to be a fraudulent USDC impersonator.","failureModes":["Invalid or malformed transaction hash (not matching ^0x[0-9a-fA-F]{64}$) returns a validation error","Transaction hash not found on Base returns a not-found error","Network or RPC issues may cause timeouts or service unavailability","Payment required (HTTP 402) if x402 USDC payment on Base is not provided or fails"],"whenToPreferThis":"Use this endpoint when you need to decode and inspect a specific Base blockchain transaction by its hash — especially when you need to verify whether ERC-20 token transfers (particularly USDC) are legitimate or spoofed. Prefer this over generic block explorers when you need machine-readable output with built-in fraud detection signals for token impersonation, suitable for automated agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:49:16.266Z","isFirstParty":false,"canonicalSlug":"nightshift-labs-base-transaction-lookup-ce40302f"}