All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.lightspark.sdk.wallet.graphql.CreateInvoice.kt Maven / Gradle / Ivy

The newest version!
package com.lightspark.sdk.wallet.graphql

import com.lightspark.sdk.wallet.model.Invoice

const val CreateInvoiceMutation = """
  mutation CreateInvoice(
    ${'$'}amountMsats: Long!
    ${'$'}memo: String
    ${'$'}type: InvoiceType = null
    ${'$'}expirySecs: Int = null
    ) {
    create_invoice(input: { amount_msats: ${'$'}amountMsats, memo: ${'$'}memo, invoice_type: ${'$'}type , expiry_secs: ${'$'}expirySecs }) {
      invoice {
        ...InvoiceFragment
      }
    }
  }
  
    ${Invoice.FRAGMENT}
"""




© 2015 - 2024 Weber Informatics LLC | Privacy Policy