fetchReverseSwapFees method

Future<ReverseSwapPairInfo> fetchReverseSwapFees({
  1. required ReverseSwapFeesRequest req,
  2. dynamic hint,
})
override

See BreezServices::fetch_reverse_swap_fees

Implementation

Future<ReverseSwapPairInfo> fetchReverseSwapFees({required ReverseSwapFeesRequest req, dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_reverse_swap_fees_request(req);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_fetch_reverse_swap_fees(port_, arg0),
    parseSuccessData: _wire2api_reverse_swap_pair_info,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kFetchReverseSwapFeesConstMeta,
    argValues: [req],
    hint: hint,
  ));
}