Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.  Schedule Office Hours

eth_getTransactionByBlockHashAndIndex - Optimism Sepolia


Summary

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

Parameters

1. Block Hash BlockHash

Hash of a block to get information from
Example: i.e. 0x12345...

2. Index Hex

Hex of tx position in the block
Example: i.e. 0x0, 0x1, 0x2...

Code Examples