HTLCConfigBTC

swapchain documentationHTLCConfigBTC

Contains all necessary information to create an HTLC on Bitcoin blockchain

interface HTLCConfigBTC

Hierarchy

  • HTLCConfigBTC

Index

Properties

Properties

amount

amount: number

Defined in pkg/bitcoin/htlc/btcHTLC.ts:26

The amount of satoshi to exchange.

memberof HTLCConfigBTC


hash

hash: Buffer

Defined in pkg/bitcoin/htlc/btcHTLC.ts:40

SHA256 hash of the secret.

memberof HTLCConfigBTC


sequence

sequence: number

Defined in pkg/bitcoin/htlc/btcHTLC.ts:33

How many blocks need to be mined before refund is possible.

memberof HTLCConfigBTC


transactionID

transactionID: string

Defined in pkg/bitcoin/htlc/btcHTLC.ts:19

The transaction id from the preceeding transaction.

memberof HTLCConfigBTC