Skip to main content

eth_getTransactionByHash RPC Method

Returns the information about a transaction from a transaction hash.

Updated on
Mar 17, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

result
object

The transaction object, or null if no transaction is found

blockHash
string

The hash of the block containing this transaction. null if the transaction is pending

blockNumber
string

The block number containing this transaction, encoded as hexadecimal. null if the transaction is pending

from
string

The sender address

gas
string

The gas limit provided by the sender, encoded as hexadecimal

gasPrice
string

The gas price in wei, encoded as hexadecimal

maxFeePerGas
string

The maximum total fee per gas the sender is willing to pay, encoded as hexadecimal

maxPriorityFeePerGas
string

The maximum priority fee per gas the sender is willing to pay, encoded as hexadecimal

hash
string

The transaction hash

input
string

The transaction input data

nonce
string

The number of transactions sent from the sender before this one, encoded as hexadecimal

to
string

The recipient address. null if this is a contract creation transaction

transactionIndex
string

The transaction index within the block, encoded as hexadecimal. null if the transaction is pending

value
string

The value transferred in wei, encoded as hexadecimal

type
string

The transaction type, encoded as hexadecimal

accessList
array

The EIP-2930 access list

chainId
string

The chain ID, encoded as hexadecimal

v
string

The signature recovery parameter, encoded as hexadecimal

r
string

The R component of the signature

s
string

The S component of the signature

yParity
string

(Optional) The signature y-parity value, encoded as hexadecimal

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free