Getting uncles#

Retrieves information about uncle blocks (blocks rejected by the network).

eth_getUncleByBlockHashAndIndex : Fetches details of an uncle block by its hash and index.
eth_getUncleByBlockNumberAndIndex : Retrieves an uncle block by its block number and index.
eth_getUncleCountByBlockHash : Returns the count of uncles for a specific block hash.
eth_getUncleCountByBlockNumber : Retrieves the number of uncles for a block number.

These methods are useful for tracking uncle blocks on Optimism.

Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key