Use block header api