{"uid":"cap_9OIEVRQQflSXRgYmQcpET","slug":"1gateway-transaction-receipt-lookup-5ef1500a","name":"1gateway Transaction Receipt Lookup","description":"Use when an agent must confirm a transaction or payment landed: did it succeed, who paid whom, how much of which token. Input: hash; chain (base default, ethereum, arbitrum, monad). Output: JSON status (success/reverted), block+time, confirmations, from, to, native value, fee, decoded ERC-20 transfers with symbol and amount (first 25). Unknown or unmined hash: 404, not charged. Example: ?hash=0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b","url":"https://1gateway.dev/v1/onchain/tx/receipt?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 the chosen chain (0x + 64 hex). Unknown or not yet mined → 404 (not charged)"},"chain":{"enum":["base","ethereum","arbitrum","monad"],"type":"string","description":"EVM chain (default base)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","chainId","hash","status","block","confirmations","from","to","contractCreated","value"],"properties":{"to":{"type":["string","null"]},"from":{"type":"string"},"hash":{"type":"string"},"block":{"type":"object","properties":{"number":{"type":"integer"},"timestamp":{"type":"string"}},"additionalProperties":true},"chain":{"type":"string"},"value":{"type":"object","properties":{"eth":{"type":"number"},"wei":{"type":"string"},"amount":{"type":"number"},"symbol":{"type":"string"}},"additionalProperties":true},"status":{"type":"string"},"chainId":{"type":"integer"},"confirmations":{"type":"integer"},"contractCreated":{"type":["string","null"]}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0045","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.0045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FjS3LOoM8gGFeY51XKvLi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the on-chain receipt for a given transaction hash, returning status, block info, confirmations, gas fees, and decoded ERC-20 transfers","exampleAgentPrompt":"Can you check whether this transaction went through on Base and tell me who paid whom, how much, and whether any tokens were transferred? The hash is 0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b","exampleUseCases":[{"title":"Confirm payment receipt for checkout","prompt":"A user just paid us with transaction hash 0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b on Base — can you confirm it succeeded, how many confirmations it has, and how much USDC was transferred?"},{"title":"Debug a reverted DeFi transaction","prompt":"My swap transaction 0xabc123...def456 on Arbitrum seems to have failed — can you pull the receipt and tell me if it reverted, what the gas cost was, and what token transfers if any went through?"},{"title":"Audit wallet-to-wallet transfer on Ethereum","prompt":"I need to verify that a payment from my Ethereum wallet arrived — the tx hash is 0x9f1e2d3c4b5a6789abcdef0123456789abcdef0123456789abcdef0123456789ab. Can you check the status, the from and to addresses, and what ETH or token amount moved?"}],"resultDescription":"A JSON object containing: transaction status (success or reverted), block number and timestamp, number of confirmations, sender and recipient addresses, native token value (in ETH/wei), decoded gas fee (total, gas used, effective gas price, L1 fee for L2 chains), and up to 25 decoded ERC-20 transfers each with token symbol and human-readable amount. Returns 404 (not charged) for unknown or not-yet-mined hashes.","failureModes":["404 returned when hash is unknown or transaction not yet mined — not charged","Invalid hash format (not 0x + 64 hex) will be rejected by schema validation","Unsupported chain name returns an error","RPC node may be temporarily unavailable causing latency or failure","Very recent transactions may not yet have confirmations","Transactions with more than 25 ERC-20 transfer logs will have transfers truncated"],"whenToPreferThis":"Use this endpoint when an agent needs to confirm whether a specific on-chain transaction succeeded or failed and wants a fully decoded, human-readable receipt including ERC-20 token transfers — especially across Base, Ethereum, Arbitrum, or Monad. Prefer this over raw RPC calls when you need decoded token transfer data with symbols and amounts without writing ABI decoding logic. The 404-not-charged policy makes it safe to poll for unconfirmed hashes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:43:22.344Z","isFirstParty":false,"canonicalSlug":"1gateway-transaction-receipt-lookup-5ef1500a"}