Struct Payload

Decrypted Payload which is originally stored encrypted in the OnionPacket

struct Payload ;

Fields

NameTypeDescription
forward_amount Amountthe amount to forward to the next node, or the total payment amount if this was the final node.
next_chan_id geod24.bitblob.BitBlob!(64L)The channel ID to forward the next packet to. If this is zero, it means this was the destination node.

Methods

NameDescription
fromBinary (dg, opts) Deserialization hook
serialize (dg) Serialization hook