Contents

getExchangeResourcesread-only#

Check whether the wallet still holds resources associated with an exchange.

Request:

The request arguments must be a GetExchangeResourcesRequest object.

Response:

On success, the result is a GetExchangeResourcesResponse object.

Details:

Resources are the coins and withdrawal groups (including internal withdrawals of peer transactions) associated with the exchange; hasResources is true if any of them exist. Clients can use this to decide whether deleteExchange requires explicit user confirmation.

interface GetExchangeResourcesRequest {
  exchangeBaseUrl: string;
}
interface GetExchangeResourcesResponse {
  hasResources: boolean;
}