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 -
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
addressThe address.
valueThe value.
timestampThe timestamp.
hashThe hash.
persistenceThe persistence state.
messageThe message.
tagThe tag.
IotaTransfer Structure Reference