Struct Payload
Decrypted Payload which is originally stored encrypted in the OnionPacket
struct Payload
;
Fields
Name | Type | Description |
---|---|---|
forward_amount
|
Amount | the amount to forward to the next node, or the total payment amount if this was the final node. |
next_chan_id
|
geod24 | The channel ID to forward the next packet to. If this is zero, it means this was the destination node. |
Methods
Name | Description |
---|---|
fromBinary
(dg, opts)
|
Deserialization hook |
serialize
(dg)
|
Serialization hook |