teckel Ethereum icon

teckel Ethereum

Query the Ethereum blockchain via the teckel platform

Get Transaction by Block Hash and Index

AI-generated

Summary

Retrieves a specific transaction's details from the Ethereum blockchain using a block hash and transaction index.

Inputs

  • network — Select the network (mainnet or sepolia). Defaults to mainnet.
  • block_hash (required) — The block hash (0x-prefixed hex) where the transaction resides.
  • index (required) — The transaction index position within the block (integer). Defaults to 0.

Output shape

A list of items, each containing the full transaction object returned by the API.

The exact fields in the transaction object depend on the underlying API response.

Examples

Example 1: Get the first transaction from block 0x123...

Network: mainnet, Block Hash: 0x123..., Index: 0

Example 2: Retrieve a specific transaction at index 5 from a known block hash.

Network: sepolia, Block Hash: 0xabc..., Index: 5

Links

Discussion