introduce getBlockHeader API