teckel Ethereum icon

teckel Ethereum

Query the Ethereum blockchain via the teckel platform

Get Uncle Count by Block Number

AI-generated

Summary

Retrieves the number of uncles (OMG blocks) for a specified Ethereum block using the teckel platform.

Inputs

  • Network — The blockchain network to query: mainnet or sepolia.
  • Block — The block number or identifier to query (e.g., 'latest', 'earliest', 'pending', 'safe', or a specific integer).

Output shape

A single record containing the uncle count as a string (e.g., '0x0' or '0x1').

The value is returned as a hexadecimal string.

Examples

Example 1: Query the latest block for uncles on the mainnet

Network: mainnet, Block: latest

Example 2: Check the number of uncles in block 15000000 on Sepolia

Network: sepolia, Block: 15000000

Links

Discussion