PaymentData

fun PaymentData(secret: ByteVector32, totalAmount: MilliSatoshi)

Parameters

secret

payment secret specified in the Bolt 11 invoice.

totalAmount

total amount in multi-part payments. When missing, assumed to be equal to AmountToForward.