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

eth_getTransactionByBlockNumberAndIndex - Optimistic


Summary

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

Parameters

1. Block Number Quantity or Tag

Hex block number, or the string latest, earliest or pending
Example: i.e. latest or pending

2. Index Hex

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

Code Examples