Table of Contents

Class TxRemoveInputPayload

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

Represents a tx_remove_input payload.

public class TxRemoveInputPayload : IMessagePayload
Inheritance
TxRemoveInputPayload
Implements
Inherited Members

Remarks

The tx_remove_input payload is used to remove an input from the transaction.

Constructors

TxRemoveInputPayload(ChannelId, ulong)

Represents a tx_remove_input payload.

public TxRemoveInputPayload(ChannelId channelId, ulong serialId)

Parameters

channelId ChannelId

The channel id.

serialId ulong

The serial id.

Remarks

The tx_remove_input payload is used to remove an input from the transaction.

See Also

Properties

ChannelId

The channel id.

public ChannelId ChannelId { get; }

Property Value

ChannelId

SerialId

The serial id.

public ulong SerialId { get; }

Property Value

ulong

Methods

DeserializeAsync(Stream)

Deserialize a TxRemoveInputPayload from a stream.

public static Task<TxRemoveInputPayload> DeserializeAsync(Stream stream)

Parameters

stream Stream

The stream to deserialize from.

Returns

Task<TxRemoveInputPayload>

The deserialized TxRemoveInputPayload.

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