Class UpdateFulfillHtlcPayload
- Namespace
- NLightning.Domain.Protocol.Payloads
- Assembly
- NLightning.Domain.dll
Represents the payload for the update_fulfill_htlc message.
public class UpdateFulfillHtlcPayload : IMessagePayload
- Inheritance
-
UpdateFulfillHtlcPayload
- Implements
- Inherited Members
Remarks
Initializes a new instance of the UpdateFulfillHtlcPayload class.
Constructors
UpdateFulfillHtlcPayload(ChannelId, ulong, ReadOnlyMemory<byte>)
Represents the payload for the update_fulfill_htlc message.
public UpdateFulfillHtlcPayload(ChannelId channelId, ulong id, ReadOnlyMemory<byte> paymentPreimage)
Parameters
channelId
ChannelIdid
ulongpaymentPreimage
ReadOnlyMemory<byte>
Remarks
Initializes a new instance of the UpdateFulfillHtlcPayload class.
Properties
ChannelId
The channel_id this message refers to
public ChannelId ChannelId { get; }
Property Value
Id
The htlc id
public ulong Id { get; }
Property Value
PaymentPreimage
The payment_preimage for this htlc
public ReadOnlyMemory<byte> PaymentPreimage { get; }