eth_getUncleCountByBlockNumber

Retrieves the number of uncle blocks for a specific block identified by its number

Request
Examples
curl https://rpc.xone.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_getUncleCountByBlockNumber","params":["0xc5043f"],"id":1,"jsonrpc":"2.0"}'
Response
200 OK
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0"
}

Request params

NameTypeDescription
idintegerRequest identifier
jsonrpcstringJSON-RPC version
methodstringAPI method name
Parametersarray of strings 
blockNumberstring(optional) Block number as an integer, or string

Response

200
The number of uncle blocks associated with the specified block
NameTypeDescription
Parametersstring 
unclesstring