requestLnurlResponse method

  1. @override
Future<LnurlResponse?> requestLnurlResponse(
  1. String lnurl
)
override

network request to get theLnurl response and invoices

Implementation

@override
Future<LnurlResponse?> requestLnurlResponse(String lnurl) async {
  try {
    final response = await httpDS.jsonRequest(lnurl);
    return LnurlResponse.fromJson(response);
  } catch (e) {
    Logger.log.w(e);
    return null;
  }
}