teckel Ethereum icon

teckel Ethereum

Query the Ethereum blockchain via the teckel platform

Get Block by Hash

AI-generated

Summary

Queries Ethereum block details by block hash via the teckel platform, returning either full transaction objects or only hashes.

Inputs

  • network — Target network (mainnet or sepolia). Defaults to mainnet.
  • block_hash (required) — The block hash to query (0x-prefixed hex).
  • is_full — Whether to return full transaction objects (true) or only transaction hashes (false). Defaults to false.

Output shape

A list of items, each containing a JSON object with the block data (including transaction hashes if is_full is false).

The returned JSON structure matches the Ethereum JSON-RPC response for eth_getBlockByHash.

Examples

Example 1: Fetch full block details for a specific mainnet block.

network: mainnet, block_hash: 0x123..., is_full: true

Example 2: Fetch only transaction hashes for a Sepolia block.

network: sepolia, block_hash: 0xabc..., is_full: false

Links

Discussion