Home

Get the number of uncle blocks by block number

POST
https://robinhood.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Arbitrum Nitro L2 blocks do not produce Ethereum proof-of-work uncle blocks; the expected result is null or zero.

Body

application/json

JSON-RPC 2.0 request to the Robinhood Chain mainnet endpoint.

Request payload for Get the number of uncle blocks by block number.

jsonrpcstringrequired

JSON-RPC protocol version.

methodstringrequired

JSON-RPC method name.

paramsArray<string>required

An array containing the block number as a hex string.

idintegerrequired

Client-provided request identifier echoed in the response.

Response

200OK

Number of uncle blocks in the block

500Internal Server Error

Upstream node or gateway error.