eth_getUncleCountByBlockNumber

The eth_getUncleCountByBlockNumber method returns the number of uncles in a block from a block matching the given block number on the Kaia network. Similar to eth_getUncleCountByBlockHash but uses block number for identification, making it convenient for sequential block processing and blockchain analysis.


Parameters

parameter
type
description
blockParameter
string (required)
Block number in hex or tag (latest, earliest, pending)
Return Object
field
type
description
result
string
The number of uncles in the specified block encoded as a hexadecimal string
Request Example
Request
Response Example
Response

Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?