Skip to content

createDefaultAccountState

Creates the default account state for the given chains.

Import

import { createDefaultAccountState } from "@account-kit/core";

Parameters

chains

Chain[] The chains to create the account state for

Returns

NoUndefined<StoreState["accounts"]> The default account state for the given chains