ClosingTxPart

data class ClosingTxPart(id: UUID, txId: ByteVector32, claimed: Satoshi, closingType: ChannelClosingType, createdAt: Long) : OutgoingPayment.Part

A child payment for closing a channel through an on-chain transaction.

Parameters

claimed

represents the sum total of bitcoin tx outputs claimed for the user. A simplified fees can be calculated as: OutgoingPayment.recipientAmount - claimed.

closingType

the type of the closing : it can be mutually decided by both end of the channel, or unilaterally initiated by the remote or the local peer.

Constructors

ClosingTxPart
Link copied to clipboard
common
fun ClosingTxPart(id: UUID, txId: ByteVector32, claimed: Satoshi, closingType: ChannelClosingType, createdAt: Long)

Properties

claimed
Link copied to clipboard
common
val claimed: Satoshi
closingType
Link copied to clipboard
common
val closingType: ChannelClosingType
createdAt
Link copied to clipboard
common
open override val createdAt: Long
id
Link copied to clipboard
common
open override val id: UUID
txId
Link copied to clipboard
common
val txId: ByteVector32