Docs

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