TrampolinePayload

fun TrampolinePayload(totalAmount: MilliSatoshi, expiry: CltvExpiry, paymentSecret: ByteVector32, packet: OnionRoutingPacket)

Parameters

totalAmount

total amount that the trampoline node should receive.

expiry

expiry at the trampoline node.

paymentSecret

trampoline payment secret (should be different from the invoice payment secret).

packet

trampoline onion packet.