@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
13 lines • 564 B
TypeScript
import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets";
import { ApyType } from "../../dada-client/types/trend";
type InterestRate = {
value: number;
type: ApyType;
};
type InterestRateResult = {
interestRate: InterestRate | undefined;
interestRatePercentageRounded: number;
};
export declare function getInterestRateForAsset(asset: CryptoOrTokenCurrency, interestRates: Record<string, InterestRate | undefined>, networks?: CryptoOrTokenCurrency[]): InterestRateResult;
export {};
//# sourceMappingURL=getInterestRateForAsset.d.ts.map