summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-22 14:48:07 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-22 14:48:07 +0800
commit67c0b0223b365e38a73cb5d89df651c264f51759 (patch)
tree91ed0d3febb8c6b64fb4f06f7f3fbf85f229d3c9 /core/api-exchange.rst
parentefc00de4a3765a327f29ef05b7fa99aa00e6d17f (diff)
downloaddocs-67c0b0223b365e38a73cb5d89df651c264f51759.tar.gz
docs-67c0b0223b365e38a73cb5d89df651c264f51759.tar.bz2
docs-67c0b0223b365e38a73cb5d89df651c264f51759.zip
remove currency code
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 4057af74..7384a9fd 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -78,7 +78,8 @@ possibly by using HTTPS.
// Name of the protocol.
name: "taler-exchange";
- // Currency supported by this exchange.
+ // Currency supported by this exchange, given
+ // as a currency code ("USD" or "EUR").
currency: string;
// How wallets should render this currency.
@@ -92,10 +93,12 @@ possibly by using HTTPS.
.. ts:def:: CurrencySpecification
interface CurrencySpecification {
- // Name of the currency.
+ // Name of the currency. Like "US Dollar".
name: string;
- // Code of the currency
+ // Code of the currency.
+ // Deprecated in protocol v18 for the exchange
+ // and in protocol v6 for the merchant.
currency: string;
// how many digits the user may enter after the decimal_separator