SwapOut

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.

Constructors

SwapOut
Link copied to clipboard
common
fun SwapOut(address: String, paymentRequest: PaymentRequest, swapOutFee: Satoshi)

Functions

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

Properties

address
Link copied to clipboard
common
val address: String
paymentHash
Link copied to clipboard
common
open override val paymentHash: ByteVector32
paymentRequest
Link copied to clipboard
common
val paymentRequest: PaymentRequest
swapOutFee
Link copied to clipboard
common
val swapOutFee: Satoshi