prepareOnchainPayment method
Future<PrepareOnchainPaymentResponse>
prepareOnchainPayment({
- required PrepareOnchainPaymentRequest req,
- dynamic hint,
override
See BreezServices::prepare_onchain_payment
Implementation
Future<PrepareOnchainPaymentResponse> prepareOnchainPayment(
{required PrepareOnchainPaymentRequest req, dynamic hint}) {
var arg0 = _platform.api2wire_box_autoadd_prepare_onchain_payment_request(req);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner.wire_prepare_onchain_payment(port_, arg0),
parseSuccessData: _wire2api_prepare_onchain_payment_response,
parseErrorData: _wire2api_FrbAnyhowException,
constMeta: kPrepareOnchainPaymentConstMeta,
argValues: [req],
hint: hint,
));
}