tuweni / org.apache.tuweni.eth.repository / BlockchainIndexReader / totalDifficulty

totalDifficulty

abstract fun totalDifficulty(hash: Bytes): UInt256? (source)

Retrieves the total difficulty of the block header, if it has been computed.

Parameters

hash - the hash of the header

Return
the total difficulty of the header if it could be computed.