Table of Contents

Class TxAddInputMessage

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

Represents an tx_add_input message.

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

Remarks

The tx_add_input message is used to add an input to the transaction. The message type is 66.

Constructors

TxAddInputMessage(TxAddInputPayload)

Represents an tx_add_input message.

public TxAddInputMessage(TxAddInputPayload payload)

Parameters

payload TxAddInputPayload

The tx_add_input payload.

Remarks

The tx_add_input message is used to add an input to the transaction. The message type is 66.

Properties

Payload

The payload of the message.

public TxAddInputPayload Payload { get; }

Property Value

TxAddInputPayload

Methods

DeserializeAsync(Stream)

Deserialize a TxAddInputMessage from a stream.

public static Task<TxAddInputMessage> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<TxAddInputMessage>

The deserialized TxAddInputMessage.

Exceptions

MessageSerializationException

Error deserializing TxAddInputMessage