Skip to content

This site describes solve-engine 2.44.0, the version npm installs.

PrimeRatesOptions

Defined in: packages/engine/src/uom/CurrencyExchange.ts:31

Options for CurrencyExchangeService.primeRates: where the rates came from, so a conversion that uses them can say so.

provider?: string;

Defined in: packages/engine/src/uom/CurrencyExchange.ts:33

The provider’s name, recorded on every conversion that uses this table. Defaults to PRIMED_RATES_PROVIDER.


publishedAt?: number;

Defined in: packages/engine/src/uom/CurrencyExchange.ts:39

When the host’s rates were published, in epoch milliseconds. Recorded as the source’s fetchedAt. Defaults to the moment of priming. It does not move the freshness window, which always runs from the moment of priming.