Table of Contents

Class TxRemoveOutputMessage

Namespace
NLightning.Bolts.BOLT2.Messages
Assembly
NLightning.Bolts.dll

Represents a tx_remove_output message.

public sealed class TxRemoveOutputMessage : BaseMessage, IMessage
Inheritance
TxRemoveOutputMessage
Implements
Inherited Members

Remarks

The tx_remove_output message is used to remove an output from the transaction. The message type is 69.

Constructors

TxRemoveOutputMessage(TxRemoveOutputPayload)

Represents a tx_remove_output message.

public TxRemoveOutputMessage(TxRemoveOutputPayload payload)

Parameters

payload TxRemoveOutputPayload

The tx_remove_output payload.

Remarks

The tx_remove_output message is used to remove an output from the transaction. The message type is 69.

Properties

Payload

The payload of the message.

public TxRemoveOutputPayload Payload { get; }

Property Value

TxRemoveOutputPayload

Methods

DeserializeAsync(Stream)

Deserialize a TxRemoveOutputMessage from a stream.

public static Task<TxRemoveOutputMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<TxRemoveOutputMessage>

The deserialized TxRemoveOutputMessage.

Exceptions

MessageSerializationException

Error deserializing TxRemoveOutputMessage