Home

Get the number of uncle blocks by block number

POST
https://cronos.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Cronos does not produce proof-of-work uncle blocks. In the tested block, the uncle count was zero and uncle lookup returned null. This method is retained for EVM compatibility.

Body

application/json
jsonrpcstringrequired
methodstringeth_getUncleCountByBlockNumberrequired
paramsArray<string>required

An array containing the block number as a hex string.

idintegerrequired

Response

200OK

Number of uncle blocks in the block