Table of Contents

Class TxAddInputPayload

Namespace
NLightning.Domain.Protocol.Payloads
Assembly
NLightning.Domain.dll

Represents a tx_add_input payload.

public class TxAddInputPayload : IMessagePayload
Inheritance
TxAddInputPayload
Implements
Inherited Members

Remarks

The tx_add_input payload is used to add an input to the transaction.

Constructors

TxAddInputPayload(ChannelId, ulong, byte[], uint, uint)

Initializes a new instance of the TxAddInputPayload class.

public TxAddInputPayload(ChannelId channelId, ulong serialId, byte[] prevTx, uint prevTxVout, uint sequence)

Parameters

channelId ChannelId

The channel id.

serialId ulong

The serial id.

prevTx byte[]

The previous transaction id.

prevTxVout uint

The previous transaction vout.

sequence uint

The sequence.

Exceptions

ArgumentException

Sequence is out of bounds.

Properties

ChannelId

The channel id.

public ChannelId ChannelId { get; }

Property Value

ChannelId

PrevTx

The previous transaction id.

public byte[] PrevTx { get; }

Property Value

byte[]

PrevTxVout

The previous transaction vout.

public uint PrevTxVout { get; }

Property Value

uint

Sequence

The sequence.

public uint Sequence { get; }

Property Value

uint

SerialId

The serial id.

public ulong SerialId { get; }

Property Value

ulong

See Also