eth_getUncleCountByBlockNumber

Returns the number of uncles in a block matching the given block number.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block number or tagstring or enumRequired

The block number or special tags like ‘latest’, ‘earliest’, or ‘pending’.

Response

The number of uncle blocks as a hexadecimal string.