damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

LNUrlPayRequest.swift (316B)


      1 //
      2 //  LNUrl.swift
      3 //  damus
      4 //
      5 //  Created by William Casarin on 2023-01-16.
      6 //
      7 
      8 import Foundation
      9 
     10 struct LNUrlPayRequest: Decodable {
     11     let allowsNostr: Bool?
     12     let commentAllowed: Int?
     13     let nostrPubkey: String?
     14     
     15     let callback: String?
     16 }
     17 
     18 
     19 
     20 struct LNUrlPayResponse: Decodable {
     21     let pr: String
     22 }