@btc-vision/transaction 1.0.8 → 1.0.9

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.
Files changed (57) hide show
  1. package/README.md +4 -2
  2. package/browser/_version.d.ts +1 -1
  3. package/browser/index.js +1 -1
  4. package/build/_version.d.ts +1 -1
  5. package/build/_version.js +1 -1
  6. package/build/utils/BitcoinUtils.js +3 -3
  7. package/docs/classes/AddressGenerator.html +2 -2
  8. package/docs/classes/BitcoinUtils.html +4 -4
  9. package/docs/classes/CalldataGenerator.html +10 -10
  10. package/docs/classes/Compressor.html +4 -4
  11. package/docs/classes/ContractBaseMetadata.html +4 -4
  12. package/docs/classes/DeploymentGenerator.html +9 -9
  13. package/docs/classes/DeploymentTransaction.html +73 -73
  14. package/docs/classes/EcKeyPair.html +16 -16
  15. package/docs/classes/FundingTransaction.html +48 -48
  16. package/docs/classes/Generator.html +9 -9
  17. package/docs/classes/InteractionTransaction.html +63 -63
  18. package/docs/classes/OPNetLimitedProvider.html +4 -4
  19. package/docs/classes/SharedInteractionTransaction.html +69 -69
  20. package/docs/classes/TapscriptVerificator.html +2 -2
  21. package/docs/classes/TransactionBuilder.html +51 -51
  22. package/docs/classes/TransactionFactory.html +3 -3
  23. package/docs/classes/TweakedSigner.html +2 -2
  24. package/docs/classes/Wallet.html +10 -10
  25. package/docs/classes/WrapTransaction.html +75 -75
  26. package/docs/classes/WrappedGeneration.html +8 -8
  27. package/docs/classes/wBTC.html +7 -7
  28. package/docs/enums/TransactionSequence.html +2 -2
  29. package/docs/enums/TransactionType.html +2 -2
  30. package/docs/index.html +4 -2
  31. package/docs/interfaces/ContractAddressVerificationParams.html +2 -2
  32. package/docs/interfaces/DeploymentResult.html +2 -2
  33. package/docs/interfaces/FetchUTXOParams.html +2 -2
  34. package/docs/interfaces/GenerationConstraints.html +5 -5
  35. package/docs/interfaces/IDeploymentParameters.html +2 -2
  36. package/docs/interfaces/IFundingTransactionParameters.html +2 -2
  37. package/docs/interfaces/IInteractionParameters.html +2 -2
  38. package/docs/interfaces/ITransactionParameters.html +2 -2
  39. package/docs/interfaces/IWallet.html +4 -4
  40. package/docs/interfaces/IWrapParameters.html +2 -2
  41. package/docs/interfaces/NetworkInformation.html +2 -2
  42. package/docs/interfaces/PsbtInputExtended.html +1 -1
  43. package/docs/interfaces/PsbtOutputExtendedAddress.html +2 -2
  44. package/docs/interfaces/PsbtOutputExtendedScript.html +2 -2
  45. package/docs/interfaces/RawUTXOResponse.html +2 -2
  46. package/docs/interfaces/SharedInteractionParameters.html +2 -2
  47. package/docs/interfaces/TapLeafScript.html +2 -2
  48. package/docs/interfaces/TweakSettings.html +3 -3
  49. package/docs/interfaces/UTXO.html +2 -2
  50. package/docs/interfaces/UpdateInput.html +2 -2
  51. package/docs/interfaces/WrapResult.html +2 -2
  52. package/docs/interfaces/WrappedGenerationParameters.html +6 -6
  53. package/docs/types/PsbtOutputExtended.html +1 -1
  54. package/docs/variables/version.html +1 -1
  55. package/package.json +1 -1
  56. package/src/_version.ts +1 -1
  57. package/src/utils/BitcoinUtils.ts +3 -3
@@ -157,13 +157,13 @@
157
157
  --md-sys-color-surface-container-highest: #e9e1d9
158
158
  }
159
159
  </style><link rel="stylesheet" href="../assets/material-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">OPNet</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">OPNet</a></li><li><a href="OPNetLimitedProvider.html">OPNetLimitedProvider</a></li></ul><h1>Class OPNetLimitedProvider</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Allows to fetch UTXO data from any OPNET node</p>
160
- </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L8">src/utxo/OPNetLimitedProvider.ts:8</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="OPNetLimitedProvider.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
160
+ </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L8">src/utxo/OPNetLimitedProvider.ts:8</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="OPNetLimitedProvider.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
161
161
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="OPNetLimitedProvider.html#opnetAPIUrl" 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>opnetAPIUrl</span></a>
162
162
  <a href="OPNetLimitedProvider.html#rpc" 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>rpc</span></a>
163
163
  <a href="OPNetLimitedProvider.html#utxoPath" 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>utxo<wbr/>Path</span></a>
164
164
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="OPNetLimitedProvider.html#fetchUTXO" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetchUTXO</span></a>
165
165
  <a href="OPNetLimitedProvider.html#fetchWrapParameters" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>Wrap<wbr/>Parameters</span></a>
166
- </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_OPNetLimitedProvider" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new OPNet<wbr/>Limited<wbr/>Provider</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opnetAPIUrl</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="OPNetLimitedProvider.html" class="tsd-signature-type tsd-kind-class">OPNetLimitedProvider</a><a href="#constructor.new_OPNetLimitedProvider" 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">opnetAPIUrl</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="OPNetLimitedProvider.html" class="tsd-signature-type tsd-kind-class">OPNetLimitedProvider</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L12">src/utxo/OPNetLimitedProvider.ts:12</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"><a id="opnetAPIUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opnetAPIUrl</span><a href="#opnetAPIUrl" 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">opnetAPIUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L12">src/utxo/OPNetLimitedProvider.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="rpc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>rpc</span><a href="#rpc" 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">rpc</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;json-rpc&#39;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L10">src/utxo/OPNetLimitedProvider.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="utxoPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>utxo<wbr/>Path</span><a href="#utxoPath" 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">utxo<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;address/utxos&#39;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L9">src/utxo/OPNetLimitedProvider.ts:9</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="fetchUTXO" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fetchUTXO</span><a href="#fetchUTXO" 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="fetchUTXO.fetchUTXO-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fetchUTXO</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">settings</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/UTXO.html" class="tsd-signature-type tsd-kind-interface">UTXO</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#fetchUTXO.fetchUTXO-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>Fetches UTXO data from the OPNET node</p>
166
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_OPNetLimitedProvider" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new OPNet<wbr/>Limited<wbr/>Provider</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opnetAPIUrl</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="OPNetLimitedProvider.html" class="tsd-signature-type tsd-kind-class">OPNetLimitedProvider</a><a href="#constructor.new_OPNetLimitedProvider" 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">opnetAPIUrl</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="OPNetLimitedProvider.html" class="tsd-signature-type tsd-kind-class">OPNetLimitedProvider</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L12">src/utxo/OPNetLimitedProvider.ts:12</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"><a id="opnetAPIUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>opnetAPIUrl</span><a href="#opnetAPIUrl" 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">opnetAPIUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L12">src/utxo/OPNetLimitedProvider.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="rpc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>rpc</span><a href="#rpc" 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">rpc</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;json-rpc&#39;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L10">src/utxo/OPNetLimitedProvider.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="utxoPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>utxo<wbr/>Path</span><a href="#utxoPath" 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">utxo<wbr/>Path</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;address/utxos&#39;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L9">src/utxo/OPNetLimitedProvider.ts:9</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="fetchUTXO" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fetchUTXO</span><a href="#fetchUTXO" 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="fetchUTXO.fetchUTXO-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fetchUTXO</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">settings</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/UTXO.html" class="tsd-signature-type tsd-kind-interface">UTXO</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#fetchUTXO.fetchUTXO-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>Fetches UTXO data from the OPNET node</p>
167
167
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">settings</span>: <a href="../interfaces/FetchUTXOParams.html" class="tsd-signature-type tsd-kind-interface">FetchUTXOParams</a></span><div class="tsd-comment tsd-typography"><p>The settings to fetch UTXO data</p>
168
168
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/UTXO.html" class="tsd-signature-type tsd-kind-interface">UTXO</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><ul>
169
169
  <li>The UTXOs fetched</li>
@@ -171,7 +171,7 @@
171
171
  <div class="tsd-comment tsd-typography"><h4>Throws</h4><ul>
172
172
  <li>If UTXOs could not be fetched</li>
173
173
  </ul>
174
- </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L20">src/utxo/OPNetLimitedProvider.ts:20</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fetchWrapParameters" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fetch<wbr/>Wrap<wbr/>Parameters</span><a href="#fetchWrapParameters" 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="fetchWrapParameters.fetchWrapParameters-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fetch<wbr/>Wrap<wbr/>Parameters</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">amount</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="WrappedGeneration.html" class="tsd-signature-type tsd-kind-class">WrappedGeneration</a><span class="tsd-signature-symbol">&gt;</span><a href="#fetchWrapParameters.fetchWrapParameters-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>Fetches the wrap parameters from the OPNET node</p>
174
+ </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L20">src/utxo/OPNetLimitedProvider.ts:20</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fetchWrapParameters" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fetch<wbr/>Wrap<wbr/>Parameters</span><a href="#fetchWrapParameters" 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="fetchWrapParameters.fetchWrapParameters-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fetch<wbr/>Wrap<wbr/>Parameters</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">amount</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="WrappedGeneration.html" class="tsd-signature-type tsd-kind-class">WrappedGeneration</a><span class="tsd-signature-symbol">&gt;</span><a href="#fetchWrapParameters.fetchWrapParameters-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>Fetches the wrap parameters from the OPNET node</p>
175
175
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">amount</span>: <span class="tsd-signature-type">bigint</span></span><div class="tsd-comment tsd-typography"><p>The amount to wrap</p>
176
176
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="WrappedGeneration.html" class="tsd-signature-type tsd-kind-class">WrappedGeneration</a><span class="tsd-signature-symbol">&gt;</span></h4><ul>
177
177
  <li>The wrap parameters fetched</li>
@@ -179,7 +179,7 @@
179
179
  <div class="tsd-comment tsd-typography"><h4>Throws</h4><ul>
180
180
  <li>If wrap parameters could not be fetched</li>
181
181
  </ul>
182
- </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/c640351fa3d0b647a1a13b584d73e1066b91ed5c/src/utxo/OPNetLimitedProvider.ts#L77">src/utxo/OPNetLimitedProvider.ts:77</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#opnetAPIUrl" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>opnetAPIUrl</span></a><a href="#rpc" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rpc</span></a><a href="#utxoPath" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>utxo<wbr/>Path</span></a><a href="#fetchUTXO" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetchUTXO</span></a><a href="#fetchWrapParameters" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>Wrap<wbr/>Parameters</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>
182
+ </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/transaction/blob/0218db40fec642fdc75d31f5fce3ea59c2ffd724/src/utxo/OPNetLimitedProvider.ts#L77">src/utxo/OPNetLimitedProvider.ts:77</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a><a href="#opnetAPIUrl" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>opnetAPIUrl</span></a><a href="#rpc" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rpc</span></a><a href="#utxoPath" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>utxo<wbr/>Path</span></a><a href="#fetchUTXO" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetchUTXO</span></a><a href="#fetchWrapParameters" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>Wrap<wbr/>Parameters</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>
183
183
  try {
184
184
  const generateLinkElement = document.querySelector(".tsd-generator a");
185
185
  const link = document.createElement("a");