curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockNumber",
"params": [
"latest"
],
"id": 1
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}Returns the number of uncle blocks for a given block number.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockNumber",
"params": [
"latest"
],
"id": 1
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}blockNumber (string, required) — Block number in hex format, or one of the special tags: “earliest”, “latest”, “pending”, or “finalized”null if the block is not found.
JSON-RPC version
2.0 The RPC method name
eth_getUncleCountByBlockNumber Parameters: [blockNumber]
Request identifier
Was this page helpful?