pub fn with_endpoints(router: Router<State>) -> Router<State>
Add the node API endpoints to the given router.
endpoint
router