HTLCConfig
swapchain documentation › HTLCConfig
Contains all necessary information to create an HTLC on Bitshares blockchain
interface
HTLCConfig
Hierarchy
- HTLCConfig
Index
Properties
Properties
amount
• amount: number
Defined in pkg/bitshares/htlc/btsHTLC.ts:16
How much you want to send.
memberof
HTLCConfig
asset
• asset: string
Defined in pkg/bitshares/htlc/btsHTLC.ts:23
The type/currency you want to send.
memberof
HTLCConfig
hash
• hash: Buffer
Defined in pkg/bitshares/htlc/btsHTLC.ts:37
SHA256 hash of the secret.
memberof
HTLCConfig
privateKey
• privateKey: string
Defined in pkg/bitshares/htlc/btsHTLC.ts:45
Private key of the creator in WIF format.
memberof
HTLCConfig
time
• time: number
Defined in pkg/bitshares/htlc/btsHTLC.ts:30
TTL for the timelock in seconds. After this time passes the contract will be automatically redeemed by the sender.
memberof
HTLCConfig