diff options
author | Florian Dold <florian@dold.me> | 2023-05-24 12:58:33 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-24 12:58:33 +0200 |
commit | 4627c0781c982421585e4adf9e3320b56f644965 (patch) | |
tree | c2e490facc3dcd5b716e046aeaf2cafb549ba94b /packages/taler-util/src | |
parent | ea953f2b772b07780b94daecdefde6cd253a7e90 (diff) | |
download | wallet-core-4627c0781c982421585e4adf9e3320b56f644965.tar.xz |
wallet-core: report number of coins in withdrawal details
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ -1135,6 +1135,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. */ paytoUris: string[]; |