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

> canImportAccount(
    targetChainConnection: Connection ,
    keyStore: KeyStore ,
): Promise< CanImportAccountResult []> Checks which accounts can be impo

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/registration.canImportAccount/

Function

# canImportAccount

* ```signature
  canImportAccount(
      targetChainConnection: Connection,
      keyStore: KeyStore,
  ): Promise<CanImportAccountResult[]>
  ```

  Checks which accounts can be imported from trusted chains.

  #### Parameters

  + targetChainConnection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    The connection to the target blockchain where the account would be imported.
  + keyStore: [KeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.KeyStore/)

    The keystore to use for checking accounts on trusted chains.

  #### Returns Promise<[CanImportAccountResult](https://docs.chromia.com/pages/ft4-ts-client/types/registration.CanImportAccountResult/)[]>

  A promise that resolves to an array of results indicating which accounts can be imported and whether they require signatures.

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