@btc-vision/transaction 1.0.1 → 1.0.3
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/generators/AddressGenerator.d.ts +7 -0
- package/browser/generators/builders/DeploymentGenerator.d.ts +1 -0
- package/browser/index.js +1 -1
- package/browser/keypair/Wallet.d.ts +1 -0
- package/browser/opnet.d.ts +2 -0
- package/browser/tests/Regtest.d.ts +3 -0
- package/browser/tests/gen.d.ts +1 -0
- package/browser/tests/test.d.ts +1 -0
- package/browser/tests/transfer.d.ts +1 -0
- package/browser/transaction/builders/TransactionBuilder.d.ts +4 -3
- package/browser/verification/TapscriptVerificator.d.ts +17 -0
- package/build/_version.d.ts +1 -1
- package/build/_version.js +1 -1
- package/build/generators/AddressGenerator.d.ts +7 -0
- package/build/generators/AddressGenerator.js +21 -0
- package/build/generators/OPNetAddressGenerator.d.ts +0 -0
- package/build/generators/OPNetAddressGenerator.js +1 -0
- package/build/generators/builders/DeploymentGenerator.d.ts +1 -0
- package/build/generators/builders/DeploymentGenerator.js +10 -7
- package/build/keypair/Wallet.d.ts +1 -0
- package/build/keypair/Wallet.js +6 -0
- package/build/opnet.d.ts +2 -0
- package/build/opnet.js +2 -0
- package/build/scripts/Regtest.d.ts +0 -1
- package/build/scripts/Regtest.js +0 -14
- package/build/scripts/test.js +7 -7
- package/build/tests/gen.d.ts +1 -0
- package/build/tests/gen.js +15 -0
- package/build/tests/test.d.ts +1 -0
- package/build/tests/test.js +51 -1
- package/build/tests/transfer.d.ts +1 -0
- package/build/tests/transfer.js +74 -0
- package/build/transaction/builders/TransactionBuilder.d.ts +4 -3
- package/build/transaction/builders/TransactionBuilder.js +9 -4
- package/build/verification/TapscriptVerificator.d.ts +17 -0
- package/build/verification/TapscriptVerificator.js +43 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AddressGenerator.html +178 -0
- package/docs/classes/BitcoinUtils.html +3 -3
- package/docs/classes/CalldataGenerator.html +10 -10
- package/docs/classes/Compressor.html +4 -4
- package/docs/classes/ContractBaseMetadata.html +4 -4
- package/docs/classes/DeploymentGenerator.html +10 -9
- package/docs/classes/EcKeyPair.html +16 -16
- package/docs/classes/FundingTransaction.html +73 -50
- package/docs/classes/Generator.html +9 -9
- package/docs/classes/InteractionTransaction.html +94 -71
- package/docs/classes/TapscriptVerificator.html +180 -0
- package/docs/classes/TransactionBuilder.html +76 -53
- package/docs/classes/TransactionFactory.html +2 -2
- package/docs/classes/TweakedSigner.html +2 -2
- package/docs/classes/UTXOManager.html +3 -3
- package/docs/classes/Wallet.html +11 -9
- package/docs/classes/wBTC.html +7 -7
- package/docs/enums/TransactionType.html +2 -2
- package/docs/interfaces/ContractAddressVerificationParams.html +179 -0
- package/docs/interfaces/FetchUTXOParams.html +2 -2
- package/docs/interfaces/IFundingTransactionParameters.html +2 -2
- package/docs/interfaces/IInteractionParameters.html +2 -2
- package/docs/interfaces/ITransactionDataContractDeployment.html +2 -2
- package/docs/interfaces/ITransactionDataContractInteractionWrap.html +2 -2
- package/docs/interfaces/ITransactionParameters.html +2 -2
- package/docs/interfaces/IWallet.html +4 -4
- package/docs/interfaces/NetworkInformation.html +2 -2
- package/docs/interfaces/PsbtInputExtended.html +1 -1
- package/docs/interfaces/PsbtOutputExtendedAddress.html +2 -2
- package/docs/interfaces/PsbtOutputExtendedScript.html +2 -2
- package/docs/interfaces/RawUTXOResponse.html +2 -2
- package/docs/interfaces/TapLeafScript.html +2 -2
- package/docs/interfaces/TweakSettings.html +3 -3
- package/docs/interfaces/UTXO.html +2 -2
- package/docs/interfaces/UpdateInput.html +2 -2
- package/docs/modules.html +5 -2
- package/docs/types/PsbtOutputExtended.html +1 -1
- package/docs/variables/version.html +1 -1
- package/package.json +2 -1
- package/src/_version.ts +1 -1
- package/src/generators/AddressGenerator.ts +29 -0
- package/src/generators/builders/DeploymentGenerator.ts +16 -13
- package/src/keypair/Wallet.ts +12 -0
- package/src/opnet.ts +4 -0
- package/src/tests/gen.ts +24 -0
- package/src/tests/test.ts +17 -54
- package/src/tests/transfer.ts +102 -0
- package/src/transaction/builders/TransactionBuilder.ts +12 -5
- package/src/verification/TapscriptVerificator.ts +89 -0
- package/tests/TransactionBuilder.test.ts +58 -58
- package/tsconfig.webpack.json +8 -0
|
@@ -159,13 +159,18 @@
|
|
|
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><span class="target">TransactionBuilder</span><ul class="tsd-hierarchy"><li><a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a></li><li><a href="FundingTransaction.html" class="tsd-signature-type tsd-kind-class">FundingTransaction</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
163
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="TransactionBuilder.html#
|
|
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><span class="tsd-signature-type">Logger</span><ul class="tsd-hierarchy"><li><span class="target">TransactionBuilder</span><ul class="tsd-hierarchy"><li><a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a></li><li><a href="FundingTransaction.html" class="tsd-signature-type tsd-kind-class">FundingTransaction</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L20">src/transaction/builders/TransactionBuilder.ts:20</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="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
|
+
</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
|
+
<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
|
+
<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>
|
|
166
|
+
<a href="TransactionBuilder.html#enableLogs" 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>enable<wbr/>Logs</span></a>
|
|
164
167
|
<a href="TransactionBuilder.html#feeOutput" 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/>Output</span></a>
|
|
165
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>
|
|
166
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
|
+
<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>
|
|
167
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>
|
|
168
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
|
+
<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>
|
|
169
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>
|
|
170
175
|
<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>
|
|
171
176
|
<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>
|
|
@@ -180,8 +185,8 @@
|
|
|
180
185
|
<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>
|
|
181
186
|
<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>
|
|
182
187
|
<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>
|
|
183
|
-
<a href="TransactionBuilder.html#LOCK_LEAF_SCRIPT" class="tsd-index-link
|
|
184
|
-
<a href="TransactionBuilder.html#MINIMUM_DUST" class="tsd-index-link
|
|
188
|
+
<a href="TransactionBuilder.html#LOCK_LEAF_SCRIPT" class="tsd-index-link"><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>
|
|
189
|
+
<a href="TransactionBuilder.html#MINIMUM_DUST" class="tsd-index-link"><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>
|
|
185
190
|
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="TransactionBuilder.html#addInput" class="tsd-index-link"><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>
|
|
186
191
|
<a href="TransactionBuilder.html#addInputsFromUTXO" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Inputs<wbr/>FromUTXO</span></a>
|
|
187
192
|
<a href="TransactionBuilder.html#addOutput" class="tsd-index-link"><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>
|
|
@@ -189,8 +194,15 @@
|
|
|
189
194
|
<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>
|
|
190
195
|
<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>
|
|
191
196
|
<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>
|
|
197
|
+
<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>
|
|
198
|
+
<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>
|
|
199
|
+
<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>
|
|
192
200
|
<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>
|
|
201
|
+
<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>
|
|
202
|
+
<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>
|
|
193
203
|
<a href="TransactionBuilder.html#estimateTransactionFees" 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>estimate<wbr/>Transaction<wbr/>Fees</span></a>
|
|
204
|
+
<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>
|
|
205
|
+
<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>
|
|
194
206
|
<a href="TransactionBuilder.html#generateScriptAddress" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Script<wbr/>Address</span></a>
|
|
195
207
|
<a href="TransactionBuilder.html#generateTapData" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Tap<wbr/>Data</span></a>
|
|
196
208
|
<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>
|
|
@@ -198,94 +210,105 @@
|
|
|
198
210
|
<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>
|
|
199
211
|
<a href="TransactionBuilder.html#getScriptAddress" 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/>Script<wbr/>Address</span></a>
|
|
200
212
|
<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>
|
|
213
|
+
<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>
|
|
201
214
|
<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>
|
|
202
215
|
<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>
|
|
203
216
|
<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>
|
|
204
217
|
<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>
|
|
205
218
|
<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>
|
|
219
|
+
<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>
|
|
220
|
+
<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>
|
|
206
221
|
<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>
|
|
207
222
|
<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>
|
|
208
223
|
<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>
|
|
224
|
+
<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>
|
|
225
|
+
<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>
|
|
226
|
+
<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>
|
|
227
|
+
<a href="TransactionBuilder.html#securityNotice" 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>security<wbr/>Notice</span></a>
|
|
209
228
|
<a href="TransactionBuilder.html#setDestinationAddress" 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/>Destination<wbr/>Address</span></a>
|
|
210
229
|
<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>
|
|
230
|
+
<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>
|
|
211
231
|
<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>
|
|
212
232
|
<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>
|
|
213
233
|
<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>
|
|
234
|
+
<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>
|
|
235
|
+
<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>
|
|
214
236
|
<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>
|
|
215
237
|
<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>
|
|
238
|
+
<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>
|
|
216
239
|
<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>
|
|
217
240
|
</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>
|
|
218
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
219
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
220
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
221
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
222
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
223
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
224
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
225
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
226
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
227
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
228
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
229
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
230
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
231
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
232
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
233
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
234
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
235
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
236
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
241
|
+
</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 Logger.constructor</p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L112">src/transaction/builders/TransactionBuilder.ts:112</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 Logger.#private</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>
|
|
242
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L107">src/transaction/builders/TransactionBuilder.ts:107</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 Logger.chalk</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 Logger.enableLogs</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>
|
|
243
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L54">src/transaction/builders/TransactionBuilder.ts:54</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>
|
|
244
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L82">src/transaction/builders/TransactionBuilder.ts:82</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>
|
|
245
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L102">src/transaction/builders/TransactionBuilder.ts:102</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 Logger.hideLogs</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"><a id="inputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>inputs</span><a href="#inputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">inputs</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/PsbtInputExtended.html" class="tsd-signature-type tsd-kind-interface">PsbtInputExtended</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The inputs of the transaction</p>
|
|
246
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L42">src/transaction/builders/TransactionBuilder.ts:42</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 Logger.logColor</p><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L29">src/transaction/builders/TransactionBuilder.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-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 Logger.moduleName</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>
|
|
247
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L78">src/transaction/builders/TransactionBuilder.ts:78</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>
|
|
248
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L50">src/transaction/builders/TransactionBuilder.ts:50</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> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>priority<wbr/>Fee</span><a href="#priorityFee" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">priority<wbr/>Fee</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The opnet priority fee of the transaction</p>
|
|
249
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L86">src/transaction/builders/TransactionBuilder.ts:86</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><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>
|
|
250
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/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="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>
|
|
251
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L58">src/transaction/builders/TransactionBuilder.ts:58</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>
|
|
252
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L74">src/transaction/builders/TransactionBuilder.ts:74</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><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>
|
|
253
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L62">src/transaction/builders/TransactionBuilder.ts:62</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">string</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The address where the transaction is sent to</p>
|
|
254
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L96">src/transaction/builders/TransactionBuilder.ts:96</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>
|
|
255
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/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"><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>
|
|
256
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L38">src/transaction/builders/TransactionBuilder.ts:38</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>
|
|
257
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L34">src/transaction/builders/TransactionBuilder.ts:34</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L28">src/transaction/builders/TransactionBuilder.ts:28</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>
|
|
258
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L46">src/transaction/builders/TransactionBuilder.ts:46</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>
|
|
259
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L90">src/transaction/builders/TransactionBuilder.ts:90</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L21">src/transaction/builders/TransactionBuilder.ts:21</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L26">src/transaction/builders/TransactionBuilder.ts:26</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>
|
|
237
260
|
</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>
|
|
238
|
-
</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/
|
|
239
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
261
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L249">src/transaction/builders/TransactionBuilder.ts:249</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>
|
|
262
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L338">src/transaction/builders/TransactionBuilder.ts:338</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>
|
|
240
263
|
</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>
|
|
241
|
-
</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/
|
|
264
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L259">src/transaction/builders/TransactionBuilder.ts:259</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>
|
|
242
265
|
</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>
|
|
243
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
244
|
-
</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/
|
|
245
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
246
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
247
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
248
|
-
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</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/
|
|
249
|
-
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
250
|
-
</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/
|
|
251
|
-
</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/
|
|
252
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
253
|
-
</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"><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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L275">src/transaction/builders/TransactionBuilder.ts:275</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>
|
|
267
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L406">src/transaction/builders/TransactionBuilder.ts:406</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>
|
|
268
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L310">src/transaction/builders/TransactionBuilder.ts:310</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>
|
|
269
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L324">src/transaction/builders/TransactionBuilder.ts:324</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 Logger.debug</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 Logger.debugBright</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 Logger.disable</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"><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"><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>
|
|
270
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L222">src/transaction/builders/TransactionBuilder.ts:222</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 Logger.enable</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 Logger.error</p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:19</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="estimateTransactionFees" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>estimate<wbr/>Transaction<wbr/>Fees</span><a href="#estimateTransactionFees" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><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"><code class="tsd-tag ts-flagPrivate">Private</code> <div class="tsd-comment tsd-typography"><p>Estimates the transaction fees.</p>
|
|
271
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L590">src/transaction/builders/TransactionBuilder.ts:590</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 Logger.fail</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 Logger.fancyLog</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"><a id="generateScriptAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Script<wbr/>Address</span><a href="#generateScriptAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="generateScriptAddress.generateScriptAddress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Script<wbr/>Address</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Payment</span><a href="#generateScriptAddress.generateScriptAddress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Generates the script address.</p>
|
|
272
|
+
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L413">src/transaction/builders/TransactionBuilder.ts:413</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="generateTapData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>generate<wbr/>Tap<wbr/>Data</span><a href="#generateTapData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="generateTapData.generateTapData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Tap<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Payment</span><a href="#generateTapData.generateTapData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Payment</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L420">src/transaction/builders/TransactionBuilder.ts:420</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L141">src/transaction/builders/TransactionBuilder.ts:141</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>
|
|
273
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L472">src/transaction/builders/TransactionBuilder.ts:472</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>
|
|
274
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L481">src/transaction/builders/TransactionBuilder.ts:481</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><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"><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>
|
|
275
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L211">src/transaction/builders/TransactionBuilder.ts:211</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="getSignerKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <code class="tsd-tag ts-flagAbstract">Abstract</code> <span>get<wbr/>Signer<wbr/>Key</span><a href="#getSignerKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="getSignerKey.getSignerKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Signer<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Signer</span><a href="#getSignerKey.getSignerKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Returns the signer key.</p>
|
|
276
|
+
</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"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L528">src/transaction/builders/TransactionBuilder.ts:528</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-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 Logger.getStartPrefix</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"><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"><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>
|
|
254
277
|
<h4>Throws</h4><ul>
|
|
255
278
|
<li>If tap data is not set</li>
|
|
256
279
|
</ul>
|
|
257
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
258
|
-
</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/
|
|
259
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
260
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
261
|
-
</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/
|
|
280
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/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="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>
|
|
281
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L459">src/transaction/builders/TransactionBuilder.ts:459</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><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"><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>
|
|
282
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L203">src/transaction/builders/TransactionBuilder.ts:203</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>
|
|
283
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L297">src/transaction/builders/TransactionBuilder.ts:297</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>
|
|
284
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L442">src/transaction/builders/TransactionBuilder.ts:442</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 Logger.important</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 Logger.info</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>
|
|
262
285
|
</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>
|
|
263
286
|
</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>
|
|
264
287
|
<li>If something went wrong while building the transaction</li>
|
|
265
288
|
</ul>
|
|
266
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
267
|
-
</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/
|
|
268
|
-
</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/
|
|
289
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L557">src/transaction/builders/TransactionBuilder.ts:557</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>
|
|
290
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L394">src/transaction/builders/TransactionBuilder.ts:394</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><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"><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>
|
|
291
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L535">src/transaction/builders/TransactionBuilder.ts:535</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 Logger.lightOrangeLog</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 Logger.log</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 Logger.panic</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 Logger.securityNotice</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>
|
|
269
292
|
</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>
|
|
270
|
-
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
293
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L158">src/transaction/builders/TransactionBuilder.ts:158</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>
|
|
271
294
|
</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>
|
|
272
|
-
</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/
|
|
295
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L506">src/transaction/builders/TransactionBuilder.ts:506</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 Logger.setLogPrefix</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>
|
|
273
296
|
</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>
|
|
274
|
-
</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/
|
|
297
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L167">src/transaction/builders/TransactionBuilder.ts:167</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected"><a id="signInputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>sign<wbr/>Inputs</span><a href="#signInputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class="tsd-signature tsd-anchor-link"><a id="signInputs.signInputs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sign<wbr/>Inputs</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">transaction</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#signInputs.signInputs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><code class="tsd-tag ts-flagProtected">Protected</code> <div class="tsd-comment tsd-typography"><p>Signs all the inputs of the transaction.</p>
|
|
275
298
|
</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>
|
|
276
|
-
</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/
|
|
299
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L545">src/transaction/builders/TransactionBuilder.ts:545</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>
|
|
277
300
|
<li>The signed transaction in hex format</li>
|
|
278
301
|
</ul>
|
|
279
302
|
<div class="tsd-comment tsd-typography"><h4>Description</h4><p>Signs the transaction</p>
|
|
280
303
|
<h4>Throws</h4><ul>
|
|
281
304
|
<li>If something went wrong</li>
|
|
282
305
|
</ul>
|
|
283
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/
|
|
306
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L177">src/transaction/builders/TransactionBuilder.ts:177</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 Logger.success</p><ul><li>Defined in node_modules/@btc-vision/logger/build/logger/shared/SharedLogger.d.ts:22</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited 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 Logger.traceLog</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"><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>
|
|
284
307
|
</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>
|
|
285
|
-
</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/
|
|
286
|
-
</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/
|
|
308
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L433">src/transaction/builders/TransactionBuilder.ts:433</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>
|
|
309
|
+
</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/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L492">src/transaction/builders/TransactionBuilder.ts:492</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 Logger.warn</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>
|
|
287
310
|
</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>
|
|
288
|
-
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/eece0cf26d86587a04ba3595eb66638cdeb6dcb3/src/transaction/builders/TransactionBuilder.ts#L353">src/transaction/builders/TransactionBuilder.ts:353</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class="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="#_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="#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="#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="#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="#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="#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="#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="#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="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>LOCK_<wbr/>LEAF_<wbr/>SCRIPT</span></a><a href="#MINIMUM_DUST" class="tsd-is-protected"><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="#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="#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="#estimateTransactionFees" class="tsd-is-private"><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="#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="#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="#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="#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="#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="#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="#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="#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="#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="#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></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>
|
|
311
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/5743de7784c0b32e4f1ec1ef492bbef406a8a017/src/transaction/builders/TransactionBuilder.ts#L360">src/transaction/builders/TransactionBuilder.ts:360</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="#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="#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="#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="#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="#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="tsd-is-private"><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="#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="#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="#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="#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="#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></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>
|
|
289
312
|
try {
|
|
290
313
|
const generateLinkElement = document.querySelector(".tsd-generator a");
|
|
291
314
|
const link = document.createElement("a");
|