Skip to main content

iota_sdk.types.output_id

OutputId Objects

class OutputId(dict)

Represents an output ID.

Attributes:

  • output_id - The unique id of an output.
  • transaction_id - The transaction id associated with the output.
  • output_index - The index of the output within a transaction.

__init__

def __init__(transaction_id: HexStr, output_index: int)

Initialize OutputId

from_string

@classmethod
def from_string(cls, output_id: HexStr)

Creates an OutputId instance from a HexStr.

Arguments:

  • output_id - The unique id of an output as a hex string.

Returns:

  • OutputId - The unique id of an output.