Skip to content
Alchemy Logo

reconnect

function 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.

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

ParameterTypeDescription

config

AlchemyAccountsConfig

the account config which contains the client store

Promise<void>

Was this page helpful?