fix missing getcaluechain definition

added missing getvaluechain definition