Skip to main content

iota_sdk.types.feature

FeatureType Objects

class FeatureType(IntEnum)

Types of features.

Attributes:

  • Sender 0 - The sender feature.
  • Issuer 1 - The issuer feature.
  • Metadata 2 - The metadata feature.
  • Tag 3 - The tag feature.

Feature Objects

@dataclass
class Feature()

Base class of a feature.

SenderFeature Objects

@dataclass
class SenderFeature(Feature)

Sender feature.

Attributes:

  • address - A given sender address.

IssuerFeature Objects

@dataclass
class IssuerFeature(Feature)

Issuer feature.

Attributes:

  • address - A given issuer address.

MetadataFeature Objects

@dataclass
class MetadataFeature(Feature)

Metadata feature.

Attributes:

  • data - Some hex encoded metadata.

TagFeature Objects

@dataclass
class TagFeature(Feature)

Tag feature.

Attributes:

  • tag - A hex encoded tag used to index the output.