Home

Get the number of uncle blocks by block hash

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_getUncleCountByBlockHashrequired
paramsArray<string>required

An array containing the block hash.

idintegerrequired

Response

200OK

Number of uncles in the block