Parameters
Block number in hexadecimal, or a block tag:
latest, earliest, pending, safe, or finalized.The transaction’s index position in the block as a hexadecimal integer.
Returns
A transaction object with the same fields as
eth_getTransactionByHash, or null if no transaction was found at that position.