Table of Contents

Class TxCompletePayload

Namespace
NLightning.Bolts.BOLT2.Payloads
Assembly
NLightning.Bolts.dll

Represents a tx_complete payload.

public class TxCompletePayload : IMessagePayload
Inheritance
TxCompletePayload
Implements
Inherited Members

Remarks

The tx_complete payload is used to indicate that the transaction is complete.

Constructors

TxCompletePayload(ChannelId)

Represents a tx_complete payload.

public TxCompletePayload(ChannelId channelId)

Parameters

channelId ChannelId

The channel id.

Remarks

The tx_complete payload is used to indicate that the transaction is complete.

See Also

Properties

ChannelId

The channel id.

public ChannelId ChannelId { get; }

Property Value

ChannelId

Methods

DeserializeAsync(Stream)

Deserializes a TxCompletePayload from a stream.

public static Task<TxCompletePayload> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to read from.

Returns

Task<TxCompletePayload>

The deserialized TxCompletePayload.

Exceptions

PayloadSerializationException

Error deserializing Payload.

SerializeAsync(Stream)

Serializes the message payload to a stream.

public Task SerializeAsync(Stream stream)

Parameters

stream Stream

The stream to serialize to.

Returns

Task

A task that represents the asynchronous operation.

See Also