Skip to content

defaultAccountState

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

Import

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

Usage

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

Returns

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