commonMain.com.lightspark.sdk.wallet.graphql.SendPayment.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 SendPaymentMutation = """
mutation SendPayment(
${'$'}destination_public_key: String!
${'$'}timeout_secs: Int!
${'$'}amount_msats: Long!
${'$'}maximum_fees_msats: Long!
) {
send_payment(
input: {
destination_public_key: ${'$'}destination_public_key
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