IotaBundle
public struct IotaBundle
Represents a Iota Bundle.
-
List of transactions contained in the bundle.
Declaration
Swift
public internal(set) var transactions: [IotaTransaction] = []
-
The total number of transactions contained in the bundle.
Declaration
Swift
public internal(set) var length = 0
-
Adds an entry to the Iota Bundle.
Declaration
Swift
mutating func addEntry(signatureMessageLength: Int, address: String, value: Int64, tag: String, timestamp: UInt64)
Parameters
signatureMessageLength
The length of the signature message.
address
The address.
value
The value in Iota.
tag
The tag.
timestamp
The timestamp.