Docs
chromia.com

Function

canImportAccount

  • canImportAccount(
        targetChainConnection: Connection,
        keyStore: KeyStore,
    ): Promise<CanImportAccountResult[]>

    Checks which accounts can be imported from trusted chains.

    Parameters

    • targetChainConnection: Connection

      The connection to the target blockchain where the account would be imported.

    • keyStore: KeyStore

      The keystore to use for checking accounts on trusted chains.

    Returns Promise<CanImportAccountResult[]>

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