eth_getTransactionByHash - Avalanche RPC Method
Retrieve transaction details by hash on Avalanche. Essential for enterprise developers, RWA tokenizers, and teams building custom blockchain networks tracking transactions on the fastest smart contract platform with sub-second finality and customizable L1 subnets.
Returns the information about a transaction by transaction hash on Avalanche.
Why Avalanche? Build on the fastest smart contract platform with sub-second finality and customizable L1 subnets with sub-second finality, Evergreen subnets for institutions, and partnerships with Franklin Templeton, VanEck, and Bergen County.
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 institutional RWA tokenization ($18B+ transfer volume), gaming subnets, and enterprise blockchains
- 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 Avalanche. Essential for broadcasting transactions for institutional RWA tokenization ($18B+ transfer volume), gaming subnets, and enterprise blockchains.
eth_getTransactionReceipt
Get transaction receipt with status and logs on Avalanche. Essential for verifying transaction execution for institutional RWA tokenization ($18B+ transfer volume), gaming subnets, and enterprise blockchains.