Returns the number of uncles in a block by block number.
Parameters
string
required
Integer block number, or the string “latest”, “earliest” or “pending”.
Returns
string
The number of uncles in this block as a hexadecimal string.
Error Handling
Uncle blocks are blocks that were mined but not included in the main blockchain. This method returns their count for a specific block number.