Home

Get the number of uncle blocks by block number

POST
https://cfx-evm.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns zero for a valid block, or null if the specified block does not exist. Conflux eSpace has no uncle blocks.

Request and response values are illustrative examples, not live mainnet data.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string>required

An array containing the block number as a hex string.

idintegerrequired

Response

200OK

Number of uncle blocks in the block