eth_getUncleCountByBlockHash
Returns the number of uncle blocks referenced by a MegaETH block selected by hash.
Last updated
Returns the number of uncle blocks referenced by a MegaETH block selected by hash.
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.
0
blockHash
DATA, 32 bytes
Yes
Hash of the block to inspect.
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 the count for a block hash. A valid Mainnet 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 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.
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_getUncleCountByBlockHash",
"params": [
"0x57804c21b747137075b29ce153b4f559345a3624273660c87e81bd57e7cbbc3d"
]
}{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}