From 4627c0781c982421585e4adf9e3320b56f644965 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2023 12:58:33 +0200 Subject: wallet-core: report number of coins in withdrawal details --- packages/taler-util/src/wallet-types.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 41b0d5574..d20eb5173 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1134,6 +1134,13 @@ export interface ManualWithdrawalDetails { */ amountEffective: AmountString; + /** + * Number of coins that would be used for withdrawal. + * + * The UIs should warn if this number is too high (rougly at >100). + */ + numCoins: number; + /** * Ways to pay the exchange. */ -- cgit v1.2.3