eth_getUncleCountByBlockNumber
Returns the number of uncle blocks referenced by a MegaETH block selected by number.
Summary
Returns the number of uncle blocks referenced by a block selected by number or tag. MegaETH does not produce proof-of-work uncles, so valid MegaETH blocks return zero.
Parameters
0
block
QUANTITY or block tag
Yes
Block number or latest, safe, finalized, earliest, or pending.
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 immutable selections and treats head tags as dynamic. The latest 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 selector 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