MOD-491 : Implement average blocks api functions