Skip to main content

iota_sdk.types.input

InputType Objects

class InputType(IntEnum)

Input types.

Attributes:

  • Utxo - An unspent transaction output.
  • Treasury - The treasury output.

UtxoInput Objects

@dataclass
class UtxoInput()

Represents an input referencing an output.

Attributes:

  • type - The type of input.
  • transactionId - The transaction id that created the output.
  • transactionOutputIndex - The output index.

TreasuryInput Objects

@dataclass
class TreasuryInput()

A treasury input.

Attributes:

  • type - The type of input.
  • milestoneId - The milestone id that created the treasury output.