Contents

removeGlobalCurrencyExchange#

Remove an exchange registered for a global currency.

Request:

The request must be a RemoveGlobalCurrencyExchangeRequest object.

Response:

On success, the result is an empty object (EmptyObject).

Side effects:

Removes the registration from the wallet’s database; removing the last exchange of a currency also removes the global currency information. When the configuration changed, a balance-change notification is emitted.

Details:

Removing an exchange that is not registered is a no-op.

interface RemoveGlobalCurrencyExchangeRequest {
  currency: string;
  exchangeBaseUrl: string;
  exchangeMasterPub: string;
}