eth_getTransactionReceipt - Cronos RPC Method
Get transaction receipt with status and logs on Cronos. Essential for verifying transaction execution for DeFi protocols, NFT marketplaces, and Crypto.com ecosystem integrations.
Returns the receipt of a transaction by transaction hash on Cronos. Receipt is only available for mined transactions.
Why Cronos? Build on the EVM-compatible Crypto.com blockchain with fast finality and deep Crypto.com ecosystem integration.
Use Cases
The eth_getTransactionReceipt method is essential for:
- Transaction confirmation - Verify transaction was mined successfully
- Gas analysis - Check actual gas used vs estimated
- Event parsing - Read emitted events from logs
- Status verification - Confirm success/failure for DeFi protocols, NFT marketplaces, and Crypto.com ecosystem integrations
Request Parameters
32-byte transaction hash
Response Body
1 (success) or 0 (failure)
Transaction hash
Block hash
Block number
Gas used by this transaction
Total gas used in block up to this tx
Array of log objects
Created contract address (if deployment)
Code Examples
curl -X POST https://api-cronos-mainnet-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getTransactionReceipt",
"params": ["0x159952dbecdbb7c17e962de632fe2560cddcdb371b4d98f37015e3682669f39c"],
"id": 1
}'Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash |
Note: Returns null if transaction is not yet mined.
Related Methods
eth_getTransactionByHash- Get transaction detailseth_getLogs- Query logs by filter
eth_getTransactionByHash
Retrieve transaction details by hash on Cronos. Essential for Cronos developers building DeFi and payment applications tracking transactions on the EVM-compatible Crypto.com blockchain.
eth_estimateGas
Estimate gas required for transactions on Cronos. Essential for optimizing transaction costs for DeFi protocols, NFT marketplaces, and Crypto.com ecosystem integrations.