defaultAccountState

Returns the default state for an account of a supported type.

Import

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

Usage

1import { defaultAccountState } from "@account-kit/core";
2
3const defaultLightAccountState = defaultAccountState<"LightAccount">();

Returns

AccountState<T> The default state for the specified account type