summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 69cdcb21..6985e4f9 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -2530,7 +2530,7 @@ denomination.
.. ts:def:: BatchDepositRequest
- interface DepositRequest {
+ interface BatchDepositRequest {
// The merchant's account details.
merchant_payto_uri: string;
@@ -2543,6 +2543,9 @@ denomination.
// details are never disclosed to the exchange.
h_contract_terms: HashCode;
+ // The list of coins that are going to be deposited with this Request.
+ coins: BatchDepositRequestCoin[];
+
// Timestamp when the contract was finalized.
timestamp: Timestamp;
@@ -2560,9 +2563,9 @@ denomination.
refund_deadline?: Timestamp;
}
- .. ts:def:: DepositRequest
+ .. ts:def:: BatchDepositRequestCoin
- interface DepositRequest {
+ interface BatchDepositRequestCoin {
// EdDSA public key of the coin being deposited.
coin_pub: EddsaPublicKey;