summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 5fe560a..2fbdfbb 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -76,6 +76,15 @@ possibly by using HTTPS.
If the "Etag" is missing, the client should not cache the response and instead prompt the user again at the next opportunity. This is usually only the case if the privacy policy was not configured correctly.
+.. http:get:: /seed
+
+ Return an entropy seed. The exchange will return a high-entropy
+ value that will differ for every call. The response is NOT in
+ JSON, but simply high-entropy binary data in the HTTP body.
+ This API can be used by wallets to guard themselves against
+ running on low-entropy (bad PRNG) hardware. Naturally, the entropy
+ returned MUST be mixed with locally generated entropy.
+
.. http:get:: /keys
Get a list of all denomination keys offered by the bank,