signet.js 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +8 -1
  2. package/browser/index.browser.cjs +3 -0
  3. package/browser/index.browser.cjs.map +1 -0
  4. package/browser/index.browser.js +3 -0
  5. package/browser/index.browser.js.map +1 -0
  6. package/node/index.node.cjs +3 -0
  7. package/node/index.node.cjs.map +1 -0
  8. package/node/index.node.js +3 -0
  9. package/node/index.node.js.map +1 -0
  10. package/package.json +19 -18
  11. package/types/index.d.cts +1048 -0
  12. package/types/index.d.ts +1048 -0
  13. package/.eslintrc.json +0 -67
  14. package/.prettierrc +0 -1
  15. package/babel.config.js +0 -6
  16. package/docs/dist/.vocs/icons/arrow-diagonal.svg +0 -3
  17. package/docs/dist/.vocs/icons/chevron-down.svg +0 -13
  18. package/docs/dist/.vocs/icons/chevron-up.svg +0 -13
  19. package/docs/dist/.vocs/icons/link.svg +0 -3
  20. package/docs/dist/.vocs/search-index-7b499e25.json +0 -1
  21. package/docs/dist/assets/arbitrary-hash-Cd6eo8ZD.js +0 -309
  22. package/docs/dist/assets/broadcast-tx-CeTEE9yX.js +0 -8
  23. package/docs/dist/assets/btc-rpc-adapter-C-qSHpFV.js +0 -226
  24. package/docs/dist/assets/chain-adapter-interface-B9TpOgQv.js +0 -1280
  25. package/docs/dist/assets/chain-contract-interface-DEku3k45.js +0 -392
  26. package/docs/dist/assets/constructor-73n7bp3b.js +0 -161
  27. package/docs/dist/assets/constructor-Bg7nvLe0.js +0 -14
  28. package/docs/dist/assets/contract-addresses-BYlrAOs3.js +0 -200
  29. package/docs/dist/assets/derive-address-and-public-key-DExrKiGV.js +0 -14
  30. package/docs/dist/assets/finalize-message-signing-W435d71R.js +0 -20
  31. package/docs/dist/assets/finalize-transaction-signing-BIgJ2dnc.js +0 -36
  32. package/docs/dist/assets/finalize-transaction-signing-C--HJs8D.js +0 -24
  33. package/docs/dist/assets/finalize-transaction-signing-CjGmN7d9.js +0 -24
  34. package/docs/dist/assets/finalize-typed-data-signing-CEOp_GWt.js +0 -21
  35. package/docs/dist/assets/get-balance-DBC-i6KG.js +0 -13
  36. package/docs/dist/assets/get-current-signature-deposit-BXm9AzYy.js +0 -6
  37. package/docs/dist/assets/get-current-signature-deposit-nOw4j1MN.js +0 -6
  38. package/docs/dist/assets/get-derived-public-key-BXvfo2m2.js +0 -14
  39. package/docs/dist/assets/get-derived-public-key-DQ1pyiFS.js +0 -14
  40. package/docs/dist/assets/get-latest-key-version-DWlkMCre.js +0 -6
  41. package/docs/dist/assets/get-public-key-B4PFoVqu.js +0 -6
  42. package/docs/dist/assets/get-public-key-B9xkYkD_.js +0 -6
  43. package/docs/dist/assets/index-BFuwoY4w.js +0 -601
  44. package/docs/dist/assets/index-C62Mf-vy.js +0 -426
  45. package/docs/dist/assets/index-D8xhaiVb.js +0 -121
  46. package/docs/dist/assets/index-DTr0DlO0.js +0 -36
  47. package/docs/dist/assets/index-V9dXf-ik.js +0 -457
  48. package/docs/dist/assets/prepare-message-for-signing-DESTq-Hg.js +0 -16
  49. package/docs/dist/assets/prepare-transaction-for-signing-DIKTU0zj.js +0 -33
  50. package/docs/dist/assets/prepare-transaction-for-signing-DV_wkZ5g.js +0 -21
  51. package/docs/dist/assets/prepare-transaction-for-signing-LVDP0COu.js +0 -33
  52. package/docs/dist/assets/prepare-typed-data-for-signing-CWcmJvw0.js +0 -192
  53. package/docs/dist/assets/sign-CwtS5LnB.js +0 -13
  54. package/docs/dist/assets/sign-OQxf9yn7.js +0 -15
  55. package/docs/dist/assets/signet-quick-start-CQK52nVG.js +0 -350
  56. package/docs/dist/assets/sponsor-foreign-chain-gas-C9iWXM8Q.js +0 -1
  57. package/docs/dist/assets/style-CKGXuRqx.css +0 -1
  58. package/docs/dist/examples/arbitrary-hash/index.html +0 -88
  59. package/docs/dist/examples/sponsor-foreign-chain-gas/index.html +0 -21
  60. package/docs/dist/index.html +0 -56
  61. package/docs/dist/initializeTheme.iife.js +0 -1
  62. package/docs/dist/introduction/signet-quick-start/index.html +0 -109
  63. package/docs/dist/primitives/chain-adapter-interface/index.html +0 -515
  64. package/docs/dist/primitives/chain-contract-interface/index.html +0 -306
  65. package/docs/dist/primitives/contract-addresses/index.html +0 -97
  66. package/docs/dist/signet-logo.png +0 -0
  67. package/docs/dist/signetjs/chain-adapters/bitcoin/btc-rpc-adapter/index.html +0 -148
  68. package/docs/dist/signetjs/chain-adapters/bitcoin/finalize-transaction-signing/index.html +0 -41
  69. package/docs/dist/signetjs/chain-adapters/bitcoin/index.html +0 -187
  70. package/docs/dist/signetjs/chain-adapters/bitcoin/prepare-transaction-for-signing/index.html +0 -34
  71. package/docs/dist/signetjs/chain-adapters/broadcast-tx/index.html +0 -28
  72. package/docs/dist/signetjs/chain-adapters/cosmos/finalize-transaction-signing/index.html +0 -41
  73. package/docs/dist/signetjs/chain-adapters/cosmos/index.html +0 -166
  74. package/docs/dist/signetjs/chain-adapters/cosmos/prepare-transaction-for-signing/index.html +0 -43
  75. package/docs/dist/signetjs/chain-adapters/derive-address-and-public-key/index.html +0 -31
  76. package/docs/dist/signetjs/chain-adapters/evm/finalize-message-signing/index.html +0 -38
  77. package/docs/dist/signetjs/chain-adapters/evm/finalize-transaction-signing/index.html +0 -41
  78. package/docs/dist/signetjs/chain-adapters/evm/finalize-typed-data-signing/index.html +0 -39
  79. package/docs/dist/signetjs/chain-adapters/evm/index.html +0 -129
  80. package/docs/dist/signetjs/chain-adapters/evm/prepare-message-for-signing/index.html +0 -31
  81. package/docs/dist/signetjs/chain-adapters/evm/prepare-transaction-for-signing/index.html +0 -34
  82. package/docs/dist/signetjs/chain-adapters/evm/prepare-typed-data-for-signing/index.html +0 -49
  83. package/docs/dist/signetjs/chain-adapters/get-balance/index.html +0 -30
  84. package/docs/dist/signetjs/contracts/evm/constructor/index.html +0 -45
  85. package/docs/dist/signetjs/contracts/evm/get-current-signature-deposit/index.html +0 -26
  86. package/docs/dist/signetjs/contracts/evm/get-derived-public-key/index.html +0 -31
  87. package/docs/dist/signetjs/contracts/evm/get-latest-key-version/index.html +0 -26
  88. package/docs/dist/signetjs/contracts/evm/get-public-key/index.html +0 -26
  89. package/docs/dist/signetjs/contracts/evm/sign/index.html +0 -32
  90. package/docs/dist/signetjs/contracts/near/constructor/index.html +0 -34
  91. package/docs/dist/signetjs/contracts/near/get-current-signature-deposit/index.html +0 -26
  92. package/docs/dist/signetjs/contracts/near/get-derived-public-key/index.html +0 -31
  93. package/docs/dist/signetjs/contracts/near/get-public-key/index.html +0 -26
  94. package/docs/dist/signetjs/contracts/near/sign/index.html +0 -32
  95. package/docs/pages/examples/arbitrary-hash.mdx +0 -73
  96. package/docs/pages/examples/sponsor-foreign-chain-gas.mdx +0 -1
  97. package/docs/pages/index.mdx +0 -36
  98. package/docs/pages/introduction/signet-quick-start.mdx +0 -88
  99. package/docs/pages/primitives/chain-adapter-interface.mdx +0 -45
  100. package/docs/pages/primitives/chain-contract-interface.mdx +0 -52
  101. package/docs/pages/primitives/contract-addresses.mdx +0 -27
  102. package/docs/pages/signetjs/chain-adapters/bitcoin/btc-rpc-adapter.mdx +0 -26
  103. package/docs/pages/signetjs/chain-adapters/bitcoin/finalize-transaction-signing.mdx +0 -47
  104. package/docs/pages/signetjs/chain-adapters/bitcoin/index.mdx +0 -119
  105. package/docs/pages/signetjs/chain-adapters/bitcoin/prepare-transaction-for-signing.mdx +0 -30
  106. package/docs/pages/signetjs/chain-adapters/broadcast-tx.mdx +0 -23
  107. package/docs/pages/signetjs/chain-adapters/cosmos/finalize-transaction-signing.mdx +0 -53
  108. package/docs/pages/signetjs/chain-adapters/cosmos/index.mdx +0 -108
  109. package/docs/pages/signetjs/chain-adapters/cosmos/prepare-transaction-for-signing.mdx +0 -39
  110. package/docs/pages/signetjs/chain-adapters/derive-address-and-public-key.mdx +0 -28
  111. package/docs/pages/signetjs/chain-adapters/evm/finalize-message-signing.mdx +0 -33
  112. package/docs/pages/signetjs/chain-adapters/evm/finalize-transaction-signing.mdx +0 -44
  113. package/docs/pages/signetjs/chain-adapters/evm/finalize-typed-data-signing.mdx +0 -34
  114. package/docs/pages/signetjs/chain-adapters/evm/index.mdx +0 -84
  115. package/docs/pages/signetjs/chain-adapters/evm/prepare-message-for-signing.mdx +0 -26
  116. package/docs/pages/signetjs/chain-adapters/evm/prepare-transaction-for-signing.mdx +0 -30
  117. package/docs/pages/signetjs/chain-adapters/evm/prepare-typed-data-for-signing.mdx +0 -44
  118. package/docs/pages/signetjs/chain-adapters/get-balance.mdx +0 -26
  119. package/docs/pages/signetjs/contracts/evm/constructor.mdx +0 -38
  120. package/docs/pages/signetjs/contracts/evm/get-current-signature-deposit.mdx +0 -17
  121. package/docs/pages/signetjs/contracts/evm/get-derived-public-key.mdx +0 -28
  122. package/docs/pages/signetjs/contracts/evm/get-latest-key-version.mdx +0 -17
  123. package/docs/pages/signetjs/contracts/evm/get-public-key.mdx +0 -17
  124. package/docs/pages/signetjs/contracts/evm/sign.mdx +0 -36
  125. package/docs/pages/signetjs/contracts/near/constructor.mdx +0 -29
  126. package/docs/pages/signetjs/contracts/near/get-current-signature-deposit.mdx +0 -17
  127. package/docs/pages/signetjs/contracts/near/get-derived-public-key.mdx +0 -28
  128. package/docs/pages/signetjs/contracts/near/get-public-key.mdx +0 -17
  129. package/docs/pages/signetjs/contracts/near/sign.mdx +0 -32
  130. package/docs/public/signet-logo.png +0 -0
  131. package/docs/snippets/code/chains.ts +0 -42
  132. package/docs/snippets/code/contract.ts +0 -44
  133. package/docs/snippets/code/evm/contract.ts +0 -24
  134. package/docs/snippets/code/evm/env.ts +0 -16
  135. package/docs/snippets/code/near/env.ts +0 -13
  136. package/hardhat.config.mts +0 -19
  137. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/BTCRpcAdapter.ts +0 -15
  138. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/Mempool.ts +0 -101
  139. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/index.ts +0 -1
  140. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/types.ts +0 -72
  141. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/index.ts +0 -6
  142. package/src/chain-adapters/Bitcoin/Bitcoin.ts +0 -287
  143. package/src/chain-adapters/Bitcoin/index.ts +0 -13
  144. package/src/chain-adapters/Bitcoin/types.ts +0 -48
  145. package/src/chain-adapters/Bitcoin/utils.ts +0 -14
  146. package/src/chain-adapters/ChainAdapter.ts +0 -92
  147. package/src/chain-adapters/Cosmos/Cosmos.ts +0 -258
  148. package/src/chain-adapters/Cosmos/index.ts +0 -8
  149. package/src/chain-adapters/Cosmos/types.ts +0 -35
  150. package/src/chain-adapters/Cosmos/utils.ts +0 -45
  151. package/src/chain-adapters/EVM/EVM.test.ts +0 -238
  152. package/src/chain-adapters/EVM/EVM.ts +0 -337
  153. package/src/chain-adapters/EVM/index.ts +0 -11
  154. package/src/chain-adapters/EVM/types.ts +0 -53
  155. package/src/chain-adapters/EVM/utils.ts +0 -27
  156. package/src/chain-adapters/index.ts +0 -5
  157. package/src/constants.ts +0 -62
  158. package/src/contracts/ChainSignatureContract.ts +0 -65
  159. package/src/contracts/evm/ChainSignaturesContract.ts +0 -323
  160. package/src/contracts/evm/ChainSignaturesContractABI.ts +0 -359
  161. package/src/contracts/evm/errors.ts +0 -52
  162. package/src/contracts/evm/index.ts +0 -10
  163. package/src/contracts/evm/types.ts +0 -39
  164. package/src/contracts/evm/utils.ts +0 -41
  165. package/src/contracts/index.ts +0 -4
  166. package/src/contracts/near/ChainSignatureContract.ts +0 -196
  167. package/src/contracts/near/account.ts +0 -42
  168. package/src/contracts/near/constants.ts +0 -4
  169. package/src/contracts/near/index.ts +0 -10
  170. package/src/contracts/near/signAndSend/index.ts +0 -1
  171. package/src/contracts/near/signAndSend/keypair.ts +0 -178
  172. package/src/contracts/near/transaction.ts +0 -202
  173. package/src/contracts/near/types.ts +0 -71
  174. package/src/index.ts +0 -5
  175. package/src/types.ts +0 -46
  176. package/src/utils/cryptography.ts +0 -141
  177. package/src/utils/index.ts +0 -1
  178. package/src/utils/publicKey.ts +0 -17
  179. package/tsconfig.eslint.json +0 -8
  180. package/tsconfig.json +0 -126
  181. package/tsup.config.ts +0 -58
  182. package/vitest.config.ts +0 -19
  183. package/vocs.config.ts +0 -213
@@ -1,226 +0,0 @@
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};