getFeeEstimateForCryptoWithdrawal method
Future<Response>
getFeeEstimateForCryptoWithdrawal(
{ - String? currency,
- String? cryptoAddress,
})
Implementation
Future<http.Response> getFeeEstimateForCryptoWithdrawal({
String? currency,
String? cryptoAddress,
}) async {
Map<String, String> queryParameters = {};
if (currency != null) queryParameters['currency'] = currency;
if (cryptoAddress != null)
queryParameters['crypto_address'] = cryptoAddress;
return get(
path: '/withdrawals/fee-estimate',
queryParameters: queryParameters,
);
}