Thanks! This would be the new snippet

```rust

use nwc::prelude::*;

let nwc = NWC::new(uri);

let params = PayInvoiceRequest::new(invoice);

let response = nwc.pay_invoice(params).await?;

```

Reply to this note

Please Login to reply.

Discussion

No replies yet.