{"uid":"cap_DJFdKPZdYIrIcay1L4ddc","slug":"agent402-transaction-receipt-lookup-0f576158","name":"Agent402 Transaction Receipt Lookup","description":"Full receipt for a transaction hash in one call: status, block, from/to, value, gas used vs limit, effective gas price, total fee, tx type, calldata selector, contract created, plus every ERC-20 / ERC-721 / ERC-1155 Transfer event decoded locally from the logs (token, from, to, amount, tokenId) and the list of contracts that emitted logs. Receipt and transaction are fetched in a single batched request.","url":"https://agent402.tools/api/tx-receipt","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"type":"string","description":"0x-prefixed 32-byte transaction hash."},"network":{"type":"string","description":"ethereum / base / polygon / arbitrum / optimism (default ethereum)."}}},"responseSchema":{"type":"json","example":{"to":"0xa0b8…eb48","from":"0xa916…6081","hash":"0x214b3526ee64f7eabfc94ea536b8680bd95a2da634ebf5149aea189d311be56b","type":"0x2","nonce":873,"value":"0","feeWei":"1833474998248","source":"alchemy","status":"success","chainId":1,"gasUsed":"45148","network":"ethereum","gasLimit":"54633","logCount":1,"selector":"0xa9059cbb","valueWei":"0","blockHash":"0x8e12…1243","feeNative":"0.000001833474998248","fetchedAt":"2026-08-22T12:00:00.000Z","timestamp":"2026-07-19T00:32:23.000Z","transfers":[{"to":"0xd8da…6045","from":"0xa916…6081","tokenId":null,"contract":"0xa0b8…eb48","logIndex":413,"rawValue":"420000","standard":"erc20"}],"inputBytes":68,"blockNumber":25563191,"contractAddress":null,"contractsTouched":["0xa0b8…eb48"],"transactionIndex":128,"effectiveGasPriceGwei":0.040610326}},"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_kdQuaEdxodkPdUQO4aR9-","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 a decoded on-chain transaction receipt including gas, transfers, status, and token interactions for a given tx hash on EVM-compatible networks","exampleAgentPrompt":"Can you pull up the receipt for Ethereum transaction 0x214b3526ee64f7eabfc94ea536b8680bd95a2da634ebf5149aea189d311be56b and tell me whether it succeeded, how much gas was used, and if any ERC-20 tokens were transferred?","exampleUseCases":[{"title":"Verify on-chain USDC payment","prompt":"I need to confirm that a USDC payment went through on Base — the transaction hash is 0xabc123...def456. Can you check the receipt and tell me the status, amount transferred, and recipient address?"},{"title":"Audit gas costs for DeFi trade","prompt":"What were the exact gas fees in ETH paid for this Ethereum mainnet transaction: 0x9f4e2a...7c8d01? I want to know the gas used, gas price in gwei, and total fee in native ETH."},{"title":"Detect contract interactions in a tx","prompt":"For this Polygon transaction hash 0x7b3d11...4fa902, can you tell me which smart contracts were touched and what function selector was called?"}],"resultDescription":"Returns a JSON object with full transaction details: status (success/failed), to/from addresses, value in wei and native units, gas used, gas limit, effective gas price in gwei, fee in wei and native, block number, block hash, nonce, transaction type, input byte length, function selector, log count, contract address (if deployment), all contracts touched, and an array of token transfer events (ERC-20/ERC-721) with token contract, from, to, raw value, token ID, log index, and standard. Also includes the data source (Alchemy) and fetch timestamp.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on the specified network returns 404 or empty","Unsupported network name returns a validation error","Network mismatch (hash exists on Base but Ethereum was specified) may return not-found","Payment failure (insufficient USDC balance) returns 402","Rate limits or upstream Alchemy errors may return 5xx"],"whenToPreferThis":"Choose this endpoint when you need a fully decoded, human-readable transaction receipt from an EVM chain including token transfer extraction, gas breakdown, and contract interaction details — especially when you don't want to run your own Alchemy node or parse raw RPC responses. It is ideal for agents verifying payments, auditing DeFi activity, or confirming on-chain state changes across Ethereum, Base, Polygon, Arbitrum, or Optimism without API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:03.771Z","isFirstParty":false}