Defined in the Ethereum JSON-RPC SpecificationDocumentation Index
Fetch the complete documentation index at: https://base-a060aa97-meyer9-move-azul-to-top-of-upgrades.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Returns the number of uncles in a block by block number.
Parameters
Integer block number, or the string “latest”, “earliest” or “pending”.
Returns
The number of uncles in this block as a hexadecimal string.
Error Handling
| Code | Message | Description |
|---|---|---|
| -32602 | Invalid block parameter | The provided block parameter is invalid |
| 4100 | Requested method not supported | The method is not supported by the wallet |
Uncle blocks are blocks that were mined but not included in the main blockchain. This method returns their count for a specific block number.