Docs

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 CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format