UNPKG

@ledgerhq/live-common

Version:
13 lines 564 B
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