API: Give block details along with errors