summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-01-07 16:42:27 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-01-07 16:42:27 +0100
commit36a621214cc8041c4c994a94ce924d324ec03781 (patch)
treea35003bdd7cdf25ef175098467a373e633420c39
parentc7444f87f7c699f8da8fd5d1d687d6a28021e760 (diff)
downloaddocs-36a621214cc8041c4c994a94ce924d324ec03781.tar.gz
docs-36a621214cc8041c4c994a94ce924d324ec03781.tar.bz2
docs-36a621214cc8041c4c994a94ce924d324ec03781.zip
added ReserveAgeWithdrawTransaction to the history of a reserve
-rw-r--r--core/api-exchange.rst24
1 files changed, 24 insertions, 0 deletions
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