Docs
chromia.com

Function

getDirectoryClient

  • getDirectoryClient(nodeUrlPool: string[]): Promise<IClient>

    Creates an IClient instance configured to run against the directory chain available at the target url.

    Parameters

    • nodeUrlPool: string[]

      the url to the cluster

    Returns Promise<IClient>