LightningPayment

data class LightningPayment(amount: MilliSatoshi, channelId: ByteVector32, htlcId: Long) : IncomingPayment.ReceivedWith

Payment was received via existing lightning channels.

Constructors

LightningPayment
Link copied to clipboard
common
fun LightningPayment(amount: MilliSatoshi, channelId: ByteVector32, htlcId: Long)

Properties

amount
Link copied to clipboard
common
open override val amount: MilliSatoshi

Amount received for this part after applying the fees. This is the final amount we can use.

channelId
Link copied to clipboard
common
val channelId: ByteVector32
fees
Link copied to clipboard
common
open override val fees: MilliSatoshi

Fees applied to receive this part. Is zero for Lightning payments.

htlcId
Link copied to clipboard
common
val htlcId: Long