eth_getTransactionByBlockHashAndIndex

Returns information about a transaction by block hash and transaction index position.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block hashstringRequiredformat: "^0x[0-9a-f]{64}$"
The hash of the block containing the transaction.
Transaction indexstringRequiredformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The index position of the transaction in the block's transaction list, as a hexadecimal string.

Response

The transaction object containing various properties of the transaction.
Signed 4844 Transactionobject
OR
Signed 1559 Transactionobject
OR
Signed 2930 Transactionobject
OR
Signed Legacy Transactionobject