• new OptimisticMinting(tbtcContracts
): OptimisticMinting
Name | Type |
---|---|
tbtcContracts |
TBTCContracts |
src/services/maintenance/optimistic-minting.ts:9
• Private
Readonly
tbtcContracts: TBTCContracts
src/services/maintenance/optimistic-minting.ts:7
▸ cancelMint(depositTxHash
, depositOutputIndex
): Promise
<Hex
>
Cancels optimistic minting for a deposit on chain.
Name | Type | Description |
---|---|---|
depositTxHash |
BitcoinTxHash |
The revealed deposit transaction's hash. |
depositOutputIndex |
number |
Index of the deposit transaction output that funds the revealed deposit. |
Promise
<Hex
>
Transaction hash of the optimistic mint cancel transaction.
src/services/maintenance/optimistic-minting.ts:37
▸ finalizeMint(depositTxHash
, depositOutputIndex
): Promise
<Hex
>
Finalizes optimistic minting for a deposit on chain.
Name | Type | Description |
---|---|---|
depositTxHash |
BitcoinTxHash |
The revealed deposit transaction's hash. |
depositOutputIndex |
number |
Index of the deposit transaction output that funds the revealed deposit. |
Promise
<Hex
>
Transaction hash of the optimistic mint finalize transaction.
src/services/maintenance/optimistic-minting.ts:54
▸ getMintingRequest(depositTxHash
, depositOutputIndex
): Promise
<OptimisticMintingRequest
>
Gets optimistic minting request for a deposit from chain.
Name | Type | Description |
---|---|---|
depositTxHash |
BitcoinTxHash |
The revealed deposit transaction's hash. |
depositOutputIndex |
number |
Index of the deposit transaction output that funds the revealed deposit. |
Promise
<OptimisticMintingRequest
>
Optimistic minting request.
src/services/maintenance/optimistic-minting.ts:71
▸ requestMint(depositTxHash
, depositOutputIndex
): Promise
<Hex
>
Requests optimistic minting for a deposit on chain.
Name | Type | Description |
---|---|---|
depositTxHash |
BitcoinTxHash |
The revealed deposit transaction's hash. |
depositOutputIndex |
number |
Index of the deposit transaction output that funds the revealed deposit. |
Promise
<Hex
>
Transaction hash of the optimistic mint request transaction.