getExchangeUrl method

  1. @override
Future<GetExchangeUrlResult> getExchangeUrl({
  1. required GetExchangeUrlParams params,
})
override

ℹ️ Get the deposit/payment URL on the selected exchange

Implementation

@override
Future<GetExchangeUrlResult> getExchangeUrl({
  required GetExchangeUrlParams params,
}) async {
  try {
    final result = await _exchangeService.getExchangeUrl(params: params);
    return GetExchangeUrlResult.fromJson(result.result);
  } catch (e) {
    rethrow;
  }
}