eth_getUncleCountByBlockNumber

Returns the number of uncle blocks in a block, based on the provided block number.

⚠ This endpoint is only available with Blast access.

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.