eth_getTransactionByHash - IoTeX RPC Method
Retrieve transaction details by hash on IoTeX. Essential for DePIN builders, IoT device manufacturers, and real-world AI application developers tracking transactions on the leading DePIN infrastructure blockchain powering 130+ applications in the $27B+ DePIN ecosystem.
Returns the information about a transaction by transaction hash on IoTeX.
Why IoTeX? Build on the leading DePIN infrastructure blockchain powering 130+ applications in the $27B+ DePIN ecosystem with W3bstream offchain compute, Quicksilver AI data verification, Vodafone partnership for 5M+ cell tower integration, and ioID device identity.
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 decentralized physical infrastructure (DePIN), IoT device identity (ioID), and AI-verified real-world data
- 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 IoTeX. Essential for broadcasting transactions for decentralized physical infrastructure (DePIN), IoT device identity (ioID), and AI-verified real-world data.
eth_getTransactionReceipt
Get transaction receipt with status and logs on IoTeX. Essential for verifying transaction execution for decentralized physical infrastructure (DePIN), IoT device identity (ioID), and AI-verified real-world data.