summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-11 13:48:49 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-11 13:48:54 +0100
commitaae9adcf203af1ee1b8271e9a13887974c2fb656 (patch)
tree4553f8661df9313e8f9a4fc76f9bd325286a0ccd
parent4b45609fb5b9b8e472a3bfb84354b6b548f92e7b (diff)
downloaddocs-aae9adcf203af1ee1b8271e9a13887974c2fb656.tar.gz
docs-aae9adcf203af1ee1b8271e9a13887974c2fb656.tar.bz2
docs-aae9adcf203af1ee1b8271e9a13887974c2fb656.zip
add asset_type to /keys response
-rw-r--r--core/api-exchange.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index c5a67832..7fbe6fe2 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -82,9 +82,14 @@ possibly by using HTTPS.
// The exchange's base URL.
base_url: string;
- // The exchange's currency.
+ // The exchange's currency or asset unit.
currency: string;
+ // Type of the asset. "fiat", "crypto", "regional"
+ // or "stock". Wallets should adjust their UI/UX
+ // based on this value.
+ asset_type: string;
+
// EdDSA master public key of the exchange, used to sign entries
// in ``denoms`` and ``signkeys``.
master_public_key: EddsaPublicKey;