HTLC
public class HTLC : Account
Hashed Timelock Contract object returned by the server.
-
Hex-encoded 20 byte address of the sender of the HTLC.
Declaration
Swift
public var sender: String
-
User friendly address (NQ-address) of the sender of the HTLC.
Declaration
Swift
public var senderAddress: String
-
Hex-encoded 20 byte address of the recipient of the HTLC.
Declaration
Swift
public var recipient: String
-
User friendly address (NQ-address) of the recipient of the HTLC.
Declaration
Swift
public var recipientAddress: String
-
Hex-encoded 32 byte hash root.
Declaration
Swift
public var hashRoot: String
-
Hash algorithm.
Declaration
Swift
public var hashAlgorithm: Int
-
Number of hashes this HTLC is split into.
Declaration
Swift
public var hashCount: Int
-
Block after which the contract can only be used by the original sender to recover funds.
Declaration
Swift
public var timeout: Int
-
The total amount (in smallest unit) that was provided at the contract creation.
Declaration
Swift
public var totalAmount: Int