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
signatureMessageLengthThe length of the signature message.
addressThe address.
valueThe value in Iota.
tagThe tag.
timestampThe timestamp.
IotaBundle Structure Reference