aboutsummaryrefslogtreecommitdiff
path: root/lib/wallet/wxApi.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wallet/wxApi.ts')
-rw-r--r--lib/wallet/wxApi.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/wallet/wxApi.ts b/lib/wallet/wxApi.ts
index 12d11a387..9ed7aabd3 100644
--- a/lib/wallet/wxApi.ts
+++ b/lib/wallet/wxApi.ts
@@ -68,4 +68,8 @@ export async function getCoins(exchangeBaseUrl: string): Promise<Coin[]> {
export async function getPreCoins(exchangeBaseUrl: string): Promise<PreCoin[]> {
return await callBackend("get-precoins", { exchangeBaseUrl });
+}
+
+export async function refresh(coinPub: string): Promise<void> {
+ return await callBackend("refresh-coin", { coinPub });
} \ No newline at end of file