receiveOnchain method
See BreezServices::receive_onchain
Implementation
Future<SwapInfo> receiveOnchain({required ReceiveOnchainRequest req, dynamic hint}) {
var arg0 = _platform.api2wire_box_autoadd_receive_onchain_request(req);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner.wire_receive_onchain(port_, arg0),
parseSuccessData: _wire2api_swap_info,
parseErrorData: _wire2api_FrbAnyhowException,
constMeta: kReceiveOnchainConstMeta,
argValues: [req],
hint: hint,
));
}