For the complete documentation index, see llms.txt. This page is also available as Markdown.

Eth_getUncleCountByBlockHash

Get the number of uncle blocks by block hash

post
Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_getUncleCountByBlockHash
paramsstring[] · min: 1 · max: 1Required

An array containing the block hash.

Example: ["0x9b559a937406429b662b9bd5b2be3c7a2ed36b5a0dbcf0d07a987f695705daec"]
idintegerRequiredExample: 1
Responses
200

Number of uncles in the block

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 1
resultstringOptional

The number of uncle blocks as a hex string (e.g., "0x2" for 2 uncles).

post/
200

Number of uncles in the block

Last updated