commonMain.com.lightspark.sdk.wallet.graphql.PayInvoice.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.OutgoingPayment
const val PayInvoiceMutation = """
mutation PayInvoice(
${'$'}encoded_invoice: String!
${'$'}timeout_secs: Int!
${'$'}maximum_fees_msats: Long!
${'$'}amount_msats: Long
) {
pay_invoice(
input: {
encoded_invoice: ${'$'}encoded_invoice
timeout_secs: ${'$'}timeout_secs
amount_msats: ${'$'}amount_msats
maximum_fees_msats: ${'$'}maximum_fees_msats
}
) {
payment {
...OutgoingPaymentFragment
}
}
}
${OutgoingPayment.FRAGMENT}
"""
© 2015 - 2024 Weber Informatics LLC | Privacy Policy