[REST] add /rest/chaininfos