From 6aefda6fecd2c50092c1868d7ba62254ccc21460 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Mon, 3 Oct 2022 12:10:32 +0200 Subject: -fix missing fields and wrong interface names for batch deposits --- core/api-exchange.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'core/api-exchange.rst') 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; -- cgit v1.2.3