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

Parameters

Params - a string array containing (required):

  • QUANTITY|TAG(hex string|string, required) - integer block number in hex string format, or the string "latest", "earliest" or "pending", see the default block parameter.

Returns

QUANTITY(string) - integer of the number of uncles in this block.

Language
Click Try It! to start a request and see the response here!