bitpay-sdk
Version:
Complete version of the NodeJS library for the new cryptographically secure BitPay API
12 lines (11 loc) • 356 B
TypeScript
import { RateClient } from '../../Client/RateClient';
import { RateInterface } from './Rate';
declare class Rates {
private rates;
constructor(rates: RateInterface[]);
getRates(): RateInterface[];
getRate(currencyCode: string): number;
update(rateClient: RateClient): Promise<void>;
private static castRatesObj;
}
export { Rates };