Home

Get the number of uncle blocks by block number

POST
https://elysium.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Elysium Nitro has no proof-of-work uncle blocks. For an existing block the uncle count is zero; uncle lookup returns null.

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