eth_getTransactionByHash - World Chain RPC Method
Retrieve transaction details by hash on World Chain. Essential for World Chain developers building sybil-resistant applications tracking transactions on the human-first Ethereum L2 powered by World ID.
Returns the information about a transaction by transaction hash on World Chain.
Why World Chain? Build on the human-first Ethereum L2 powered by World ID with World ID integration for free gas and priority blockspace.
Use Cases
The eth_getTransactionByHash method is essential for:
- Transaction tracking - Get details of pending or confirmed transactions
- Payment verification - Verify transaction parameters
- Debugging - Analyze transaction data for human-verified DeFi, identity-gated applications, bot-resistant services
- Block explorers - Display transaction information
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash format |
Related Methods
eth_getTransactionReceipt- Get transaction receipteth_sendRawTransaction- Send transaction
eth_sendRawTransaction
Submit signed transactions to World Chain. Essential for broadcasting transactions for human-verified DeFi, identity-gated applications, bot-resistant services.
eth_getTransactionReceipt
Get transaction receipt with status and logs on World Chain. Essential for verifying transaction execution for human-verified DeFi, identity-gated applications, bot-resistant services.