eth_getTransactionReceipt - XDC Network RPC Method
Get transaction receipt with status and logs on XDC Network. Essential for verifying transaction execution for tokenized trade finance (Letters of Credit, Bills of Lading), cross-border payments, and real-world asset tokenization.
Returns the receipt of a transaction by transaction hash on XDC Network. Receipt is only available for mined transactions.
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_getTransactionReceipt method is essential for:
- Transaction confirmation - Verify transaction was mined successfully
- Gas analysis - Check actual gas used vs estimated
- Event parsing - Read emitted events from logs
- Status verification - Confirm success/failure for tokenized trade finance (Letters of Credit, Bills of Lading), cross-border payments, and real-world asset tokenization
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash |
Note: Returns null if transaction is not yet mined.
Related Methods
eth_getTransactionByHash- Get transaction detailseth_getLogs- Query logs by filter
eth_getTransactionByHash
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.
eth_estimateGas
Estimate gas required for transactions on XDC Network. Essential for optimizing transaction costs for tokenized trade finance (Letters of Credit, Bills of Lading), cross-border payments, and real-world asset tokenization.