diff --git a/src/main/java/haveno/price/spot/ExchangeRateService.java b/src/main/java/haveno/price/spot/ExchangeRateService.java index 29f1002..dc9cb66 100644 --- a/src/main/java/haveno/price/spot/ExchangeRateService.java +++ b/src/main/java/haveno/price/spot/ExchangeRateService.java @@ -40,6 +40,7 @@ class ExchangeRateService { private final List providers; private final List transformers; private final GatedLogging gatedLogging = new GatedLogging(); + private static final String VERSION = "0.0.2"; /** * Construct an {@link ExchangeRateService} with a list of all @@ -77,6 +78,7 @@ public Map getAllMarketPrices() { // return result LinkedHashMap result = new LinkedHashMap<>(metadata); result.put("data", aggregateExchangeRates); + result.put("version", VERSION); return result; }