Vana SDK - v2.2.2
    Preparing search index...

    Function getServiceEndpoints

    • Retrieves the default service endpoints for a given chain ID

      Parameters

      • chainId: number

        The numeric chain ID

      Returns ServiceEndpoints | undefined

      Service endpoints for the chain, or undefined if not supported

      const services = getServiceEndpoints(1480);
      if (services) {
      console.log('Personal server:', services.personalServerUrl);
      console.log('Subgraph:', services.subgraphUrl);
      }