commonMain.com.lightspark.sdk.wallet.graphql.CreateInvoice.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wallet-sdk Show documentation
Show all versions of wallet-sdk Show documentation
The Lightspark Wallet SDK for Kotlin and Java.
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