Skip to main content
Returns information about a transaction given a block hash and the transaction’s index position within that block.

Parameters

string
required
The 32-byte block hash.
string
required
The transaction index position as a hexadecimal integer.

Returns

object | null
A transaction object, or null if not found. See eth_getTransactionByHash for the full field list.

Example