LightningPart

data class LightningPart(id: UUID, amount: MilliSatoshi, route: List<HopDesc>, status: OutgoingPayment.LightningPart.Status, createdAt: Long) : OutgoingPayment.Part

A child payment sent by this node (partial payment of the total amount). This payment has a status and can fail.

Parameters

id

internal payment identifier.

amount

amount sent, including fees.

route

payment route used.

status

current status of the payment.

createdAt

absolute time in milliseconds since UNIX epoch when the payment was created.

Constructors

LightningPart
Link copied to clipboard
common
fun LightningPart(id: UUID, amount: MilliSatoshi, route: List<HopDesc>, status: OutgoingPayment.LightningPart.Status, createdAt: Long = currentTimestampMillis())

Types

Status
Link copied to clipboard
common
sealed class Status

Properties

amount
Link copied to clipboard
common
val amount: MilliSatoshi
createdAt
Link copied to clipboard
common
open override val createdAt: Long
id
Link copied to clipboard
common
open override val id: UUID
route
Link copied to clipboard
common
val route: List<HopDesc>
status
Link copied to clipboard
common
val status: OutgoingPayment.LightningPart.Status