sqltools library, db call for block status