set-exchange-tos-accepted.rst (597B)
1 .. ts:op:: setExchangeTosAccepted 2 3 Mark the current version of the exchange's terms of service as 4 accepted by the user. 5 6 **Request:** 7 8 The request arguments must be an `AcceptExchangeTosRequest` object. 9 10 **Response:** 11 12 On success, the result is an empty object. 13 14 **Side effects:** 15 16 Records acceptance of the exchange's terms of service. 17 18 **Details:** 19 20 The accepted version is the current ToS version observed by the 21 wallet, as reported by :ts:op:`getExchangeTos`. 22 23 .. ts:def:: AcceptExchangeTosRequest 24 25 interface AcceptExchangeTosRequest { 26 exchangeBaseUrl: string; 27 }