eth_getUncleCountByBlockHash
Returns the number of uncle blocks referenced by a MegaETH block selected by hash.
Summary
Returns the number of uncle blocks referenced by a block selected by hash. MegaETH does not produce proof-of-work uncles, so valid MegaETH blocks return zero.
Parameters
0
blockHash
DATA, 32 bytes
Yes
Hash of the block to inspect.
Result
The result is a hexadecimal QUANTITY containing the uncle count. For a valid MegaETH block this is zero.
Comparison with Ethereum Standard JSON-RPC
Ethereum Standard
The method returns the number of uncles referenced by the selected block.
MegaETH Node Behavior
MegaETH inherits the compatibility method, but its proof-of-stake L2 blocks do not contain proof-of-work uncles.
MegaETH Public Gateway
The gateway may cache the count for a block hash. A valid Mainnet block returned an uncle count of zero on July 24, 2026.
Errors
The | Scope | column distinguishes method failures from gateway policy errors.
-32602
Method
Invalid params
The block hash is missing or malformed.
-32099
Transport/policy
Payload too large
The request exceeds the public endpoint body limit.
No method-specific errors were observed for a valid block.
Examples
Endpoint: https://mainnet.megaeth.com/rpc
Capture date: July 24, 2026
Outcome: success
Sources
Probe: MegaETH Mainnet public endpoint, July 24, 2026
Last updated