IotaAddress

public struct IotaAddress

Represents a Iota Address.

  • The hash.

    Declaration

    Swift

    public internal(set) var hash: String
  • The list of transactions, can be nil.

    Declaration

    Swift

    public internal(set) var transactions: [IotaTransaction]?
  • The index of the address (starting from 0), can be nil.

    Declaration

    Swift

    public internal(set) var index: Int?
  • The current balance of the address, if nil, it can be derived from the list of transactions. In that case there is no guarantee that the value is updated.

    Declaration

    Swift

    public var balance: Int64?
  • Determines if an addres can be spent or not.

    Declaration

    Swift

    public var canSpend: Bool?