Class TxRemoveInputMessage
- Namespace
- NLightning.Bolts.BOLT2.Messages
- Assembly
- NLightning.Bolts.dll
Represents a tx_remove_input message.
public sealed class TxRemoveInputMessage : BaseMessage, IMessage
- Inheritance
-
TxRemoveInputMessage
- Implements
- Inherited Members
Remarks
The tx_remove_input message is used to remove an input from the transaction. The message type is 68.
Constructors
TxRemoveInputMessage(TxRemoveInputPayload)
Represents a tx_remove_input message.
public TxRemoveInputMessage(TxRemoveInputPayload payload)
Parameters
payload
TxRemoveInputPayloadThe tx_remove_input payload.
Remarks
The tx_remove_input message is used to remove an input from the transaction. The message type is 68.
Properties
Payload
The payload of the message.
public TxRemoveInputPayload Payload { get; }
Property Value
Methods
DeserializeAsync(Stream)
Deserialize a TxRemoveInputMessage from a stream.
public static Task<TxRemoveInputMessage> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream to deserialize from.
Returns
- Task<TxRemoveInputMessage>
The deserialized TxRemoveInputMessage.
Exceptions
- MessageSerializationException
Error deserializing TxRemoveInputMessage