UNPKG

@ledgerhq/coin-canton

Version:
10 lines 597 B
import type { AccountLike } from "@ledgerhq/types-live"; import { CantonAccount } from "./types"; export declare function isCantonAccountEmpty(account: Pick<CantonAccount, "operationsCount" | "balance" | "subAccounts" | "cantonResources">): boolean; /** * Check if a Canton account is empty (has no operations, no balance, and no pending transfer proposals) * @param account - The account to check (must be a Canton account) * @returns true if the account is empty, false otherwise */ export declare function isAccountEmpty(account: AccountLike): boolean; //# sourceMappingURL=helpers.d.ts.map