signet.js 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/.eslintrc.json +67 -0
  2. package/.prettierrc +1 -0
  3. package/babel.config.js +6 -0
  4. package/docs/dist/.vocs/icons/arrow-diagonal.svg +3 -0
  5. package/docs/dist/.vocs/icons/chevron-down.svg +13 -0
  6. package/docs/dist/.vocs/icons/chevron-up.svg +13 -0
  7. package/docs/dist/.vocs/icons/link.svg +3 -0
  8. package/docs/dist/.vocs/search-index-7b499e25.json +1 -0
  9. package/docs/dist/assets/arbitrary-hash-Cd6eo8ZD.js +309 -0
  10. package/docs/dist/assets/broadcast-tx-CeTEE9yX.js +8 -0
  11. package/docs/dist/assets/btc-rpc-adapter-C-qSHpFV.js +226 -0
  12. package/docs/dist/assets/chain-adapter-interface-B9TpOgQv.js +1280 -0
  13. package/docs/dist/assets/chain-contract-interface-DEku3k45.js +392 -0
  14. package/docs/dist/assets/constructor-73n7bp3b.js +161 -0
  15. package/docs/dist/assets/constructor-Bg7nvLe0.js +14 -0
  16. package/docs/dist/assets/contract-addresses-BYlrAOs3.js +200 -0
  17. package/docs/dist/assets/derive-address-and-public-key-DExrKiGV.js +14 -0
  18. package/docs/dist/assets/finalize-message-signing-W435d71R.js +20 -0
  19. package/docs/dist/assets/finalize-transaction-signing-BIgJ2dnc.js +36 -0
  20. package/docs/dist/assets/finalize-transaction-signing-C--HJs8D.js +24 -0
  21. package/docs/dist/assets/finalize-transaction-signing-CjGmN7d9.js +24 -0
  22. package/docs/dist/assets/finalize-typed-data-signing-CEOp_GWt.js +21 -0
  23. package/docs/dist/assets/get-balance-DBC-i6KG.js +13 -0
  24. package/docs/dist/assets/get-current-signature-deposit-BXm9AzYy.js +6 -0
  25. package/docs/dist/assets/get-current-signature-deposit-nOw4j1MN.js +6 -0
  26. package/docs/dist/assets/get-derived-public-key-BXvfo2m2.js +14 -0
  27. package/docs/dist/assets/get-derived-public-key-DQ1pyiFS.js +14 -0
  28. package/docs/dist/assets/get-latest-key-version-DWlkMCre.js +6 -0
  29. package/docs/dist/assets/get-public-key-B4PFoVqu.js +6 -0
  30. package/docs/dist/assets/get-public-key-B9xkYkD_.js +6 -0
  31. package/docs/dist/assets/index-BFuwoY4w.js +601 -0
  32. package/docs/dist/assets/index-C62Mf-vy.js +426 -0
  33. package/docs/dist/assets/index-D8xhaiVb.js +121 -0
  34. package/docs/dist/assets/index-DTr0DlO0.js +36 -0
  35. package/docs/dist/assets/index-V9dXf-ik.js +457 -0
  36. package/docs/dist/assets/prepare-message-for-signing-DESTq-Hg.js +16 -0
  37. package/docs/dist/assets/prepare-transaction-for-signing-DIKTU0zj.js +33 -0
  38. package/docs/dist/assets/prepare-transaction-for-signing-DV_wkZ5g.js +21 -0
  39. package/docs/dist/assets/prepare-transaction-for-signing-LVDP0COu.js +33 -0
  40. package/docs/dist/assets/prepare-typed-data-for-signing-CWcmJvw0.js +192 -0
  41. package/docs/dist/assets/sign-CwtS5LnB.js +13 -0
  42. package/docs/dist/assets/sign-OQxf9yn7.js +15 -0
  43. package/docs/dist/assets/signet-quick-start-CQK52nVG.js +350 -0
  44. package/docs/dist/assets/sponsor-foreign-chain-gas-C9iWXM8Q.js +1 -0
  45. package/docs/dist/assets/style-CKGXuRqx.css +1 -0
  46. package/docs/dist/examples/arbitrary-hash/index.html +88 -0
  47. package/docs/dist/examples/sponsor-foreign-chain-gas/index.html +21 -0
  48. package/docs/dist/index.html +56 -0
  49. package/docs/dist/initializeTheme.iife.js +1 -0
  50. package/docs/dist/introduction/signet-quick-start/index.html +109 -0
  51. package/docs/dist/primitives/chain-adapter-interface/index.html +515 -0
  52. package/docs/dist/primitives/chain-contract-interface/index.html +306 -0
  53. package/docs/dist/primitives/contract-addresses/index.html +97 -0
  54. package/docs/dist/signet-logo.png +0 -0
  55. package/docs/dist/signetjs/chain-adapters/bitcoin/btc-rpc-adapter/index.html +148 -0
  56. package/docs/dist/signetjs/chain-adapters/bitcoin/finalize-transaction-signing/index.html +41 -0
  57. package/docs/dist/signetjs/chain-adapters/bitcoin/index.html +187 -0
  58. package/docs/dist/signetjs/chain-adapters/bitcoin/prepare-transaction-for-signing/index.html +34 -0
  59. package/docs/dist/signetjs/chain-adapters/broadcast-tx/index.html +28 -0
  60. package/docs/dist/signetjs/chain-adapters/cosmos/finalize-transaction-signing/index.html +41 -0
  61. package/docs/dist/signetjs/chain-adapters/cosmos/index.html +166 -0
  62. package/docs/dist/signetjs/chain-adapters/cosmos/prepare-transaction-for-signing/index.html +43 -0
  63. package/docs/dist/signetjs/chain-adapters/derive-address-and-public-key/index.html +31 -0
  64. package/docs/dist/signetjs/chain-adapters/evm/finalize-message-signing/index.html +38 -0
  65. package/docs/dist/signetjs/chain-adapters/evm/finalize-transaction-signing/index.html +41 -0
  66. package/docs/dist/signetjs/chain-adapters/evm/finalize-typed-data-signing/index.html +39 -0
  67. package/docs/dist/signetjs/chain-adapters/evm/index.html +129 -0
  68. package/docs/dist/signetjs/chain-adapters/evm/prepare-message-for-signing/index.html +31 -0
  69. package/docs/dist/signetjs/chain-adapters/evm/prepare-transaction-for-signing/index.html +34 -0
  70. package/docs/dist/signetjs/chain-adapters/evm/prepare-typed-data-for-signing/index.html +49 -0
  71. package/docs/dist/signetjs/chain-adapters/get-balance/index.html +30 -0
  72. package/docs/dist/signetjs/contracts/evm/constructor/index.html +45 -0
  73. package/docs/dist/signetjs/contracts/evm/get-current-signature-deposit/index.html +26 -0
  74. package/docs/dist/signetjs/contracts/evm/get-derived-public-key/index.html +31 -0
  75. package/docs/dist/signetjs/contracts/evm/get-latest-key-version/index.html +26 -0
  76. package/docs/dist/signetjs/contracts/evm/get-public-key/index.html +26 -0
  77. package/docs/dist/signetjs/contracts/evm/sign/index.html +32 -0
  78. package/docs/dist/signetjs/contracts/near/constructor/index.html +34 -0
  79. package/docs/dist/signetjs/contracts/near/get-current-signature-deposit/index.html +26 -0
  80. package/docs/dist/signetjs/contracts/near/get-derived-public-key/index.html +31 -0
  81. package/docs/dist/signetjs/contracts/near/get-public-key/index.html +26 -0
  82. package/docs/dist/signetjs/contracts/near/sign/index.html +32 -0
  83. package/docs/pages/examples/arbitrary-hash.mdx +73 -0
  84. package/docs/pages/examples/sponsor-foreign-chain-gas.mdx +1 -0
  85. package/docs/pages/index.mdx +36 -0
  86. package/docs/pages/introduction/signet-quick-start.mdx +88 -0
  87. package/docs/pages/primitives/chain-adapter-interface.mdx +45 -0
  88. package/docs/pages/primitives/chain-contract-interface.mdx +52 -0
  89. package/docs/pages/primitives/contract-addresses.mdx +27 -0
  90. package/docs/pages/signetjs/chain-adapters/bitcoin/btc-rpc-adapter.mdx +26 -0
  91. package/docs/pages/signetjs/chain-adapters/bitcoin/finalize-transaction-signing.mdx +47 -0
  92. package/docs/pages/signetjs/chain-adapters/bitcoin/index.mdx +119 -0
  93. package/docs/pages/signetjs/chain-adapters/bitcoin/prepare-transaction-for-signing.mdx +30 -0
  94. package/docs/pages/signetjs/chain-adapters/broadcast-tx.mdx +23 -0
  95. package/docs/pages/signetjs/chain-adapters/cosmos/finalize-transaction-signing.mdx +53 -0
  96. package/docs/pages/signetjs/chain-adapters/cosmos/index.mdx +108 -0
  97. package/docs/pages/signetjs/chain-adapters/cosmos/prepare-transaction-for-signing.mdx +39 -0
  98. package/docs/pages/signetjs/chain-adapters/derive-address-and-public-key.mdx +28 -0
  99. package/docs/pages/signetjs/chain-adapters/evm/finalize-message-signing.mdx +33 -0
  100. package/docs/pages/signetjs/chain-adapters/evm/finalize-transaction-signing.mdx +44 -0
  101. package/docs/pages/signetjs/chain-adapters/evm/finalize-typed-data-signing.mdx +34 -0
  102. package/docs/pages/signetjs/chain-adapters/evm/index.mdx +84 -0
  103. package/docs/pages/signetjs/chain-adapters/evm/prepare-message-for-signing.mdx +26 -0
  104. package/docs/pages/signetjs/chain-adapters/evm/prepare-transaction-for-signing.mdx +30 -0
  105. package/docs/pages/signetjs/chain-adapters/evm/prepare-typed-data-for-signing.mdx +44 -0
  106. package/docs/pages/signetjs/chain-adapters/get-balance.mdx +26 -0
  107. package/docs/pages/signetjs/contracts/evm/constructor.mdx +38 -0
  108. package/docs/pages/signetjs/contracts/evm/get-current-signature-deposit.mdx +17 -0
  109. package/docs/pages/signetjs/contracts/evm/get-derived-public-key.mdx +28 -0
  110. package/docs/pages/signetjs/contracts/evm/get-latest-key-version.mdx +17 -0
  111. package/docs/pages/signetjs/contracts/evm/get-public-key.mdx +17 -0
  112. package/docs/pages/signetjs/contracts/evm/sign.mdx +36 -0
  113. package/docs/pages/signetjs/contracts/near/constructor.mdx +29 -0
  114. package/docs/pages/signetjs/contracts/near/get-current-signature-deposit.mdx +17 -0
  115. package/docs/pages/signetjs/contracts/near/get-derived-public-key.mdx +28 -0
  116. package/docs/pages/signetjs/contracts/near/get-public-key.mdx +17 -0
  117. package/docs/pages/signetjs/contracts/near/sign.mdx +32 -0
  118. package/docs/public/signet-logo.png +0 -0
  119. package/docs/snippets/code/chains.ts +42 -0
  120. package/docs/snippets/code/contract.ts +44 -0
  121. package/docs/snippets/code/evm/contract.ts +24 -0
  122. package/docs/snippets/code/evm/env.ts +16 -0
  123. package/docs/snippets/code/near/env.ts +13 -0
  124. package/hardhat.config.mts +19 -0
  125. package/package.json +18 -19
  126. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/BTCRpcAdapter.ts +15 -0
  127. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/Mempool.ts +101 -0
  128. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/index.ts +1 -0
  129. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/Mempool/types.ts +72 -0
  130. package/src/chain-adapters/Bitcoin/BTCRpcAdapter/index.ts +6 -0
  131. package/src/chain-adapters/Bitcoin/Bitcoin.ts +287 -0
  132. package/src/chain-adapters/Bitcoin/index.ts +13 -0
  133. package/src/chain-adapters/Bitcoin/types.ts +48 -0
  134. package/src/chain-adapters/Bitcoin/utils.ts +14 -0
  135. package/src/chain-adapters/ChainAdapter.ts +92 -0
  136. package/src/chain-adapters/Cosmos/Cosmos.ts +258 -0
  137. package/src/chain-adapters/Cosmos/index.ts +8 -0
  138. package/src/chain-adapters/Cosmos/types.ts +35 -0
  139. package/src/chain-adapters/Cosmos/utils.ts +45 -0
  140. package/src/chain-adapters/EVM/EVM.test.ts +238 -0
  141. package/src/chain-adapters/EVM/EVM.ts +337 -0
  142. package/src/chain-adapters/EVM/index.ts +11 -0
  143. package/src/chain-adapters/EVM/types.ts +53 -0
  144. package/src/chain-adapters/EVM/utils.ts +27 -0
  145. package/src/chain-adapters/index.ts +5 -0
  146. package/src/constants.ts +62 -0
  147. package/src/contracts/ChainSignatureContract.ts +65 -0
  148. package/src/contracts/evm/ChainSignaturesContract.ts +323 -0
  149. package/src/contracts/evm/ChainSignaturesContractABI.ts +359 -0
  150. package/src/contracts/evm/errors.ts +52 -0
  151. package/src/contracts/evm/index.ts +10 -0
  152. package/src/contracts/evm/types.ts +39 -0
  153. package/src/contracts/evm/utils.ts +41 -0
  154. package/src/contracts/index.ts +4 -0
  155. package/src/contracts/near/ChainSignatureContract.ts +196 -0
  156. package/src/contracts/near/account.ts +42 -0
  157. package/src/contracts/near/constants.ts +4 -0
  158. package/src/contracts/near/index.ts +10 -0
  159. package/src/contracts/near/signAndSend/index.ts +1 -0
  160. package/src/contracts/near/signAndSend/keypair.ts +178 -0
  161. package/src/contracts/near/transaction.ts +202 -0
  162. package/src/contracts/near/types.ts +71 -0
  163. package/src/index.ts +5 -0
  164. package/src/types.ts +46 -0
  165. package/src/utils/cryptography.ts +141 -0
  166. package/src/utils/index.ts +1 -0
  167. package/src/utils/publicKey.ts +17 -0
  168. package/tsconfig.eslint.json +8 -0
  169. package/tsconfig.json +126 -0
  170. package/tsup.config.ts +58 -0
  171. package/vitest.config.ts +19 -0
  172. package/vocs.config.ts +213 -0
  173. package/browser/index.browser.cjs +0 -3
  174. package/browser/index.browser.cjs.map +0 -1
  175. package/browser/index.browser.js +0 -3
  176. package/browser/index.browser.js.map +0 -1
  177. package/node/index.node.cjs +0 -3
  178. package/node/index.node.cjs.map +0 -1
  179. package/node/index.node.js +0 -3
  180. package/node/index.node.js.map +0 -1
  181. package/types/index.d.cts +0 -1048
  182. package/types/index.d.ts +0 -1048
@@ -0,0 +1,350 @@
1
+ import{u as e,j as s}from"./index-D8xhaiVb.js";const a={title:"Quick Start",description:"undefined"};function r(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...e(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"quick-start",children:["Quick Start",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#quick-start",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),`
2
+ `,s.jsxs(l.h2,{id:"installation",children:["Installation",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#installation",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
3
+ `,s.jsx(s.Fragment,{children: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.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"npm"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" install"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" signet.js"})]}),`
4
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"# or"})}),`
5
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"yarn"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" add"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" signet.js"})]}),`
6
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"# or"})}),`
7
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"pnpm"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" add"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" signet.js"})]})]})})}),`
8
+ `,s.jsxs(l.h2,{id:"signing-a-transaction",children:["Signing a Transaction",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#signing-a-transaction",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
9
+ `,s.jsx(l.p,{children:"Here's a basic example using the EVM implementation:"}),`
10
+ `,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.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:" contracts"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"contracts"})]})}),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:" constants"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"constants"})]})}),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:" chainAdapters"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"chainAdapters"})]})}),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:[" '","signet",".","js","'"]})]}),`
11
+ `,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.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:" createPublicClient"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Chain"}),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.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"accountOrAddress"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Account"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--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:" undefined"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"rpcSchema"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RpcSchema"}),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.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" PublicClientConfig"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"accountOrAddress"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"rpcSchema"}),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:" PublicClient"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"ParseAccount"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"accountOrAddress"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">, "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"rpcSchema"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["Creates a Public Client with a given ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/intro",children:"Transport"})," configured for a ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/chains",children:"Chain"}),"."]}),`
12
+ `,s.jsxs(l.p,{children:["Docs: ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/public",children:"https://viem.sh/docs/clients/public"})]}),`
13
+ `,s.jsxs(l.p,{children:['A Public Client is an interface to "public" ',s.jsx(l.a,{href:"https://ethereum.org/en/developers/docs/apis/json-rpc/",children:"JSON-RPC API"})," methods such as retrieving block numbers, transactions, reading from smart contracts, etc through ",s.jsx(l.a,{href:"/docs/actions/public/introduction",children:"Public Actions"}),"."]})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"createPublicClient"})]})}),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:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" createWalletClient"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Chain"}),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.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"accountOrAddress"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Account"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--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:" undefined"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"rpcSchema"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RpcSchema"}),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.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" WalletClientConfig"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"accountOrAddress"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"rpcSchema"}),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:" WalletClient"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"chain"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"ParseAccount"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"accountOrAddress"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">, "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"rpcSchema"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">"})]}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["Creates a Wallet Client with a given ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/intro",children:"Transport"})," configured for a ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/chains",children:"Chain"}),"."]}),`
14
+ `,s.jsxs(l.p,{children:["Docs: ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/wallet",children:"https://viem.sh/docs/clients/wallet"})]}),`
15
+ `,s.jsxs(l.p,{children:["A Wallet Client is an interface to interact with ",s.jsx(l.a,{href:"https://ethereum.org/en/glossary/#account",children:"Ethereum Account(s)"})," and provides the ability to retrieve accounts, execute transactions, sign messages, etc. through ",s.jsx(l.a,{href:"https://viem.sh/docs/actions/wallet/introduction",children:"Wallet Actions"}),"."]}),`
16
+ `,s.jsxs(l.p,{children:[`The Wallet Client supports signing over:
17
+ `,s.jsx(l.a,{href:"https://viem.sh/docs/clients/wallet#json-rpc-accounts",children:"JSON-RPC Accounts"}),` (e.g. Browser Extension Wallets, WalletConnect, etc).
18
+ `,s.jsx(l.a,{href:"https://viem.sh/docs/clients/wallet#local-accounts-private-key-mnemonic-etc",children:"Local Accounts"})," (e.g. private key/mnemonic wallets)."]})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"createWalletClient"})]})}),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:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" http"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"url"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"config"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" HttpTransportConfig"}),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:" HttpTransport"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"http"})]})}),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:[" '","viem","'"]})]}),`
19
+ `,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:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" privateKeyToAccount"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"privateKey"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hex"}),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:" PrivateKeyToAccountOptions"}),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:" PrivateKeyAccount"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"privateKeyToAccount"})]})}),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:[" '","viem","/","accounts","'"]})]}),`
20
+ `,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.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:" sepolia"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),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:" blockExplorers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
22
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" default"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" name"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "Etherscan"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
24
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" url"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "https://sepolia.etherscan.io"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
25
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" apiUrl"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "https://api-sepolia.etherscan.io/api"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
26
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
27
+ `,s.jsx(l.span,{className:"line",children: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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
29
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ChainSerializers"}),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:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
30
+ `,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:"sepolia"})]})}),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:[" '","viem","/","chains","'"]})]}),`
31
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
32
+ `,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:" "}),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:" account"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),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:"#E36209","--shiki-dark":"#F69D50"},children:" address"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Address"}),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:" nonceManager"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" NonceManager"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
35
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" sign"}),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:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),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:"#E36209","--shiki-dark":"#F69D50"},children:" hash"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hash"}),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:"#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:"Hex"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 6"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
39
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" type"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "local"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
40
+ `,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:"account"})]})}),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:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" privateKeyToAccount"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"privateKey"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hex"}),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:" PrivateKeyToAccountOptions"}),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:" PrivateKeyAccount"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"privateKeyToAccount"})]})}),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:"var"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" process"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" NodeJS"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Process"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"process"})]})}),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:"NodeJS.Process.env: NodeJS.ProcessEnv"})}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["The ",s.jsx(l.code,{children:"process.env"})," property returns an object containing the user environment. See ",s.jsx(l.a,{href:"http://man7.org/linux/man-pages/man7/environ.7.html",children:s.jsx(l.code,{children:"environ(7)"})}),"."]}),`
41
+ `,s.jsx(l.p,{children:"An example of this object looks like:"}),`
42
+ `,s.jsx(l.p,{children:s.jsx(l.code,{children:"jsTERM: 'xterm-256color', SHELL: '/usr/local/bin/bash', USER: 'maciej', PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', PWD: '/Users/maciej', EDITOR: 'vim', SHLVL: '1', HOME: '/Users/maciej', LOGNAME: 'maciej', _: '/usr/local/bin/node'"})}),`
43
+ `,s.jsxs(l.p,{children:["It is possible to modify this object, but such modifications will not be reflected outside the Node.js process, or (unless explicitly requested) to other ",s.jsx(l.code,{children:"Worker"})," threads. In other words, the following example would not work:"]}),`
44
+ `,s.jsx(l.p,{children:s.jsx(l.code,{children:`bash node -e 'process.env.foo = "bar"' &#x26;&#x26; echo $foo `})}),`
45
+ `,s.jsx(l.p,{children:"While the following will:"}),`
46
+ `,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"}),`
47
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"env.foo "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"="}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" 'bar'"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"; console."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"log"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(env.foo); "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"```"})]}),`
48
+ `,s.jsx(l.span,{className:"line"}),`
49
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"Assigning a property on `"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"process."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"env"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"` will implicitly convert the value to a string. **This behavior is deprecated.** Future versions of Node.js may throw an error when the value is not a string, number, or boolean."})]}),`
50
+ `,s.jsx(l.span,{className:"line"}),`
51
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"```"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"js "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"import"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" env "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"from"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" 'node:process'"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
52
+ `,s.jsx(l.span,{className:"line"}),`
53
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"env.test "}),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:"#24292E","--shiki-dark":"#ADBAC7"},children:"; console."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"log"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(env.test); "}),s.jsx(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:"// => 'null' env.test = undefined; console.log(env.test); // => 'undefined' ```"})]}),`
54
+ `,s.jsx(l.span,{className:"line"}),`
55
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Use "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`delete`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" to "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"delete"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" a property from "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`process.env`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."})]}),`
56
+ `,s.jsx(l.span,{className:"line"}),`
57
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"```js import env from 'node:process';"})}),`
58
+ `,s.jsx(l.span,{className:"line"}),`
59
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"env.TEST = 1; delete env.TEST; console.log(env.TEST); // => undefined ```"})}),`
60
+ `,s.jsx(l.span,{className:"line"}),`
61
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"On Windows operating systems, environment variables are "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"case-"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"insensitive."})]}),`
62
+ `,s.jsx(l.span,{className:"line"}),`
63
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"```js import env from 'node:process';"})}),`
64
+ `,s.jsx(l.span,{className:"line"}),`
65
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"env.TEST = 1; console.log(env.test); // => 1 ```"})}),`
66
+ `,s.jsx(l.span,{className:"line"}),`
67
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"Unless explicitly specified when creating a "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`Worker`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" instance, each "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`Worker`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" thread has its own copy "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"of"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `process.env`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", based on its parent thread"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"'s `process.env`, or whatever was specified as the `env` option to the `Worker` constructor. Changes to `process.env` will not be visible across `Worker` threads, and only the main thread can make changes that are visible to the operating system or to native add-ons. On Windows, a copy of `process.env` on a `Worker` instance operates in a case-sensitive manner unlike the main thread"}),s.jsx(l.span,{style:{color:"#B31D28",fontStyle:"italic","--shiki-dark":"#FF938A","--shiki-dark-font-style":"italic"},children:"."})]})]})})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"env"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:"#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.span,{className:"twoslash-target",children:"PRIVATE_KEY"})]})}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","as"]}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" `","0x","${"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
68
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
69
+ `,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:" "}),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:" publicClient"}),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:" account"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
71
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" batch"}),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:" multicall"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" boolean"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Prettify"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"MulticallBatchOptions"}),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:" undefined"}),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:"#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:" undefined"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 62"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),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:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" extend"}),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:"const"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
77
+ `,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:" ExactPartial"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>>("}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fn"}),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:"client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Client"}),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:" client"}),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:" Client"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>;"})]}),`
78
+ `,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:"publicClient"})]})}),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.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:"createPublicClient"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"HttpTransport, {"})]}),`
79
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" blockExplorers: {"})}),`
80
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly default: {"})}),`
81
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly name: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"Etherscan"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
82
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly url: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://sepolia.etherscan.io"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
83
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly apiUrl: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://api-sepolia.etherscan.io/api"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
84
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
85
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
86
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
87
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ChainSerializers"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
88
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}, "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"undefined"}),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:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
89
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
90
+ `,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:" {"})]}),`
91
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
92
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["Creates a Public Client with a given ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/intro",children:"Transport"})," configured for a ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/chains",children:"Chain"}),"."]}),`
93
+ `,s.jsxs(l.p,{children:["Docs: ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/public",children:"https://viem.sh/docs/clients/public"})]}),`
94
+ `,s.jsxs(l.p,{children:['A Public Client is an interface to "public" ',s.jsx(l.a,{href:"https://ethereum.org/en/developers/docs/apis/json-rpc/",children:"JSON-RPC API"})," methods such as retrieving block numbers, transactions, reading from smart contracts, etc through ",s.jsx(l.a,{href:"/docs/actions/public/introduction",children:"Public Actions"}),"."]})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"createPublicClient"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({"})]}),`
95
+ `,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:"chain"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Chain "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
96
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" blockExplorers"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
97
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"default"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
98
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly name: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"Etherscan"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
99
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly url: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://sepolia.etherscan.io"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
100
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly apiUrl: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://api-sepolia.etherscan.io/api"'}),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",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
103
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
104
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ChainSerializers"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
105
+ `,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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Chain for the client."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"chain"})]})}),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:" sepolia"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),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:"#E36209","--shiki-dark":"#F69D50"},children:" blockExplorers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
107
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" default"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
108
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" name"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "Etherscan"'}),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:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" url"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "https://sepolia.etherscan.io"'}),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:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" apiUrl"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "https://api-sepolia.etherscan.io/api"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
111
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
112
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
113
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
114
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ChainSerializers"}),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:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
115
+ `,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:"sepolia"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
116
+ `,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:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": HttpTransport"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"The RPC transport"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"transport"})]})}),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:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" http"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"url"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"config"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" HttpTransportConfig"}),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:" HttpTransport"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"http"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(),"})]}),`
117
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
118
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
119
+ `,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:" "}),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:" walletClient"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
120
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" account"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
121
+ `,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:"#6F42C1","--shiki-dark":"#F69D50"},children:" Address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
122
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" nonceManager"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" NonceManager"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
123
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" sign"}),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:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
124
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" hash"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hash"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
125
+ `,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:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Hex"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">;"})]}),`
126
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 6"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
127
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" type"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "local"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
128
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
129
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 27"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
130
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" extend"}),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:"const"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
131
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
132
+ `,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:" ExactPartial"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>>("}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fn"}),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:"client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Client"}),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:" client"}),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:" Client"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>;"})]}),`
133
+ `,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:"walletClient"})]})}),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.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:"createWalletClient"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"HttpTransport, {"})]}),`
134
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" blockExplorers: {"})}),`
135
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly default: {"})}),`
136
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly name: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"Etherscan"'}),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:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly url: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://sepolia.etherscan.io"'}),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:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly apiUrl: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://api-sepolia.etherscan.io/api"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
139
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
140
+ `,s.jsx(l.span,{className:"line",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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),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:"#24292E","--shiki-dark":"#ADBAC7"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ChainSerializers"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
143
+ `,s.jsx(l.span,{className:"line",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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),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:"#24292E","--shiki-dark":"#ADBAC7"},children:"}, "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"undefined"}),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:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
146
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),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:"#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:" {"})]}),`
148
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
149
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsxs(l.p,{children:["Creates a Wallet Client with a given ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/intro",children:"Transport"})," configured for a ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/chains",children:"Chain"}),"."]}),`
150
+ `,s.jsxs(l.p,{children:["Docs: ",s.jsx(l.a,{href:"https://viem.sh/docs/clients/wallet",children:"https://viem.sh/docs/clients/wallet"})]}),`
151
+ `,s.jsxs(l.p,{children:["A Wallet Client is an interface to interact with ",s.jsx(l.a,{href:"https://ethereum.org/en/glossary/#account",children:"Ethereum Account(s)"})," and provides the ability to retrieve accounts, execute transactions, sign messages, etc. through ",s.jsx(l.a,{href:"https://viem.sh/docs/actions/wallet/introduction",children:"Wallet Actions"}),"."]}),`
152
+ `,s.jsxs(l.p,{children:[`The Wallet Client supports signing over:
153
+ `,s.jsx(l.a,{href:"https://viem.sh/docs/clients/wallet#json-rpc-accounts",children:"JSON-RPC Accounts"}),` (e.g. Browser Extension Wallets, WalletConnect, etc).
154
+ `,s.jsx(l.a,{href:"https://viem.sh/docs/clients/wallet#local-accounts-private-key-mnemonic-etc",children:"Local Accounts"})," (e.g. private key/mnemonic wallets)."]})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"createWalletClient"})]})}),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:"#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:"account"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Account "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
156
+ `,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:": Address;"})]}),`
157
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" nonceManager"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" NonceManager "}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
158
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" sign"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": ("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
159
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" hash"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hash"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
160
+ `,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:"#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:"Hex"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
161
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 6"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
162
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" type"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"local"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
163
+ `,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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"The Account to use for the Client. This will be used for Actions that require an account as an argument."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"account"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
164
+ `,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:"chain"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Chain "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
165
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" blockExplorers"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
166
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"default"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
167
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly name: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"Etherscan"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
168
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly url: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://sepolia.etherscan.io"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
169
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" readonly apiUrl: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"https://api-sepolia.etherscan.io/api"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
170
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
171
+ `,s.jsx(l.span,{className:"line",children: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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
173
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ChainSerializers"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
174
+ `,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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Chain for the client."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"chain"})]})}),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:" sepolia"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
175
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" blockExplorers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
176
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" default"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
177
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" name"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "Etherscan"'}),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:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" url"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "https://sepolia.etherscan.io"'}),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:"#D73A49","--shiki-dark":"#F47067"},children:" readonly"}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" apiUrl"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "https://api-sepolia.etherscan.io/api"'}),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",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
182
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 10"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
183
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" serializers"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ChainSerializers"}),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:" undefined"}),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:"}"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"sepolia"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
185
+ `,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:"#6F42C1","--shiki-dark":"#F69D50"},children:"transport"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": HttpTransport"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"The RPC transport"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"transport"})]})}),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:"#D73A49","--shiki-dark":"#F47067"},children:"function"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" http"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"url"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"config"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" HttpTransportConfig"}),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:" HttpTransport"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"http"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(),"})]}),`
186
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
187
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
188
+ `,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:" "}),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:" evmChainSigContract"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" contracts"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"ChainSignatureContract"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evmChainSigContract"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(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:"#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:" contracts"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"contracts"})]})}),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:" evm"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"constructor "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"ChainSignatureContract"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(args: {"})]}),`
189
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" publicClient: PublicClient;"})}),`
190
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" walletClient: WalletClient;"})}),`
191
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" contractAddress: Hex;"})}),`
192
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" rootPublicKey"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" NajPublicKey;"})]}),`
193
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}): contracts.evm.ChainSignatureContract"})}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Creates a new instance of the ChainSignatureContract for EVM chains."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"ChainSignatureContract"})]})}),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:"#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:"publicClient"}),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:"#6F42C1","--shiki-dark":"#F69D50"},children:" account"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
196
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" batch"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
197
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" multicall?: boolean "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Prettify"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"MulticallBatchOptions"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),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:"#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:" undefined"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 62"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
200
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" extend"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": <"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"const"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
201
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
202
+ `,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:" ExactPartial"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>>("}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fn"}),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:"client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Client"}),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:" client"}),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:" Client"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>;"})]}),`
203
+ `,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:"publicClient"})]})}),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:"#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:"walletClient"}),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:"#6F42C1","--shiki-dark":"#F69D50"},children:" account"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": Account "}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
206
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" batch"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
207
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" multicall?: boolean "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Prettify"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"MulticallBatchOptions"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
208
+ `,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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 26"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
210
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" extend"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": <"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"const"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
211
+ `,s.jsxs(l.span,{className:"line",children:[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:"#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:" ExactPartial"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>>("}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fn"}),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:"client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Client"}),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:" client"}),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:" Client"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>;"})]}),`
213
+ `,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:"walletClient"})]})}),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:"#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:"contractAddress"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"contractAddress"})]})}),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:" constants"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"constants"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:" CONTRACT_ADDRESSES"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Record"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"ETHEREUM"'}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "NEAR"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Record"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"TESTNET_DEV"'}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "TESTNET"'}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "MAINNET"'}),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:">>"})]}),s.jsxs(l.div,{className:"twoslash-popup-jsdoc",children:[s.jsx(l.p,{children:"Contract addresses for different chains and environments."}),`
215
+ `,s.jsx(l.p,{children:`Testnet Dev: Used for internal development, very unstable
216
+ Testnet: Used for external development, stable
217
+ Mainnet: Production contract address`})]})]}),s.jsx(l.span,{className:"twoslash-target",children:"CONTRACT_ADDRESSES"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" ETHEREUM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": Record<"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"TESTNET_DEV"'}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "TESTNET"'}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "MAINNET"'}),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:">"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"ETHEREUM"})]})})]}),`
218
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:"type"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" TESTNET_DEV"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"TESTNET_DEV"})]})}),s.jsxs(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:[" ","as"]}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" `","0x","${"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
219
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
220
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
221
+ `,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:" "}),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:" evm"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVM"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(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:"#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:" chainAdapters"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"chainAdapters"})]})}),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:" evm"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"#D73A49","--shiki-dark":"#F47067"},children:"new"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" EVM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({ publicClient, contract, }: {"})]}),`
222
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" publicClient: PublicClient;"})}),`
223
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" contract: BaseChainSignatureContract;"})}),`
224
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}): chainAdapters.evm."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"EVM"})]}),`
225
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"export"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" EVM"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Creates a new EVM chain instance"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"EVM"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({"})]}),`
226
+ `,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:"#6F42C1","--shiki-dark":"#F69D50"},children:"publicClient"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
227
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" account"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
228
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" batch"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
229
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" multicall?: boolean "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Prettify"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"<"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"MulticallBatchOptions"}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
230
+ `,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:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
231
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 62"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
232
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" extend"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": <"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"const"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
233
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
234
+ `,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:" ExactPartial"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>>("}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fn"}),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:"client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Client"}),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:" client"}),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:" Client"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>;"})]}),`
235
+ `,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:"publicClient"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
236
+ `,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:"contract"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": BaseChainSignatureContract"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"contract"})]})}),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:" evmChainSigContract"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" contracts"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"ChainSignatureContract"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evmChainSigContract"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
237
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
238
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
239
+ `,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:" "}),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:" path"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "eth"'})]})}),s.jsx(l.span,{className:"twoslash-target",children:"path"})]})}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ="}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" '","eth","'"]})]}),`
240
+ `,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:" "}),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:" predecessorId"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"predecessorId"})]})}),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:" walletClient"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
241
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" account"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
242
+ `,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:"#6F42C1","--shiki-dark":"#F69D50"},children:" Address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
243
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" nonceManager"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" NonceManager"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
244
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" sign"}),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:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
245
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" hash"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hash"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
246
+ `,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:" Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"Hex"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:">;"})]}),`
247
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 6"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
248
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" type"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "local"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
249
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" };"})}),`
250
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 27"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
251
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:" extend"}),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:"const"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" extends"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
252
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
253
+ `,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:" ExactPartial"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>>("}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"fn"}),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:"client"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Client"}),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:" client"}),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:" Client"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<...>;"})]}),`
254
+ `,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:"walletClient"})]})}),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:"account"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
255
+ `,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:": Address;"})]}),`
256
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" nonceManager"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" NonceManager "}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
257
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" sign"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": ("}),s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:"parameters"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
258
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" hash"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" Hash"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
259
+ `,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:"#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:"Hex"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:">"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
260
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 6"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
261
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" type"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:'"local"'}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
262
+ `,s.jsx(l.span,{className:"line",children: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:"The Account of the Client."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"account"})]})}),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:"address"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"address"})]})})]}),`
263
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
264
+ `,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:"#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:"#24292E","--shiki-dark":"#ADBAC7"},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:" from"}),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,{className:"twoslash-target",children:"from"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:" publicKey"}),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,{className:"twoslash-target",children:"publicKey"})]})}),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:"#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:" evm"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVM"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:"EVM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"deriveAddressAndPublicKey"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(predecessor: string, path: KeyDerivationPath): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{"})]}),`
265
+ `,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:";"})]}),`
266
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" publicKey"}),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:";"})]}),`
267
+ `,s.jsx(l.span,{className:"line",children: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:"Uses Sig Network Key Derivation Function to derive the address and public key. from a signer ID and string path."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"deriveAddressAndPublicKey"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"("})]}),`
268
+ `,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:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" predecessorId"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"predecessorId"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
269
+ `,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:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" path"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "eth"'})]})}),s.jsx(l.span,{className:"twoslash-target",children:"path"})]})})]}),`
270
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})}),`
271
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
272
+ `,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:"#24292E","--shiki-dark":"#ADBAC7"},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:" balance"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" bigint"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"balance"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:" decimals"}),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:"decimals"})]})}),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:"#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:" evm"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVM"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:"EVM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),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:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{"})]}),`
273
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" balance"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" bigint"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
274
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" decimals"}),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:";"})]}),`
275
+ `,s.jsx(l.span,{className:"line",children: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:"Gets the native token balance and decimals for a given address"})})]}),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:"#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:" from"}),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,{className:"twoslash-target",children:"from"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]}),`
276
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
277
+ `,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:"#24292E","--shiki-dark":"#ADBAC7"},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:" transaction"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),`
278
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
279
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" from"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
280
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" gas"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" bigint"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
281
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" nonce"}),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:"#D73A49","--shiki-dark":"#F47067"},children:" |"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
282
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" to"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
283
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" type"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "eip1559"'}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
284
+ `,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:" bigint"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
285
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 9"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" more"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" ...;"})]}),`
286
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" authorizationList"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
287
+ `,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:" {"})]}),`
288
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
289
+ `,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:"transaction"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},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:" hashesToSign"}),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:"[][]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"hashesToSign"})]})}),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:"#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:" evm"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVM"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:"EVM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"prepareTransactionForSigning"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(transactionRequest: chainAdapters.evm.EVMTransactionRequest): "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"Promise"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"<{"})]}),`
290
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" transaction"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVMUnsignedTransaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
291
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#E36209","--shiki-dark":"#F69D50"},children:" hashesToSign"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" HashToSign"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"[];"})]}),`
292
+ `,s.jsx(l.span,{className:"line",children: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:`Prepares a transaction for Sig Network MPC signing by creating the necessary payloads. This method handles chain-specific transaction preparation including:
293
+ Fee calculation
294
+ Nonce/sequence management
295
+ UTXO selection (for UTXO-based chains)
296
+ Transaction encoding`})})]}),s.jsx(l.span,{className:"twoslash-target",children:"prepareTransactionForSigning"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({"})]}),`
297
+ `,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:"EVMTransactionRequest.from: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Transaction sender"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"from"})]})}),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:" from"}),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,{className:"twoslash-target",children:"from"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"as"}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:[" `","0x","${"]}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
298
+ `,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:"to"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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:"Transaction recipient"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"to"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsxs(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:["'","0x4174678c78fEaFd778c1ff319D5D326701449b25","'"]}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
299
+ `,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:"value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" bigint "}),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:"Value in wei sent with this transaction"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"value"})]})}),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:"#D73A49","--shiki-dark":"#F47067"},children:"n"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsxs(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:["// ","Amount"," ","in"," ","wei"," (","1"," ","wei"," ","in"," ","this"," ","example",")"]})]}),`
300
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
301
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
302
+ `,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:" "}),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:" rsvSignature"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RSVSignature"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"rsvSignature"})]})}),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:"#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:" evmChainSigContract"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" contracts"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"ChainSignatureContract"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evmChainSigContract"})]})}),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:"ChainSignatureContract."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"sign"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(args: contracts.SignArgs, options"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" SignOptions): "}),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:"RSVSignature"}),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:"Sends a transaction to the contract to request a signature, then polls for the signature result. If the signature is not found within the retry parameters, it will throw an error."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"sign"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({"})]}),`
303
+ `,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.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"SignArgs.payload: number[]"})}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"The payload to sign as an array of 32 bytes"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"payload"})]})}),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:" hashesToSign"}),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:"[][]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"hashesToSign"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"["}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"0"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"],"})]}),`
304
+ `,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.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"SignArgs.path: string"})}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"The derivation path for key generation"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"path"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
305
+ `,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.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"SignArgs.key_version: number"})}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Version of the key to use"})})]}),s.jsx(l.span,{className:"twoslash-target",children:"key_version"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"0"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:", "}),s.jsxs(l.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:["// ","The"," ","version"," ","of"," ","the"," ","key"," ","to"," ","use"," (","usually"," ","0",")"]})]}),`
306
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
307
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
308
+ `,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:" "}),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:" tx"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x02${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"tx"})]})}),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:"#D73A49","--shiki-dark":"#F47067"},children:"const"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" evm"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVM"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:"EVM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"finalizeTransactionSigning"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({ transaction, rsvSignatures, }: {"})]}),`
309
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" transaction: chainAdapters.evm.EVMUnsignedTransaction;"})}),`
310
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" rsvSignatures: RSVSignature[];"})}),`
311
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}): "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`0x02${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]}),s.jsx(l.div,{className:"twoslash-popup-jsdoc",children:s.jsx(l.p,{children:"Adds Sig Network MPC-generated signatures to an unsigned transaction."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"finalizeTransactionSigning"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"({"})]}),`
312
+ `,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:"#6F42C1","--shiki-dark":"#F69D50"},children:"transaction"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),`
313
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" data"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
314
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" from"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
315
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" gas"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" bigint "}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
316
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" nonce"}),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,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
317
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" to"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
318
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" type"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:' "eip1559"'}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
319
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" value"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" bigint "}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
320
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" 9"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" more "}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
321
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" authorizationList"}),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.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
322
+ `,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:" {"})]}),`
323
+ `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:" ..."}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),`
324
+ `,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:"transaction"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),`
325
+ `,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:"rsvSignatures"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": RSVSignature[]"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"rsvSignatures"})]})}),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:" rsvSignature"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" RSVSignature"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"rsvSignature"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"],"})]}),`
326
+ `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"})"})}),`
327
+ `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),`
328
+ `,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:" "}),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:" txHash"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"txHash"})]})}),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:"#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:" evm"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" chainAdapters"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"evm"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"EVM"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"evm"})]})}),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:"#005CC5","--shiki-dark":"#6CB6FF"},children:"EVM"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"."}),s.jsx(l.span,{style:{color:"#6F42C1","--shiki-dark":"#DCBDFB"},children:"broadcastTx"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"(txSerialized: "}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"`0x${"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"}),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:"Hash"}),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:"Broadcasts a signed transaction to the network."})})]}),s.jsx(l.span,{className:"twoslash-target",children:"broadcastTx"})]})}),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:" tx"}),s.jsx(l.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:":"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" `0x02${"}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"string"}),s.jsx(l.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:"}`"})]})}),s.jsx(l.span,{className:"twoslash-target",children:"tx"})]})}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:")"})]})]})})}),`
329
+ `,s.jsxs(l.h2,{id:"supported-chains",children:["Supported Chains",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#supported-chains",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
330
+ `,s.jsxs(l.ul,{children:[`
331
+ `,s.jsxs(l.li,{children:[s.jsx(l.a,{href:"/signetjs/chain-adapters/evm",children:"EVM Chains"})," - Ethereum and compatible networks"]}),`
332
+ `,s.jsxs(l.li,{children:[s.jsx(l.a,{href:"/signetjs/chain-adapters/bitcoin",children:"Bitcoin"})," - Bitcoin network"]}),`
333
+ `,s.jsxs(l.li,{children:[s.jsx(l.a,{href:"/signetjs/chain-adapters/cosmos",children:"Cosmos Chains"})," - Cosmos SDK-based networks"]}),`
334
+ `]}),`
335
+ `,s.jsxs(l.h2,{id:"architecture",children:["Architecture",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#architecture",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
336
+ `,s.jsxs(l.p,{children:["The library is built around a core ",s.jsx(l.code,{children:"ChainAdapter"})," interface that defines common functionality across all supported blockchain networks. Each specific chain implementation extends this interface with network-specific features while maintaining a consistent API."]}),`
337
+ `,s.jsxs(l.p,{children:["For more details check the ",s.jsx(l.a,{href:"/primitives/chain-adapter-interface",children:"ChainAdapter"})," page."]}),`
338
+ `,s.jsxs(l.h2,{id:"utility-functions",children:["Utility Functions",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#utility-functions",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
339
+ `,s.jsx(l.p,{children:"Besides the ChainAdapter classes the library also provide utility functions to assist you on building transactions, requesting signature in wrapped methods."}),`
340
+ `,s.jsx(l.p,{children:"Currently we support:"}),`
341
+ `,s.jsxs(l.ul,{children:[`
342
+ `,s.jsx(l.li,{children:"Near"}),`
343
+ `,s.jsx(l.li,{children:"EVM"}),`
344
+ `]}),`
345
+ `,s.jsxs(l.h2,{id:"repositories",children:["Repositories",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#repositories",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),`
346
+ `,s.jsxs(l.ul,{children:[`
347
+ `,s.jsxs(l.li,{children:["Signet.js: ",s.jsx(l.a,{href:"https://github.com/sig-net/signet.js",children:"https://github.com/sig-net/signet.js"}),"."]}),`
348
+ `,s.jsxs(l.li,{children:["Examples: ",s.jsx(l.a,{href:"https://github.com/sig-net/signet-examples",children:"https://github.com/sig-net/signet-examples"}),"."]}),`
349
+ `,s.jsxs(l.li,{children:["MPC: ",s.jsx(l.a,{href:"https://github.com/sig-net/mpc",children:"https://github.com/sig-net/mpc"}),"."]}),`
350
+ `]})]})}function c(i={}){const{wrapper:l}={...e(),...i.components};return l?s.jsx(l,{...i,children:s.jsx(r,{...i})}):r(i)}export{c as default,a as frontmatter};