eth_getUncleCountByBlockNumber
Returns the number of uncle blocks referenced by a MegaETH block selected by number.
Last updated
Returns the number of uncle blocks referenced by a MegaETH block selected by number.
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.
0
block
QUANTITY or block tag
Yes
Block number or latest, safe, finalized, earliest, or pending.
The result is a hexadecimal QUANTITY containing the uncle count. For a valid MegaETH block this is zero.
The method returns the number of uncles referenced by the selected block.
MegaETH inherits the compatibility method, but its proof-of-stake L2 blocks do not contain proof-of-work uncles.
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.
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.
Endpoint: https://mainnet.megaeth.com/rpc
Capture date: July 24, 2026
Outcome: success
Probe: MegaETH Mainnet public endpoint, July 24, 2026
Last updated
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getUncleCountByBlockNumber",
"params": ["latest"]
}{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}