reconnect

1function reconnect(config): Promise<void>;

Defined in: account-kit/core/src/actions/reconnect.ts:19

This method will use the current state in the client store and attempt to restore connected instances of previously used accounts and the signer.

Example

1import { reconnect } from "@account-kit/core";
2import { config } from "./config";
3
4await reconnect(config);

Parameters

ParameterTypeDescription

config

AlchemyAccountsConfig

the account config which contains the client store

Returns

Promise<void>