@btc-vision/transaction 1.0.21 → 1.0.22
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/browser/_version.d.ts +1 -1
- package/browser/index.js +1 -1
- package/browser/keypair/Wallet.d.ts +1 -0
- package/browser/opnet.d.ts +4 -0
- package/browser/transaction/TransactionFactory.d.ts +7 -1
- package/browser/transaction/builders/DeploymentTransaction.d.ts +2 -2
- package/browser/transaction/builders/SharedInteractionTransaction.d.ts +0 -3
- package/browser/transaction/builders/TransactionBuilder.d.ts +5 -30
- package/browser/transaction/builders/UnwarpTransaction.d.ts +19 -0
- package/browser/transaction/enums/TransactionType.d.ts +2 -1
- package/browser/transaction/interfaces/ITransactionParameters.d.ts +7 -5
- package/browser/transaction/processor/PsbtTransaction.d.ts +41 -0
- package/browser/transaction/psbt/PSBTTypes.d.ts +3 -0
- package/browser/transaction/shared/TweakedTransaction.d.ts +48 -0
- package/browser/utxo/OPNetLimitedProvider.d.ts +3 -0
- package/browser/utxo/interfaces/BroadcastResponse.d.ts +7 -0
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/keypair/Wallet.d.ts +1 -0
- package/build/keypair/Wallet.js +3 -0
- package/build/metadata/contracts/wBTC.js +1 -1
- package/build/opnet.d.ts +4 -0
- package/build/opnet.js +4 -0
- package/build/tests/adaptPSBT.d.ts +1 -0
- package/build/tests/adaptPSBT.js +57 -0
- package/build/tests/massWrapReg.d.ts +1 -0
- package/build/tests/massWrapReg.js +86 -0
- package/build/tests/unwrapReg.d.ts +1 -0
- package/build/tests/unwrapReg.js +46 -0
- package/build/transaction/TransactionFactory.d.ts +7 -1
- package/build/transaction/TransactionFactory.js +49 -0
- package/build/transaction/builders/DeploymentTransaction.d.ts +2 -2
- package/build/transaction/builders/DeploymentTransaction.js +1 -18
- package/build/transaction/builders/SharedInteractionTransaction.d.ts +0 -3
- package/build/transaction/builders/SharedInteractionTransaction.js +0 -22
- package/build/transaction/builders/TransactionBuilder.d.ts +5 -30
- package/build/transaction/builders/TransactionBuilder.js +15 -123
- package/build/transaction/builders/UnwarpTransaction.d.ts +19 -0
- package/build/transaction/builders/UnwarpTransaction.js +43 -0
- package/build/transaction/enums/TransactionType.d.ts +2 -1
- package/build/transaction/enums/TransactionType.js +1 -0
- package/build/transaction/interfaces/ITransactionParameters.d.ts +7 -5
- package/build/transaction/processor/PsbtTransaction.d.ts +41 -0
- package/build/transaction/processor/PsbtTransaction.js +102 -0
- package/build/transaction/psbt/PSBTTypes.d.ts +3 -0
- package/build/transaction/psbt/PSBTTypes.js +4 -0
- package/build/transaction/shared/TweakedTransaction.d.ts +48 -0
- package/build/transaction/shared/TweakedTransaction.js +150 -0
- package/build/utxo/OPNetLimitedProvider.d.ts +3 -0
- package/build/utxo/OPNetLimitedProvider.js +21 -5
- package/build/utxo/interfaces/BroadcastResponse.d.ts +7 -0
- package/build/utxo/interfaces/BroadcastResponse.js +1 -0
- package/build/wbtc/BroadcastResponse.d.ts +0 -0
- package/build/wbtc/BroadcastResponse.js +1 -0
- package/bytecode/wbtc.wasm +0 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AddressGenerator.html +2 -2
- package/docs/classes/AddressVerificator.html +2 -2
- package/docs/classes/BitcoinUtils.html +4 -4
- 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/DeploymentTransaction.html +100 -81
- package/docs/classes/EcKeyPair.html +16 -16
- package/docs/classes/FundingTransaction.html +79 -58
- package/docs/classes/Generator.html +9 -9
- package/docs/classes/InteractionTransaction.html +89 -70
- package/docs/classes/OPNetLimitedProvider.html +15 -6
- package/docs/classes/PsbtTransaction.html +299 -0
- package/docs/classes/SharedInteractionTransaction.html +95 -76
- package/docs/classes/TapscriptVerificator.html +2 -2
- package/docs/classes/TransactionBuilder.html +102 -82
- package/docs/classes/TransactionFactory.html +7 -5
- package/docs/classes/TweakedSigner.html +2 -2
- package/docs/classes/TweakedTransaction.html +275 -0
- package/docs/classes/Wallet.html +15 -10
- package/docs/classes/WrapTransaction.html +102 -84
- package/docs/classes/WrappedGeneration.html +8 -8
- package/docs/classes/wBTC.html +7 -7
- package/docs/enums/PSBTTypes.html +175 -0
- package/docs/enums/TransactionSequence.html +2 -2
- package/docs/enums/TransactionType.html +3 -2
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/BroadcastResponse.html +179 -0
- package/docs/interfaces/ContractAddressVerificationParams.html +2 -2
- package/docs/interfaces/DeploymentResult.html +2 -2
- package/docs/interfaces/FetchUTXOParams.html +2 -2
- package/docs/interfaces/FetchUTXOParamsMultiAddress.html +2 -2
- package/docs/interfaces/GenerationConstraints.html +5 -5
- package/docs/interfaces/IDeploymentParameters.html +2 -2
- package/docs/interfaces/IFundingTransactionParameters.html +2 -2
- package/docs/interfaces/IInteractionParameters.html +2 -2
- package/docs/interfaces/ITransactionParameters.html +4 -4
- package/docs/interfaces/ITweakedTransactionData.html +177 -0
- package/docs/interfaces/IUnwrapParameters.html +186 -0
- package/docs/interfaces/IWBTCUTXODocument.html +180 -0
- package/docs/interfaces/IWallet.html +4 -4
- package/docs/interfaces/IWrapParameters.html +2 -2
- 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/PsbtTransactionData.html +179 -0
- package/docs/interfaces/RawUTXOResponse.html +2 -2
- package/docs/interfaces/SharedInteractionParameters.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/UnwrapResult.html +176 -0
- package/docs/interfaces/UpdateInput.html +2 -2
- package/docs/interfaces/VaultUTXOs.html +178 -0
- package/docs/interfaces/WrapResult.html +2 -2
- package/docs/interfaces/WrappedGenerationParameters.html +6 -6
- package/docs/modules.html +14 -3
- package/docs/types/FromBase64Params.html +174 -0
- package/docs/types/PsbtOutputExtended.html +1 -1
- package/docs/variables/version.html +1 -1
- package/package.json +1 -1
- package/src/_version.ts +1 -1
- package/src/generators/builders/CalldataGenerator.ts +1 -1
- package/src/keypair/Wallet.ts +10 -0
- package/src/metadata/contracts/wBTC.ts +1 -1
- package/src/opnet.ts +8 -0
- package/src/tests/adaptPSBT.ts +68 -0
- package/src/tests/massWrapReg.ts +111 -0
- package/src/tests/unwrapReg.ts +89 -0
- package/src/transaction/TransactionFactory.ts +77 -1
- package/src/transaction/builders/DeploymentTransaction.ts +6 -35
- package/src/transaction/builders/SharedInteractionTransaction.ts +2 -35
- package/src/transaction/builders/TransactionBuilder.ts +30 -246
- package/src/transaction/builders/UnwarpTransaction.ts +108 -0
- package/src/transaction/enums/TransactionType.ts +1 -0
- package/src/transaction/interfaces/ITransactionParameters.ts +10 -6
- package/src/transaction/processor/PsbtTransaction.ts +212 -0
- package/src/transaction/psbt/PSBTTypes.ts +3 -0
- package/src/transaction/shared/TweakedTransaction.ts +342 -0
- package/src/utxo/OPNetLimitedProvider.ts +47 -9
- package/src/utxo/interfaces/BroadcastResponse.ts +8 -0
|
@@ -159,7 +159,7 @@
|
|
|
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="DeploymentTransaction.html">DeploymentTransaction</a></li></ul><h1>Class DeploymentTransaction</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Allows to build a transaction like you would on Ethereum.</p>
|
|
160
160
|
</div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The transaction builder class</p>
|
|
161
161
|
<h4>Abstract</h4><p>TransactionBuilder</p>
|
|
162
|
-
</div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#DeploymentTransaction">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#DEPLOYMENT" class="tsd-signature-type tsd-kind-enum-member">DEPLOYMENT</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">DeploymentTransaction</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
162
|
+
</div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#DeploymentTransaction">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#DEPLOYMENT" class="tsd-signature-type tsd-kind-enum-member">DEPLOYMENT</a><span class="tsd-signature-symbol">></span><ul class="tsd-hierarchy"><li><span class="target">DeploymentTransaction</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L16">src/transaction/builders/DeploymentTransaction.ts:16</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="DeploymentTransaction.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>
|
|
163
163
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="DeploymentTransaction.html#_private" class="tsd-index-link tsd-is-private tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>#private</span></a>
|
|
164
164
|
<a href="DeploymentTransaction.html#_contractAddress" 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>_contract<wbr/>Address</span></a>
|
|
165
165
|
<a href="DeploymentTransaction.html#bytecode" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bytecode</span></a>
|
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
<a href="DeploymentTransaction.html#scriptData" 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-1024"></use></svg><span>script<wbr/>Data</span></a>
|
|
187
187
|
<a href="DeploymentTransaction.html#scriptTree" class="tsd-index-link tsd-is-private"><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>
|
|
188
188
|
<a href="DeploymentTransaction.html#sequence" 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-1024"></use></svg><span>sequence</span></a>
|
|
189
|
+
<a href="DeploymentTransaction.html#sighashTypes" 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-1024"></use></svg><span>sighash<wbr/>Types</span></a>
|
|
189
190
|
<a href="DeploymentTransaction.html#signed" 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-1024"></use></svg><span>signed</span></a>
|
|
190
191
|
<a href="DeploymentTransaction.html#signer" 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-1024"></use></svg><span>signer</span></a>
|
|
191
192
|
<a href="DeploymentTransaction.html#tapData" 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-1024"></use></svg><span>tap<wbr/>Data</span></a>
|
|
@@ -204,11 +205,12 @@
|
|
|
204
205
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="DeploymentTransaction.html#contractAddress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>contract<wbr/>Address</span></a>
|
|
205
206
|
<a href="DeploymentTransaction.html#p2trAddress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>p2tr<wbr/>Address</span></a>
|
|
206
207
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="DeploymentTransaction.html#addInput" class="tsd-index-link 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>
|
|
207
|
-
<a href="DeploymentTransaction.html#addInputsFromUTXO" class="tsd-index-link 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>
|
|
208
|
+
<a href="DeploymentTransaction.html#addInputsFromUTXO" 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>add<wbr/>Inputs<wbr/>FromUTXO</span></a>
|
|
208
209
|
<a href="DeploymentTransaction.html#addOutput" class="tsd-index-link 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>
|
|
209
210
|
<a href="DeploymentTransaction.html#addRefundOutput" 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>add<wbr/>Refund<wbr/>Output</span></a>
|
|
210
211
|
<a href="DeploymentTransaction.html#addValueToToOutput" 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>add<wbr/>Value<wbr/>To<wbr/>To<wbr/>Output</span></a>
|
|
211
212
|
<a href="DeploymentTransaction.html#buildTransaction" class="tsd-index-link 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>
|
|
213
|
+
<a href="DeploymentTransaction.html#calculateSignHash" 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>calculate<wbr/>Sign<wbr/>Hash</span></a>
|
|
212
214
|
<a href="DeploymentTransaction.html#calculateTotalUTXOAmount" 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>calculate<wbr/>TotalUTXOAmount</span></a>
|
|
213
215
|
<a href="DeploymentTransaction.html#calculateTotalVOutAmount" 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>calculate<wbr/>TotalVOut<wbr/>Amount</span></a>
|
|
214
216
|
<a href="DeploymentTransaction.html#contractSignerXOnlyPubKey" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>contract<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</span></a>
|
|
@@ -222,6 +224,7 @@
|
|
|
222
224
|
<a href="DeploymentTransaction.html#estimateTransactionFees" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>estimate<wbr/>Transaction<wbr/>Fees</span></a>
|
|
223
225
|
<a href="DeploymentTransaction.html#fail" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fail</span></a>
|
|
224
226
|
<a href="DeploymentTransaction.html#fancyLog" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fancy<wbr/>Log</span></a>
|
|
227
|
+
<a href="DeploymentTransaction.html#generatePsbtInputExtended" 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>generate<wbr/>Psbt<wbr/>Input<wbr/>Extended</span></a>
|
|
225
228
|
<a href="DeploymentTransaction.html#generateRedeemScripts" class="tsd-index-link 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>
|
|
226
229
|
<a href="DeploymentTransaction.html#generateScriptAddress" class="tsd-index-link 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>
|
|
227
230
|
<a href="DeploymentTransaction.html#generateTapData" class="tsd-index-link 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>
|
|
@@ -257,8 +260,10 @@
|
|
|
257
260
|
<a href="DeploymentTransaction.html#setMaximumFeeRate" class="tsd-index-link 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>
|
|
258
261
|
<a href="DeploymentTransaction.html#signInput" 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>sign<wbr/>Input</span></a>
|
|
259
262
|
<a href="DeploymentTransaction.html#signInputs" class="tsd-index-link 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>
|
|
263
|
+
<a href="DeploymentTransaction.html#signPSBT" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>signPSBT</span></a>
|
|
260
264
|
<a href="DeploymentTransaction.html#signTransaction" class="tsd-index-link 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>
|
|
261
265
|
<a href="DeploymentTransaction.html#success" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>success</span></a>
|
|
266
|
+
<a href="DeploymentTransaction.html#toAddress" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>Address</span></a>
|
|
262
267
|
<a href="DeploymentTransaction.html#toBase64" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>Base64</span></a>
|
|
263
268
|
<a href="DeploymentTransaction.html#traceLog" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>trace<wbr/>Log</span></a>
|
|
264
269
|
<a href="DeploymentTransaction.html#tweakSigner" 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>tweak<wbr/>Signer</span></a>
|
|
@@ -267,118 +272,132 @@
|
|
|
267
272
|
<a href="DeploymentTransaction.html#warn" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>warn</span></a>
|
|
268
273
|
<a href="DeploymentTransaction.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>
|
|
269
274
|
<a href="DeploymentTransaction.html#getFrom" class="tsd-index-link 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/>From</span></a>
|
|
270
|
-
</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_DeploymentTransaction" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Deployment<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="DeploymentTransaction.html" class="tsd-signature-type tsd-kind-class">DeploymentTransaction</a><a href="#constructor.new_DeploymentTransaction" 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/IDeploymentParameters.html" class="tsd-signature-type tsd-kind-interface">IDeploymentParameters</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DeploymentTransaction.html" class="tsd-signature-type tsd-kind-class">DeploymentTransaction</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/
|
|
271
|
-
</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/
|
|
272
|
-
</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/
|
|
273
|
-
</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/
|
|
274
|
-
</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/
|
|
275
|
-
</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/
|
|
276
|
-
</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/
|
|
277
|
-
</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/
|
|
278
|
-
</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/
|
|
279
|
-
</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/
|
|
280
|
-
</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/
|
|
281
|
-
</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/
|
|
282
|
-
</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/
|
|
283
|
-
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#nonWitnessUtxo">nonWitnessUtxo</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
284
|
-
</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/
|
|
285
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#overflowFees">overflowFees</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
286
|
-
</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/
|
|
287
|
-
</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/
|
|
288
|
-
</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/
|
|
289
|
-
</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/
|
|
290
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#sequence">sequence</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
291
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
292
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
293
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
294
|
-
</div><
|
|
295
|
-
</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/
|
|
296
|
-
</div><
|
|
297
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
298
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
299
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
300
|
-
</div><
|
|
301
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
302
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
303
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
304
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
275
|
+
</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_DeploymentTransaction" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Deployment<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="DeploymentTransaction.html" class="tsd-signature-type tsd-kind-class">DeploymentTransaction</a><a href="#constructor.new_DeploymentTransaction" 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/IDeploymentParameters.html" class="tsd-signature-type tsd-kind-interface">IDeploymentParameters</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DeploymentTransaction.html" class="tsd-signature-type tsd-kind-class">DeploymentTransaction</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L79">src/transaction/builders/DeploymentTransaction.ts:79</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-private tsd-is-inherited tsd-is-external"><a id="_private" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#private</span><a href="#_private" 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">#private</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#_private">#private</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:4</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="_contractAddress" 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/>Address</span><a href="#_contractAddress" 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/>Address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The contract address</p>
|
|
276
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L23">src/transaction/builders/DeploymentTransaction.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="bytecode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>bytecode</span><a href="#bytecode" 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">bytecode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>The contract bytecode</p>
|
|
277
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L65">src/transaction/builders/DeploymentTransaction.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="chalk" 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>chalk</span><a href="#chalk" 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">chalk</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ChalkInstance</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#chalk">chalk</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:5</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="compiledTargetScript" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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><div class="tsd-comment tsd-typography"><p>The compiled target script</p>
|
|
278
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L43">src/transaction/builders/DeploymentTransaction.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="contractSeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Seed</span><a href="#contractSeed" 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/>Seed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>The contract seed</p>
|
|
279
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L59">src/transaction/builders/DeploymentTransaction.ts:59</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="contractSigner" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Signer</span><a href="#contractSigner" 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/>Signer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Signer</span></div><div class="tsd-comment tsd-typography"><p>The contract signer</p>
|
|
280
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L71">src/transaction/builders/DeploymentTransaction.ts:71</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="deploymentGenerator" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>deployment<wbr/>Generator</span><a href="#deploymentGenerator" 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">deployment<wbr/>Generator</span><span class="tsd-signature-symbol">:</span> <a href="DeploymentGenerator.html" class="tsd-signature-type tsd-kind-class">DeploymentGenerator</a></div><div class="tsd-comment tsd-typography"><p>The deployment bitcoin generator</p>
|
|
281
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L53">src/transaction/builders/DeploymentTransaction.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="enableLogs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>enable<wbr/>Logs</span><a href="#enableLogs" 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">enable<wbr/>Logs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#enableLogs">enableLogs</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:8</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>
|
|
282
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/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 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>
|
|
283
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L79">src/transaction/builders/TransactionBuilder.ts:79</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>
|
|
284
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L99">src/transaction/builders/TransactionBuilder.ts:99</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="hideLogs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>hide<wbr/>Logs</span><a href="#hideLogs" 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">hide<wbr/>Logs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#hideLogs">hideLogs</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:9</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>
|
|
285
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L75">src/transaction/shared/TweakedTransaction.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="leftOverFundsScriptRedeem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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><div class="tsd-comment tsd-typography"><p>The left over funds script redeem</p>
|
|
286
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L38">src/transaction/builders/DeploymentTransaction.ts:38</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L32">src/transaction/builders/TransactionBuilder.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moduleName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>module<wbr/>Name</span><a href="#moduleName" 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">module<wbr/>Name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#moduleName">moduleName</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:6</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>
|
|
287
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L75">src/transaction/builders/TransactionBuilder.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="nonWitnessUtxo" 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>non<wbr/>Witness<wbr/>Utxo</span><a href="#nonWitnessUtxo" 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">non<wbr/>Witness<wbr/>Utxo</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><p>Add a non-witness utxo to the transaction</p>
|
|
288
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#nonWitnessUtxo">nonWitnessUtxo</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L93">src/transaction/shared/TweakedTransaction.ts:93</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>
|
|
289
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/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-inherited"><a id="overflowFees" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>overflow<wbr/>Fees</span><a href="#overflowFees" 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">overflow<wbr/>Fees</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>The overflow fees of the transaction</p>
|
|
290
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#overflowFees">overflowFees</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L38">src/transaction/builders/TransactionBuilder.ts:38</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> <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>
|
|
291
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L83">src/transaction/builders/TransactionBuilder.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="randomBytes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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>The contract salt random bytes</p>
|
|
292
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L77">src/transaction/builders/DeploymentTransaction.ts:77</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>
|
|
293
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L65">src/transaction/shared/TweakedTransaction.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="scriptTree" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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><div class="tsd-comment tsd-typography"><p>The script tree</p>
|
|
294
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L48">src/transaction/builders/DeploymentTransaction.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="sequence" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>sequence</span><a href="#sequence" 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">sequence</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = TransactionSequence.REPLACE_BY_FEE</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The sequence of the transaction</p>
|
|
295
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#sequence">sequence</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L81">src/transaction/shared/TweakedTransaction.ts:81</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="sighashTypes" 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>sighash<wbr/>Types</span><a href="#sighashTypes" 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">sighash<wbr/>Types</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">number</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The sighash types of the transaction</p>
|
|
296
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#sighashTypes">sighashTypes</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L60">src/transaction/shared/TweakedTransaction.ts:60</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>
|
|
297
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L49">src/transaction/shared/TweakedTransaction.ts:49</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>
|
|
298
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L70">src/transaction/builders/TransactionBuilder.ts:70</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>
|
|
299
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L70">src/transaction/shared/TweakedTransaction.ts:70</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="tapLeafScript" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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><div class="tsd-comment tsd-typography"><p>The tap leaf script</p>
|
|
300
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#tapLeafScript">tapLeafScript</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L28">src/transaction/builders/DeploymentTransaction.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="targetScriptRedeem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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><div class="tsd-comment tsd-typography"><p>The target script redeem</p>
|
|
301
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L33">src/transaction/builders/DeploymentTransaction.ts:33</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">undefined</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>
|
|
302
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L93">src/transaction/builders/TransactionBuilder.ts:93</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>
|
|
303
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L66">src/transaction/builders/TransactionBuilder.ts:66</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>
|
|
304
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L48">src/transaction/builders/TransactionBuilder.ts:48</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>
|
|
305
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L43">src/transaction/builders/TransactionBuilder.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><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"><h4>Description</h4><p>Tweaked signer</p>
|
|
306
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#tweakedSigner">tweakedSigner</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L39">src/transaction/shared/TweakedTransaction.ts:39</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#DEPLOYMENT" class="tsd-signature-type tsd-kind-enum-member">DEPLOYMENT</a><span class="tsd-signature-symbol"> = TransactionType.DEPLOYMENT</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L17">src/transaction/builders/DeploymentTransaction.ts:17</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>
|
|
307
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/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="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>
|
|
308
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L87">src/transaction/builders/TransactionBuilder.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member 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-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/3eb06e8bec447337eaa71371e20bf84046f81450/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-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-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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L29">src/transaction/builders/TransactionBuilder.ts:29</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Accessors</h2><section class="tsd-panel tsd-member"><a id="contractAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>contract<wbr/>Address</span><a href="#contractAddress" 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" id="contractAddress.contractAddress-1"><span class="tsd-signature-keyword">get</span> contractAddress<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></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>Get the contract address (PKSH)</p>
|
|
309
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L111">src/transaction/builders/DeploymentTransaction.ts:111</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="p2trAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>p2tr<wbr/>Address</span><a href="#p2trAddress" 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" id="p2trAddress.p2trAddress-1"><span class="tsd-signature-keyword">get</span> p2trAddress<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></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>Get the P2TR address</p>
|
|
310
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L118">src/transaction/builders/DeploymentTransaction.ts:118</a></li></ul></aside></li></ul></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>
|
|
305
311
|
</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>
|
|
306
|
-
</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/
|
|
307
|
-
</div><
|
|
312
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L235">src/transaction/builders/TransactionBuilder.ts:235</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><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 tsd-is-inherited"><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> <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 inputs from the utxos</p>
|
|
313
|
+
</div><aside class="tsd-sources"><p>Inherited from <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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L383">src/transaction/builders/TransactionBuilder.ts:383</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>
|
|
308
314
|
</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>
|
|
309
|
-
</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/
|
|
315
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L245">src/transaction/builders/TransactionBuilder.ts:245</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>
|
|
310
316
|
</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>
|
|
311
|
-
</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/
|
|
317
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L289">src/transaction/builders/TransactionBuilder.ts:289</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="addValueToToOutput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>add<wbr/>Value<wbr/>To<wbr/>To<wbr/>Output</span><a href="#addValueToToOutput" 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="addValueToToOutput.addValueToToOutput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Value<wbr/>To<wbr/>To<wbr/>Output</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addValueToToOutput.addValueToToOutput-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">value</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></span><div class="tsd-comment tsd-typography"><p>The value to add</p>
|
|
312
318
|
</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 value to the output</p>
|
|
313
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addValueToToOutput">addValueToToOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
314
|
-
</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#buildTransaction">buildTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
315
|
-
</div><
|
|
316
|
-
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#
|
|
317
|
-
</div><
|
|
318
|
-
</div><
|
|
319
|
-
</div><
|
|
319
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#addValueToToOutput">addValueToToOutput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L320">src/transaction/builders/TransactionBuilder.ts:320</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>
|
|
320
|
+
</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#buildTransaction">buildTransaction</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L142">src/transaction/builders/DeploymentTransaction.ts:142</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="calculateSignHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>calculate<wbr/>Sign<wbr/>Hash</span><a href="#calculateSignHash" 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="calculateSignHash.calculateSignHash-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>Sign<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">number</span><a href="#calculateSignHash.calculateSignHash-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>Calculate the sign hash number</p>
|
|
321
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Calculates the sign hash</p>
|
|
322
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#calculateSignHash">calculateSignHash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L228">src/transaction/shared/TweakedTransaction.ts:228</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>
|
|
323
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L355">src/transaction/builders/TransactionBuilder.ts:355</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>
|
|
324
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L369">src/transaction/builders/TransactionBuilder.ts:369</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="contractSignerXOnlyPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>contract<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</span><a href="#contractSignerXOnlyPubKey" 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="contractSignerXOnlyPubKey.contractSignerXOnlyPubKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">contract<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="#contractSignerXOnlyPubKey.contractSignerXOnlyPubKey-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 contract signer public key</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L134">src/transaction/builders/DeploymentTransaction.ts:134</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>Finalize the transaction</p>
|
|
326
|
+
</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"></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"></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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L266">src/transaction/builders/DeploymentTransaction.ts:266</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="debug" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>debug</span><a href="#debug" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="debug.debug-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">debug</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#debug.debug-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#debug">debug</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:21</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="debugBright" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>debug<wbr/>Bright</span><a href="#debugBright" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="debugBright.debugBright-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">debug<wbr/>Bright</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#debugBright.debugBright-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#debugBright">debugBright</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:24</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="disable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable</span><a href="#disable" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="disable.disable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable</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="#disable.disable-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><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#disable">disable</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:14</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>
|
|
327
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L149">src/transaction/shared/TweakedTransaction.ts:149</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="enable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable</span><a href="#enable" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="enable.enable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enable</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="#enable.enable-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><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#enable">enable</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:15</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="error" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>error</span><a href="#error" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="error.error-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">error</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#error.error-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#error">error</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:19</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="estimateTransactionFees" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>estimate<wbr/>Transaction<wbr/>Fees</span><a href="#estimateTransactionFees" 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="estimateTransactionFees.estimateTransactionFees-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">estimate<wbr/>Transaction<wbr/>Fees</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="#estimateTransactionFees.estimateTransactionFees-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>Estimates the transaction fees.</p>
|
|
320
328
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><ul>
|
|
321
329
|
<li>The estimated transaction fees</li>
|
|
322
330
|
</ul>
|
|
323
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#estimateTransactionFees">estimateTransactionFees</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
324
|
-
</div><
|
|
325
|
-
</div><
|
|
326
|
-
</div><
|
|
327
|
-
|
|
328
|
-
</div><h4 class="tsd-returns-title">Returns <
|
|
329
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">
|
|
330
|
-
</div><h4 class="tsd-returns-title">Returns <
|
|
331
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">
|
|
331
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#estimateTransactionFees">estimateTransactionFees</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L264">src/transaction/builders/TransactionBuilder.ts:264</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="fail" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fail</span><a href="#fail" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="fail.fail-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fail</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#fail.fail-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#fail">fail</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:23</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="fancyLog" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fancy<wbr/>Log</span><a href="#fancyLog" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="fancyLog.fancyLog-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fancy<wbr/>Log</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">msg1</span>, <span class="tsd-kind-parameter">highlight1</span>, <span class="tsd-kind-parameter">msg2</span>, <span class="tsd-kind-parameter">highlight2</span>, <span class="tsd-kind-parameter">msg3</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#fancyLog.fancyLog-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">msg1</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">highlight1</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">msg2</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">highlight2</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">msg3</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#fancyLog">fancyLog</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:16</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="generatePsbtInputExtended" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Psbt<wbr/>Input<wbr/>Extended</span><a href="#generatePsbtInputExtended" 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="generatePsbtInputExtended.generatePsbtInputExtended-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Psbt<wbr/>Input<wbr/>Extended</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">utxo</span>, <span class="tsd-kind-parameter">i</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><a href="#generatePsbtInputExtended.generatePsbtInputExtended-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 PSBT input extended</p>
|
|
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">utxo</span>: <a href="../interfaces/UTXO.html" class="tsd-signature-type tsd-kind-interface">UTXO</a></span><div class="tsd-comment tsd-typography"><p>The UTXO</p>
|
|
333
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">i</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The index of the input</p>
|
|
334
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a></h4><p>The PSBT input extended</p>
|
|
335
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#generatePsbtInputExtended">generatePsbtInputExtended</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L306">src/transaction/shared/TweakedTransaction.ts:306</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>
|
|
336
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L309">src/transaction/builders/DeploymentTransaction.ts:309</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"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Get the tap output</p>
|
|
337
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L210">src/transaction/builders/DeploymentTransaction.ts:210</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"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Generate the tap data</p>
|
|
338
|
+
</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#generateTapData">generateTapData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L222">src/transaction/builders/DeploymentTransaction.ts:222</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getContractSeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Contract<wbr/>Seed</span><a href="#getContractSeed" 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="getContractSeed.getContractSeed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Contract<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">Buffer</span><a href="#getContractSeed.getContractSeed-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 contract seed for the deployment</p>
|
|
339
|
+
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L247">src/transaction/builders/DeploymentTransaction.ts:247</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L155">src/transaction/builders/TransactionBuilder.ts:155</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>
|
|
340
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L490">src/transaction/builders/TransactionBuilder.ts:490</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>
|
|
341
|
+
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L327">src/transaction/builders/DeploymentTransaction.ts:327</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>
|
|
342
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/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-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 for the redeem scripts</p>
|
|
343
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">[]</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L295">src/transaction/builders/DeploymentTransaction.ts:295</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>
|
|
332
344
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><p>The random bytes</p>
|
|
333
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
334
|
-
</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/
|
|
335
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Taptree</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/
|
|
336
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Signer</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#getSignerKey">getSignerKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
345
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L126">src/transaction/builders/DeploymentTransaction.ts:126</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>
|
|
346
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L108">src/transaction/shared/TweakedTransaction.ts:108</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>
|
|
347
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Taptree</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L335">src/transaction/builders/DeploymentTransaction.ts:335</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><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 tsd-is-inherited"><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>Returns the signer key.</p>
|
|
348
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Signer</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#getSignerKey">getSignerKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L183">src/transaction/shared/TweakedTransaction.ts:183</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getStartPrefix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Start<wbr/>Prefix</span><a href="#getStartPrefix" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getStartPrefix.getStartPrefix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Start<wbr/>Prefix</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="#getStartPrefix.getStartPrefix-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><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getStartPrefix">getStartPrefix</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:13</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>
|
|
337
349
|
<h4>Throws</h4><ul>
|
|
338
350
|
<li>If tap data is not set</li>
|
|
339
351
|
</ul>
|
|
340
|
-
</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/
|
|
341
|
-
</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/
|
|
342
|
-
</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/
|
|
343
|
-
</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/
|
|
352
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L129">src/transaction/shared/TweakedTransaction.ts:129</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>
|
|
353
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L477">src/transaction/builders/TransactionBuilder.ts:477</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>
|
|
354
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L120">src/transaction/shared/TweakedTransaction.ts:120</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>
|
|
355
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L342">src/transaction/builders/TransactionBuilder.ts:342</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><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 tsd-is-inherited"><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>
|
|
344
356
|
</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>
|
|
345
357
|
</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>
|
|
346
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTweakedSigner">getTweakedSigner</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
358
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTweakedSigner">getTweakedSigner</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L277">src/transaction/shared/TweakedTransaction.ts:277</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private tsd-is-inherited"><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 tsd-is-inherited"><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>
|
|
347
359
|
</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>
|
|
348
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTweakerHash">getTweakerHash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
349
|
-
</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/
|
|
350
|
-
</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/
|
|
351
|
-
</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/
|
|
360
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getTweakerHash">getTweakerHash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L295">src/transaction/shared/TweakedTransaction.ts:295</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>
|
|
361
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L460">src/transaction/builders/TransactionBuilder.ts:460</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="important" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>important</span><a href="#important" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="important.important-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">important</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#important.important-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#important">important</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:25</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="info" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>info</span><a href="#info" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="info.info-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">info</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#info.info-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#info">info</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:27</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>
|
|
362
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L432">src/transaction/builders/TransactionBuilder.ts:432</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>
|
|
363
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L246">src/transaction/shared/TweakedTransaction.ts:246</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="lightOrangeLog" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>light<wbr/>Orange<wbr/>Log</span><a href="#lightOrangeLog" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="lightOrangeLog.lightOrangeLog-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">light<wbr/>Orange<wbr/>Log</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#lightOrangeLog.lightOrangeLog-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#lightOrangeLog">lightOrangeLog</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:18</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="log" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>log</span><a href="#log" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="log.log-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">log</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#log.log-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#log">log</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:17</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="panic" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>panic</span><a href="#panic" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="panic.panic-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">panic</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#panic.panic-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#panic">panic</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:26</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="securityNotice" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>security<wbr/>Notice</span><a href="#securityNotice" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="securityNotice.securityNotice-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">security<wbr/>Notice</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#securityNotice.securityNotice-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#securityNotice">securityNotice</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:28</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>
|
|
352
364
|
</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>
|
|
353
|
-
</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/
|
|
365
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L176">src/transaction/builders/TransactionBuilder.ts:176</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>
|
|
354
366
|
</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>
|
|
355
|
-
</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/
|
|
367
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L524">src/transaction/builders/TransactionBuilder.ts:524</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setLogPrefix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Log<wbr/>Prefix</span><a href="#setLogPrefix" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setLogPrefix.setLogPrefix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Log<wbr/>Prefix</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">prefix</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setLogPrefix.setLogPrefix-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">prefix</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#setLogPrefix">setLogPrefix</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:12</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>
|
|
356
368
|
</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>
|
|
357
|
-
</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/
|
|
369
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L185">src/transaction/builders/TransactionBuilder.ts:185</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="signInput" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>sign<wbr/>Input</span><a href="#signInput" 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="signInput.signInput-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>Input</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">transaction</span>, <span class="tsd-kind-parameter">input</span>, <span class="tsd-kind-parameter">i</span>, <span class="tsd-kind-parameter">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="#signInput.signInput-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>Signs an input of the transaction.</p>
|
|
358
370
|
</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>
|
|
359
371
|
</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 to sign</p>
|
|
360
372
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">i</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The index of the input</p>
|
|
361
373
|
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">signer</span>: <span class="tsd-signature-type">Signer</span></span><div class="tsd-comment tsd-typography"><p>The signer to use</p>
|
|
362
|
-
</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#signInput">signInput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
374
|
+
</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#signInput">signInput</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L195">src/transaction/shared/TweakedTransaction.ts:195</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>
|
|
363
375
|
</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>
|
|
364
|
-
</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/
|
|
376
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/DeploymentTransaction.ts#L185">src/transaction/builders/DeploymentTransaction.ts:185</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="signPSBT" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>signPSBT</span><a href="#signPSBT" 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="signPSBT.signPSBT-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">signPSBT</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Psbt</span><a href="#signPSBT.signPSBT-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">Psbt</span></h4><ul>
|
|
377
|
+
<li>The signed transaction in hex format</li>
|
|
378
|
+
</ul>
|
|
379
|
+
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Signs the transaction</p>
|
|
380
|
+
<h4>Throws</h4><ul>
|
|
381
|
+
<li>If something went wrong</li>
|
|
382
|
+
</ul>
|
|
383
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#signPSBT">signPSBT</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L221">src/transaction/builders/TransactionBuilder.ts:221</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>
|
|
365
384
|
<li>The signed transaction in hex format</li>
|
|
366
385
|
</ul>
|
|
367
386
|
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Signs the transaction</p>
|
|
368
387
|
<h4>Throws</h4><ul>
|
|
369
388
|
<li>If something went wrong</li>
|
|
370
389
|
</ul>
|
|
371
|
-
</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/
|
|
390
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L195">src/transaction/builders/TransactionBuilder.ts:195</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="success" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>success</span><a href="#success" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="success.success-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">success</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#success.success-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#success">success</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:22</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="toAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>to<wbr/>Address</span><a href="#toAddress" 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="toAddress.toAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">to<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">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><a href="#toAddress.toAddress-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">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#toAddress">toAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L255">src/transaction/builders/TransactionBuilder.ts:255</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="toBase64" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>to<wbr/>Base64</span><a href="#toBase64" 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="toBase64.toBase64-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">to<wbr/>Base64</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="#toBase64.toBase64-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 transaction PSBT as a base64 string.</p>
|
|
372
391
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><ul>
|
|
373
392
|
<li>The transaction as a base64 string</li>
|
|
374
393
|
</ul>
|
|
375
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#toBase64">toBase64</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
376
|
-
</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#tweakSigner">tweakSigner</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
394
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#toBase64">toBase64</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L142">src/transaction/shared/TweakedTransaction.ts:142</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="traceLog" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>trace<wbr/>Log</span><a href="#traceLog" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="traceLog.traceLog-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">trace<wbr/>Log</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#traceLog.traceLog-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#traceLog">traceLog</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:29</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><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 tsd-is-inherited"><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>
|
|
395
|
+
</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#tweakSigner">tweakSigner</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L263">src/transaction/shared/TweakedTransaction.ts:263</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>
|
|
377
396
|
</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>
|
|
378
|
-
</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/
|
|
379
|
-
</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/
|
|
397
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L451">src/transaction/builders/TransactionBuilder.ts:451</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>
|
|
398
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L510">src/transaction/builders/TransactionBuilder.ts:510</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="warn" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>warn</span><a href="#warn" 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 tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="warn.warn-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">warn</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#warn.warn-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#warn">warn</a></p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:20</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>
|
|
380
399
|
</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>
|
|
381
|
-
</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/4e6ee68622ef78c267746e29ba299b0978c29095/src/transaction/builders/TransactionBuilder.ts#L538">src/transaction/builders/TransactionBuilder.ts:538</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFrom" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>From</span><a href="#getFrom" 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="getFrom.getFrom-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>From</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">from</span>, <span class="tsd-kind-parameter">keypair</span>, <span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getFrom.getFrom-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">from</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">keypair</span>: <span class="tsd-signature-type">ECPairInterface</span></span></li><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getFrom">getFrom</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/4e6ee68622ef78c267746e29ba299b0978c29095/src/transaction/builders/TransactionBuilder.ts#L184">src/transaction/builders/TransactionBuilder.ts:184</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="#_private" class="tsd-is-private tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>#private</span></a><a href="#_contractAddress" 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/>Address</span></a><a href="#bytecode" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bytecode</span></a><a href="#chalk" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>chalk</span></a><a href="#compiledTargetScript" class="tsd-is-private"><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="#contractSeed" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Seed</span></a><a href="#contractSigner" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Signer</span></a><a href="#deploymentGenerator" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>deployment<wbr/>Generator</span></a><a href="#enableLogs" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Logs</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="#hideLogs" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hide<wbr/>Logs</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="#leftOverFundsScriptRedeem" class="tsd-is-private"><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="#moduleName" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>module<wbr/>Name</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="#nonWitnessUtxo" 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>non<wbr/>Witness<wbr/>Utxo</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="#overflowFees" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>overflow<wbr/>Fees</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="tsd-is-private"><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="#scriptTree" class="tsd-is-private"><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="#sequence" 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>sequence</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-private"><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-private"><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 tsd-is-inherited"><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-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-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="#contractAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>contract<wbr/>Address</span></a><a href="#p2trAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>p2tr<wbr/>Address</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="#addValueToToOutput" 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/>Value<wbr/>To<wbr/>To<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="#contractSignerXOnlyPubKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>contract<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</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="#debug" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>debug</span></a><a href="#debugBright" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>debug<wbr/>Bright</span></a><a href="#disable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable</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="#enable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable</span></a><a href="#error" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>error</span></a><a href="#estimateTransactionFees" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>estimate<wbr/>Transaction<wbr/>Fees</span></a><a href="#fail" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fail</span></a><a href="#fancyLog" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fancy<wbr/>Log</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="#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="#getContractSeed" 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/>Contract<wbr/>Seed</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="#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 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/>Signer<wbr/>Key</span></a><a href="#getStartPrefix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Start<wbr/>Prefix</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 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/>Tweaked<wbr/>Signer</span></a><a href="#getTweakerHash" class="tsd-is-private 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/>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="#important" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>important</span></a><a href="#info" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>info</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="#lightOrangeLog" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>light<wbr/>Orange<wbr/>Log</span></a><a href="#log" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>log</span></a><a href="#panic" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>panic</span></a><a href="#securityNotice" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>security<wbr/>Notice</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="#setLogPrefix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Log<wbr/>Prefix</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="#signInput" 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>sign<wbr/>Input</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="#success" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>success</span></a><a href="#toBase64" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>Base64</span></a><a href="#traceLog" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>trace<wbr/>Log</span></a><a href="#tweakSigner" 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>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="#warn" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>warn</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><a href="#getFrom" 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/>From</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>
|
|
400
|
+
</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/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L398">src/transaction/builders/TransactionBuilder.ts:398</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFrom" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>get<wbr/>From</span><a href="#getFrom" 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="getFrom.getFrom-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>From</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">from</span>, <span class="tsd-kind-parameter">keypair</span>, <span class="tsd-kind-parameter">network</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getFrom.getFrom-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-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">from</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">keypair</span>: <span class="tsd-signature-type">ECPairInterface</span></span></li><li><span><span class="tsd-kind-parameter">network</span>: <span class="tsd-signature-type">Network</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TransactionBuilder.html">TransactionBuilder</a>.<a href="TransactionBuilder.html#getFrom">getFrom</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L147">src/transaction/builders/TransactionBuilder.ts:147</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="#_private" class="tsd-is-private tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>#private</span></a><a href="#_contractAddress" 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/>Address</span></a><a href="#bytecode" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bytecode</span></a><a href="#chalk" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>chalk</span></a><a href="#compiledTargetScript" class="tsd-is-private"><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="#contractSeed" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Seed</span></a><a href="#contractSigner" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Signer</span></a><a href="#deploymentGenerator" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>deployment<wbr/>Generator</span></a><a href="#enableLogs" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Logs</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="#hideLogs" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hide<wbr/>Logs</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="#leftOverFundsScriptRedeem" class="tsd-is-private"><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="#moduleName" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>module<wbr/>Name</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="#nonWitnessUtxo" 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>non<wbr/>Witness<wbr/>Utxo</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="#overflowFees" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>overflow<wbr/>Fees</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="tsd-is-private"><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="#scriptTree" class="tsd-is-private"><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="#sequence" 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>sequence</span></a><a href="#sighashTypes" 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>sighash<wbr/>Types</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-private"><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-private"><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 tsd-is-inherited"><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-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-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="#contractAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>contract<wbr/>Address</span></a><a href="#p2trAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>p2tr<wbr/>Address</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 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/>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="#addValueToToOutput" 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/>Value<wbr/>To<wbr/>To<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="#calculateSignHash" 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/>Sign<wbr/>Hash</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="#contractSignerXOnlyPubKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>contract<wbr/>SignerXOnly<wbr/>Pub<wbr/>Key</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="#debug" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>debug</span></a><a href="#debugBright" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>debug<wbr/>Bright</span></a><a href="#disable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable</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="#enable" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable</span></a><a href="#error" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>error</span></a><a href="#estimateTransactionFees" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>estimate<wbr/>Transaction<wbr/>Fees</span></a><a href="#fail" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fail</span></a><a href="#fancyLog" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fancy<wbr/>Log</span></a><a href="#generatePsbtInputExtended" 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>generate<wbr/>Psbt<wbr/>Input<wbr/>Extended</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="#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="#getContractSeed" 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/>Contract<wbr/>Seed</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="#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 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/>Signer<wbr/>Key</span></a><a href="#getStartPrefix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Start<wbr/>Prefix</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 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/>Tweaked<wbr/>Signer</span></a><a href="#getTweakerHash" class="tsd-is-private 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/>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="#important" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>important</span></a><a href="#info" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>info</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="#lightOrangeLog" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>light<wbr/>Orange<wbr/>Log</span></a><a href="#log" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>log</span></a><a href="#panic" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>panic</span></a><a href="#securityNotice" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>security<wbr/>Notice</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="#setLogPrefix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Log<wbr/>Prefix</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="#signInput" 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>sign<wbr/>Input</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="#signPSBT" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>signPSBT</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="#success" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>success</span></a><a href="#toAddress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>Address</span></a><a href="#toBase64" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>Base64</span></a><a href="#traceLog" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>trace<wbr/>Log</span></a><a href="#tweakSigner" 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>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="#warn" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>warn</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><a href="#getFrom" 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/>From</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>
|
|
382
401
|
try {
|
|
383
402
|
const generateLinkElement = document.querySelector(".tsd-generator a");
|
|
384
403
|
const link = document.createElement("a");
|