Full documentation
install:
npm i @plasma-platform/service-currencies -S
Short documentation
Table of Contents
ServiceCurrencies
Currencies API
getCurrencyExchangeRate
Request Currency information
Parameters
-
params
object
Examples
(async () => {
const service = new Service(url);
const request = await service.getCurrencyExchangeRate(params);
})();
Returns Promise<any>
getExchangeRateList
Get list of available currencies
Parameters
Examples
(async () => {
const service = new Service(url);
const request = await service.getExchangeRateList(date);
})();
Returns Promise<any>