AccountState: {
    error: string | undefined;
    publicKey: string;
    status: "uninitialized" | "loading" | "idle";
}

The shape of the Account state in the Redux store.

Type declaration

  • error: string | undefined

    An error message that can occur during any operations.

  • publicKey: string

    The public key of the user's account.

  • status: "uninitialized" | "loading" | "idle"

    Represents the loading state of the account.

    • uninitialized: The state before any operations are performed.
    • loading: When an operation related to the account is ongoing.
    • idle: When no operations are in progress.

Generated using TypeDoc