taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 36a621214cc8041c4c994a94ce924d324ec03781
parent c7444f87f7c699f8da8fd5d1d687d6a28021e760
Author: Özgür Kesim <oec-taler@kesim.org>
Date:   Sat,  7 Jan 2023 16:42:27 +0100

added ReserveAgeWithdrawTransaction to the history of a reserve

Diffstat:
Mcore/api-exchange.rst | 24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git 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