IotaTransfer

public struct IotaTransfer

Represents a Iota Transfer.

  • The timestamp (only if stored in the tangle).

    Declaration

    Swift

    public internal(set) var timestamp: String?
  • The address.

    Declaration

    Swift

    public internal(set) var address: String
  • The hash (only if stored in the tangle).

    Declaration

    Swift

    public internal(set) var hash: String?
  • The persistence of the transfer.

    Declaration

    Swift

    public internal(set) var persistence: Bool
  • The value carried by the transfer.

    Declaration

    Swift

    public internal(set) var value: UInt64
  • The message.

    Declaration

    Swift

    public internal(set) var message: String
  • tag

    The tag.

    Declaration

    Swift

    public internal(set) var tag: String
  • Initializer of IotaTransfer.

    Declaration

    Swift

    public init(address: String, value: UInt64 = 0, timestamp: String? = nil, hash: String? = nil, persistence: Bool = false, message: String = "", tag: String = "")

    Parameters

    address

    The address.

    value

    The value.

    timestamp

    The timestamp.

    hash

    The hash.

    persistence

    The persistence state.

    message

    The message.

    tag

    The tag.