Arbitrum One
Arbitrum One
eth_getUncleByBlockHashAndIndex
The eth_getUncleByBlockHashAndIndex method returns information about an uncle (ommer) block by a block hash and uncle index position.
Use Cases
- Analyzing blockchain network health
- Verifying uncle rewards distribution
- Researching mining/validation competition
- Studying blockchain throughput and latency
- Understanding network security through uncle rate
- Mining strategy analysis
- Historical blockchain research
- Block confirmation verification
Method Details
Returns information about the uncle (ommer) block by the block hash and uncle index position.
Response Example
Understanding Uncle Blocks
Uncle blocks (also called ommers) are valid blocks that were mined but not included in the main blockchain. This happens when two miners find a valid block at nearly the same time, but only one can be accepted into the main chain.
Why Uncle Blocks Matter
- Network Security: A high uncle rate may indicate network latency or high mining competition
- Rewards: Miners of uncle blocks receive partial rewards (2/32 of block reward pre-EIP-1559)
- Block Inclusion: Uncles are referenced in regular blocks (up to 2 per block)
- Chain Confirmation: Uncles contribute to blockchain security despite not being in the main chain
Uncle Rewards Calculation
Uncle block miners receive rewards based on the formula:
Where:
- Uncle Block Number is the block number of the uncle block
- Main Block Number is the block number that included the uncle reference
- Block Reward is the standard block reward (varies by network upgrade)
Important Notes
- Uncle blocks contain header information only, no transactions
- Uncles must be within 6 blocks of the including block
- Post-Merge (PoS), uncles no longer exist as validators produce blocks in slots
- The uncle rate is an important network health metric
- Uncle information can be vital for analyzing historical blockchain data
See also
- eth_getUncleByBlockNumberAndIndex - Get uncle block data using the block number and uncle index
- eth_getUncleCountByBlockHash - Count the number of uncles in a block using its hash
- eth_getBlockByHash - Get full block information including uncle references
Parameters
Hash of the block containing the uncle
The index position of the uncle (hex)