@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
10 lines • 504 B
TypeScript
import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets";
import BigNumber from "bignumber.js";
import { GroupedAccount } from "./groupAccountsByAsset";
export declare const calculateProviderTotals: (currencies: CryptoOrTokenCurrency[], groupedAccountsByAsset: Record<string, GroupedAccount>) => {
totalBalance: BigNumber;
totalFiatValue: BigNumber;
hasAccounts: boolean;
referenceCurrency: CryptoOrTokenCurrency | null;
};
//# sourceMappingURL=calculateProviderTotal.d.ts.map