aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-04-05 11:06:22 +0200
committerFlorian Dold <florian@dold.me>2023-04-05 11:06:22 +0200
commitd5c5c7463e5210916822c8030bb59c7b0f3ccc1c (patch)
tree0c23e1f5e8f38a40cedea01c459c984a322385ac /packages/taler-util/src
parent7090807fcbb2e7345ad0566c0057540e34bfb9f5 (diff)
downloadwallet-core-d5c5c7463e5210916822c8030bb59c7b0f3ccc1c.tar.xz
wallet-core: also return top-level fee gap estimate
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/wallet-types.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index a761c5cff..11162df14 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -2263,6 +2263,12 @@ export interface PayPeerInsufficientBalanceDetails {
*/
balanceMaterial: AmountString;
+ /**
+ * If non-zero, the largest fee gap estimate of an exchange
+ * where we would otherwise have enough balance available.
+ */
+ feeGapEstimate: AmountString;
+
perExchange: {
[url: string]: {
balanceAvailable: AmountString;