diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-16 01:59:39 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-16 02:00:31 +0100 |
commit | bd65bb67e25a79b019d745b7262b2008ce2adb15 (patch) | |
tree | 89e1b032103a63737f1a703e6a943832ef261704 /src/wxApi.ts | |
parent | f91466595b651721690133f58ab37f977539e95b (diff) |
incrementally verify denoms
The denominations are not stored in a separate object store.
Diffstat (limited to 'src/wxApi.ts')
-rw-r--r-- | src/wxApi.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wxApi.ts b/src/wxApi.ts index 110ba442f..15e27c2e7 100644 --- a/src/wxApi.ts +++ b/src/wxApi.ts @@ -20,7 +20,7 @@ import { PreCoinRecord, ReserveCreationInfo, ExchangeRecord, - ReserveRecord + ReserveRecord, DenominationRecord } from "./types"; /** @@ -70,6 +70,10 @@ export async function getPreCoins(exchangeBaseUrl: string): Promise<PreCoinRecor return await callBackend("get-precoins", { exchangeBaseUrl }); } +export async function getDenoms(exchangeBaseUrl: string): Promise<DenominationRecord[]> { + return await callBackend("get-denoms", { exchangeBaseUrl }); +} + export async function refresh(coinPub: string): Promise<void> { return await callBackend("refresh-coin", { coinPub }); } |