eth_getTransactionReceipt - Scroll RPC Method
Get transaction receipt with status and logs on Scroll. Essential for verifying transaction execution for zero-migration DeFi protocols, zkEVM-native dApps, and 100+ ecosystem projects with native Ethereum tooling.
Returns the receipt of a transaction by transaction hash on Scroll. Receipt is only available for mined transactions.
Why Scroll? Build on the largest zkEVM by market share with $750M+ TVL and bytecode-level Ethereum equivalence with bytecode-level EVM equivalence, native Hardhat/Remix/MetaMask support, decentralized proof validation, and Scroll SDK for L2/L3 deployment.
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 zero-migration DeFi protocols, zkEVM-native dApps, and 100+ ecosystem projects with native Ethereum tooling
Code Examples
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 Scroll. Essential for Ethereum developers, DeFi builders, and teams requiring seamless mainnet migration tracking transactions on the largest zkEVM by market share with $750M+ TVL and bytecode-level Ethereum equivalence.
eth_estimateGas
Estimate gas required for transactions on Scroll. Essential for optimizing transaction costs for zero-migration DeFi protocols, zkEVM-native dApps, and 100+ ecosystem projects with native Ethereum tooling.