add getNodeEndpoints