Skip to main content

iota_sdk.types.address

AddressType Objects

class AddressType(IntEnum)

Address type variants.

Attributes:

  • ED25519 0 - Ed25519 address.
  • ALIAS 8 - Alias address.
  • NFT 16 - Nft address.

Address Objects

@dataclass
class Address()

Base class for addresses.

Ed25519Address Objects

@dataclass
class Ed25519Address(Address)

Represents an Ed25519 address.

Attributes:

  • pubKeyHash - The hex encoded Ed25519 public key hash.

AliasAddress Objects

@dataclass
class AliasAddress(Address)

Represents an Alias address.

Attributes:

  • aliasId - The hex encoded alias id.

NFTAddress Objects

@dataclass
class NFTAddress(Address)

Represents an NFT address.

Attributes:

  • nftId - The hex encoded NFT id.

AccountAddress Objects

@dataclass
class AccountAddress()

An Address of the Account.

AddressWithUnspentOutputs Objects

@dataclass
class AddressWithUnspentOutputs()

An Address with unspent outputs.