{"uid":"cap_I10IaN1sHYWKiKTz-6JQW","slug":"agent-data-tools-polygon-transaction-receipt-lookup-399cec03","name":"Agent Data Tools: Polygon Transaction Receipt Lookup","description":"Transaction receipt on Polygon PoS (eth_getTransactionReceipt): success or reverted, gas used, effective gas price, fee paid in POL, number of event logs and any contract created. Use to confirm a payment or call went through; for sender, value and calldata use polygon_tx. Input is a 0x-prefixed 64-hex hash; a pending or unknown hash returns 404, uncharged.","url":"https://agent-data-tools.revmesh2074.workers.dev/polygon/receipt?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","description":"0x-prefixed transaction hash (64 hex characters)"}}},"responseSchema":{"type":"object","properties":{"fee":{"type":"string"},"hash":{"type":"string"},"logs":{"type":"number"},"block":{"type":"number"},"chain":{"type":"string"},"status":{"type":"string"},"chainId":{"type":"number"},"gasUsed":{"type":"string"},"contractAddress":{},"effectiveGasPriceGwei":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9GogzygencUv0pYX20-Qx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 Polygon PoS transaction by hash, returning status, gas used, fees, block number, and logs count.","exampleAgentPrompt":"Can you pull up the receipt for Polygon transaction 0x23e86c30c46638b2e9798692fe89327a66aa8569a5d4a566125f655aeb8f80c7 and tell me if it succeeded, how much gas was used, and what fee was paid?","exampleUseCases":[{"title":"Verify payment landed on Polygon","prompt":"I just sent a payment on Polygon — transaction hash is 0x23e86c30c46638b2e9798692fe89327a66aa8569a5d4a566125f655aeb8f80c7. Can you confirm it succeeded and tell me which block it was included in?"},{"title":"Audit gas costs for a Polygon tx","prompt":"What was the effective gas price in gwei and total fee for this Polygon transaction: 0xabc123def456...? I'm trying to audit spending on my agent's wallet."},{"title":"Check if contract was deployed on Polygon","prompt":"Can you check the receipt for Polygon tx 0xdeadbeef1234... and tell me if a contract was deployed and how many event logs it emitted?"}],"resultDescription":"A JSON object containing: transaction hash, status (success/failure), block number, chain name ('Polygon PoS'), chainId (137), gasUsed (as string), effectiveGasPriceGwei (as string), fee in MATIC (as string), number of logs emitted, and contractAddress (null if not a deployment).","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on Polygon PoS returns not-found error","Network/RPC timeout may return a 5xx error (not charged on failure)","Passing an Ethereum or other chain's tx hash will not match Polygon data"],"whenToPreferThis":"Use this endpoint when you need to verify the outcome of a specific Polygon PoS transaction — its success/failure status, gas cost, fee, block, or whether it deployed a contract. Prefer this over Ethereum/Base/Arbitrum/Optimism receipt endpoints specifically for chainId 137 (Polygon PoS). No API key required; payment is per-call at $0.001 USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:42:09.777Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-polygon-transaction-receipt-lookup-399cec03"}