Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RemoteNodeService

Index

Constructors

constructor

Properties

Private restUrls

restUrls: undefined | string[]

Methods

createNodeApiRestClient

  • createNodeApiRestClient(statisticsServiceUrl: string): NodeApi

getBestFinalizationEpoch

  • getBestFinalizationEpoch(urls: string[]): Promise<undefined | number>

getBestRepositoryInfo

  • getBestRepositoryInfo(url: undefined | string): Promise<RepositoryInfo>

Private getKnownNodeRepositoryInfos

  • getKnownNodeRepositoryInfos(urls: string[]): Promise<RepositoryInfo[]>

getPeerInfos

getRestUrls

  • getRestUrls(): Promise<string[]>

isConnectedToInternet

  • isConnectedToInternet(): Promise<boolean>

resolveCurrentFinalizationEpoch

  • resolveCurrentFinalizationEpoch(): Promise<number>

Private sortByHeight

Static getNodeRoles

  • getNodeRoles(role: number): string

Generated using TypeDoc