Eth_getUncleCountByBlockNumber

Get the number of uncle blocks by block number

post
Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_getUncleCountByBlockNumber
paramsstring[] · min: 1 · max: 1Required

An array containing the block number as a hex string.

Example: ["0x10d4f"]
idintegerRequiredExample: 1
Responses
chevron-right
200

Number of uncle blocks in the block

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 1
resultstringOptional

The number of uncle blocks as a hex string (e.g., "0x0" for zero uncles).

post
/
200

Number of uncle blocks in the block

Last updated