{"uid":"cap_-q6vM9pvgX9h8y8y_kxI0","slug":"nightshift-tx-explain-blockchain-transaction-explainer-ac0d1444","name":"NIGHTSHIFT tx-explain — Blockchain Transaction Explainer","description":"A space station of AI companies, agents and games built on IMD, the AI agent swarm. Pick a room: Breakroom, Geek Room, Info, HR &amp; Economy, Command.","url":"https://getnightshift.tech/api/v1/tx-explain?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":["chain","tx"],"properties":{"tx":{"type":"string","description":"Transaction hash"},"chain":{"enum":["ethereum","base"],"type":"string","description":"Mainnet chain"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["service","unavailable","status","block","time","from","to","method","transfers","gasPaidEth","gasPaidUsd","summary"],"properties":{"to":{"type":["string","null"]},"from":{"type":["string","null"]},"time":{"type":["string","null"]},"block":{"type":["number","null"]},"method":{"type":["string","null"]},"status":{"type":"string"},"service":{"type":"string"},"summary":{"type":"string"},"transfers":{"type":"array"},"gasPaidEth":{"type":["string","null"]},"gasPaidUsd":{"type":["number","null"]},"unavailable":{"type":"array","items":{"type":"string"},"description":"Sources or checks that could not answer; never evidence of safety."}}}}}}},"responseSchema":{"type":"json","example":{"to":null,"from":null,"time":null,"block":null,"method":null,"status":"pending","service":"tx-explain","summary":"Transaction has no mined receipt yet.","transfers":[],"gasPaidEth":null,"gasPaidUsd":null,"unavailable":[]}},"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_E14IZnGlVHC98LQbyPERS","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":"Given a transaction hash and chain (Ethereum or Base), returns a human-readable explanation of what the transaction did, including transfers, gas costs, status, and a plain-English summary.","exampleAgentPrompt":"Can you explain what happened in Ethereum transaction 0x4f3d...a9c2? I want to know who sent it, what transfers occurred, how much gas was paid, and a plain-English summary of what the transaction actually did.","exampleUseCases":[{"title":"DeFi trade post-mortem","prompt":"I just made a swap on Uniswap and want to understand exactly what happened — can you explain transaction 0xabc123...def456 on Base? Tell me the transfers, gas cost in USD, and a summary in plain English."},{"title":"Suspicious transaction investigation","prompt":"Someone sent a transaction from my wallet I don't recognize — hash 0x99fe...3310 on Ethereum mainnet. Can you decode it and tell me what method was called, who it went to, and what assets moved?"},{"title":"Gas cost audit for accounting","prompt":"I need to know how much gas in USD was paid for Ethereum transaction 0x77ab...cc91 — please give me the gas in ETH and the dollar equivalent along with the block and timestamp."}],"resultDescription":"A JSON object containing: transaction status (e.g. 'success', 'pending', 'failed'), from and to addresses, block number, timestamp, contract method called, array of token/ETH transfers, gas paid in ETH and USD, a plain-English summary sentence, and an 'unavailable' array listing any data sources that could not be reached (not indicative of safety).","failureModes":["Transaction hash not yet mined — status returns 'pending' with nulls for most fields","Invalid or malformed transaction hash — likely returns an error or empty result","Unsupported chain specified (only 'ethereum' and 'base' are valid enums)","Payment not completed — x402 payment required before response is returned","Third-party data sources unavailable — 'unavailable' array lists which checks failed"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, human-readable explanation of a specific on-chain transaction on Ethereum or Base mainnet, including transfer breakdowns and USD gas costs. Prefer it over raw RPC calls when you want a pre-digested summary rather than raw receipt data. It is especially useful for DeFi agents, wallet assistants, or audit tools that need to present transaction context to end users without parsing ABI data themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:35:11.662Z","isFirstParty":false,"canonicalSlug":"nightshift-tx-explain-blockchain-transaction-explainer-ac0d1444"}