signet.js 0.0.6 → 0.0.7

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 (182) hide show
  1. package/.eslintrc.json +67 -0
  2. package/.prettierrc +1 -0
  3. package/babel.config.js +6 -0
  4. package/docs/dist/.vocs/icons/arrow-diagonal.svg +3 -0
  5. package/docs/dist/.vocs/icons/chevron-down.svg +13 -0
  6. package/docs/dist/.vocs/icons/chevron-up.svg +13 -0
  7. package/docs/dist/.vocs/icons/link.svg +3 -0
  8. package/docs/dist/.vocs/search-index-7b499e25.json +1 -0
  9. package/docs/dist/assets/arbitrary-hash-Cd6eo8ZD.js +309 -0
  10. package/docs/dist/assets/broadcast-tx-CeTEE9yX.js +8 -0
  11. package/docs/dist/assets/btc-rpc-adapter-C-qSHpFV.js +226 -0
  12. package/docs/dist/assets/chain-adapter-interface-B9TpOgQv.js +1280 -0
  13. package/docs/dist/assets/chain-contract-interface-DEku3k45.js +392 -0
  14. package/docs/dist/assets/constructor-73n7bp3b.js +161 -0
  15. package/docs/dist/assets/constructor-Bg7nvLe0.js +14 -0
  16. package/docs/dist/assets/contract-addresses-BYlrAOs3.js +200 -0
  17. package/docs/dist/assets/derive-address-and-public-key-DExrKiGV.js +14 -0
  18. package/docs/dist/assets/finalize-message-signing-W435d71R.js +20 -0
  19. package/docs/dist/assets/finalize-transaction-signing-BIgJ2dnc.js +36 -0
  20. package/docs/dist/assets/finalize-transaction-signing-C--HJs8D.js +24 -0
  21. package/docs/dist/assets/finalize-transaction-signing-CjGmN7d9.js +24 -0
  22. package/docs/dist/assets/finalize-typed-data-signing-CEOp_GWt.js +21 -0
  23. package/docs/dist/assets/get-balance-DBC-i6KG.js +13 -0
  24. package/docs/dist/assets/get-current-signature-deposit-BXm9AzYy.js +6 -0
  25. package/docs/dist/assets/get-current-signature-deposit-nOw4j1MN.js +6 -0
  26. package/docs/dist/assets/get-derived-public-key-BXvfo2m2.js +14 -0
  27. package/docs/dist/assets/get-derived-public-key-DQ1pyiFS.js +14 -0
  28. package/docs/dist/assets/get-latest-key-version-DWlkMCre.js +6 -0
  29. package/docs/dist/assets/get-public-key-B4PFoVqu.js +6 -0
  30. package/docs/dist/assets/get-public-key-B9xkYkD_.js +6 -0
  31. package/docs/dist/assets/index-BFuwoY4w.js +601 -0
  32. package/docs/dist/assets/index-C62Mf-vy.js +426 -0
  33. package/docs/dist/assets/index-D8xhaiVb.js +121 -0
  34. package/docs/dist/assets/index-DTr0DlO0.js +36 -0
  35. package/docs/dist/assets/index-V9dXf-ik.js +457 -0
  36. package/docs/dist/assets/prepare-message-for-signing-DESTq-Hg.js +16 -0
  37. package/docs/dist/assets/prepare-transaction-for-signing-DIKTU0zj.js +33 -0
  38. package/docs/dist/assets/prepare-transaction-for-signing-DV_wkZ5g.js +21 -0
  39. package/docs/dist/assets/prepare-transaction-for-signing-LVDP0COu.js +33 -0
  40. package/docs/dist/assets/prepare-typed-data-for-signing-CWcmJvw0.js +192 -0
  41. package/docs/dist/assets/sign-CwtS5LnB.js +13 -0
  42. package/docs/dist/assets/sign-OQxf9yn7.js +15 -0
  43. package/docs/dist/assets/signet-quick-start-CQK52nVG.js +350 -0
  44. package/docs/dist/assets/sponsor-foreign-chain-gas-C9iWXM8Q.js +1 -0
  45. package/docs/dist/assets/style-CKGXuRqx.css +1 -0
  46. package/docs/dist/examples/arbitrary-hash/index.html +88 -0
  47. package/docs/dist/examples/sponsor-foreign-chain-gas/index.html +21 -0
  48. package/docs/dist/index.html +56 -0
  49. package/docs/dist/initializeTheme.iife.js +1 -0
  50. package/docs/dist/introduction/signet-quick-start/index.html +109 -0
  51. package/docs/dist/primitives/chain-adapter-interface/index.html +515 -0
  52. package/docs/dist/primitives/chain-contract-interface/index.html +306 -0
  53. package/docs/dist/primitives/contract-addresses/index.html +97 -0
  54. package/docs/dist/signet-logo.png +0 -0
  55. package/docs/dist/signetjs/chain-adapters/bitcoin/btc-rpc-adapter/index.html +148 -0
  56. package/docs/dist/signetjs/chain-adapters/bitcoin/finalize-transaction-signing/index.html +41 -0
  57. package/docs/dist/signetjs/chain-adapters/bitcoin/index.html +187 -0
  58. package/docs/dist/signetjs/chain-adapters/bitcoin/prepare-transaction-for-signing/index.html +34 -0
  59. package/docs/dist/signetjs/chain-adapters/broadcast-tx/index.html +28 -0
  60. package/docs/dist/signetjs/chain-adapters/cosmos/finalize-transaction-signing/index.html +41 -0
  61. package/docs/dist/signetjs/chain-adapters/cosmos/index.html +166 -0
  62. package/docs/dist/signetjs/chain-adapters/cosmos/prepare-transaction-for-signing/index.html +43 -0
  63. package/docs/dist/signetjs/chain-adapters/derive-address-and-public-key/index.html +31 -0
  64. package/docs/dist/signetjs/chain-adapters/evm/finalize-message-signing/index.html +38 -0
  65. package/docs/dist/signetjs/chain-adapters/evm/finalize-transaction-signing/index.html +41 -0
  66. package/docs/dist/signetjs/chain-adapters/evm/finalize-typed-data-signing/index.html +39 -0
  67. package/docs/dist/signetjs/chain-adapters/evm/index.html +129 -0
  68. package/docs/dist/signetjs/chain-adapters/evm/prepare-message-for-signing/index.html +31 -0
  69. package/docs/dist/signetjs/chain-adapters/evm/prepare-transaction-for-signing/index.html +34 -0
  70. package/docs/dist/signetjs/chain-adapters/evm/prepare-typed-data-for-signing/index.html +49 -0
  71. package/docs/dist/signetjs/chain-adapters/get-balance/index.html +30 -0
  72. package/docs/dist/signetjs/contracts/evm/constructor/index.html +45 -0
  73. package/docs/dist/signetjs/contracts/evm/get-current-signature-deposit/index.html +26 -0
  74. package/docs/dist/signetjs/contracts/evm/get-derived-public-key/index.html +31 -0
  75. package/docs/dist/signetjs/contracts/evm/get-latest-key-version/index.html +26 -0
  76. package/docs/dist/signetjs/contracts/evm/get-public-key/index.html +26 -0
  77. package/docs/dist/signetjs/contracts/evm/sign/index.html +32 -0
  78. package/docs/dist/signetjs/contracts/near/constructor/index.html +34 -0
  79. package/docs/dist/signetjs/contracts/near/get-current-signature-deposit/index.html +26 -0
  80. package/docs/dist/signetjs/contracts/near/get-derived-public-key/index.html +31 -0
  81. package/docs/dist/signetjs/contracts/near/get-public-key/index.html +26 -0
  82. package/docs/dist/signetjs/contracts/near/sign/index.html +32 -0
  83. package/docs/pages/examples/arbitrary-hash.mdx +73 -0
  84. package/docs/pages/examples/sponsor-foreign-chain-gas.mdx +1 -0
  85. package/docs/pages/index.mdx +36 -0
  86. package/docs/pages/introduction/signet-quick-start.mdx +88 -0
  87. package/docs/pages/primitives/chain-adapter-interface.mdx +45 -0
  88. package/docs/pages/primitives/chain-contract-interface.mdx +52 -0
  89. package/docs/pages/primitives/contract-addresses.mdx +27 -0
  90. package/docs/pages/signetjs/chain-adapters/bitcoin/btc-rpc-adapter.mdx +26 -0
  91. package/docs/pages/signetjs/chain-adapters/bitcoin/finalize-transaction-signing.mdx +47 -0
  92. package/docs/pages/signetjs/chain-adapters/bitcoin/index.mdx +119 -0
  93. package/docs/pages/signetjs/chain-adapters/bitcoin/prepare-transaction-for-signing.mdx +30 -0
  94. package/docs/pages/signetjs/chain-adapters/broadcast-tx.mdx +23 -0
  95. package/docs/pages/signetjs/chain-adapters/cosmos/finalize-transaction-signing.mdx +53 -0
  96. package/docs/pages/signetjs/chain-adapters/cosmos/index.mdx +108 -0
  97. package/docs/pages/signetjs/chain-adapters/cosmos/prepare-transaction-for-signing.mdx +39 -0
  98. package/docs/pages/signetjs/chain-adapters/derive-address-and-public-key.mdx +28 -0
  99. package/docs/pages/signetjs/chain-adapters/evm/finalize-message-signing.mdx +33 -0
  100. package/docs/pages/signetjs/chain-adapters/evm/finalize-transaction-signing.mdx +44 -0
  101. package/docs/pages/signetjs/chain-adapters/evm/finalize-typed-data-signing.mdx +34 -0
  102. package/docs/pages/signetjs/chain-adapters/evm/index.mdx +84 -0
  103. package/docs/pages/signetjs/chain-adapters/evm/prepare-message-for-signing.mdx +26 -0
  104. package/docs/pages/signetjs/chain-adapters/evm/prepare-transaction-for-signing.mdx +30 -0
  105. package/docs/pages/signetjs/chain-adapters/evm/prepare-typed-data-for-signing.mdx +44 -0
  106. package/docs/pages/signetjs/chain-adapters/get-balance.mdx +26 -0
  107. package/docs/pages/signetjs/contracts/evm/constructor.mdx +38 -0
  108. package/docs/pages/signetjs/contracts/evm/get-current-signature-deposit.mdx +17 -0
  109. package/docs/pages/signetjs/contracts/evm/get-derived-public-key.mdx +28 -0
  110. package/docs/pages/signetjs/contracts/evm/get-latest-key-version.mdx +17 -0
  111. package/docs/pages/signetjs/contracts/evm/get-public-key.mdx +17 -0
  112. package/docs/pages/signetjs/contracts/evm/sign.mdx +36 -0
  113. package/docs/pages/signetjs/contracts/near/constructor.mdx +29 -0
  114. package/docs/pages/signetjs/contracts/near/get-current-signature-deposit.mdx +17 -0
  115. package/docs/pages/signetjs/contracts/near/get-derived-public-key.mdx +28 -0
  116. package/docs/pages/signetjs/contracts/near/get-public-key.mdx +17 -0
  117. package/docs/pages/signetjs/contracts/near/sign.mdx +32 -0
  118. package/docs/public/signet-logo.png +0 -0
  119. package/docs/snippets/code/chains.ts +42 -0
  120. package/docs/snippets/code/contract.ts +44 -0
  121. package/docs/snippets/code/evm/contract.ts +24 -0
  122. package/docs/snippets/code/evm/env.ts +16 -0
  123. package/docs/snippets/code/near/env.ts +13 -0
  124. package/hardhat.config.mts +19 -0
  125. package/package.json +18 -19
  126. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/BTCRpcAdapter.ts +15 -0
  127. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/Mempool.ts +101 -0
  128. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/index.ts +1 -0
  129. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/types.ts +72 -0
  130. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/index.ts +6 -0
  131. package/src/chain-adapters/Bitcoin/Bitcoin.ts +287 -0
  132. package/src/chain-adapters/Bitcoin/index.ts +13 -0
  133. package/src/chain-adapters/Bitcoin/types.ts +48 -0
  134. package/src/chain-adapters/Bitcoin/utils.ts +14 -0
  135. package/src/chain-adapters/ChainAdapter.ts +92 -0
  136. package/src/chain-adapters/Cosmos/Cosmos.ts +258 -0
  137. package/src/chain-adapters/Cosmos/index.ts +8 -0
  138. package/src/chain-adapters/Cosmos/types.ts +35 -0
  139. package/src/chain-adapters/Cosmos/utils.ts +45 -0
  140. package/src/chain-adapters/EVM/EVM.test.ts +238 -0
  141. package/src/chain-adapters/EVM/EVM.ts +337 -0
  142. package/src/chain-adapters/EVM/index.ts +11 -0
  143. package/src/chain-adapters/EVM/types.ts +53 -0
  144. package/src/chain-adapters/EVM/utils.ts +27 -0
  145. package/src/chain-adapters/index.ts +5 -0
  146. package/src/constants.ts +62 -0
  147. package/src/contracts/ChainSignatureContract.ts +65 -0
  148. package/src/contracts/evm/ChainSignaturesContract.ts +323 -0
  149. package/src/contracts/evm/ChainSignaturesContractABI.ts +359 -0
  150. package/src/contracts/evm/errors.ts +52 -0
  151. package/src/contracts/evm/index.ts +10 -0
  152. package/src/contracts/evm/types.ts +39 -0
  153. package/src/contracts/evm/utils.ts +41 -0
  154. package/src/contracts/index.ts +4 -0
  155. package/src/contracts/near/ChainSignatureContract.ts +196 -0
  156. package/src/contracts/near/account.ts +42 -0
  157. package/src/contracts/near/constants.ts +4 -0
  158. package/src/contracts/near/index.ts +10 -0
  159. package/src/contracts/near/signAndSend/index.ts +1 -0
  160. package/src/contracts/near/signAndSend/keypair.ts +178 -0
  161. package/src/contracts/near/transaction.ts +202 -0
  162. package/src/contracts/near/types.ts +71 -0
  163. package/src/index.ts +5 -0
  164. package/src/types.ts +46 -0
  165. package/src/utils/cryptography.ts +141 -0
  166. package/src/utils/index.ts +1 -0
  167. package/src/utils/publicKey.ts +17 -0
  168. package/tsconfig.eslint.json +8 -0
  169. package/tsconfig.json +126 -0
  170. package/tsup.config.ts +58 -0
  171. package/vitest.config.ts +19 -0
  172. package/vocs.config.ts +213 -0
  173. package/browser/index.browser.cjs +0 -3
  174. package/browser/index.browser.cjs.map +0 -1
  175. package/browser/index.browser.js +0 -3
  176. package/browser/index.browser.js.map +0 -1
  177. package/node/index.node.cjs +0 -3
  178. package/node/index.node.cjs.map +0 -1
  179. package/node/index.node.js +0 -3
  180. package/node/index.node.js.map +0 -1
  181. package/types/index.d.cts +0 -1048
  182. package/types/index.d.ts +0 -1048
@@ -0,0 +1,226 @@
1
+ import{u as i,j as s}from"./index-D8xhaiVb.js";const n={title:"Implementing a Bitcoin RPC Adapter",description:"undefined"};function r(e){const l={a:"a",code:"code",div:"div",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...i(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"implementing-a-bitcoin-rpc-adapter",children:["Implementing a Bitcoin RPC Adapter",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#implementing-a-bitcoin-rpc-adapter",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),`
2
+ `,s.jsx(l.p,{children:"This guide explains how to implement a custom RPC adapter for interacting with Bitcoin nodes or services."}),`
3
+ `,s.jsxs(l.h2,{id:"overview",children:["Overview",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#overview",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
4
+ `,s.jsxs(l.p,{children:["The ",s.jsx(l.code,{children:"BTCRpcAdapter"})," provides an abstraction layer for Bitcoin-specific operations like UTXO management, balance queries, and transaction broadcasting. You might want to implement a custom adapter when:"]}),`
5
+ `,s.jsxs(l.ul,{children:[`
6
+ `,s.jsx(l.li,{children:"Using a different Bitcoin API provider"}),`
7
+ `,s.jsx(l.li,{children:"Implementing specialized UTXO selection strategies"}),`
8
+ `]}),`
9
+ `,s.jsxs(l.h2,{id:"base-class",children:["Base Class",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#base-class",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
10
+ `,s.jsxs(l.p,{children:["In order to implement a custom adapter, you need to implement the ",s.jsx(l.code,{children:"BTCRpcAdapter"})," abstract class:"]}),`
11
+ `,s.jsx(s.Fragment,{children:s.jsx(l.pre,{className:"shiki shiki-themes github-light github-dark-dimmed twoslash lsp",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(l.code,{children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","type"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
12
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
13
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCInput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
14
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
15
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
16
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
17
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
18
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
19
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
20
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" script"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Buffer"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
21
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
22
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"BTCOutput"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
23
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"from"}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '@","chain","-","adapters","/","Bitcoin","/","types","'"]})]}),`
24
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
25
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"export"}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","abstract"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","class"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"class"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCRpcAdapter"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"BTCRpcAdapter"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
26
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","abstract"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCRpcAdapter."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"selectUTXOs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(from: string, targets: BTCOutput[]): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{"})]}),`
27
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" inputs"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCInput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[];"})]}),`
28
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" outputs"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[];"})]}),`
29
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}>"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"selectUTXOs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("})]}),`
30
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"from"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"from"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
31
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"targets"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCOutput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"targets"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
32
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
33
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
34
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
35
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
36
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
37
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" script"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Buffer"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
38
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
39
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"BTCOutput"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]"})]}),`
40
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" )"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{ "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"inputs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCInput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"inputs"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"BTCInput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]; "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"outputs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCOutput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"outputs"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
41
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
42
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
43
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
44
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
45
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
46
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" script"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Buffer"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
47
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
48
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"BTCOutput"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[] }>"})]}),`
49
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","abstract"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCRpcAdapter."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"broadcastTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(transactionHex: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"broadcastTransaction"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transactionHex"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"transactionHex"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),`
50
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","abstract"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCRpcAdapter."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"getBalance"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(address: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"number"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"getBalance"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"address"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),`
51
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","abstract"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCRpcAdapter."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"getTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(txid: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCTransaction"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"getTransaction"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"txid"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"txid"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"BTCTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),`
52
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]})})}),`
53
+ `,s.jsxs(l.h3,{id:"2-example",children:["2. Example",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#2-example",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
54
+ `,s.jsxs(l.p,{children:["There is an example implementation of the ",s.jsx(l.code,{children:"BTCRpcAdapter"})," abstract class in the ",s.jsx(l.code,{children:"Mempool"})," class:"]}),`
55
+ `,s.jsx(s.Fragment,{children:s.jsx(l.pre,{className:"shiki shiki-themes github-light github-dark-dimmed twoslash lsp",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(l.code,{children:[s.jsx(l.span,{className:"line",children:s.jsxs(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:["// ","There"," ","is"," ","no"," ","types"," ","for"," ","coinselect"]})}),`
56
+ `,s.jsx(l.span,{className:"line",children:s.jsxs(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:["// ","eslint","-","disable","-","next","-","line"," @","typescript","-","eslint","/","ban","-","ts","-","comment"]})}),`
57
+ `,s.jsx(l.span,{className:"line",children:s.jsxs(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:["// @","ts","-","expect","-","error"]})}),`
58
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
59
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" coinselect"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"coinselect"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"from"}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '","coinselect","'"]})]}),`
60
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
61
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" { "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"class"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCRpcAdapter"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"BTCRpcAdapter"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" } "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"from"}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '@","chain","-","adapters","/","Bitcoin","/","BTCRpcAdapter","/","BTCRpcAdapter","'"]})]}),`
62
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
63
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","type"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCFeeRecommendation"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
64
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","type"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
65
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"from"}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '@","chain","-","adapters","/","Bitcoin","/","BTCRpcAdapter","/","Mempool","/","types","'"]})]}),`
66
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","type"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
67
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
68
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCInput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
69
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
70
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
71
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
72
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
73
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
74
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
75
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" script"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Buffer"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
76
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
77
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"BTCOutput"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
78
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"from"}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '@","chain","-","adapters","/","Bitcoin","/","types","'"]})]}),`
79
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
80
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"export"}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","class"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"class"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Mempool"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"Mempool"})]})}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","extends"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"class"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCRpcAdapter"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"BTCRpcAdapter"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
81
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","private"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","readonly"]}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]})]}),`
82
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
83
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","constructor"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"providerUrl"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
84
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","super"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"()"})]}),`
85
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","this"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"providerUrl"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})})]}),`
86
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
87
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
88
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","private"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","async"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fetchFeeRate"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(confirmationTarget"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" number): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"number"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"fetchFeeRate"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"confirmationTarget"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"confirmationTarget"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","6"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> {"})]}),`
89
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" fetch"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"input"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" URL"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" globalThis"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Request"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"init"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RequestInit"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Response"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> (+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" overload"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Window/fetch",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"fetch"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"this"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["}/","v1","/","fees","/","recommended","`"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
90
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCFeeRecommendation"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"await"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Body."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"json"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Request/json",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"json"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"()) "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"as"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"BTCFeeRecommendation"})]}),`
91
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
92
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","if"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"confirmationTarget"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"confirmationTarget"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<="}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","1"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
93
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCFeeRecommendation"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCFeeRecommendation.fastestFee: number"})})}),s.jsx(l.span,{className:"twoslash-target",children:"fastestFee"})]})})]}),`
94
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" } "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"else"}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","if"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"confirmationTarget"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"confirmationTarget"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<="}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","3"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
95
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCFeeRecommendation"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCFeeRecommendation.halfHourFee: number"})})}),s.jsx(l.span,{className:"twoslash-target",children:"halfHourFee"})]})})]}),`
96
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" } "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"else"}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","if"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"confirmationTarget"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"confirmationTarget"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<="}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","6"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
97
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCFeeRecommendation"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCFeeRecommendation.hourFee: number"})})}),s.jsx(l.span,{className:"twoslash-target",children:"hourFee"})]})})]}),`
98
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" } "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"else"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
99
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCFeeRecommendation"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCFeeRecommendation.economyFee: number"})})}),s.jsx(l.span,{className:"twoslash-target",children:"economyFee"})]})})]}),`
100
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
101
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
102
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
103
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","private"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","async"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fetchUTXOs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(address: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"fetchUTXOs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"address"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]> {"})]}),`
104
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","try"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
105
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" fetch"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"input"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" URL"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" globalThis"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Request"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"init"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RequestInit"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Response"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> (+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" overload"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Window/fetch",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"fetch"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("})]}),`
106
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"this"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["}/","address","/${"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"address"})]})}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["}/","utxo","`"]})]}),`
107
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" )"})}),`
108
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"await"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Body."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"json"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Request/json",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"json"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"()) "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"as"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]"})]}),`
109
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" } "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"catch"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"local"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"error"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"unknown"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"error"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
110
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" console"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Console"})]}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["The ",s.jsx(l.code,{children:"console"})," module provides a simple debugging console that is similar to the JavaScript console mechanism provided by web browsers."]}),`
111
+ `,s.jsx(l.p,{children:"The module exports two specific components:"}),`
112
+ `,s.jsxs(l.ul,{children:[`
113
+ `,s.jsxs(l.li,{children:["A ",s.jsx(l.code,{children:"Console"})," class with methods such as ",s.jsx(l.code,{children:"console.log()"}),", ",s.jsx(l.code,{children:"console.error()"})," and ",s.jsx(l.code,{children:"console.warn()"})," that can be used to write to any Node.js stream. * A global ",s.jsx(l.code,{children:"console"})," instance configured to write to ",s.jsx(l.a,{href:"https://nodejs.org/docs/latest-v22.x/api/process.html#processstdout",children:s.jsx(l.code,{children:"process.stdout"})})," and ",s.jsx(l.a,{href:"https://nodejs.org/docs/latest-v22.x/api/process.html#processstderr",children:s.jsx(l.code,{children:"process.stderr"})}),". The global ",s.jsx(l.code,{children:"console"})," can be used without importing the ",s.jsx(l.code,{children:"node:console"})," module."]}),`
114
+ `]}),`
115
+ `,s.jsxs(l.p,{children:[s.jsx(l.em,{children:s.jsx(l.strong,{children:"Warning"})}),": The global console object's methods are neither consistently synchronous like the browser APIs they resemble, nor are they consistently asynchronous like all other Node.js streams. See the ",s.jsx(l.a,{href:"https://nodejs.org/docs/latest-v22.x/api/process.html#a-note-on-process-io",children:s.jsx(l.code,{children:"note on process I/O"})})," for more information."]}),`
116
+ `,s.jsxs(l.p,{children:["Example using the global ",s.jsx(l.code,{children:"console"}),":"]}),`
117
+ `,s.jsx(l.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0",children:s.jsxs(l.code,{children:[s.jsx(l.span,{className:"line"}),`
118
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" name"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" 'Will Robinson'"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"; console."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"warn"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`Danger $name! Danger!`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"); "}),s.jsx(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// Prints: Danger Will Robinson! Danger!, to stderr ```"})]}),`
119
+ `,s.jsx(l.span,{className:"line"}),`
120
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Example "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"using"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" the"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `Console`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" class"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"})]}),`
121
+ `,s.jsx(l.span,{className:"line"}),`
122
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"```js const out = getStreamSomehow(); const err = getStreamSomehow(); const myConsole = new console.Console(out, err);"})}),`
123
+ `,s.jsx(l.span,{className:"line"}),`
124
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"myConsole.log('hello world'); // Prints: hello world, to out myConsole.log('hello %s', 'world'); // Prints: hello world, to out myConsole.error(new Error('Whoops, something bad happened')); // Prints: [Error: Whoops, something bad happened], to err"})}),`
125
+ `,s.jsx(l.span,{className:"line"}),`
126
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"const name = 'Will Robinson'; myConsole.warn(`"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Danger"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" $name"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"! "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Danger"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"!"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`); // Prints: Danger Will Robinson! Danger!, to err ```"})]})]})})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"console"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Console."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"error"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(message"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" any, "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"optionalParams: any[]): "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"void"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" overload)"})]}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["Prints to ",s.jsx(l.code,{children:"stderr"})," with newline. Multiple arguments can be passed, with the first used as the primary message and all additional used as substitution values similar to ",s.jsx(l.a,{href:"http://man7.org/linux/man-pages/man3/printf.3.html",children:s.jsx(l.code,{children:"printf(3)"})})," (the arguments are all passed to ",s.jsx(l.a,{href:"https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args",children:s.jsx(l.code,{children:"util.format()"})}),")."]}),`
127
+ `,s.jsx(l.p,{children:s.jsx(l.code,{children:"js const code = 5; console.error('error #%d', code); // Prints: error #5, to stderr console.error('error', code); // Prints: error 5, to stderr "})}),`
128
+ `,s.jsxs(l.p,{children:["If formatting elements (e.g. ",s.jsx(l.code,{children:"%d"}),") are not found in the first string then ",s.jsx(l.a,{href:"https://nodejs.org/docs/latest-v22.x/api/util.html#utilinspectobject-options",children:s.jsx(l.code,{children:"util.inspect()"})})," is called on each argument and the resulting string values are concatenated. See ",s.jsx(l.a,{href:"https://nodejs.org/docs/latest-v22.x/api/util.html#utilformatformat-args",children:s.jsx(l.code,{children:"util.format()"})})," for more information."]})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"error"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["'","Failed"," ","to"," ","fetch"," ","UTXOs",":'"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"local"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"error"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"unknown"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"error"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
129
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" []"})]}),`
130
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
131
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
132
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
133
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","async"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"selectUTXOs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(from: string, targets: BTCOutput[], confirmationTarget"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" number): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{"})]}),`
134
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" inputs"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCInput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[];"})]}),`
135
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" outputs"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[];"})]}),`
136
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}>"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"selectUTXOs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("})]}),`
137
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"from"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"from"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
138
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"targets"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCOutput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"targets"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
139
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
140
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
141
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
142
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
143
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
144
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" script"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Buffer"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
145
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
146
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"BTCOutput"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[],"})]}),`
147
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"confirmationTarget"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"confirmationTarget"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","6"]})]}),`
148
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" )"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{ "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"inputs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCInput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"inputs"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"BTCInput"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]; "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"outputs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCOutput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"outputs"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" BTCOutput"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
149
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
150
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
151
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
152
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
153
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"} "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
154
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" script"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Buffer"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
155
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
156
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"BTCOutput"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[] }> {"})]}),`
157
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" utxos"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"utxos"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","this"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fetchUTXOs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(address: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"fetchUTXOs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"from"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"from"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
158
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" feeRate"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"feeRate"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","this"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fetchFeeRate"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(confirmationTarget"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" number): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"number"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"fetchFeeRate"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"confirmationTarget"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"confirmationTarget"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
159
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
160
+ `,s.jsx(l.span,{className:"line",children:s.jsxs(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:[" // ","Add"," ","a"," ","small"," ","amount"," ","to"," ","the"," ","fee"," ","rate"," ","to"," ","ensure"," ","the"," ","transaction"," ","is"," ","confirmed"]})}),`
161
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" ret"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" any"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"ret"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" coinselect"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"coinselect"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" utxos"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" UTXO"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"utxos"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"targets"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCOutput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"targets"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Math"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Math"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"An intrinsic object that provides basic mathematics functionality and constants."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Math"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Math."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"ceil"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(x: number): number"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Returns the smallest integer greater than or equal to its numeric argument."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"ceil"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" feeRate"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"feeRate"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"+"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","1"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"))"})]}),`
162
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
163
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","if"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"!"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" ret"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" any"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"ret"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"})})}),s.jsx(l.span,{className:"twoslash-target",children:"inputs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"||"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" !"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" ret"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" any"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"ret"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"})})}),s.jsx(l.span,{className:"twoslash-target",children:"outputs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
164
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","throw"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","new"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Error"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ErrorConstructor"})]}),`
165
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"new"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"message"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"options"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ErrorOptions"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" Error"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" overload)"})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"Error"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("})]}),`
166
+ `,s.jsx(l.span,{className:"line",children:s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '","Invalid"," ","transaction",": ","coinselect"," ","failed"," ","to"," ","find"," ","a"," ","suitable"," ","set"," ","of"," ","inputs"," ","and"," ","outputs",". ","This"," ","could"," ","be"," ","due"," ","to"," ","insufficient"," ","funds",", ","or"," ","no"," ","inputs"," ","being"," ","available"," ","that"," ","meet"," ","the"," ","criteria",".'"]})}),`
167
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" )"})}),`
168
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
169
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
170
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
171
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"inputs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCInput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"inputs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" ret"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" any"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"ret"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"})})}),s.jsx(l.span,{className:"twoslash-target",children:"inputs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
172
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"outputs"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BTCOutput[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"outputs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" ret"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" any"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"ret"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"})})}),s.jsx(l.span,{className:"twoslash-target",children:"outputs"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
173
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
174
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
175
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
176
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","async"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"broadcastTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(transactionHex: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"broadcastTransaction"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transactionHex"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"transactionHex"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> {"})]}),`
177
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" fetch"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"input"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" URL"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" globalThis"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Request"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"init"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RequestInit"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Response"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> (+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" overload"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Window/fetch",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"fetch"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"this"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["}/","tx","`"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", {"})]}),`
178
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"RequestInit.method"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" string "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"A string to set request's method."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"method"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["'","POST","'"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
179
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"RequestInit.body"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" BodyInit "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" null"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"A BodyInit object or null to set request's body."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"body"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transactionHex"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"transactionHex"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
180
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" })"})}),`
181
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
182
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","if"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Response.ok: boolean"})}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Response/ok",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"ok"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") {"})]}),`
183
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Body."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"text"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Request/text",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"text"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"()"})]}),`
184
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
185
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
186
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","throw"]}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","new"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Error"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ErrorConstructor"})]}),`
187
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"new"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"message"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"options"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ErrorOptions"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:") "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"=>"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" Error"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" overload)"})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"Error"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["`","Failed"," ","to"," ","broadcast"," ","transaction",": ${"]}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"await"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Body."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"text"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Request/text",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"text"})]})}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"()"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
188
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
189
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
190
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","async"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"getBalance"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(address: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"number"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"getBalance"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"address"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> {"})]}),`
191
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" fetch"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"input"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" URL"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" globalThis"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Request"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"init"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RequestInit"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Response"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> (+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" overload"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Window/fetch",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"fetch"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"this"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["}/","address","/${"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"address"})]})}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
192
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
193
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" chain_stats"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
194
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" funded_txo_sum"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
195
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" spent_txo_sum"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
196
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
197
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"await"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Body."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"json"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Request/json",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"json"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"()) "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"as"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
198
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain_stats"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
199
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" funded_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),`
200
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" spent_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),`
201
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"chain_stats"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" { "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"funded_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"funded_txo_sum"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","number"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"; "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"spent_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"spent_txo_sum"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","number"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})]}),`
202
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
203
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
204
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" chain_stats"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
205
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" funded_txo_sum"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
206
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" spent_txo_sum"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
207
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
208
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain_stats"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
209
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" funded_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),`
210
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" spent_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),`
211
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"chain_stats"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"funded_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"funded_txo_sum"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"-"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
212
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" chain_stats"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
213
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" funded_txo_sum"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
214
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" spent_txo_sum"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" number"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
215
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
216
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"data"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain_stats"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
217
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" funded_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),`
218
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" spent_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),`
219
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"chain_stats"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"spent_txo_sum"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"spent_txo_sum"})]})})]}),`
220
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
221
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
222
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","async"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"getTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(txid: string): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"BTCTransaction"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"getTransaction"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"txid"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"txid"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsxs(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:[" ","string"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"interface"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"T"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Represents the completion of an asynchronous operation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"Promise"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"BTCTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> {"})]}),`
223
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","const"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","await"]}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" fetch"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"input"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" string"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" URL"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" globalThis"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Request"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"init"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RequestInit"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Response"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"> (+"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" overload"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Window/fetch",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"fetch"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"this"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Mempool.providerUrl: string"})})}),s.jsx(l.span,{className:"twoslash-target",children:"providerUrl"})]})}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["}/","tx","/${"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"txid"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"txid"})]})}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
224
+ `,s.jsxs(l.span,{className:"line",children:[s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","return"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ("}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"await"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsx(l.div,{className:"twoslash-popup-info-hover",children:s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" response"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Response"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"response"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:s.jsxs(l.span,{className:"twoslash-hover",children:[s.jsxs(l.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Body."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"json"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"any"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:s.jsx(l.a,{href:"https://developer.mozilla.org/docs/Web/API/Request/json",children:"MDN Reference"})})})]}),s.jsx(l.span,{className:"twoslash-target",children:"json"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"()) "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"as"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"BTCTransaction"})]}),`
225
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" }"})}),`
226
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]})})})]})}function c(e={}){const{wrapper:l}={...i(),...e.components};return l?s.jsx(l,{...e,children:s.jsx(r,{...e})}):r(e)}export{c as default,n as frontmatter};