Serialize block hash