previewAsync

open fun previewAsync(withdrawalRequest: WithdrawalRequest, instrumentType: InstrumentType?, cancellationSignal: CancellationSignal?, callback: WalletCallback<Withdrawal>)

Asynchronously retrieves a preview of a withdraw.

Parameters

withdrawalRequest

The withdraw request.

instrumentType

The instrument type for localization when no instrument reference is provided.

cancellationSignal

A signal for canceling the asynchronous operation (nullable).

callback

The callback to be invoked upon completion or error.