ReceivedWith

sealed class ReceivedWith

Types

LightningPayment
Link copied to clipboard
common
data class LightningPayment(amount: MilliSatoshi, channelId: ByteVector32, htlcId: Long) : IncomingPayment.ReceivedWith

Payment was received via existing lightning channels.

NewChannel
Link copied to clipboard
common
data class NewChannel(amount: MilliSatoshi, fees: MilliSatoshi, channelId: ByteVector32?) : IncomingPayment.ReceivedWith

Payment was received via a new channel opened to us.

Properties

amount
Link copied to clipboard
common
abstract val amount: MilliSatoshi

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

fees
Link copied to clipboard
common
abstract val fees: MilliSatoshi

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

Inheritors

IncomingPayment.ReceivedWith
Link copied to clipboard
IncomingPayment.ReceivedWith
Link copied to clipboard