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.

Eth Get Transaction by Block Hash and Index Result0object
OR
Eth Get Transaction by Block Hash and Index Result1object
OR
Eth Get Transaction by Block Hash and Index Result2object
OR
Eth Get Transaction by Block Hash and Index Result3object