Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

createFrankfurterHistoricalRateProvider

function createFrankfurterHistoricalRateProvider(options?): HistoricalRateProvider;

Defined in: packages/engine/src/uom/FrankfurterHistoricalRates.ts:144

Build the built-in HistoricalRateProvider: one GET to the Frankfurter v2 endpoint with base, quotes and date, after the refusals in refuseFrankfurterHistorical. The caller’s signal is passed to the fetch, so the resolver’s timeout and cancellation stop it.

ParameterType
optionsFrankfurterHistoricalOptions

HistoricalRateProvider