teckel Ethereum icon

teckel Ethereum

Query the Ethereum blockchain via the teckel platform

Get Block Tx Count by Hash

AI-generated

Summary

Retrieves the number of transactions contained in a specific Ethereum block identified by its hash.

Inputs

  • network — The network to query (mainnet or sepolia). Defaults to mainnet.
  • block_hash (required) — The hash of the Ethereum block (0x-prefixed hex).

Output shape

A single data item containing the transaction count for the specified block.

The result is a JSON object where the transaction count is typically a stringified integer (e.g., 15).

Examples

Example 1: Check how many transactions were included in block 0x12345abc...

Operation: Get Block Tx Count by Hash, Block Hash: 0x12345abc...

Links

Discussion