Represents a reference to an unspent transaction output (UTxO) from a previous transaction, which the current transaction intends to spend.

Hierarchy

  • TransactionInput

Constructors

Properties

#index: bigint
#originalBytes: undefined | HexBlob = undefined

Methods

  • Given that a single transaction can have multiple outputs, this index indicates which specific output of the referenced transaction is being spent. It is an integer starting from 0 for the first output.

    Returns

    The index of the specific output of the referenced transaction being spent.

    Returns bigint

Generated using TypeDoc