getHeader

abstract fun getHeader(height: Long): iBlockHeader?

Get a main chain (a chain with the most work) header by its height


abstract fun getHeader(hash: ByteArray): iBlockHeader?

If a header identified by this hash does not exist, return null


abstract fun getHeader(hash: Hash256): iBlockHeader?