Details

sealed class Details

Types

ChannelClosing
Link copied to clipboard
common
data class ChannelClosing(channelId: ByteVector32, closingAddress: String, isSentToDefaultAddress: Boolean) : OutgoingPayment.Details

Corresponds to the on-chain payments made when closing a channel.

KeySend
Link copied to clipboard
common
data class KeySend(preimage: ByteVector32) : OutgoingPayment.Details

KeySend payments are spontaneous donations that don't need an invoice from the recipient.

Normal
Link copied to clipboard
common
data class Normal(paymentRequest: PaymentRequest) : OutgoingPayment.Details

A normal lightning payment.

SwapOut
Link copied to clipboard
common
data class SwapOut(address: String, paymentRequest: PaymentRequest, swapOutFee: Satoshi) : OutgoingPayment.Details

Swap-out payments send a lightning payment to a swap server, which will send an on-chain transaction to a given address. The swap-out fee is taken by the swap server to cover the miner fee.

Functions

matchesFilters
Link copied to clipboard
common
fun matchesFilters(filters: Set<PaymentTypeFilter>): Boolean

Properties

paymentHash
Link copied to clipboard
common
abstract val paymentHash: ByteVector32

Inheritors

OutgoingPayment.Details
Link copied to clipboard
OutgoingPayment.Details
Link copied to clipboard
OutgoingPayment.Details
Link copied to clipboard
OutgoingPayment.Details
Link copied to clipboard