From bb8bf3cb5596fe615359e4b984d6a7f51560e92b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 14 Feb 2023 13:18:33 +0100 Subject: wallet-core: more details in refresh transaction --- packages/taler-util/src/transactions-types.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index 7d5cb9ae1..9623e25a9 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -535,8 +535,15 @@ export interface TransactionRefresh extends TransactionCommon { /** * Fees, i.e. the effective, negative effect of the refresh * on the balance. + * + * Only applicable for stand-alone refreshes, and zero for + * other refreshes where the transaction itself accounts for the + * refresh fee. */ amountEffective: AmountString; + + refreshInputAmount: AmountString; + refreshOutputAmount: AmountString; } /** -- cgit v1.2.3