Table of Contents

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 ChannelId
id ulong
paymentPreimage 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

ChannelId

Id

The htlc id

public ulong Id { get; }

Property Value

ulong

PaymentPreimage

The payment_preimage for this htlc

public ReadOnlyMemory<byte> PaymentPreimage { get; }

Property Value

ReadOnlyMemory<byte>