From 36a621214cc8041c4c994a94ce924d324ec03781 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sat, 7 Jan 2023 16:42:27 +0100 Subject: added ReserveAgeWithdrawTransaction to the history of a reserve --- core/api-exchange.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'core/api-exchange.rst') diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 0b90ea12..a4c6fab3 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -1319,6 +1319,7 @@ exchange. | AccountSetupTransaction | ReserveHistoryTransaction | ReserveWithdrawTransaction + | ReserveAgeWithdrawTransaction | ReserveCreditTransaction | ReserveClosingTransaction | ReserveOpenRequestTransaction @@ -1480,6 +1481,29 @@ exchange. withdraw_fee: Amount; } + .. ts:def:: ReserveAgeWithdrawTransaction + + interface ReserveAgeWithdrawTransaction { + type: "AGEWITHDRAW"; + + // Total Amount withdrawn. + total_amount: Amount; + + // Hash of the denomination public keys of the coins. + h_denom_pubs: HashCode[]; + + // Commitment of all ``n*kappa`` coins. + age_restricted_coins_commitment: HashCode; + + // Signature over a `TALER_AgeWithdrawRequestPS` + // with purpose ``TALER_SIGNATURE_WALLET_RESERVE_AGE_WITHDRAW`` + // created with the reserve's private key. + reserve_sig: EddsaSignature; + + // Fee that is charged for withdraw. + withdraw_fee: Amount; + } + .. ts:def:: ReserveCreditTransaction -- cgit v1.2.3