Docs

eth_getTransactionByHash - XDC Network RPC Method

Retrieve transaction details by hash on XDC Network. Essential for trade finance developers, enterprise blockchain teams, and RWA tokenization builders tracking transactions on the enterprise-grade blockchain for trade finance with 2-second finality and ISO 20022 compliance.

Returns the information about a transaction by transaction hash on XDC Network.

Why XDC Network? Build on the enterprise-grade blockchain for trade finance with 2-second finality and ISO 20022 compliance with ISO 20022 messaging, ITFA membership, Contour Network acquisition, 801M+ transactions, and partnerships with Circle and Deutsche Telekom.

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 tokenized trade finance (Letters of Credit, Bills of Lading), cross-border payments, and real-world asset tokenization
  • Block explorers - Display transaction information

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format