opnet 1.0.21 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/browser/_version.d.ts +1 -1
  2. package/browser/contracts/ContractData.d.ts +5 -3
  3. package/browser/contracts/interfaces/IRawContract.d.ts +5 -3
  4. package/browser/index.js +1 -1
  5. package/browser/index.js.LICENSE.txt +2 -0
  6. package/browser/interfaces/opnet/OPNetTransactionTypes.d.ts +4 -1
  7. package/browser/opnet.d.ts +11 -6
  8. package/browser/providers/AbstractRpcProvider.d.ts +1 -1
  9. package/browser/scripts/testMethodsReg.d.ts +1 -0
  10. package/browser/transactions/Transaction.d.ts +4 -3
  11. package/browser/transactions/decoders/DeploymentTransaction.d.ts +17 -0
  12. package/browser/transactions/decoders/GenericTransaction.d.ts +6 -0
  13. package/browser/transactions/decoders/InteractionTransaction.d.ts +15 -0
  14. package/browser/transactions/decoders/WrapTransaction.d.ts +15 -0
  15. package/browser/transactions/interfaces/ITransaction.d.ts +8 -27
  16. package/browser/transactions/interfaces/transactions/ICommonTransaction.d.ts +7 -0
  17. package/browser/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +13 -0
  18. package/browser/transactions/interfaces/transactions/IInteractionTransaction.d.ts +14 -0
  19. package/browser/transactions/interfaces/transactions/IWrapTransaction.d.ts +10 -0
  20. package/browser/transactions/metadata/TransactionInput.d.ts +16 -0
  21. package/browser/transactions/metadata/TransactionOutput.d.ts +19 -0
  22. package/browser/transactions/metadata/TransactionReceipt.d.ts +11 -0
  23. package/build/_version.d.ts +1 -1
  24. package/build/_version.js +1 -1
  25. package/build/contracts/ContractData.d.ts +5 -3
  26. package/build/contracts/ContractData.js +2 -0
  27. package/build/contracts/interfaces/IRawContract.d.ts +5 -3
  28. package/build/interfaces/opnet/OPNetTransactionTypes.d.ts +4 -1
  29. package/build/interfaces/opnet/OPNetTransactionTypes.js +2 -0
  30. package/build/opnet.d.ts +11 -6
  31. package/build/opnet.js +11 -6
  32. package/build/providers/AbstractRpcProvider.d.ts +1 -1
  33. package/build/providers/AbstractRpcProvider.js +1 -1
  34. package/build/scripts/testMethods.js +1 -1
  35. package/build/scripts/testMethodsReg.d.ts +1 -0
  36. package/build/scripts/testMethodsReg.js +10 -0
  37. package/build/transactions/Transaction.d.ts +4 -3
  38. package/build/transactions/Transaction.js +5 -3
  39. package/build/transactions/TransactionParser.js +8 -4
  40. package/build/transactions/decoders/DeploymentTransaction.d.ts +17 -0
  41. package/build/transactions/decoders/DeploymentTransaction.js +26 -0
  42. package/build/transactions/decoders/GenericTransaction.d.ts +6 -0
  43. package/build/transactions/decoders/GenericTransaction.js +6 -0
  44. package/build/transactions/decoders/InteractionTransaction.d.ts +15 -0
  45. package/build/transactions/decoders/InteractionTransaction.js +21 -0
  46. package/build/transactions/decoders/WrapInteractionTransaction.d.ts +15 -0
  47. package/build/transactions/decoders/WrapInteractionTransaction.js +21 -0
  48. package/build/transactions/decoders/WrapTransaction.d.ts +15 -0
  49. package/build/transactions/decoders/WrapTransaction.js +30 -0
  50. package/build/transactions/interfaces/ITransaction.d.ts +8 -27
  51. package/build/transactions/interfaces/IWrapTransaction.d.ts +3 -0
  52. package/build/transactions/interfaces/IWrapTransaction.js +1 -0
  53. package/build/transactions/interfaces/transactions/ICommonTransaction.d.ts +7 -0
  54. package/build/transactions/interfaces/transactions/ICommonTransaction.js +1 -0
  55. package/build/transactions/interfaces/transactions/IDeploymentTransaction.d.ts +13 -0
  56. package/build/transactions/interfaces/transactions/IDeploymentTransaction.js +1 -0
  57. package/build/transactions/interfaces/transactions/IInteractionTransaction.d.ts +14 -0
  58. package/build/transactions/interfaces/transactions/IInteractionTransaction.js +1 -0
  59. package/build/transactions/interfaces/transactions/IWrapTransaction.d.ts +10 -0
  60. package/build/transactions/interfaces/transactions/IWrapTransaction.js +1 -0
  61. package/build/transactions/metadata/TransactionInput.d.ts +16 -0
  62. package/build/transactions/metadata/TransactionInput.js +14 -0
  63. package/build/transactions/metadata/TransactionOutput.d.ts +19 -0
  64. package/build/transactions/metadata/TransactionOutput.js +16 -0
  65. package/build/transactions/metadata/TransactionReceipt.d.ts +11 -0
  66. package/build/transactions/metadata/TransactionReceipt.js +53 -0
  67. package/build/transactions/types/DeploymentTransaction.d.ts +16 -0
  68. package/build/transactions/types/DeploymentTransaction.js +24 -0
  69. package/build/transactions/types/GenericTransaction.d.ts +6 -0
  70. package/build/transactions/types/GenericTransaction.js +6 -0
  71. package/build/transactions/types/InteractionTransaction.d.ts +15 -0
  72. package/build/transactions/types/InteractionTransaction.js +21 -0
  73. package/cjs/_version.d.ts +1 -1
  74. package/cjs/_version.js +1 -1
  75. package/cjs/block/interfaces/BlockWitness.d.ts +11 -0
  76. package/cjs/block/interfaces/BlockWitness.js +2 -0
  77. package/cjs/contracts/Contract.d.ts +3 -1
  78. package/cjs/contracts/Contract.js +18 -12
  79. package/cjs/contracts/interfaces/IContract.d.ts +3 -1
  80. package/cjs/generator/WrappedGenerationParameters.d.ts +9 -0
  81. package/cjs/generator/WrappedGenerationParameters.js +18 -0
  82. package/cjs/opnet.d.ts +6 -1
  83. package/cjs/opnet.js +6 -1
  84. package/cjs/providers/AbstractRpcProvider.d.ts +8 -0
  85. package/cjs/providers/AbstractRpcProvider.js +63 -0
  86. package/cjs/providers/interfaces/Generate.d.ts +19 -0
  87. package/cjs/providers/interfaces/Generate.js +7 -0
  88. package/cjs/providers/interfaces/ReorgInformation.d.ts +5 -0
  89. package/cjs/providers/interfaces/ReorgInformation.js +2 -0
  90. package/cjs/scripts/ITestContract.d.ts +2 -2
  91. package/cjs/scripts/ITestContract.js +2 -2
  92. package/cjs/scripts/testContract.js +1 -1
  93. package/cjs/scripts/testMethods.js +8 -15
  94. package/cjs/transactions/TransactionReceipt.d.ts +3 -3
  95. package/cjs/transactions/TransactionReceipt.js +35 -16
  96. package/cjs/transactions/interfaces/BroadcastedTransaction.d.ts +7 -0
  97. package/cjs/transactions/interfaces/BroadcastedTransaction.js +2 -0
  98. package/cjs/transactions/interfaces/ITransaction.d.ts +2 -3
  99. package/cjs/transactions/interfaces/ITransactionReceipt.d.ts +9 -1
  100. package/docs/assets/navigation.js +1 -1
  101. package/docs/assets/search.js +1 -1
  102. package/docs/classes/AbstractRpcProvider.html +18 -18
  103. package/docs/classes/BaseContract.html +7 -7
  104. package/docs/classes/BitcoinAddress.html +2 -2
  105. package/docs/classes/BitcoinInterface.html +2 -2
  106. package/docs/classes/BitcoinUtils.html +2 -2
  107. package/docs/classes/Block.html +3 -3
  108. package/docs/classes/CallResult.html +2 -2
  109. package/docs/classes/ContractData.html +3 -2
  110. package/docs/classes/DeploymentTransaction.html +26 -22
  111. package/docs/classes/GenericTransaction.html +15 -13
  112. package/docs/classes/IBaseContract.html +7 -7
  113. package/docs/classes/InteractionTransaction.html +22 -20
  114. package/docs/classes/JSONRpcProvider.html +17 -17
  115. package/docs/classes/OPNetEvent.html +2 -2
  116. package/docs/classes/StoredValue.html +2 -2
  117. package/docs/classes/TransactionBase.html +15 -13
  118. package/docs/classes/TransactionInput.html +2 -2
  119. package/docs/classes/TransactionOutput.html +2 -2
  120. package/docs/classes/TransactionParser.html +2 -2
  121. package/docs/classes/TransactionReceipt.html +7 -7
  122. package/docs/classes/UTXO.html +2 -2
  123. package/docs/classes/WebSocketRpcProvider.html +17 -17
  124. package/docs/classes/WrapTransaction.html +229 -0
  125. package/docs/classes/WrappedGeneration.html +7 -7
  126. package/docs/enums/BitcoinAbiTypes.html +2 -2
  127. package/docs/enums/GenerateTarget.html +2 -2
  128. package/docs/enums/OPNetTransactionTypes.html +4 -2
  129. package/docs/functions/getContract.html +1 -1
  130. package/docs/hierarchy.html +1 -1
  131. package/docs/interfaces/BaseContractProperties.html +2 -2
  132. package/docs/interfaces/BitcoinAbiValue.html +3 -3
  133. package/docs/interfaces/BitcoinInterfaceAbiBase.html +2 -2
  134. package/docs/interfaces/BroadcastedTransaction.html +6 -6
  135. package/docs/interfaces/ContractEvents.html +1 -1
  136. package/docs/interfaces/EventBaseData.html +2 -2
  137. package/docs/interfaces/FunctionBaseData.html +2 -2
  138. package/docs/interfaces/GenerationConstraints.html +7 -7
  139. package/docs/interfaces/IAccessList.html +1 -1
  140. package/docs/interfaces/IAccessListItem.html +1 -1
  141. package/docs/interfaces/IBlock.html +3 -3
  142. package/docs/interfaces/IBlockCommon.html +3 -3
  143. package/docs/interfaces/IBlockWitness.html +2 -2
  144. package/docs/interfaces/IBlockWitnessAPI.html +2 -2
  145. package/docs/interfaces/ICallRequestError.html +2 -2
  146. package/docs/interfaces/ICallResultData.html +2 -2
  147. package/docs/interfaces/ICommonTransaction.html +17 -15
  148. package/docs/interfaces/IContract.html +2 -2
  149. package/docs/interfaces/IDecodedEvent.html +2 -2
  150. package/docs/interfaces/IDeploymentTransaction.html +26 -22
  151. package/docs/interfaces/IGenericTransaction.html +14 -12
  152. package/docs/interfaces/IInteractionTransaction.html +22 -20
  153. package/docs/interfaces/IRawContract.html +3 -2
  154. package/docs/interfaces/IRawContractEvents.html +1 -1
  155. package/docs/interfaces/IStorageValue.html +2 -2
  156. package/docs/interfaces/ITransactionBase.html +14 -12
  157. package/docs/interfaces/ITransactionInput.html +2 -2
  158. package/docs/interfaces/ITransactionOutput.html +2 -2
  159. package/docs/interfaces/ITransactionReceipt.html +5 -5
  160. package/docs/interfaces/IUTXO.html +2 -2
  161. package/docs/interfaces/IWrapTransaction.html +228 -0
  162. package/docs/interfaces/NetEventDocument.html +5 -5
  163. package/docs/interfaces/ReorgInformation.html +2 -2
  164. package/docs/interfaces/WrappedGenerationParameters.html +6 -6
  165. package/docs/modules.html +3 -0
  166. package/docs/types/BaseContractProperty.html +1 -1
  167. package/docs/types/BitcoinAddressLike.html +1 -1
  168. package/docs/types/BitcoinInterfaceAbi.html +1 -1
  169. package/docs/types/BlockHeaderChecksumProof.html +1 -1
  170. package/docs/types/BlockWitnesses.html +1 -1
  171. package/docs/types/ContractDecodedObjectResult.html +1 -1
  172. package/docs/types/DecodedCallResult.html +1 -1
  173. package/docs/types/DecodedOutput.html +1 -1
  174. package/docs/types/GenerationParameters.html +1 -1
  175. package/docs/types/ICallResult.html +1 -1
  176. package/docs/types/ITransaction.html +2 -2
  177. package/docs/types/InteractionType.html +174 -0
  178. package/docs/types/PointerLike.html +1 -1
  179. package/docs/types/RawContractEvents.html +1 -1
  180. package/docs/types/UTXOs.html +1 -1
  181. package/docs/variables/version.html +1 -1
  182. package/package.json +6 -5
  183. package/src/_version.ts +1 -1
  184. package/src/contracts/ContractData.ts +11 -3
  185. package/src/contracts/interfaces/IRawContract.ts +7 -3
  186. package/src/interfaces/opnet/OPNetTransactionTypes.ts +7 -0
  187. package/src/opnet.ts +13 -6
  188. package/src/providers/AbstractRpcProvider.ts +1 -1
  189. package/src/scripts/testMethods.ts +54 -54
  190. package/src/scripts/testMethodsReg.ts +20 -0
  191. package/src/transactions/Transaction.ts +10 -3
  192. package/src/transactions/TransactionParser.ts +13 -10
  193. package/src/transactions/{DeploymentTransaction.ts → decoders/DeploymentTransaction.ts} +6 -3
  194. package/src/transactions/{GenericTransaction.ts → decoders/GenericTransaction.ts} +3 -3
  195. package/src/transactions/{InteractionTransaction.ts → decoders/InteractionTransaction.ts} +4 -4
  196. package/src/transactions/decoders/WrapTransaction.ts +69 -0
  197. package/src/transactions/interfaces/ITransaction.ts +16 -107
  198. package/src/transactions/interfaces/transactions/ICommonTransaction.ts +19 -0
  199. package/src/transactions/interfaces/transactions/IDeploymentTransaction.ts +50 -0
  200. package/src/transactions/interfaces/transactions/IInteractionTransaction.ts +50 -0
  201. package/src/transactions/interfaces/transactions/IWrapTransaction.ts +43 -0
  202. package/src/transactions/{TransactionReceipt.ts → metadata/TransactionReceipt.ts} +1 -1
  203. package/tsconfig.webpack.json +8 -0
  204. /package/src/transactions/{TransactionInput.ts → metadata/TransactionInput.ts} +0 -0
  205. /package/src/transactions/{TransactionOutput.ts → metadata/TransactionOutput.ts} +0 -0
@@ -157,7 +157,7 @@
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="InteractionTransaction.html">InteractionTransaction</a></li></ul><h1>Class InteractionTransaction</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Interaction transaction.</p>
160
- </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#InteractionTransaction">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="TransactionBase.html" class="tsd-signature-type tsd-kind-class">TransactionBase</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/OPNetTransactionTypes.html#Interaction" class="tsd-signature-type tsd-kind-enum-member">Interaction</a><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li><span class="target">InteractionTransaction</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/IInteractionTransaction.html" class="tsd-signature-type tsd-kind-interface">IInteractionTransaction</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L10">src/transactions/InteractionTransaction.ts:10</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="InteractionTransaction.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
160
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#InteractionTransaction">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="TransactionBase.html" class="tsd-signature-type tsd-kind-class">TransactionBase</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/InteractionType.html" class="tsd-signature-type tsd-kind-type-alias">InteractionType</a><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li><span class="target">InteractionTransaction</span><ul class="tsd-hierarchy"><li><a href="WrapTransaction.html" class="tsd-signature-type tsd-kind-class">WrapTransaction</a></li></ul></li></ul></li></ul></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/IInteractionTransaction.html" class="tsd-signature-type tsd-kind-interface">IInteractionTransaction</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:10</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="InteractionTransaction.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
161
161
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="InteractionTransaction.html#OPNetType" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>OPNet<wbr/>Type</span></a>
162
162
  <a href="InteractionTransaction.html#burnedBitcoin" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>burned<wbr/>Bitcoin</span></a>
163
163
  <a href="InteractionTransaction.html#calldata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata</span></a>
@@ -165,6 +165,7 @@
165
165
  <a href="InteractionTransaction.html#contractSecret" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Secret</span></a>
166
166
  <a href="InteractionTransaction.html#events" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a>
167
167
  <a href="InteractionTransaction.html#from" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>from</span></a>
168
+ <a href="InteractionTransaction.html#gasUsed" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gas<wbr/>Used</span></a>
168
169
  <a href="InteractionTransaction.html#hash" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a>
169
170
  <a href="InteractionTransaction.html#id" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a>
170
171
  <a href="InteractionTransaction.html#index" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a>
@@ -176,25 +177,26 @@
176
177
  <a href="InteractionTransaction.html#revert" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>revert?</span></a>
177
178
  <a href="InteractionTransaction.html#senderPubKeyHash" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span></a>
178
179
  <a href="InteractionTransaction.html#wasCompressed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>was<wbr/>Compressed</span></a>
179
- </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_InteractionTransaction" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Interaction<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">transaction</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a><a href="#constructor.new_InteractionTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">transaction</span>: <a href="../interfaces/IInteractionTransaction.html" class="tsd-signature-type tsd-kind-interface">IInteractionTransaction</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a></h4><aside class="tsd-sources"><p>Overrides <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L49">src/transactions/InteractionTransaction.ts:49</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-inherited"><a id="OPNetType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>OPNet<wbr/>Type</span><a href="#OPNetType" 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">OPNet<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/OPNetTransactionTypes.html#Interaction" class="tsd-signature-type tsd-kind-enum-member">Interaction</a></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The type of the transaction.</p>
180
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#OPNetType">OPNetType</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#OPNetType">OPNetType</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L53">src/transactions/Transaction.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="burnedBitcoin" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>burned<wbr/>Bitcoin</span><a href="#burnedBitcoin" 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">burned<wbr/>Bitcoin</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigNumberish</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the amount of satoshi that were burned in the transaction.</p>
181
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#burnedBitcoin">burnedBitcoin</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#burnedBitcoin">burnedBitcoin</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L38">src/transactions/Transaction.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="calldata" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>calldata</span><a href="#calldata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">calldata</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The calldata of the transaction.</p>
182
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#calldata">calldata</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L17">src/transactions/InteractionTransaction.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="contractAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Address</span><a href="#contractAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The contract address where the transaction was sent. (AKA &quot;to&quot;).</p>
183
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#contractAddress">contractAddress</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L47">src/transactions/InteractionTransaction.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="contractSecret" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Secret</span><a href="#contractSecret" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Secret</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The contract secret.</p>
184
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#contractSecret">contractSecret</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L27">src/transactions/InteractionTransaction.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="events" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>events</span><a href="#events" 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">events</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ContractEvents.html" class="tsd-signature-type tsd-kind-interface">ContractEvents</a></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The events of the transaction.</p>
185
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#events">events</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#events">events</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/TransactionReceipt.ts#L27">src/transactions/TransactionReceipt.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="from" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</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 from address of the transaction. (ALWAYS TAPROOT. <em>This address is generated from the P2TR of the pubkey of the deployer.</em>)</p>
186
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#from">from</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L42">src/transactions/InteractionTransaction.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>hash</span><a href="#hash" 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">hash</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 transaction &quot;hash&quot;.</p>
187
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#hash">hash</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#hash">hash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L28">src/transactions/Transaction.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>id</span><a href="#id" 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">id</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 transaction ID (hash).</p>
188
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#id">id</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L23">src/transactions/Transaction.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="index" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>index</span><a href="#index" 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">index</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 index of the transaction in the block.</p>
189
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#index">index</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#index">index</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L33">src/transactions/Transaction.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="inputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><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="TransactionInput.html" class="tsd-signature-type tsd-kind-class">TransactionInput</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The inputs of the transaction.</p>
190
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#inputs">inputs</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#inputs">inputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L43">src/transactions/Transaction.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="interactionPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>interaction<wbr/>Pub<wbr/>Key</span><a href="#interactionPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">interaction<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The interaction public key.</p>
191
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#interactionPubKey">interactionPubKey</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L32">src/transactions/InteractionTransaction.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="outputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><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="TransactionOutput.html" class="tsd-signature-type tsd-kind-class">TransactionOutput</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The outputs of the transaction.</p>
192
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#outputs">outputs</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#outputs">outputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/Transaction.ts#L48">src/transactions/Transaction.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="receipt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>receipt</span><a href="#receipt" 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">receipt</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The receipt of the transaction.</p>
193
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#receipt">receipt</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#receipt">receipt</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/TransactionReceipt.ts#L17">src/transactions/TransactionReceipt.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="receiptProofs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>receipt<wbr/>Proofs</span><a href="#receiptProofs" 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">receipt<wbr/>Proofs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The receipt proofs of the transaction.</p>
194
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#receiptProofs">receiptProofs</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#receiptProofs">receiptProofs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/TransactionReceipt.ts#L22">src/transactions/TransactionReceipt.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="revert" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>revert</span><a href="#revert" 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">revert</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>If the transaction was reverted, this field will contain the revert message.</p>
195
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#revert">revert</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#revert">revert</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/TransactionReceipt.ts#L32">src/transactions/TransactionReceipt.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="senderPubKeyHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span><a href="#senderPubKeyHash" 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">sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The sender&#39;s public key hash.</p>
196
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#senderPubKeyHash">senderPubKeyHash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L22">src/transactions/InteractionTransaction.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="wasCompressed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>was<wbr/>Compressed</span><a href="#wasCompressed" 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">was<wbr/>Compressed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Whether the transaction data was compressed.</p>
197
- </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#wasCompressed">wasCompressed</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/bebcb9ee32936d698d9ee3dc54130cf38dff0dc1/src/transactions/InteractionTransaction.ts#L37">src/transactions/InteractionTransaction.ts:37</a></li></ul></aside></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="#OPNetType" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>OPNet<wbr/>Type</span></a><a href="#burnedBitcoin" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>burned<wbr/>Bitcoin</span></a><a href="#calldata" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata</span></a><a href="#contractAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Address</span></a><a href="#contractSecret" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Secret</span></a><a href="#events" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a><a href="#from" class=""><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="#hash" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a><a href="#id" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#index" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a><a href="#inputs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>inputs</span></a><a href="#interactionPubKey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>interaction<wbr/>Pub<wbr/>Key</span></a><a href="#outputs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>outputs</span></a><a href="#receipt" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt</span></a><a href="#receiptProofs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt<wbr/>Proofs</span></a><a href="#revert" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>revert</span></a><a href="#senderPubKeyHash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span></a><a href="#wasCompressed" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>was<wbr/>Compressed</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>
180
+ </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_InteractionTransaction" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Interaction<wbr/>Transaction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">transaction</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a><a href="#constructor.new_InteractionTransaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">transaction</span>: <a href="../interfaces/IInteractionTransaction.html" class="tsd-signature-type tsd-kind-interface">IInteractionTransaction</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="InteractionTransaction.html" class="tsd-signature-type tsd-kind-class">InteractionTransaction</a></h4><aside class="tsd-sources"><p>Overrides <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#constructor">constructor</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:49</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-inherited"><a id="OPNetType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>OPNet<wbr/>Type</span><a href="#OPNetType" 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">OPNet<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../types/InteractionType.html" class="tsd-signature-type tsd-kind-type-alias">InteractionType</a></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The type of the transaction.</p>
181
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#OPNetType">OPNetType</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#OPNetType">OPNetType</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L53">src/transactions/Transaction.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="burnedBitcoin" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>burned<wbr/>Bitcoin</span><a href="#burnedBitcoin" 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">burned<wbr/>Bitcoin</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BigNumberish</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Returns the amount of satoshi that were burned in the transaction.</p>
182
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#burnedBitcoin">burnedBitcoin</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#burnedBitcoin">burnedBitcoin</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L38">src/transactions/Transaction.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="calldata" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>calldata</span><a href="#calldata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">calldata</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The calldata of the transaction.</p>
183
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#calldata">calldata</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:17</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="contractAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Address</span><a href="#contractAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The contract address where the transaction was sent. (AKA &quot;to&quot;).</p>
184
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#contractAddress">contractAddress</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:47</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="contractSecret" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>contract<wbr/>Secret</span><a href="#contractSecret" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contract<wbr/>Secret</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The contract secret.</p>
185
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#contractSecret">contractSecret</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:27</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="events" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>events</span><a href="#events" 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">events</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ContractEvents.html" class="tsd-signature-type tsd-kind-interface">ContractEvents</a></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The events of the transaction.</p>
186
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#events">events</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#events">events</a></p><ul><li>Defined in src/transactions/metadata/TransactionReceipt.ts:27</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="from" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</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 from address of the transaction. (ALWAYS TAPROOT. <em>This address is generated from the P2TR of the pubkey of the deployer.</em>)</p>
187
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#from">from</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:42</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="gasUsed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>gas<wbr/>Used</span><a href="#gasUsed" 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">gas<wbr/>Used</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 amount of gas used by the transaction.</p>
188
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#gasUsed">gasUsed</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#gasUsed">gasUsed</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L58">src/transactions/Transaction.ts:58</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>hash</span><a href="#hash" 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">hash</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 transaction &quot;hash&quot;.</p>
189
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#hash">hash</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#hash">hash</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L28">src/transactions/Transaction.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>id</span><a href="#id" 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">id</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 transaction ID (hash).</p>
190
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#id">id</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L23">src/transactions/Transaction.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="index" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>index</span><a href="#index" 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">index</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 index of the transaction in the block.</p>
191
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#index">index</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#index">index</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L33">src/transactions/Transaction.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="inputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><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="TransactionInput.html" class="tsd-signature-type tsd-kind-class">TransactionInput</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The inputs of the transaction.</p>
192
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#inputs">inputs</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#inputs">inputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L43">src/transactions/Transaction.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="interactionPubKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>interaction<wbr/>Pub<wbr/>Key</span><a href="#interactionPubKey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">interaction<wbr/>Pub<wbr/>Key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The interaction public key.</p>
193
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#interactionPubKey">interactionPubKey</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:32</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="outputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><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="TransactionOutput.html" class="tsd-signature-type tsd-kind-class">TransactionOutput</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The outputs of the transaction.</p>
194
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#outputs">outputs</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#outputs">outputs</a></p><ul><li>Defined in <a href="https://github.com/btc-vision/opnet/blob/94143015551720dff99af0a698d5822032f43146/src/transactions/Transaction.ts#L48">src/transactions/Transaction.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="receipt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>receipt</span><a href="#receipt" 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">receipt</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The receipt of the transaction.</p>
195
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#receipt">receipt</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#receipt">receipt</a></p><ul><li>Defined in src/transactions/metadata/TransactionReceipt.ts:17</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="receiptProofs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>receipt<wbr/>Proofs</span><a href="#receiptProofs" 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">receipt<wbr/>Proofs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The receipt proofs of the transaction.</p>
196
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#receiptProofs">receiptProofs</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#receiptProofs">receiptProofs</a></p><ul><li>Defined in src/transactions/metadata/TransactionReceipt.ts:22</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="revert" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>revert</span><a href="#revert" 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">revert</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>If the transaction was reverted, this field will contain the revert message.</p>
197
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#revert">revert</a></p><p>Inherited from <a href="TransactionBase.html">TransactionBase</a>.<a href="TransactionBase.html#revert">revert</a></p><ul><li>Defined in src/transactions/metadata/TransactionReceipt.ts:32</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="senderPubKeyHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span><a href="#senderPubKeyHash" 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">sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>The sender&#39;s public key hash.</p>
198
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#senderPubKeyHash">senderPubKeyHash</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:22</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="wasCompressed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>was<wbr/>Compressed</span><a href="#wasCompressed" 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">was<wbr/>Compressed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><h4>Description</h4><p>Whether the transaction data was compressed.</p>
199
+ </div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/IInteractionTransaction.html">IInteractionTransaction</a>.<a href="../interfaces/IInteractionTransaction.html#wasCompressed">wasCompressed</a></p><ul><li>Defined in src/transactions/decoders/InteractionTransaction.ts:37</li></ul></aside></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="#OPNetType" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>OPNet<wbr/>Type</span></a><a href="#burnedBitcoin" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>burned<wbr/>Bitcoin</span></a><a href="#calldata" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>calldata</span></a><a href="#contractAddress" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Address</span></a><a href="#contractSecret" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>contract<wbr/>Secret</span></a><a href="#events" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a><a href="#from" class=""><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="#gasUsed" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gas<wbr/>Used</span></a><a href="#hash" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hash</span></a><a href="#id" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#index" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>index</span></a><a href="#inputs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>inputs</span></a><a href="#interactionPubKey" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>interaction<wbr/>Pub<wbr/>Key</span></a><a href="#outputs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>outputs</span></a><a href="#receipt" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt</span></a><a href="#receiptProofs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>receipt<wbr/>Proofs</span></a><a href="#revert" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>revert</span></a><a href="#senderPubKeyHash" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sender<wbr/>Pub<wbr/>Key<wbr/>Hash</span></a><a href="#wasCompressed" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>was<wbr/>Compressed</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>
198
200
  try {
199
201
  const generateLinkElement = document.querySelector(".tsd-generator a");
200
202
  const link = document.createElement("a");