@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
8 lines • 430 B
TypeScript
import { BaseRawDetailedAccount } from "../types/detailedAccount";
/**
* Sorts accounts by their fiat value in descending order
* @param accounts - List of accounts with fiat values to sort
* @returns Sorted list of accounts by fiat value balance in descending order
*/
export declare function sortAccountsByFiatValue<T extends BaseRawDetailedAccount>(accounts: T[]): T[];
//# sourceMappingURL=sortAccountsByFiatValue.d.ts.map