{"uid":"cap_Y8ER2gNW_SrDOwQmEjoId","slug":"skills-onesource-io-593b3274","name":"Blockchain Transaction Receipt Lookup","description":"Retrieves the receipt for a blockchain transaction hash, including status, gas usage, block information, and execution metadata.","url":"https://skills.onesource.io/api/chain/receipt/0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060","method":"GET","headers":{},"bodySchema":{"type":"object","required":[],"properties":{"network":{"enum":["ethereum","sepolia","avax","megaeth","megaeth-testnet","base"],"type":"string","default":"ethereum","description":"The blockchain network to query. The transaction hash is passed in the URL path, not the body."}}},"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":"0x5df9b87991262f6ba471f09758cde1c0fc1de734","from":"0xa1e4380a3b1f749673e270229993ee55f35663b4","logs":[],"type":"0x0","status":"0x1","gasUsed":"0x5208","blockHash":"0x4e3a3754410177e6937ef1f84bba68ea139e8d1a2258c5f85db9f1cd715a1bdd","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","blockNumber":"0xb443","contractAddress":null,"transactionHash":"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060","transactionIndex":"0x0","cumulativeGasUsed":"0x5208","effectiveGasPrice":"0x2d79883d2000"}},"meta":{"endpoint":"/api/chain/receipt/0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060","request_id":"b1510183f4993983"}}},"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_nmYhPZLa8hMr_ihTJ4XrQ","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":"Retrieves the full receipt for a blockchain transaction by hash, including status, gas usage, block info, and execution metadata across multiple networks.","exampleAgentPrompt":"Can you pull the transaction receipt for 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 on Ethereum — I want to see if it succeeded, how much gas it used, and what block it landed in?","exampleUseCases":[{"title":"Verify failed smart contract deployment","prompt":"I tried deploying a contract earlier but I'm not sure it went through. Can you check the receipt for transaction 0x8e4d5c7f9a2b1c3d4e5f6a7b8c9d0e1f2a3b4c5d — did it actually fail, and if so, how much gas did I burn?"},{"title":"Extract event logs from token transfer","prompt":"We sent some tokens through a contract call with hash 0x3f8e1d9c7a5b2f4e6c8a0d1b3f5e7a9c1d3f5b7e9a — can you pull the receipt and show me what events were emitted during that execution?"},{"title":"Audit cross-chain transaction gas costs","prompt":"I executed a bridge transaction on Base with hash 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b — pull the receipt and tell me the exact gas used and which block confirmed it."}],"resultDescription":"Returns a transaction receipt object including: to/from addresses, transaction status (0x1 = success, 0x0 = failure), gas used (hex), block hash, block number, contract address (if deployment), logs array, logs bloom filter, and transaction type. All numeric values are hex-encoded.","failureModes":["Invalid transaction hash format (must be 0x-prefixed 64-character hex) returns validation error","Transaction hash not found on the specified network returns null or 404","Unsupported network value returns enum validation error","Transaction is still pending (not yet mined) may return null receipt","Network congestion or RPC timeout may cause slow or failed responses"],"whenToPreferThis":"Use this endpoint when you need to confirm transaction execution status, verify gas consumption, find the block a transaction landed in, or retrieve event logs emitted by a smart contract call — specifically when you have a transaction hash and need the canonical on-chain receipt. Supports Ethereum mainnet, Sepolia, Avalanche, MegaETH, MegaETH testnet, and Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:40:31.435Z","isFirstParty":false}