eth_getTransactionByHash - Etherlink RPC Method
Retrieve transaction details by hash on Etherlink. Essential for Etherlink developers tracking transactions on Etherlink mainnet infrastructure and RPC surface.
Returns the information about a transaction by transaction hash on Etherlink.
When to Use This Method
Read the transaction recorded in block 4,162,737 using its hash.
Response Body
ResponseBest Practices
Keep the recorded block height and address together when reproducing a historical example. Preserve RPC errors instead of replacing them with empty results.
Code Examples
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"jsonrpc":"2.0","id":2,"method":"eth_getTransactionByHash","params":["0x0dc908c545bfefe9fd5b5198e39c1af2b3166e5e556a51f2efd55c4a449fa587"]}'eth_getTransactionCount
Get the number of transactions sent from an address (nonce) on Etherlink. Essential for nonce management, transaction signing, and detecting stuck transactions.
eth_getTransactionReceipt
Get transaction receipt with status and logs on Etherlink. Essential for verifying transaction execution for historical blockchain data.