# getDirectoryClient · FT4 TypeScript client · Chromia Docs (concept)

> getDirectoryClient(nodeUrlPool: string[]): Promise<IClient> Creates an IClient instance configured to run against the directory chain available
at the targ

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/utils.getDirectoryClient/

Function

# getDirectoryClient

* ```signature
  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>

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/utils.getDirectoryClient.html)Generated API reference, mirrored from the live docs
