redeemOnchainFunds method

Future<RedeemOnchainFundsResponse> redeemOnchainFunds({
  1. required RedeemOnchainFundsRequest req,
  2. dynamic hint,
})
override

See BreezServices::redeem_onchain_funds

Implementation

Future<RedeemOnchainFundsResponse> redeemOnchainFunds(
    {required RedeemOnchainFundsRequest req, dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_redeem_onchain_funds_request(req);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_redeem_onchain_funds(port_, arg0),
    parseSuccessData: _wire2api_redeem_onchain_funds_response,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kRedeemOnchainFundsConstMeta,
    argValues: [req],
    hint: hint,
  ));
}