lookupInvoice method

Future<LookupInvoiceResponse> lookupInvoice(
  1. NwcConnection connection, {
  2. String? paymentHash,
  3. String? invoice,
})

Does a lookup_invoice request

Implementation

Future<LookupInvoiceResponse> lookupInvoice(NwcConnection connection,
    {String? paymentHash, String? invoice}) async {
  return _executeRequest<LookupInvoiceResponse>(connection,
      LookupInvoiceRequest(paymentHash: paymentHash, invoice: invoice));
}