Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
blockNumber
(string, required) — Block number in hex format, or one of the special tags: “earliest”, “latest”, “pending”, or “finalized”
Returns
Returns the number of uncle blocks as a hex-encoded integer, ornull
if the block is not found.
On Hyperliquid, uncle blocks are not part of the consensus mechanism. This method is included for Ethereum compatibility but will typically return “0x0” as Hyperliquid doesn’t produce uncle blocks.
Use cases
- Ethereum compatibility — Maintain compatibility with Ethereum RPC interfaces
- Network monitoring — Track uncle block production across different block heights
- Performance analysis — Analyze network efficiency and block production patterns
- Compatibility testing — Verify application behavior when migrating from Ethereum
- Protocol comparison — Compare consensus mechanisms between networks
- API completeness — Implement full Ethereum RPC compatibility
Body
application/json
JSON-RPC version
Available options:
2.0
The RPC method name
Available options:
eth_getUncleCountByBlockNumber
Parameters: [blockNumber]
Request identifier