Actions20
- Block Number
- Chain ID
- Gas Price
- Get Balance
- Get Block by Hash
- Get Block by Number
- Get Block Tx Count by Hash
- Get Block Tx Count by Number
- Get Code
- Get My Balance
- Get Transaction by Block Hash and Index
- Get Transaction by Block Number and Index
- Get Transaction by Hash
- Get Transaction Count
- Get Transaction Receipt
- Get Uncle Count by Block Hash
- Get Uncle Count by Block Number
- Help
- Peer Count
- Syncing
Get Transaction by Block Number and Index
AI-generatedSummary
Retrieves a specific transaction object from a block using the transaction's index position.
Inputs
- network — The Ethereum network to query (mainnet or sepolia).
- block — Block number (integer) or one of: latest, earliest, pending, safe, finalized.
- index (required) — Transaction index position (integer).
Output shape
A list of items, each containing a single transaction object (JSON).
Requires a valid teckelEthereumApi credential. If the node is configured to continue on error, failed requests return a single item with an 'error' field.
Examples
Example 1: Get the first transaction in the latest block on Mainnet.
Network: mainnet, Block: latest, Index: 0
Example 2: Get a specific transaction by its block number and position on Sepolia.
Network: sepolia, Block: 12345678, Index: 5