TheRPCを始める
APIリファレンス
イーサリアムAPI
Core API
ガイド
Ethereum/Core API/eth_getUncleCountByBlockHash

eth_getUncleCountByBlockHash

The eth_getUncleCountByBlockHash method returns the number of uncles (ommer blocks) in a block specified by the block hash. Uncle blocks are valid blocks that weren't included in the main chain but are still referenced and partially rewarded in Ethereum.

Use Cases

  • Block explorer statistics
  • Mining pool analytics
  • Network health monitoring
  • Block validation verification
  • Consensus algorithm research
  • Uncle rate analysis
  • Historical block data collection
  • Mining reward calculations

Method Details

This method returns a count of uncle blocks for a specific block identified by its hash.

パラメータ:

The hash of the block

返り値:

Integer of the number of uncles in this block (hexadecimal)

Response Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1" // 1 uncle in this block
}

See also

より良くするためにご協力ください!
このページを共有して、より良い製品を作るのに協力してください。