Contents

testingWaitWalletKycread-only#

Wait for the wallet KYC process at an exchange. With passed set to true, waits until KYC has been passed for at least the given amount; otherwise already returns when legitimization is required. The operation blocks until this condition is met or the wait fails, for example when the request is cancelled.

Request:

The request must be a TestingWaitWalletKycRequest object.

Response:

On success, the result is an empty object.

interface TestingWaitWalletKycRequest {
  exchangeBaseUrl: string;
  amount: AmountString;

  // Do we wait for the KYC to be passed (true),
  // or do we already return if legitimization is
  // required (false).
  passed: boolean;
}