@btc-vision/transaction 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +58 -12
- package/README.md +8 -7
- package/browser/_version.d.ts +1 -1
- package/browser/index.js +1 -1
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/scripts/Regtest.d.ts +1 -0
- package/build/scripts/Regtest.js +14 -0
- package/build/scripts/test.js +7 -7
- package/build/tests/Regtest.d.ts +3 -0
- package/build/tests/Regtest.js +29 -0
- package/build/tests/test.d.ts +0 -0
- package/build/tests/test.js +1 -0
- package/docs/classes/BitcoinUtils.html +3 -3
- package/docs/classes/CalldataGenerator.html +10 -10
- package/docs/classes/Compressor.html +4 -4
- package/docs/classes/ContractBaseMetadata.html +4 -4
- package/docs/classes/DeploymentGenerator.html +9 -9
- package/docs/classes/EcKeyPair.html +16 -16
- package/docs/classes/FundingTransaction.html +47 -47
- package/docs/classes/Generator.html +9 -9
- package/docs/classes/InteractionTransaction.html +68 -68
- package/docs/classes/TransactionBuilder.html +50 -50
- package/docs/classes/TransactionFactory.html +2 -2
- package/docs/classes/TweakedSigner.html +2 -2
- package/docs/classes/UTXOManager.html +3 -3
- package/docs/classes/Wallet.html +9 -9
- package/docs/classes/wBTC.html +7 -7
- package/docs/enums/TransactionType.html +2 -2
- package/docs/index.html +9 -9
- package/docs/interfaces/FetchUTXOParams.html +2 -2
- package/docs/interfaces/IFundingTransactionParameters.html +2 -2
- package/docs/interfaces/IInteractionParameters.html +2 -2
- package/docs/interfaces/ITransactionDataContractDeployment.html +2 -2
- package/docs/interfaces/ITransactionDataContractInteractionWrap.html +2 -2
- package/docs/interfaces/ITransactionParameters.html +2 -2
- package/docs/interfaces/IWallet.html +4 -4
- package/docs/interfaces/NetworkInformation.html +2 -2
- package/docs/interfaces/PsbtInputExtended.html +1 -1
- package/docs/interfaces/PsbtOutputExtendedAddress.html +2 -2
- package/docs/interfaces/PsbtOutputExtendedScript.html +2 -2
- package/docs/interfaces/RawUTXOResponse.html +2 -2
- package/docs/interfaces/TapLeafScript.html +2 -2
- package/docs/interfaces/TweakSettings.html +3 -3
- package/docs/interfaces/UTXO.html +2 -2
- package/docs/interfaces/UpdateInput.html +2 -2
- package/docs/types/PsbtOutputExtended.html +1 -1
- package/docs/variables/version.html +1 -1
- package/package.json +4 -4
- package/src/_version.ts +1 -1
- package/src/{scripts → tests}/Regtest.ts +17 -0
- package/src/{scripts → tests}/test.ts +11 -7
- package/tests/TransactionBuilder.test.ts +1 -1
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
</style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="InteractionTransaction.html">InteractionTransaction</a></li></ul><h1>Class InteractionTransaction</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Class for interaction transactions
|
|
160
160
|
InteractionTransaction</p>
|
|
161
|
-
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#InteractionTransaction">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="TransactionBuilder.html" class="tsd-signature-type tsd-kind-class">TransactionBuilder</a><span class="tsd-signature-symbol"><</span><a href="../enums/TransactionType.html#INTERACTION" class="tsd-signature-type tsd-kind-enum-member">INTERACTION</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">InteractionTransaction</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
161
|
+
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#InteractionTransaction">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="TransactionBuilder.html" class="tsd-signature-type tsd-kind-class">TransactionBuilder</a><span class="tsd-signature-symbol"><</span><a href="../enums/TransactionType.html#INTERACTION" class="tsd-signature-type tsd-kind-enum-member">INTERACTION</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">InteractionTransaction</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L20">src/transaction/builders/InteractionTransaction.ts:20</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="InteractionTransaction.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
162
162
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="InteractionTransaction.html#calldata" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata</span></a>
|
|
163
163
|
<a href="InteractionTransaction.html#calldataGenerator" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata<wbr/>Generator</span></a>
|
|
164
164
|
<a href="InteractionTransaction.html#compiledTargetScript" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>compiled<wbr/>Target<wbr/>Script</span></a>
|
|
@@ -237,117 +237,117 @@
|
|
|
237
237
|
<a href="InteractionTransaction.html#updateInput" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Input</span></a>
|
|
238
238
|
<a href="InteractionTransaction.html#verifyUTXOValidity" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verifyUTXOValidity</span></a>
|
|
239
239
|
<a href="InteractionTransaction.html#witnessStackToScriptWitness" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>witness<wbr/>Stack<wbr/>To<wbr/>Script<wbr/>Witness</span></a>
|
|
240
|
-
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_InteractionTransaction" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Interaction<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">parameters</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a><a href="#constructor.new_InteractionTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">parameters</span>: <a href="../interfaces/IInteractionParameters.html" class="tsd-signature-type tsd-kind-interface">IInteractionParameters</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a></h4><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
241
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
242
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
243
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#feeOutput">feeOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
244
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#feeRate">feeRate</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
245
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#from">from</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
246
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#inputs">inputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
247
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
248
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
249
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#network">network</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
250
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#outputs">outputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
251
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#priorityFee">priorityFee</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
252
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
253
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#scriptData">scriptData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
254
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
255
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signed">signed</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
256
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signer">signer</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
257
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#tapData">tapData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
258
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#to">to</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
259
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#totalInputAmount">totalInputAmount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
260
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#transaction">transaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
261
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#transactionFee">transactionFee</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
262
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
263
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#updateInputs">updateInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
264
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#utxos">utxos</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
240
|
+
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_InteractionTransaction" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Interaction<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">parameters</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a><a href="#constructor.new_InteractionTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">parameters</span>: <a href="../interfaces/IInteractionParameters.html" class="tsd-signature-type tsd-kind-interface">IInteractionParameters</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a></h4><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L74">src/transaction/builders/InteractionTransaction.ts:74</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-protected"><a id="calldata" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>calldata</span><a href="#calldata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">calldata</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>Calldata for the interaction</p>
|
|
241
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L42">src/transaction/builders/InteractionTransaction.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="calldataGenerator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>calldata<wbr/>Generator</span><a href="#calldataGenerator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">calldata<wbr/>Generator</span><span class="tsd-signature-symbol">:</span> <a href="CalldataGenerator.html" class="tsd-signature-type tsd-kind-class">CalldataGenerator</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L36">src/transaction/builders/InteractionTransaction.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="compiledTargetScript" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>compiled<wbr/>Target<wbr/>Script</span><a href="#compiledTargetScript" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">compiled<wbr/>Target<wbr/>Script</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L32">src/transaction/builders/InteractionTransaction.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="contractSecret" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Secret</span><a href="#contractSecret" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Secret</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Contract secret for the interaction</p>
|
|
242
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L48">src/transaction/builders/InteractionTransaction.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="feeOutput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>fee<wbr/>Output</span><a href="#feeOutput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fee<wbr/>Output</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a><span class="tsd-signature-symbol"> = null</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Output that will be used to pay the fees</p>
|
|
243
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#feeOutput">feeOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L49">src/transaction/builders/TransactionBuilder.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="feeRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>fee<wbr/>Rate</span><a href="#feeRate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fee<wbr/>Rate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The fee rate of the transaction</p>
|
|
244
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#feeRate">feeRate</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L77">src/transaction/builders/TransactionBuilder.ts:77</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="from" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>from</span><a href="#from" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">from</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The address where the transaction is sent from</p>
|
|
245
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#from">from</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L97">src/transaction/builders/TransactionBuilder.ts:97</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="inputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>inputs</span><a href="#inputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">inputs</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The inputs of the transaction</p>
|
|
246
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#inputs">inputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L37">src/transaction/builders/TransactionBuilder.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="interactionPubKeys" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>interaction<wbr/>Pub<wbr/>Keys</span><a href="#interactionPubKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">interaction<wbr/>Pub<wbr/>Keys</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>Public keys specified in the interaction</p>
|
|
247
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L66">src/transaction/builders/InteractionTransaction.ts:66</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="leftOverFundsScriptRedeem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>left<wbr/>Over<wbr/>Funds<wbr/>Script<wbr/>Redeem</span><a href="#leftOverFundsScriptRedeem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">left<wbr/>Over<wbr/>Funds<wbr/>Script<wbr/>Redeem</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Payment</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L30">src/transaction/builders/InteractionTransaction.ts:30</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="logColor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>log<wbr/>Color</span><a href="#logColor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">log<wbr/>Color</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = '#785def'</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#logColor">logColor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L24">src/transaction/builders/TransactionBuilder.ts:24</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="minimumSignatures" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>minimum<wbr/>Signatures</span><a href="#minimumSignatures" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">minimum<wbr/>Signatures</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Minimum signatures required for the interaction</p>
|
|
248
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L72">src/transaction/builders/InteractionTransaction.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="network" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>network</span><a href="#network" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">network</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Network</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The network where the transaction will be broadcasted</p>
|
|
249
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#network">network</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L73">src/transaction/builders/TransactionBuilder.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="outputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>outputs</span><a href="#outputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">outputs</span><span class="tsd-signature-symbol">:</span> <a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The outputs of the transaction</p>
|
|
250
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#outputs">outputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L45">src/transaction/builders/TransactionBuilder.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="priorityFee" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>priority<wbr/>Fee</span><a href="#priorityFee" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">priority<wbr/>Fee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The opnet priority fee of the transaction</p>
|
|
251
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#priorityFee">priorityFee</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L81">src/transaction/builders/TransactionBuilder.ts:81</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="randomBytes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>random<wbr/>Bytes</span><a href="#randomBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">random<wbr/>Bytes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>Random salt for the interaction</p>
|
|
252
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L27">src/transaction/builders/InteractionTransaction.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="scriptData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>script<wbr/>Data</span><a href="#scriptData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">script<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Payment</span><span class="tsd-signature-symbol"> = null</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The script data of the transaction</p>
|
|
253
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#scriptData">scriptData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L61">src/transaction/builders/TransactionBuilder.ts:61</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="scriptSigner" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>script<wbr/>Signer</span><a href="#scriptSigner" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">script<wbr/>Signer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signer</span></div><div class="tsd-comment tsd-typography"><p>Script signer for the interaction</p>
|
|
254
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L60">src/transaction/builders/InteractionTransaction.ts:60</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="scriptTree" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>script<wbr/>Tree</span><a href="#scriptTree" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">script<wbr/>Tree</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Taptree</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L33">src/transaction/builders/InteractionTransaction.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="signed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>signed</span><a href="#signed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">signed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Was the transaction signed?</p>
|
|
255
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signed">signed</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L53">src/transaction/builders/TransactionBuilder.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="signer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>signer</span><a href="#signer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">signer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The signer of the transaction</p>
|
|
256
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signer">signer</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L69">src/transaction/builders/TransactionBuilder.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="tapData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>tap<wbr/>Data</span><a href="#tapData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tap<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Payment</span><span class="tsd-signature-symbol"> = null</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The tap data of the transaction</p>
|
|
257
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#tapData">tapData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L57">src/transaction/builders/TransactionBuilder.ts:57</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="tapLeafScript" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>tap<wbr/>Leaf<wbr/>Script</span><a href="#tapLeafScript" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tap<wbr/>Leaf<wbr/>Script</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/TapLeafScript.html" class="tsd-signature-type tsd-kind-interface">TapLeafScript</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L35">src/transaction/builders/InteractionTransaction.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="targetScriptRedeem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>target<wbr/>Script<wbr/>Redeem</span><a href="#targetScriptRedeem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">target<wbr/>Script<wbr/>Redeem</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Payment</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L29">src/transaction/builders/InteractionTransaction.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="to" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>to</span><a href="#to" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The address where the transaction is sent to</p>
|
|
258
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#to">to</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L91">src/transaction/builders/TransactionBuilder.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="totalInputAmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>total<wbr/>Input<wbr/>Amount</span><a href="#totalInputAmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">total<wbr/>Input<wbr/>Amount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The total amount of satoshis in the inputs</p>
|
|
259
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#totalInputAmount">totalInputAmount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L65">src/transaction/builders/TransactionBuilder.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="transaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>transaction</span><a href="#transaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">transaction</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Psbt</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The transaction itself.</p>
|
|
260
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#transaction">transaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L33">src/transaction/builders/TransactionBuilder.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="transactionFee" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>transaction<wbr/>Fee</span><a href="#transactionFee" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">transaction<wbr/>Fee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Cost in satoshis of the transaction fee</p>
|
|
261
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#transactionFee">transactionFee</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L29">src/transaction/builders/TransactionBuilder.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="tweakedSigner" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>tweaked<wbr/>Signer</span><a href="#tweakedSigner" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tweaked<wbr/>Signer</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Signer</span></div><div class="tsd-comment tsd-typography"><p>The tweaked signer for the interaction (if any)</p>
|
|
262
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L54">src/transaction/builders/InteractionTransaction.ts:54</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/TransactionType.html#INTERACTION" class="tsd-signature-type tsd-kind-enum-member">INTERACTION</a><span class="tsd-signature-symbol"> = TransactionType.INTERACTION</span></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#type">type</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L21">src/transaction/builders/InteractionTransaction.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="updateInputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>update<wbr/>Inputs</span><a href="#updateInputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">update<wbr/>Inputs</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/UpdateInput.html" class="tsd-signature-type tsd-kind-interface">UpdateInput</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Inputs to update later on.</p>
|
|
263
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#updateInputs">updateInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L41">src/transaction/builders/TransactionBuilder.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="utxos" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>utxos</span><a href="#utxos" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">utxos</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/UTXO.html" class="tsd-signature-type tsd-kind-interface">UTXO</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The utxos used in the transaction</p>
|
|
264
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#utxos">utxos</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L85">src/transaction/builders/TransactionBuilder.ts:85</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="LOCK_LEAF_SCRIPT" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>LOCK_<wbr/>LEAF_<wbr/>SCRIPT</span><a href="#LOCK_LEAF_SCRIPT" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">LOCK_<wbr/>LEAF_<wbr/>SCRIPT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#LOCK_LEAF_SCRIPT">LOCK_LEAF_SCRIPT</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L20">src/transaction/builders/TransactionBuilder.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="MINIMUM_DUST" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>MINIMUM_<wbr/>DUST</span><a href="#MINIMUM_DUST" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">MINIMUM_<wbr/>DUST</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#MINIMUM_DUST">MINIMUM_DUST</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L21">src/transaction/builders/TransactionBuilder.ts:21</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="addInput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Input</span><a href="#addInput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="addInput.addInput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Input</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addInput.addInput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add an input to the transaction.</p>
|
|
265
265
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a></span><div class="tsd-comment tsd-typography"><p>The input to add</p>
|
|
266
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addInput">addInput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
266
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addInput">addInput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L242">src/transaction/builders/TransactionBuilder.ts:242</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="addInputsFromUTXO" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>add<wbr/>Inputs<wbr/>FromUTXO</span><a href="#addInputsFromUTXO" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="addInputsFromUTXO.addInputsFromUTXO-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Inputs<wbr/>FromUTXO</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addInputsFromUTXO.addInputsFromUTXO-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Add inputs from the UTXO</p>
|
|
267
267
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Throws</h4><p>If the tap leaf script is required</p>
|
|
268
|
-
</div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addInputsFromUTXO">addInputsFromUTXO</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
268
|
+
</div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addInputsFromUTXO">addInputsFromUTXO</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L164">src/transaction/builders/InteractionTransaction.ts:164</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="addOutput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Output</span><a href="#addOutput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="addOutput.addOutput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Output</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">output</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addOutput.addOutput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add an output to the transaction.</p>
|
|
269
269
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">output</span>: <a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a></span><div class="tsd-comment tsd-typography"><p>The output to add</p>
|
|
270
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addOutput">addOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
270
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addOutput">addOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L252">src/transaction/builders/TransactionBuilder.ts:252</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="addRefundOutput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>add<wbr/>Refund<wbr/>Output</span><a href="#addRefundOutput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="addRefundOutput.addRefundOutput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Refund<wbr/>Output</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">amountSpent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addRefundOutput.addRefundOutput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">amountSpent</span>: <span class="tsd-signature-type">bigint</span></span><div class="tsd-comment tsd-typography"><p>The amount spent</p>
|
|
271
271
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Adds the refund output to the transaction</p>
|
|
272
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addRefundOutput">addRefundOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
272
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addRefundOutput">addRefundOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L268">src/transaction/builders/TransactionBuilder.ts:268</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="buildTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>build<wbr/>Transaction</span><a href="#buildTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="buildTransaction.buildTransaction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">build<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#buildTransaction.buildTransaction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Build the transaction</p>
|
|
273
273
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Throws</h4><p>If the left over funds script redeem is required</p>
|
|
274
274
|
<h4>Throws</h4><p>If the left over funds script redeem version is required</p>
|
|
275
275
|
<h4>Throws</h4><p>If the left over funds script redeem output is required</p>
|
|
276
|
-
</div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#buildTransaction">buildTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
277
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#calculateTotalUTXOAmount">calculateTotalUTXOAmount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
278
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#calculateTotalVOutAmount">calculateTotalVOutAmount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
276
|
+
</div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#buildTransaction">buildTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L191">src/transaction/builders/InteractionTransaction.ts:191</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="calculateTotalUTXOAmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>calculate<wbr/>TotalUTXOAmount</span><a href="#calculateTotalUTXOAmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="calculateTotalUTXOAmount.calculateTotalUTXOAmount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>TotalUTXOAmount</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#calculateTotalUTXOAmount.calculateTotalUTXOAmount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the total amount of satoshis in the inputs</p>
|
|
277
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#calculateTotalUTXOAmount">calculateTotalUTXOAmount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L303">src/transaction/builders/TransactionBuilder.ts:303</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="calculateTotalVOutAmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>calculate<wbr/>TotalVOut<wbr/>Amount</span><a href="#calculateTotalVOutAmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="calculateTotalVOutAmount.calculateTotalVOutAmount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>TotalVOut<wbr/>Amount</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#calculateTotalVOutAmount.calculateTotalVOutAmount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the total amount of satoshis in the outputs</p>
|
|
278
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#calculateTotalVOutAmount">calculateTotalVOutAmount</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L317">src/transaction/builders/TransactionBuilder.ts:317</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="customFinalizer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>custom<wbr/>Finalizer</span><a href="#customFinalizer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="customFinalizer.customFinalizer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">custom<wbr/>Finalizer</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_inputIndex</span>, <span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">finalScriptWitness</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#customFinalizer.customFinalizer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Transaction finalizer</p>
|
|
279
279
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_inputIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The input index</p>
|
|
280
280
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">PsbtInput</span></span><div class="tsd-comment tsd-typography"><p>The input</p>
|
|
281
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">finalScriptWitness</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">final<wbr/>Script<wbr/>Witness</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span></h5></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
282
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#disableRBF">disableRBF</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
281
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">finalScriptWitness</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">final<wbr/>Script<wbr/>Witness</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span></h5></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L327">src/transaction/builders/InteractionTransaction.ts:327</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="disableRBF" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disableRBF</span><a href="#disableRBF" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="disableRBF.disableRBF-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disableRBF</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#disableRBF.disableRBF-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Disables replace by fee on the transaction</p>
|
|
282
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#disableRBF">disableRBF</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L215">src/transaction/builders/TransactionBuilder.ts:215</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="generateKeyPairFromSeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Key<wbr/>Pair<wbr/>From<wbr/>Seed</span><a href="#generateKeyPairFromSeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="generateKeyPairFromSeed.generateKeyPairFromSeed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Key<wbr/>Pair<wbr/>From<wbr/>Seed</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ECPairInterface</span><a href="#generateKeyPairFromSeed.generateKeyPairFromSeed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Generate a key pair from the seed</p>
|
|
283
283
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ECPairInterface</span></h4><p>The key pair</p>
|
|
284
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
284
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L154">src/transaction/builders/InteractionTransaction.ts:154</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="generateRedeemScripts" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>generate<wbr/>Redeem<wbr/>Scripts</span><a href="#generateRedeemScripts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="generateRedeemScripts.generateRedeemScripts-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Redeem<wbr/>Scripts</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateRedeemScripts.generateRedeemScripts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Generate the redeem scripts</p>
|
|
285
285
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Throws</h4><p>If the public keys are required</p>
|
|
286
286
|
<h4>Throws</h4><p>If the leaf script is required</p>
|
|
287
287
|
<h4>Throws</h4><p>If the leaf script version is required</p>
|
|
288
288
|
<h4>Throws</h4><p>If the leaf script output is required</p>
|
|
289
289
|
<h4>Throws</h4><p>If the target script redeem is required</p>
|
|
290
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
291
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Payment</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#generateScriptAddress">generateScriptAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
290
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L390">src/transaction/builders/InteractionTransaction.ts:390</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="generateScriptAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Script<wbr/>Address</span><a href="#generateScriptAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="generateScriptAddress.generateScriptAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Script<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Payment</span><a href="#generateScriptAddress.generateScriptAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generates the script address.</p>
|
|
291
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Payment</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#generateScriptAddress">generateScriptAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L257">src/transaction/builders/InteractionTransaction.ts:257</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="generateSecret" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Secret</span><a href="#generateSecret" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="generateSecret.generateSecret-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Secret</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#generateSecret.generateSecret-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Generate the secret for the interaction</p>
|
|
292
292
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><p>The secret</p>
|
|
293
293
|
<div class="tsd-comment tsd-typography"><h4>Throws</h4><p>If the to address is invalid</p>
|
|
294
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
294
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L127">src/transaction/builders/InteractionTransaction.ts:127</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="generateTapData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Tap<wbr/>Data</span><a href="#generateTapData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="generateTapData.generateTapData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Tap<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Payment</span><a href="#generateTapData.generateTapData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Payment</span></h4><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#generateTapData">generateTapData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L265">src/transaction/builders/InteractionTransaction.ts:265</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getContractSecret" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Contract<wbr/>Secret</span><a href="#getContractSecret" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getContractSecret.getContractSecret-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Contract<wbr/>Secret</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#getContractSecret.getContractSecret-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the contract secret</p>
|
|
295
295
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><p>The contract secret</p>
|
|
296
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
297
|
-
</div><h4 class="tsd-returns-title">Returns <a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getInputs">getInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
296
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L109">src/transaction/builders/InteractionTransaction.ts:109</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFundingTransactionParameters" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Funding<wbr/>Transaction<wbr/>Parameters</span><a href="#getFundingTransactionParameters" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFundingTransactionParameters.getFundingTransactionParameters-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Funding<wbr/>Transaction<wbr/>Parameters</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/IFundingTransactionParameters.html" class="tsd-signature-type tsd-kind-interface">IFundingTransactionParameters</a><a href="#getFundingTransactionParameters.getFundingTransactionParameters-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="../interfaces/IFundingTransactionParameters.html" class="tsd-signature-type tsd-kind-interface">IFundingTransactionParameters</a></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getFundingTransactionParameters">getFundingTransactionParameters</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L134">src/transaction/builders/TransactionBuilder.ts:134</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getInputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Inputs</span><a href="#getInputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getInputs.getInputs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Inputs</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a><span class="tsd-signature-symbol">[]</span><a href="#getInputs.getInputs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Returns the inputs of the transaction.</p>
|
|
297
|
+
</div><h4 class="tsd-returns-title">Returns <a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getInputs">getInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L465">src/transaction/builders/TransactionBuilder.ts:465</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getLeafScript" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Leaf<wbr/>Script</span><a href="#getLeafScript" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getLeafScript.getLeafScript-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Leaf<wbr/>Script</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#getLeafScript.getLeafScript-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Get the second leaf script</p>
|
|
298
298
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><p>The leaf script</p>
|
|
299
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
300
|
-
</div><h4 class="tsd-returns-title">Returns <a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getOutputs">getOutputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
299
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L410">src/transaction/builders/InteractionTransaction.ts:410</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getOutputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Outputs</span><a href="#getOutputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getOutputs.getOutputs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Outputs</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a><span class="tsd-signature-symbol">[]</span><a href="#getOutputs.getOutputs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Returns the outputs of the transaction.</p>
|
|
300
|
+
</div><h4 class="tsd-returns-title">Returns <a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getOutputs">getOutputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L474">src/transaction/builders/TransactionBuilder.ts:474</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getPubKeys" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Pub<wbr/>Keys</span><a href="#getPubKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getPubKeys.getPubKeys-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Pub<wbr/>Keys</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span><a href="#getPubKeys.getPubKeys-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Get the public keys</p>
|
|
301
301
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span></h4><p>The public keys</p>
|
|
302
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
302
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L312">src/transaction/builders/InteractionTransaction.ts:312</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getRndBytes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Rnd<wbr/>Bytes</span><a href="#getRndBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getRndBytes.getRndBytes-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Rnd<wbr/>Bytes</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#getRndBytes.getRndBytes-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the random bytes used for the interaction</p>
|
|
303
303
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><p>The random bytes</p>
|
|
304
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
305
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getScriptAddress">getScriptAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
304
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L117">src/transaction/builders/InteractionTransaction.ts:117</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getScriptAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Script<wbr/>Address</span><a href="#getScriptAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getScriptAddress.getScriptAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Script<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getScriptAddress.getScriptAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the script address</p>
|
|
305
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getScriptAddress">getScriptAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L204">src/transaction/builders/TransactionBuilder.ts:204</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="getScriptSolution" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Script<wbr/>Solution</span><a href="#getScriptSolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="getScriptSolution.getScriptSolution-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Script<wbr/>Solution</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span><a href="#getScriptSolution.getScriptSolution-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Generate the script solution</p>
|
|
306
306
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">PsbtInput</span></span><div class="tsd-comment tsd-typography"><p>The input</p>
|
|
307
307
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span></h4><p>The script solution</p>
|
|
308
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
308
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L293">src/transaction/builders/InteractionTransaction.ts:293</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getScriptTree" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Script<wbr/>Tree</span><a href="#getScriptTree" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getScriptTree.getScriptTree-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Script<wbr/>Tree</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Taptree</span><a href="#getScriptTree.getScriptTree-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Get the script tree</p>
|
|
309
309
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Taptree</span></h4><p>The script tree</p>
|
|
310
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
310
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L421">src/transaction/builders/InteractionTransaction.ts:421</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="getSignerKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Signer<wbr/>Key</span><a href="#getSignerKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="getSignerKey.getSignerKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Signer<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Signer</span><a href="#getSignerKey.getSignerKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Get the signer</p>
|
|
311
311
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Signer</span></h4><p>The signer</p>
|
|
312
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getSignerKey">getSignerKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
312
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getSignerKey">getSignerKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L249">src/transaction/builders/InteractionTransaction.ts:249</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTapAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tap<wbr/>Address</span><a href="#getTapAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTapAddress.getTapAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tap<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getTapAddress.getTapAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the tap address</p>
|
|
313
313
|
<h4>Throws</h4><ul>
|
|
314
314
|
<li>If tap data is not set</li>
|
|
315
315
|
</ul>
|
|
316
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTapAddress">getTapAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
317
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTapOutput">getTapOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
318
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTransaction">getTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
319
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTransactionOPNetFee">getTransactionOPNetFee</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
316
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTapAddress">getTapAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L228">src/transaction/builders/TransactionBuilder.ts:228</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getTapOutput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Tap<wbr/>Output</span><a href="#getTapOutput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTapOutput.getTapOutput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tap<wbr/>Output</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#getTapOutput.getTapOutput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Returns the tap output.</p>
|
|
317
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTapOutput">getTapOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L452">src/transaction/builders/TransactionBuilder.ts:452</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Transaction</span><a href="#getTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTransaction.getTransaction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Transaction</span><a href="#getTransaction.getTransaction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Transaction</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the transaction</p>
|
|
318
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTransaction">getTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L196">src/transaction/builders/TransactionBuilder.ts:196</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getTransactionOPNetFee" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>TransactionOPNet<wbr/>Fee</span><a href="#getTransactionOPNetFee" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTransactionOPNetFee.getTransactionOPNetFee-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>TransactionOPNet<wbr/>Fee</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#getTransactionOPNetFee.getTransactionOPNetFee-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the transaction opnet fee</p>
|
|
319
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTransactionOPNetFee">getTransactionOPNetFee</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L290">src/transaction/builders/TransactionBuilder.ts:290</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getTweakedSigner" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Tweaked<wbr/>Signer</span><a href="#getTweakedSigner" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getTweakedSigner.getTweakedSigner-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tweaked<wbr/>Signer</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">useTweakedHash</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Signer</span><a href="#getTweakedSigner.getTweakedSigner-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Get the tweaked signer</p>
|
|
320
320
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">useTweakedHash</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether to use the tweaked hash</p>
|
|
321
321
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Signer</span></h4><p>The tweaked signer</p>
|
|
322
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
322
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L368">src/transaction/builders/InteractionTransaction.ts:368</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getTweakerHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Tweaker<wbr/>Hash</span><a href="#getTweakerHash" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="getTweakerHash.getTweakerHash-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tweaker<wbr/>Hash</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span><a href="#getTweakerHash.getTweakerHash-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Get the tweaked hash</p>
|
|
323
323
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Buffer</span></h4><p>The tweaked hash</p>
|
|
324
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
325
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getWitness">getWitness</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
326
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#internalInit">internalInit</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
327
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#internalPubKeyToXOnly">internalPubKeyToXOnly</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
324
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L357">src/transaction/builders/InteractionTransaction.ts:357</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="getWitness" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Witness</span><a href="#getWitness" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getWitness.getWitness-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Witness</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#getWitness.getWitness-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Returns the witness of the tap transaction.</p>
|
|
325
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getWitness">getWitness</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L435">src/transaction/builders/TransactionBuilder.ts:435</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="internalInit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Init</span><a href="#internalInit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="internalInit.internalInit-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">internal<wbr/>Init</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#internalInit.internalInit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Internal init.</p>
|
|
326
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#internalInit">internalInit</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L387">src/transaction/builders/TransactionBuilder.ts:387</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="internalPubKeyToXOnly" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Pub<wbr/>Key<wbr/>ToXOnly</span><a href="#internalPubKeyToXOnly" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="internalPubKeyToXOnly.internalPubKeyToXOnly-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">internal<wbr/>Pub<wbr/>Key<wbr/>ToXOnly</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#internalPubKeyToXOnly.internalPubKeyToXOnly-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Converts the public key to x-only.</p>
|
|
327
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#internalPubKeyToXOnly">internalPubKeyToXOnly</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L528">src/transaction/builders/TransactionBuilder.ts:528</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="scriptSignerXOnlyPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>script<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</span><a href="#scriptSignerXOnlyPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="scriptSignerXOnlyPubKey.scriptSignerXOnlyPubKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">script<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#scriptSignerXOnlyPubKey.scriptSignerXOnlyPubKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Get the internal pubkey as an x-only key</p>
|
|
328
328
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><p>The internal pubkey as an x-only key</p>
|
|
329
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
329
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L144">src/transaction/builders/InteractionTransaction.ts:144</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setDestinationAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Destination<wbr/>Address</span><a href="#setDestinationAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setDestinationAddress.setDestinationAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Destination<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">address</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setDestinationAddress.setDestinationAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the destination address of the transaction</p>
|
|
330
330
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">address</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The address to set</p>
|
|
331
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setDestinationAddress">setDestinationAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
331
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setDestinationAddress">setDestinationAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L151">src/transaction/builders/TransactionBuilder.ts:151</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="setFeeOutput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>set<wbr/>Fee<wbr/>Output</span><a href="#setFeeOutput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setFeeOutput.setFeeOutput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Fee<wbr/>Output</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">output</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setFeeOutput.setFeeOutput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Set transaction fee output.</p>
|
|
332
332
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">output</span>: <a href="../types/PsbtOutputExtended.html" class="tsd-signature-type tsd-kind-type-alias">PsbtOutputExtended</a></span><div class="tsd-comment tsd-typography"><p>The output to set the fees</p>
|
|
333
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setFeeOutput">setFeeOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
333
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setFeeOutput">setFeeOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L499">src/transaction/builders/TransactionBuilder.ts:499</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setMaximumFeeRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Maximum<wbr/>Fee<wbr/>Rate</span><a href="#setMaximumFeeRate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setMaximumFeeRate.setMaximumFeeRate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Maximum<wbr/>Fee<wbr/>Rate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">feeRate</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMaximumFeeRate.setMaximumFeeRate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the maximum fee rate of the transaction in satoshis per byte</p>
|
|
334
334
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">feeRate</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The fee rate to set</p>
|
|
335
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setMaximumFeeRate">setMaximumFeeRate</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
335
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setMaximumFeeRate">setMaximumFeeRate</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L160">src/transaction/builders/TransactionBuilder.ts:160</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="signInputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>sign<wbr/>Inputs</span><a href="#signInputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="signInputs.signInputs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>Inputs</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">transaction</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#signInputs.signInputs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Sign the inputs</p>
|
|
336
336
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">transaction</span>: <span class="tsd-signature-type">Psbt</span></span><div class="tsd-comment tsd-typography"><p>The transaction to sign</p>
|
|
337
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signInputs">signInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
337
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signInputs">signInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L230">src/transaction/builders/InteractionTransaction.ts:230</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="signTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sign<wbr/>Transaction</span><a href="#signTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="signTransaction.signTransaction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Transaction</span><a href="#signTransaction.signTransaction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Transaction</span></h4><ul>
|
|
338
338
|
<li>The signed transaction in hex format</li>
|
|
339
339
|
</ul>
|
|
340
340
|
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Signs the transaction</p>
|
|
341
341
|
<h4>Throws</h4><ul>
|
|
342
342
|
<li>If something went wrong</li>
|
|
343
343
|
</ul>
|
|
344
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signTransaction">signTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
345
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
344
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signTransaction">signTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L170">src/transaction/builders/TransactionBuilder.ts:170</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="tweakSigner" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>tweak<wbr/>Signer</span><a href="#tweakSigner" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="tweakSigner.tweakSigner-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">tweak<wbr/>Signer</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#tweakSigner.tweakSigner-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Tweak the signer for the interaction</p>
|
|
345
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/InteractionTransaction.ts#L135">src/transaction/builders/InteractionTransaction.ts:135</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="updateInput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>update<wbr/>Input</span><a href="#updateInput" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateInput.updateInput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Input</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateInput.updateInput-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Add an input update</p>
|
|
346
346
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">input</span>: <a href="../interfaces/UpdateInput.html" class="tsd-signature-type tsd-kind-interface">UpdateInput</a></span><div class="tsd-comment tsd-typography"><p>The input to update</p>
|
|
347
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#updateInput">updateInput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
348
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#verifyUTXOValidity">verifyUTXOValidity</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
347
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#updateInput">updateInput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L426">src/transaction/builders/TransactionBuilder.ts:426</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="verifyUTXOValidity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>verifyUTXOValidity</span><a href="#verifyUTXOValidity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="verifyUTXOValidity.verifyUTXOValidity-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">verifyUTXOValidity</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#verifyUTXOValidity.verifyUTXOValidity-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Verifies that the utxos are valid.</p>
|
|
348
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#verifyUTXOValidity">verifyUTXOValidity</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L485">src/transaction/builders/TransactionBuilder.ts:485</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="witnessStackToScriptWitness" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>witness<wbr/>Stack<wbr/>To<wbr/>Script<wbr/>Witness</span><a href="#witnessStackToScriptWitness" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="witnessStackToScriptWitness.witnessStackToScriptWitness-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">witness<wbr/>Stack<wbr/>To<wbr/>Script<wbr/>Witness</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">witness</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><a href="#witnessStackToScriptWitness.witnessStackToScriptWitness-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">witness</span>: <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The witness stack</p>
|
|
349
349
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Converts the witness stack to a script witness</p>
|
|
350
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#witnessStackToScriptWitness">witnessStackToScriptWitness</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c826dbc7747be9260a8346ab2f0254581401d734/src/transaction/builders/TransactionBuilder.ts#L353">src/transaction/builders/TransactionBuilder.ts:353</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#calldata" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata</span></a><a href="#calldataGenerator" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata<wbr/>Generator</span></a><a href="#compiledTargetScript" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>compiled<wbr/>Target<wbr/>Script</span></a><a href="#contractSecret" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Secret</span></a><a href="#feeOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fee<wbr/>Output</span></a><a href="#feeRate" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fee<wbr/>Rate</span></a><a href="#from" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>from</span></a><a href="#inputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>inputs</span></a><a href="#interactionPubKeys" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>interaction<wbr/>Pub<wbr/>Keys</span></a><a href="#leftOverFundsScriptRedeem" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>left<wbr/>Over<wbr/>Funds<wbr/>Script<wbr/>Redeem</span></a><a href="#logColor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>log<wbr/>Color</span></a><a href="#minimumSignatures" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>minimum<wbr/>Signatures</span></a><a href="#network" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a><a href="#outputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>outputs</span></a><a href="#priorityFee" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>priority<wbr/>Fee</span></a><a href="#randomBytes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>random<wbr/>Bytes</span></a><a href="#scriptData" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Data</span></a><a href="#scriptSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Signer</span></a><a href="#scriptTree" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Tree</span></a><a href="#signed" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>signed</span></a><a href="#signer" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>signer</span></a><a href="#tapData" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tap<wbr/>Data</span></a><a href="#tapLeafScript" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tap<wbr/>Leaf<wbr/>Script</span></a><a href="#targetScriptRedeem" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target<wbr/>Script<wbr/>Redeem</span></a><a href="#to" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>to</span></a><a href="#totalInputAmount" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Input<wbr/>Amount</span></a><a href="#transaction" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transaction</span></a><a href="#transactionFee" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transaction<wbr/>Fee</span></a><a href="#tweakedSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tweaked<wbr/>Signer</span></a><a href="#type" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#updateInputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>update<wbr/>Inputs</span></a><a href="#utxos" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>utxos</span></a><a href="#LOCK_LEAF_SCRIPT" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>LOCK_<wbr/>LEAF_<wbr/>SCRIPT</span></a><a href="#MINIMUM_DUST" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>MINIMUM_<wbr/>DUST</span></a><a href="#addInput" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Input</span></a><a href="#addInputsFromUTXO" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Inputs<wbr/>FromUTXO</span></a><a href="#addOutput" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Output</span></a><a href="#addRefundOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Refund<wbr/>Output</span></a><a href="#buildTransaction" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>build<wbr/>Transaction</span></a><a href="#calculateTotalUTXOAmount" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>TotalUTXOAmount</span></a><a href="#calculateTotalVOutAmount" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>TotalVOut<wbr/>Amount</span></a><a href="#customFinalizer" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>custom<wbr/>Finalizer</span></a><a href="#disableRBF" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disableRBF</span></a><a href="#generateKeyPairFromSeed" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Key<wbr/>Pair<wbr/>From<wbr/>Seed</span></a><a href="#generateRedeemScripts" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Redeem<wbr/>Scripts</span></a><a href="#generateScriptAddress" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Script<wbr/>Address</span></a><a href="#generateSecret" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Secret</span></a><a href="#generateTapData" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Tap<wbr/>Data</span></a><a href="#getContractSecret" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Contract<wbr/>Secret</span></a><a href="#getFundingTransactionParameters" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Funding<wbr/>Transaction<wbr/>Parameters</span></a><a href="#getInputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Inputs</span></a><a href="#getLeafScript" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Leaf<wbr/>Script</span></a><a href="#getOutputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Outputs</span></a><a href="#getPubKeys" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pub<wbr/>Keys</span></a><a href="#getRndBytes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Rnd<wbr/>Bytes</span></a><a href="#getScriptAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Script<wbr/>Address</span></a><a href="#getScriptSolution" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Script<wbr/>Solution</span></a><a href="#getScriptTree" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Script<wbr/>Tree</span></a><a href="#getSignerKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Signer<wbr/>Key</span></a><a href="#getTapAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tap<wbr/>Address</span></a><a href="#getTapOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tap<wbr/>Output</span></a><a href="#getTransaction" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Transaction</span></a><a href="#getTransactionOPNetFee" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>TransactionOPNet<wbr/>Fee</span></a><a href="#getTweakedSigner" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tweaked<wbr/>Signer</span></a><a href="#getTweakerHash" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tweaker<wbr/>Hash</span></a><a href="#getWitness" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Witness</span></a><a href="#internalInit" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>internal<wbr/>Init</span></a><a href="#internalPubKeyToXOnly" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>internal<wbr/>Pub<wbr/>Key<wbr/>ToXOnly</span></a><a href="#scriptSignerXOnlyPubKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>script<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</span></a><a href="#setDestinationAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Destination<wbr/>Address</span></a><a href="#setFeeOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Fee<wbr/>Output</span></a><a href="#setMaximumFeeRate" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Maximum<wbr/>Fee<wbr/>Rate</span></a><a href="#signInputs" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Inputs</span></a><a href="#signTransaction" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Transaction</span></a><a href="#tweakSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>tweak<wbr/>Signer</span></a><a href="#updateInput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Input</span></a><a href="#verifyUTXOValidity" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verifyUTXOValidity</span></a><a href="#witnessStackToScriptWitness" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>witness<wbr/>Stack<wbr/>To<wbr/>Script<wbr/>Witness</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
|
|
350
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#witnessStackToScriptWitness">witnessStackToScriptWitness</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L353">src/transaction/builders/TransactionBuilder.ts:353</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#calldata" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata</span></a><a href="#calldataGenerator" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata<wbr/>Generator</span></a><a href="#compiledTargetScript" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>compiled<wbr/>Target<wbr/>Script</span></a><a href="#contractSecret" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Secret</span></a><a href="#feeOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fee<wbr/>Output</span></a><a href="#feeRate" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fee<wbr/>Rate</span></a><a href="#from" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>from</span></a><a href="#inputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>inputs</span></a><a href="#interactionPubKeys" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>interaction<wbr/>Pub<wbr/>Keys</span></a><a href="#leftOverFundsScriptRedeem" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>left<wbr/>Over<wbr/>Funds<wbr/>Script<wbr/>Redeem</span></a><a href="#logColor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>log<wbr/>Color</span></a><a href="#minimumSignatures" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>minimum<wbr/>Signatures</span></a><a href="#network" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>network</span></a><a href="#outputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>outputs</span></a><a href="#priorityFee" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>priority<wbr/>Fee</span></a><a href="#randomBytes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>random<wbr/>Bytes</span></a><a href="#scriptData" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Data</span></a><a href="#scriptSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Signer</span></a><a href="#scriptTree" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Tree</span></a><a href="#signed" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>signed</span></a><a href="#signer" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>signer</span></a><a href="#tapData" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tap<wbr/>Data</span></a><a href="#tapLeafScript" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tap<wbr/>Leaf<wbr/>Script</span></a><a href="#targetScriptRedeem" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>target<wbr/>Script<wbr/>Redeem</span></a><a href="#to" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>to</span></a><a href="#totalInputAmount" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Input<wbr/>Amount</span></a><a href="#transaction" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transaction</span></a><a href="#transactionFee" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transaction<wbr/>Fee</span></a><a href="#tweakedSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tweaked<wbr/>Signer</span></a><a href="#type" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#updateInputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>update<wbr/>Inputs</span></a><a href="#utxos" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>utxos</span></a><a href="#LOCK_LEAF_SCRIPT" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>LOCK_<wbr/>LEAF_<wbr/>SCRIPT</span></a><a href="#MINIMUM_DUST" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>MINIMUM_<wbr/>DUST</span></a><a href="#addInput" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Input</span></a><a href="#addInputsFromUTXO" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Inputs<wbr/>FromUTXO</span></a><a href="#addOutput" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Output</span></a><a href="#addRefundOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Refund<wbr/>Output</span></a><a href="#buildTransaction" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>build<wbr/>Transaction</span></a><a href="#calculateTotalUTXOAmount" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>TotalUTXOAmount</span></a><a href="#calculateTotalVOutAmount" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>TotalVOut<wbr/>Amount</span></a><a href="#customFinalizer" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>custom<wbr/>Finalizer</span></a><a href="#disableRBF" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disableRBF</span></a><a href="#generateKeyPairFromSeed" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Key<wbr/>Pair<wbr/>From<wbr/>Seed</span></a><a href="#generateRedeemScripts" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Redeem<wbr/>Scripts</span></a><a href="#generateScriptAddress" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Script<wbr/>Address</span></a><a href="#generateSecret" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Secret</span></a><a href="#generateTapData" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Tap<wbr/>Data</span></a><a href="#getContractSecret" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Contract<wbr/>Secret</span></a><a href="#getFundingTransactionParameters" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Funding<wbr/>Transaction<wbr/>Parameters</span></a><a href="#getInputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Inputs</span></a><a href="#getLeafScript" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Leaf<wbr/>Script</span></a><a href="#getOutputs" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Outputs</span></a><a href="#getPubKeys" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pub<wbr/>Keys</span></a><a href="#getRndBytes" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Rnd<wbr/>Bytes</span></a><a href="#getScriptAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Script<wbr/>Address</span></a><a href="#getScriptSolution" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Script<wbr/>Solution</span></a><a href="#getScriptTree" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Script<wbr/>Tree</span></a><a href="#getSignerKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Signer<wbr/>Key</span></a><a href="#getTapAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tap<wbr/>Address</span></a><a href="#getTapOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tap<wbr/>Output</span></a><a href="#getTransaction" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Transaction</span></a><a href="#getTransactionOPNetFee" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>TransactionOPNet<wbr/>Fee</span></a><a href="#getTweakedSigner" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tweaked<wbr/>Signer</span></a><a href="#getTweakerHash" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tweaker<wbr/>Hash</span></a><a href="#getWitness" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Witness</span></a><a href="#internalInit" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>internal<wbr/>Init</span></a><a href="#internalPubKeyToXOnly" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>internal<wbr/>Pub<wbr/>Key<wbr/>ToXOnly</span></a><a href="#scriptSignerXOnlyPubKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>script<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</span></a><a href="#setDestinationAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Destination<wbr/>Address</span></a><a href="#setFeeOutput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Fee<wbr/>Output</span></a><a href="#setMaximumFeeRate" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Maximum<wbr/>Fee<wbr/>Rate</span></a><a href="#signInputs" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Inputs</span></a><a href="#signTransaction" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sign<wbr/>Transaction</span></a><a href="#tweakSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>tweak<wbr/>Signer</span></a><a href="#updateInput" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Input</span></a><a href="#verifyUTXOValidity" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verifyUTXOValidity</span></a><a href="#witnessStackToScriptWitness" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>witness<wbr/>Stack<wbr/>To<wbr/>Script<wbr/>Witness</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>OPNet</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div><script>
|
|
351
351
|
try {
|
|
352
352
|
const generateLinkElement = document.querySelector(".tsd-generator a");
|
|
353
353
|
const link = document.createElement("a");
|