🤔 Got questions? Schedule an office hours session.

eth_getTransactionByBlockNumberAndIndex - Lens Testnet


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