eth_getTransactionByHash | Base

Base API method eth_getTransactionByHash retrieves information about a transaction given its hash. This method is crucial for tracking transaction details and status.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • transactionHash — the hash of the transaction to retrieve.

Response

  • result — an object containing details about the transaction, including the block hash, block number, from address, gas used, gas price, hash, input data, nonce, to address, transaction index, value transferred, and the signature components (v, r, s).

Use case

The eth_getTransactionByHash method is essential for:

  • Wallets and exchanges that track transactions to update user balances and display transaction statuses.
  • DApps that need to verify transaction execution or retrieve transaction inputs for processing.
  • Services that monitor the Base network for specific transaction patterns or activities.

Try the eth_getTransactionByHash RPC method yourself

Language
Click Try It! to start a request and see the response here!