@btc-vision/transaction 1.0.21 → 1.0.23
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 +43 -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 +59 -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 +43 -0
- package/build/transaction/processor/PsbtTransaction.js +131 -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 +305 -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 +72 -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 +254 -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="TransactionBuilder.html">TransactionBuilder</a></li></ul><h1>Class TransactionBuilder<T><code class="tsd-tag ts-flagAbstract">Abstract</code> </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"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="../enums/TransactionType.html" class="tsd-signature-type tsd-kind-enum">TransactionType</a></span></li></ul></section> <section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#TransactionBuilder">view full</a>)</h4><ul class="tsd-hierarchy"><li><
|
|
162
|
+
</div></section> <section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="../enums/TransactionType.html" class="tsd-signature-type tsd-kind-enum">TransactionType</a></span></li></ul></section> <section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#TransactionBuilder">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="TweakedTransaction.html" class="tsd-signature-type tsd-kind-class">TweakedTransaction</a><ul class="tsd-hierarchy"><li><span class="target">TransactionBuilder</span><ul class="tsd-hierarchy"><li><a href="FundingTransaction.html" class="tsd-signature-type tsd-kind-class">FundingTransaction</a></li><li><a href="SharedInteractionTransaction.html" class="tsd-signature-type tsd-kind-class">SharedInteractionTransaction</a></li><li><a href="DeploymentTransaction.html" class="tsd-signature-type tsd-kind-class">DeploymentTransaction</a></li></ul></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/TransactionBuilder.ts#L23">src/transaction/builders/TransactionBuilder.ts:23</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="TransactionBuilder.html#constructor" class="tsd-index-link tsd-is-protected"><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="TransactionBuilder.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="TransactionBuilder.html#_maximumFeeRate" 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>_maximum<wbr/>Fee<wbr/>Rate</span></a>
|
|
165
165
|
<a href="TransactionBuilder.html#chalk" class="tsd-index-link 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>
|
|
@@ -168,24 +168,26 @@
|
|
|
168
168
|
<a href="TransactionBuilder.html#feeRate" 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>fee<wbr/>Rate</span></a>
|
|
169
169
|
<a href="TransactionBuilder.html#from" 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>from</span></a>
|
|
170
170
|
<a href="TransactionBuilder.html#hideLogs" class="tsd-index-link 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>
|
|
171
|
-
<a href="TransactionBuilder.html#inputs" 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>inputs</span></a>
|
|
171
|
+
<a href="TransactionBuilder.html#inputs" 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>inputs</span></a>
|
|
172
172
|
<a href="TransactionBuilder.html#logColor" class="tsd-index-link"><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>
|
|
173
173
|
<a href="TransactionBuilder.html#moduleName" 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-1024"></use></svg><span>module<wbr/>Name</span></a>
|
|
174
174
|
<a href="TransactionBuilder.html#network" 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>network</span></a>
|
|
175
|
-
<a href="TransactionBuilder.html#nonWitnessUtxo" 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>non<wbr/>Witness<wbr/>Utxo?</span></a>
|
|
175
|
+
<a href="TransactionBuilder.html#nonWitnessUtxo" 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>non<wbr/>Witness<wbr/>Utxo?</span></a>
|
|
176
176
|
<a href="TransactionBuilder.html#outputs" 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>outputs</span></a>
|
|
177
177
|
<a href="TransactionBuilder.html#overflowFees" class="tsd-index-link"><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>
|
|
178
178
|
<a href="TransactionBuilder.html#priorityFee" 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>priority<wbr/>Fee</span></a>
|
|
179
|
-
<a href="TransactionBuilder.html#scriptData" 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>script<wbr/>Data</span></a>
|
|
180
|
-
<a href="TransactionBuilder.html#sequence" 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>sequence</span></a>
|
|
181
|
-
<a href="TransactionBuilder.html#
|
|
179
|
+
<a href="TransactionBuilder.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>
|
|
180
|
+
<a href="TransactionBuilder.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>
|
|
181
|
+
<a href="TransactionBuilder.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>
|
|
182
|
+
<a href="TransactionBuilder.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>
|
|
182
183
|
<a href="TransactionBuilder.html#signer" 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>signer</span></a>
|
|
183
|
-
<a href="TransactionBuilder.html#tapData" 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>tap<wbr/>Data</span></a>
|
|
184
|
+
<a href="TransactionBuilder.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>
|
|
185
|
+
<a href="TransactionBuilder.html#tapLeafScript" 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/>Leaf<wbr/>Script</span></a>
|
|
184
186
|
<a href="TransactionBuilder.html#to" 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>to</span></a>
|
|
185
187
|
<a href="TransactionBuilder.html#totalInputAmount" 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>total<wbr/>Input<wbr/>Amount</span></a>
|
|
186
188
|
<a href="TransactionBuilder.html#transaction" 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>transaction</span></a>
|
|
187
189
|
<a href="TransactionBuilder.html#transactionFee" class="tsd-index-link"><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>
|
|
188
|
-
<a href="TransactionBuilder.html#tweakedSigner" 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>tweaked<wbr/>Signer?</span></a>
|
|
190
|
+
<a href="TransactionBuilder.html#tweakedSigner" 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>tweaked<wbr/>Signer?</span></a>
|
|
189
191
|
<a href="TransactionBuilder.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
|
|
190
192
|
<a href="TransactionBuilder.html#updateInputs" 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>update<wbr/>Inputs</span></a>
|
|
191
193
|
<a href="TransactionBuilder.html#utxos" 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>utxos</span></a>
|
|
@@ -197,38 +199,39 @@
|
|
|
197
199
|
<a href="TransactionBuilder.html#addRefundOutput" 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/>Refund<wbr/>Output</span></a>
|
|
198
200
|
<a href="TransactionBuilder.html#addValueToToOutput" 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/>Value<wbr/>To<wbr/>To<wbr/>Output</span></a>
|
|
199
201
|
<a href="TransactionBuilder.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>
|
|
202
|
+
<a href="TransactionBuilder.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>
|
|
200
203
|
<a href="TransactionBuilder.html#calculateTotalUTXOAmount" 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>calculate<wbr/>TotalUTXOAmount</span></a>
|
|
201
204
|
<a href="TransactionBuilder.html#calculateTotalVOutAmount" 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>calculate<wbr/>TotalVOut<wbr/>Amount</span></a>
|
|
202
205
|
<a href="TransactionBuilder.html#debug" 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>debug</span></a>
|
|
203
206
|
<a href="TransactionBuilder.html#debugBright" 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>debug<wbr/>Bright</span></a>
|
|
204
207
|
<a href="TransactionBuilder.html#disable" 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>disable</span></a>
|
|
205
|
-
<a href="TransactionBuilder.html#disableRBF" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disableRBF</span></a>
|
|
208
|
+
<a href="TransactionBuilder.html#disableRBF" 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>disableRBF</span></a>
|
|
206
209
|
<a href="TransactionBuilder.html#enable" 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>enable</span></a>
|
|
207
210
|
<a href="TransactionBuilder.html#error" 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>error</span></a>
|
|
208
211
|
<a href="TransactionBuilder.html#estimateTransactionFees" class="tsd-index-link"><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>
|
|
209
212
|
<a href="TransactionBuilder.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>
|
|
210
213
|
<a href="TransactionBuilder.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>
|
|
211
|
-
<a href="TransactionBuilder.html#
|
|
212
|
-
<a href="TransactionBuilder.html#
|
|
214
|
+
<a href="TransactionBuilder.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>
|
|
215
|
+
<a href="TransactionBuilder.html#generateScriptAddress" 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/>Script<wbr/>Address</span></a>
|
|
216
|
+
<a href="TransactionBuilder.html#generateTapData" 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/>Tap<wbr/>Data</span></a>
|
|
213
217
|
<a href="TransactionBuilder.html#getFundingTransactionParameters" class="tsd-index-link"><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>
|
|
214
218
|
<a href="TransactionBuilder.html#getInputs" 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>get<wbr/>Inputs</span></a>
|
|
215
219
|
<a href="TransactionBuilder.html#getOutputs" 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>get<wbr/>Outputs</span></a>
|
|
216
|
-
<a href="TransactionBuilder.html#
|
|
217
|
-
<a href="TransactionBuilder.html#
|
|
218
|
-
<a href="TransactionBuilder.html#getSignerKey" 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>get<wbr/>Signer<wbr/>Key</span></a>
|
|
220
|
+
<a href="TransactionBuilder.html#getScriptAddress" 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/>Script<wbr/>Address</span></a>
|
|
221
|
+
<a href="TransactionBuilder.html#getSignerKey" 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>get<wbr/>Signer<wbr/>Key</span></a>
|
|
219
222
|
<a href="TransactionBuilder.html#getStartPrefix" 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>get<wbr/>Start<wbr/>Prefix</span></a>
|
|
220
|
-
<a href="TransactionBuilder.html#getTapAddress" class="tsd-index-link"><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>
|
|
223
|
+
<a href="TransactionBuilder.html#getTapAddress" 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/>Tap<wbr/>Address</span></a>
|
|
221
224
|
<a href="TransactionBuilder.html#getTapOutput" 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>get<wbr/>Tap<wbr/>Output</span></a>
|
|
222
|
-
<a href="TransactionBuilder.html#getTransaction" class="tsd-index-link"><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>
|
|
225
|
+
<a href="TransactionBuilder.html#getTransaction" 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/>Transaction</span></a>
|
|
223
226
|
<a href="TransactionBuilder.html#getTransactionOPNetFee" 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>get<wbr/>TransactionOPNet<wbr/>Fee</span></a>
|
|
224
|
-
<a href="TransactionBuilder.html#getTweakedSigner" 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>get<wbr/>Tweaked<wbr/>Signer</span></a>
|
|
225
|
-
<a href="TransactionBuilder.html#getTweakerHash" 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>get<wbr/>Tweaker<wbr/>Hash</span></a>
|
|
227
|
+
<a href="TransactionBuilder.html#getTweakedSigner" class="tsd-index-link 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>
|
|
228
|
+
<a href="TransactionBuilder.html#getTweakerHash" class="tsd-index-link 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>
|
|
226
229
|
<a href="TransactionBuilder.html#getWitness" 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>get<wbr/>Witness</span></a>
|
|
227
230
|
<a href="TransactionBuilder.html#important" 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>important</span></a>
|
|
228
231
|
<a href="TransactionBuilder.html#info" 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>info</span></a>
|
|
229
232
|
<a href="TransactionBuilder.html#internalBuildTransaction" 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>internal<wbr/>Build<wbr/>Transaction</span></a>
|
|
230
233
|
<a href="TransactionBuilder.html#internalInit" 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>internal<wbr/>Init</span></a>
|
|
231
|
-
<a href="TransactionBuilder.html#internalPubKeyToXOnly" 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>internal<wbr/>Pub<wbr/>Key<wbr/>ToXOnly</span></a>
|
|
234
|
+
<a href="TransactionBuilder.html#internalPubKeyToXOnly" 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>internal<wbr/>Pub<wbr/>Key<wbr/>ToXOnly</span></a>
|
|
232
235
|
<a href="TransactionBuilder.html#lightOrangeLog" 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>light<wbr/>Orange<wbr/>Log</span></a>
|
|
233
236
|
<a href="TransactionBuilder.html#log" 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>log</span></a>
|
|
234
237
|
<a href="TransactionBuilder.html#panic" 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>panic</span></a>
|
|
@@ -237,114 +240,131 @@
|
|
|
237
240
|
<a href="TransactionBuilder.html#setFeeOutput" 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>set<wbr/>Fee<wbr/>Output</span></a>
|
|
238
241
|
<a href="TransactionBuilder.html#setLogPrefix" 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>set<wbr/>Log<wbr/>Prefix</span></a>
|
|
239
242
|
<a href="TransactionBuilder.html#setMaximumFeeRate" class="tsd-index-link"><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>
|
|
240
|
-
<a href="TransactionBuilder.html#signInput" 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/>Input</span></a>
|
|
241
|
-
<a href="TransactionBuilder.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>
|
|
243
|
+
<a href="TransactionBuilder.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>
|
|
244
|
+
<a href="TransactionBuilder.html#signInputs" 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/>Inputs</span></a>
|
|
245
|
+
<a href="TransactionBuilder.html#signPSBT" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>signPSBT</span></a>
|
|
242
246
|
<a href="TransactionBuilder.html#signTransaction" class="tsd-index-link"><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>
|
|
243
247
|
<a href="TransactionBuilder.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>
|
|
244
|
-
<a href="TransactionBuilder.html#
|
|
248
|
+
<a href="TransactionBuilder.html#toAddress" class="tsd-index-link"><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>
|
|
249
|
+
<a href="TransactionBuilder.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>
|
|
245
250
|
<a href="TransactionBuilder.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>
|
|
246
|
-
<a href="TransactionBuilder.html#tweakSigner" 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>tweak<wbr/>Signer</span></a>
|
|
251
|
+
<a href="TransactionBuilder.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>
|
|
247
252
|
<a href="TransactionBuilder.html#updateInput" 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>update<wbr/>Input</span></a>
|
|
248
253
|
<a href="TransactionBuilder.html#verifyUTXOValidity" 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>verifyUTXOValidity</span></a>
|
|
249
254
|
<a href="TransactionBuilder.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>
|
|
250
255
|
<a href="TransactionBuilder.html#witnessStackToScriptWitness" 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>witness<wbr/>Stack<wbr/>To<wbr/>Script<wbr/>Witness</span></a>
|
|
251
256
|
<a href="TransactionBuilder.html#getFrom" class="tsd-index-link"><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>
|
|
252
257
|
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-is-protected"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <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 tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_TransactionBuilder" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Transaction<wbr/>Builder</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="TransactionBuilder.html#constructor.new_TransactionBuilder.T-1">T</a><span class="tsd-signature-symbol">></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="TransactionBuilder.html" class="tsd-signature-type tsd-kind-class">TransactionBuilder</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="TransactionBuilder.html#constructor.new_TransactionBuilder.T-1">T</a><span class="tsd-signature-symbol">></span><a href="#constructor.new_TransactionBuilder" 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"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="constructor.new_TransactionBuilder.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="../enums/TransactionType.html" class="tsd-signature-type tsd-kind-enum">TransactionType</a></span></li></ul></section><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/ITransactionParameters.html" class="tsd-signature-type tsd-kind-interface">ITransactionParameters</a></span><div class="tsd-comment tsd-typography"><p>The transaction parameters</p>
|
|
253
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TransactionBuilder.html" class="tsd-signature-type tsd-kind-class">TransactionBuilder</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="TransactionBuilder.html#constructor.new_TransactionBuilder.T-1">T</a><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides
|
|
254
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
255
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
256
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
257
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
258
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
259
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
260
|
-
</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/
|
|
261
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
262
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
263
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
264
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
265
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
266
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
267
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
268
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
269
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
270
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
271
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
272
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
273
|
-
</div><
|
|
274
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
275
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
258
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TransactionBuilder.html" class="tsd-signature-type tsd-kind-class">TransactionBuilder</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="TransactionBuilder.html#constructor.new_TransactionBuilder.T-1">T</a><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L109">src/transaction/builders/TransactionBuilder.ts:109</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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-private"><a id="_maximumFeeRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_maximum<wbr/>Fee<wbr/>Rate</span><a href="#_maximumFeeRate" 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">_maximum<wbr/>Fee<wbr/>Rate</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 100000000</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The maximum fee rate of the transaction</p>
|
|
259
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L104">src/transaction/builders/TransactionBuilder.ts:104</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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-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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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>
|
|
260
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
261
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
262
|
+
</div><aside class="tsd-sources"><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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
263
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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>Overrides <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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>
|
|
264
|
+
</div><aside class="tsd-sources"><p>Overrides <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
265
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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>
|
|
266
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
267
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
268
|
+
</div><aside class="tsd-sources"><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-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>
|
|
269
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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-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>
|
|
270
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
271
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
272
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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>
|
|
273
|
+
</div><aside class="tsd-sources"><p>Overrides <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
274
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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-protected tsd-is-inherited"><a id="tapLeafScript" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>tap<wbr/>Leaf<wbr/>Script</span><a href="#tapLeafScript" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tap<wbr/>Leaf<wbr/>Script</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/TapLeafScript.html" class="tsd-signature-type tsd-kind-interface">TapLeafScript</a><span class="tsd-signature-symbol"> = null</span></div><div class="tsd-comment tsd-typography"><p>The tap leaf script</p>
|
|
275
|
+
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.html#tapLeafScript">tapLeafScript</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L87">src/transaction/shared/TweakedTransaction.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><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>
|
|
276
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
277
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
278
|
+
</div><aside class="tsd-sources"><p>Overrides <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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>
|
|
279
|
+
</div><aside class="tsd-sources"><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>
|
|
280
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><code class="tsd-tag ts-flagReadonly">Readonly</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <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 class="tsd-signature-type tsd-kind-type-parameter" href="TransactionBuilder.html#constructor.new_TransactionBuilder.T-1">T</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L31">src/transaction/builders/TransactionBuilder.ts:31</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><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>
|
|
281
|
+
</div><aside class="tsd-sources"><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"><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>
|
|
282
|
+
</div><aside class="tsd-sources"><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"><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"><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"><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"><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>Methods</h2><section class="tsd-panel tsd-member"><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"><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>
|
|
276
283
|
</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>
|
|
277
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
278
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
284
|
+
</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"><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"><a id="addInputsFromUTXO" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>add<wbr/>Inputs<wbr/>FromUTXO</span><a href="#addInputsFromUTXO" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="addInputsFromUTXO.addInputsFromUTXO-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Inputs<wbr/>FromUTXO</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addInputsFromUTXO.addInputsFromUTXO-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <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>
|
|
285
|
+
</div><aside class="tsd-sources"><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"><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"><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>
|
|
279
286
|
</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>
|
|
280
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
287
|
+
</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"><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"><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"><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>
|
|
281
288
|
</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>
|
|
282
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
289
|
+
</div><aside class="tsd-sources"><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"><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"><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>
|
|
283
290
|
</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>
|
|
284
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
285
|
-
</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/
|
|
286
|
-
</div><
|
|
287
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
288
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
291
|
+
</div><aside class="tsd-sources"><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> <code class="tsd-tag ts-flagAbstract">Abstract</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>Builds the transaction.</p>
|
|
292
|
+
</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/TransactionBuilder.ts#L443">src/transaction/builders/TransactionBuilder.ts:443</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>
|
|
293
|
+
</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>
|
|
294
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
295
|
+
</div><aside class="tsd-sources"><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"><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"><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>
|
|
296
|
+
</div><aside class="tsd-sources"><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-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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
297
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
289
298
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><ul>
|
|
290
299
|
<li>The estimated transaction fees</li>
|
|
291
300
|
</ul>
|
|
292
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
293
|
-
</div><
|
|
294
|
-
</div><
|
|
295
|
-
</div><
|
|
296
|
-
|
|
297
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">
|
|
301
|
+
<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/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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
302
|
+
</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>
|
|
303
|
+
</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>
|
|
304
|
+
</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>
|
|
305
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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-protected tsd-is-inherited"><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 tsd-is-inherited"><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>Generates the script address.</p>
|
|
306
|
+
</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>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.html#generateScriptAddress">generateScriptAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L171">src/transaction/shared/TweakedTransaction.ts:171</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateTapData.generateTapData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Tap<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Payment</span><a href="#generateTapData.generateTapData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Payment</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.html#generateTapData">generateTapData</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L159">src/transaction/shared/TweakedTransaction.ts:159</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><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"><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"><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"><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"><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>
|
|
307
|
+
</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"><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-protected"><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"><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>
|
|
308
|
+
</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"><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-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>
|
|
309
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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-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>
|
|
310
|
+
</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
298
311
|
<h4>Throws</h4><ul>
|
|
299
312
|
<li>If tap data is not set</li>
|
|
300
313
|
</ul>
|
|
301
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
302
|
-
</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/
|
|
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/
|
|
314
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
315
|
+
</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/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>
|
|
316
|
+
</div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
317
|
+
</div><aside class="tsd-sources"><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>
|
|
305
318
|
</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>
|
|
306
319
|
</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>
|
|
307
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
320
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
308
321
|
</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>
|
|
309
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
310
|
-
</div><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/
|
|
322
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
323
|
+
</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/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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><a id="internalBuildTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>internal<wbr/>Build<wbr/>Transaction</span><a href="#internalBuildTransaction" 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="internalBuildTransaction.internalBuildTransaction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">internal<wbr/>Build<wbr/>Transaction</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">boolean</span><a href="#internalBuildTransaction.internalBuildTransaction-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>Builds the transaction.</p>
|
|
311
324
|
</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 build</p>
|
|
312
325
|
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><h4>Throws</h4><ul>
|
|
313
326
|
<li>If something went wrong while building the transaction</li>
|
|
314
327
|
</ul>
|
|
315
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
316
|
-
</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/
|
|
317
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Buffer</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
328
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/builders/TransactionBuilder.ts#L566">src/transaction/builders/TransactionBuilder.ts:566</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><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"><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>
|
|
329
|
+
</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
330
|
+
</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
318
331
|
</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>
|
|
319
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
332
|
+
</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"><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"><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"><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>
|
|
320
333
|
</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>
|
|
321
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
334
|
+
</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"><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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
322
335
|
</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>
|
|
323
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
336
|
+
</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"><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>
|
|
324
337
|
</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>
|
|
325
338
|
</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>
|
|
326
339
|
</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>
|
|
327
340
|
</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>
|
|
328
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
341
|
+
</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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 tsd-is-inherited"><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 tsd-is-inherited"><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>Signs all the inputs of the transaction.</p>
|
|
329
342
|
</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>
|
|
330
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
343
|
+
</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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.html#signInputs">signInputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/3eb06e8bec447337eaa71371e20bf84046f81450/src/transaction/shared/TweakedTransaction.ts#L212">src/transaction/shared/TweakedTransaction.ts:212</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><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"><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>
|
|
344
|
+
<li>The signed transaction in hex format</li>
|
|
345
|
+
</ul>
|
|
346
|
+
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Signs the transaction</p>
|
|
347
|
+
<h4>Throws</h4><ul>
|
|
348
|
+
<li>If something went wrong</li>
|
|
349
|
+
</ul>
|
|
350
|
+
</div><aside class="tsd-sources"><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"><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"><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>
|
|
331
351
|
<li>The signed transaction in hex format</li>
|
|
332
352
|
</ul>
|
|
333
353
|
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Signs the transaction</p>
|
|
334
354
|
<h4>Throws</h4><ul>
|
|
335
355
|
<li>If something went wrong</li>
|
|
336
356
|
</ul>
|
|
337
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
357
|
+
</div><aside class="tsd-sources"><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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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"><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>
|
|
338
358
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><ul>
|
|
339
359
|
<li>The transaction as a base64 string</li>
|
|
340
360
|
</ul>
|
|
341
|
-
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
342
|
-
</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/
|
|
361
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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>
|
|
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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
343
363
|
</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>
|
|
344
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
345
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
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"><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"><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"><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>
|
|
365
|
+
</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/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="TweakedTransaction.html">TweakedTransaction</a>.<a href="TweakedTransaction.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"><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"><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>
|
|
346
366
|
</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>
|
|
347
|
-
</div><aside class="tsd-sources"><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"><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"><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"><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="tsd-is-protected"><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="#_maximumFeeRate" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_maximum<wbr/>Fee<wbr/>Rate</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="#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"><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"><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"><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"><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="#logColor" class=""><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"><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"><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"><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=""><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"><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="#scriptData" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>script<wbr/>Data</span></a><a href="#sequence" class="tsd-is-protected"><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"><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"><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"><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="#to" class="tsd-is-protected"><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"><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"><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=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>transaction<wbr/>Fee</span></a><a href="#tweakedSigner" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tweaked<wbr/>Signer</span></a><a href="#type" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#updateInputs" class="tsd-is-protected"><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"><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=""><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=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>MINIMUM_<wbr/>DUST</span></a><a href="#addInput" class=""><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=""><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"><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"><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"><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"><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="#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=""><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=""><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="#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="#getFundingTransactionParameters" class=""><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"><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="#getOutputs" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Outputs</span></a><a href="#getP2TRAddressLeafScript" 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/>P2TRAddress<wbr/>Leaf<wbr/>Script</span></a><a href="#getScriptAddress" class=""><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="#getSignerKey" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Signer<wbr/>Key</span></a><a href="#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=""><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"><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=""><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"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>TransactionOPNet<wbr/>Fee</span></a><a href="#getTweakedSigner" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tweaked<wbr/>Signer</span></a><a href="#getTweakerHash" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tweaker<wbr/>Hash</span></a><a href="#getWitness" class="tsd-is-protected"><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="#internalBuildTransaction" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>internal<wbr/>Build<wbr/>Transaction</span></a><a href="#internalInit" class="tsd-is-protected"><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"><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=""><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"><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=""><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"><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=""><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=""><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"><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"><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"><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"><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=""><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>
|
|
367
|
+
</div><aside class="tsd-sources"><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"><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"><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"><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="tsd-is-protected"><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="#_maximumFeeRate" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_maximum<wbr/>Fee<wbr/>Rate</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="#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"><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"><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"><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="#logColor" class=""><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"><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"><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=""><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"><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="#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="#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"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>signer</span></a><a href="#tapData" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tap<wbr/>Data</span></a><a href="#tapLeafScript" class="tsd-is-protected 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/>Leaf<wbr/>Script</span></a><a href="#to" class="tsd-is-protected"><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"><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"><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=""><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"><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"><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=""><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=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>MINIMUM_<wbr/>DUST</span></a><a href="#addInput" class=""><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=""><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"><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"><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"><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"><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="#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=""><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="#generateScriptAddress" 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/>Script<wbr/>Address</span></a><a href="#generateTapData" 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/>Tap<wbr/>Data</span></a><a href="#getFundingTransactionParameters" class=""><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"><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="#getOutputs" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Outputs</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="#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"><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"><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"><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="#internalBuildTransaction" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>internal<wbr/>Build<wbr/>Transaction</span></a><a href="#internalInit" class="tsd-is-protected"><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=""><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"><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=""><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 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/>Inputs</span></a><a href="#signPSBT" class=""><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=""><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=""><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"><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"><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"><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=""><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>
|
|
348
368
|
try {
|
|
349
369
|
const generateLinkElement = document.querySelector(".tsd-generator a");
|
|
350
370
|
const link = document.createElement("a");
|