Add new api to get notification block state