Class ShutdownPayload
- Namespace
- NLightning.Domain.Protocol.Payloads
- Assembly
- NLightning.Domain.dll
Represents the payload for the shutdown message.
public class ShutdownPayload : IMessagePayload
- Inheritance
-
ShutdownPayload
- Implements
- Inherited Members
Remarks
Initializes a new instance of the ShutdownPayload class.
Constructors
ShutdownPayload(ChannelId, Script)
Represents the payload for the shutdown message.
public ShutdownPayload(ChannelId channelId, Script scriptPubkey)
Parameters
channelId
ChannelIdscriptPubkey
Script
Remarks
Initializes a new instance of the ShutdownPayload class.
Properties
ChannelId
The channel_id this message refers to
public ChannelId ChannelId { get; }
Property Value
ScriptPubkey
The scriptpubkey to send the closing funds to
public Script ScriptPubkey { get; }
Property Value
- Script
ScriptPubkeyLen
len is the scriptpubkey length
public ushort ScriptPubkeyLen { get; }