{"uid":"cap_F-kwVncQNoJZfdnP0AOTI","slug":"skills-onesource-io-d661d0b5","name":"OneSource Chain Transaction Receipt Lookup","description":"Returns the transaction receipt for a given blockchain transaction hash, including status, gas usage, block details, and sender/receiver addresses.","url":"https://skills.onesource.io/api/chain/receipt/0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"network":{"enum":["ethereum","sepolia","avax","megaeth","megaeth-testnet","base"],"type":"string","default":"ethereum"}}},"responseSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["result"],"properties":{"result":{"type":"object","required":["type","status","cumulativeGasUsed","logs","logsBloom","transactionHash","transactionIndex","blockHash","blockNumber","gasUsed","effectiveGasPrice","from","to","contractAddress"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"logs":{"type":"array","items":{"type":"unknown"}},"type":{"type":"string"},"status":{"type":"string"},"gasUsed":{"type":"string"},"blockHash":{"type":"string"},"logsBloom":{"type":"string"},"blockNumber":{"type":"string"},"contractAddress":{"type":"null"},"transactionHash":{"type":"string"},"transactionIndex":{"type":"string"},"cumulativeGasUsed":{"type":"string"},"effectiveGasPrice":{"type":"string"}}}}},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"request_id":{"type":"string"}}}}},"example":{"request":{"network":"ethereum"},"response":{"data":{"result":{"to":"0xf02c1c8e6114b1dbe8937a39260b5b0a374432bb","from":"0xa7d9ddbe1f17865597fbd27ec712455208b6b76d","logs":[],"type":"0x0","status":"0x1","gasUsed":"0x53a0","blockHash":"0x1d59ff54b1eb26b013ce3cb5fc9dab3705b415a67127a003c3e61eb445bb8df2","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","blockNumber":"0x5daf3b","contractAddress":null,"transactionHash":"0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b","transactionIndex":"0x41","cumulativeGasUsed":"0x20ec2d","effectiveGasPrice":"0x4a817c800"}},"meta":{"endpoint":"/api/chain/receipt/0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b","request_id":"73498391282a7daf"}}},"exampleRequest":{"network":"ethereum"},"tags":["x402"],"displayCostAmount":"0.005000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UfSYteWMc-hK5nU0qDKkj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the on-chain transaction receipt for a given blockchain transaction hash, returning status, gas usage, block details, and sender/receiver addresses.","exampleAgentPrompt":"Can you pull the transaction receipt for 0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b on Ethereum — I want to know if it succeeded, how much gas was used, and which block it landed in?","exampleUseCases":[{"title":"Verify customer payment confirmation","prompt":"I just processed a payment for a customer and have the transaction hash. Can you check the receipt and confirm whether it actually went through successfully, and let me know how much gas it cost?"},{"title":"Audit failed smart contract deployment","prompt":"Our contract deployment transaction seems to have failed silently. Can you pull up the receipt for hash 0x3a7e2f9d8b4c1e6a9f2d5c8b1a4e7f2c9d3a6b8e and tell me what went wrong — did it revert, and what are the error logs?"},{"title":"Track cross-chain transaction settlement","prompt":"I sent tokens across to Base network yesterday with this transaction hash. Can you get me the full receipt showing it was included in a block, who the sender and receiver were, and confirm it all settled correctly?"}],"resultDescription":"Returns a JSON object containing the transaction receipt fields: to/from addresses, transaction status (0x0=fail, 0x1=success), gas used (hex), block hash, block number, logs array, logsBloom, contract address (if contract creation), transaction type, and other EVM receipt fields.","failureModes":["Invalid or malformed transaction hash (not matching ^0x[a-fA-F0-9]{64}$) returns a 400 or error response","Transaction hash not found on the specified network returns null or not-found error","Unsupported network value returns validation error","Transaction pending and not yet mined returns null receipt","Network RPC node unavailable causes 500 or timeout","Payment failure (x402) if USDC balance insufficient"],"whenToPreferThis":"Use this endpoint when you need authoritative on-chain confirmation of a transaction's outcome — status, gas cost, and block placement — on Ethereum, Base, Avalanche, or MegaETH networks. Prefer this over block explorers when you need programmatic, structured JSON output suitable for downstream automation or verification logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:34.865Z","isFirstParty":false}