viem 2.7.5 → 2.7.6

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 (1182) hide show
  1. package/_cjs/errors/version.js +1 -1
  2. package/_esm/errors/version.js +1 -1
  3. package/_types/_test/generated.d.ts +428 -0
  4. package/_types/_test/generated.d.ts.map +1 -0
  5. package/_types/accounts/generateMnemonic.d.ts +12 -0
  6. package/_types/accounts/generateMnemonic.d.ts.map +1 -0
  7. package/_types/accounts/generatePrivateKey.d.ts +11 -0
  8. package/_types/accounts/generatePrivateKey.d.ts.map +1 -0
  9. package/_types/accounts/hdKeyToAccount.d.ts +13 -0
  10. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -0
  11. package/_types/accounts/index.d.ts +27 -0
  12. package/_types/accounts/index.d.ts.map +1 -0
  13. package/_types/accounts/mnemonicToAccount.d.ts +11 -0
  14. package/_types/accounts/mnemonicToAccount.d.ts.map +1 -0
  15. package/_types/accounts/privateKeyToAccount.d.ts +17 -0
  16. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -0
  17. package/_types/accounts/toAccount.d.ts +15 -0
  18. package/_types/accounts/toAccount.d.ts.map +1 -0
  19. package/_types/accounts/types.d.ts +50 -0
  20. package/_types/accounts/types.d.ts.map +1 -0
  21. package/_types/accounts/utils/parseAccount.d.ts +6 -0
  22. package/_types/accounts/utils/parseAccount.d.ts.map +1 -0
  23. package/_types/accounts/utils/privateKeyToAddress.d.ts +15 -0
  24. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -0
  25. package/_types/accounts/utils/publicKeyToAddress.d.ts +15 -0
  26. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -0
  27. package/_types/accounts/utils/sign.d.ts +19 -0
  28. package/_types/accounts/utils/sign.d.ts.map +1 -0
  29. package/_types/accounts/utils/signMessage.d.ts +21 -0
  30. package/_types/accounts/utils/signMessage.d.ts.map +1 -0
  31. package/_types/accounts/utils/signTransaction.d.ts +16 -0
  32. package/_types/accounts/utils/signTransaction.d.ts.map +1 -0
  33. package/_types/accounts/utils/signTypedData.d.ts +21 -0
  34. package/_types/accounts/utils/signTypedData.d.ts.map +1 -0
  35. package/_types/actions/ens/getEnsAddress.d.ts +58 -0
  36. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -0
  37. package/_types/actions/ens/getEnsAvatar.d.ts +44 -0
  38. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -0
  39. package/_types/actions/ens/getEnsName.d.ts +50 -0
  40. package/_types/actions/ens/getEnsName.d.ts.map +1 -0
  41. package/_types/actions/ens/getEnsResolver.d.ts +48 -0
  42. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -0
  43. package/_types/actions/ens/getEnsText.d.ts +57 -0
  44. package/_types/actions/ens/getEnsText.d.ts.map +1 -0
  45. package/_types/actions/getContract.d.ts +360 -0
  46. package/_types/actions/getContract.d.ts.map +1 -0
  47. package/_types/actions/index.d.ts +91 -0
  48. package/_types/actions/index.d.ts.map +1 -0
  49. package/_types/actions/public/call.d.ts +83 -0
  50. package/_types/actions/public/call.d.ts.map +1 -0
  51. package/_types/actions/public/createBlockFilter.d.ts +31 -0
  52. package/_types/actions/public/createBlockFilter.d.ts.map +1 -0
  53. package/_types/actions/public/createContractEventFilter.d.ts +55 -0
  54. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -0
  55. package/_types/actions/public/createEventFilter.d.ts +81 -0
  56. package/_types/actions/public/createEventFilter.d.ts.map +1 -0
  57. package/_types/actions/public/createPendingTransactionFilter.d.ts +31 -0
  58. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -0
  59. package/_types/actions/public/estimateContractGas.d.ts +43 -0
  60. package/_types/actions/public/estimateContractGas.d.ts.map +1 -0
  61. package/_types/actions/public/estimateFeesPerGas.d.ts +53 -0
  62. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
  63. package/_types/actions/public/estimateGas.d.ts +57 -0
  64. package/_types/actions/public/estimateGas.d.ts.map +1 -0
  65. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +44 -0
  66. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
  67. package/_types/actions/public/getBalance.d.ts +59 -0
  68. package/_types/actions/public/getBalance.d.ts.map +1 -0
  69. package/_types/actions/public/getBlock.d.ts +62 -0
  70. package/_types/actions/public/getBlock.d.ts.map +1 -0
  71. package/_types/actions/public/getBlockNumber.d.ts +58 -0
  72. package/_types/actions/public/getBlockNumber.d.ts.map +1 -0
  73. package/_types/actions/public/getBlockTransactionCount.d.ts +52 -0
  74. package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -0
  75. package/_types/actions/public/getBytecode.d.ts +45 -0
  76. package/_types/actions/public/getBytecode.d.ts.map +1 -0
  77. package/_types/actions/public/getChainId.d.ts +32 -0
  78. package/_types/actions/public/getChainId.d.ts.map +1 -0
  79. package/_types/actions/public/getContractEvents.d.ts +66 -0
  80. package/_types/actions/public/getContractEvents.d.ts.map +1 -0
  81. package/_types/actions/public/getFeeHistory.d.ts +57 -0
  82. package/_types/actions/public/getFeeHistory.d.ts.map +1 -0
  83. package/_types/actions/public/getFilterChanges.d.ts +101 -0
  84. package/_types/actions/public/getFilterChanges.d.ts.map +1 -0
  85. package/_types/actions/public/getFilterLogs.d.ts +45 -0
  86. package/_types/actions/public/getFilterLogs.d.ts.map +1 -0
  87. package/_types/actions/public/getGasPrice.d.ts +30 -0
  88. package/_types/actions/public/getGasPrice.d.ts.map +1 -0
  89. package/_types/actions/public/getLogs.d.ts +78 -0
  90. package/_types/actions/public/getLogs.d.ts.map +1 -0
  91. package/_types/actions/public/getProof.d.ts +57 -0
  92. package/_types/actions/public/getProof.d.ts.map +1 -0
  93. package/_types/actions/public/getStorageAt.d.ts +47 -0
  94. package/_types/actions/public/getStorageAt.d.ts.map +1 -0
  95. package/_types/actions/public/getTransaction.d.ts +70 -0
  96. package/_types/actions/public/getTransaction.d.ts.map +1 -0
  97. package/_types/actions/public/getTransactionConfirmations.d.ts +45 -0
  98. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -0
  99. package/_types/actions/public/getTransactionCount.d.ts +49 -0
  100. package/_types/actions/public/getTransactionCount.d.ts.map +1 -0
  101. package/_types/actions/public/getTransactionReceipt.d.ts +40 -0
  102. package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -0
  103. package/_types/actions/public/multicall.d.ts +73 -0
  104. package/_types/actions/public/multicall.d.ts.map +1 -0
  105. package/_types/actions/public/readContract.d.ts +46 -0
  106. package/_types/actions/public/readContract.d.ts.map +1 -0
  107. package/_types/actions/public/simulateContract.d.ts +67 -0
  108. package/_types/actions/public/simulateContract.d.ts.map +1 -0
  109. package/_types/actions/public/uninstallFilter.d.ts +37 -0
  110. package/_types/actions/public/uninstallFilter.d.ts.map +1 -0
  111. package/_types/actions/public/verifyHash.d.ts +30 -0
  112. package/_types/actions/public/verifyHash.d.ts.map +1 -0
  113. package/_types/actions/public/verifyMessage.d.ts +31 -0
  114. package/_types/actions/public/verifyMessage.d.ts.map +1 -0
  115. package/_types/actions/public/verifyTypedData.d.ts +28 -0
  116. package/_types/actions/public/verifyTypedData.d.ts.map +1 -0
  117. package/_types/actions/public/waitForTransactionReceipt.d.ts +90 -0
  118. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -0
  119. package/_types/actions/public/watchBlockNumber.d.ts +58 -0
  120. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -0
  121. package/_types/actions/public/watchBlocks.d.ts +66 -0
  122. package/_types/actions/public/watchBlocks.d.ts.map +1 -0
  123. package/_types/actions/public/watchContractEvent.d.ts +64 -0
  124. package/_types/actions/public/watchContractEvent.d.ts.map +1 -0
  125. package/_types/actions/public/watchEvent.d.ts +79 -0
  126. package/_types/actions/public/watchEvent.d.ts.map +1 -0
  127. package/_types/actions/public/watchPendingTransactions.d.ts +49 -0
  128. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -0
  129. package/_types/actions/test/dropTransaction.d.ts +36 -0
  130. package/_types/actions/test/dropTransaction.d.ts.map +1 -0
  131. package/_types/actions/test/dumpState.d.ts +31 -0
  132. package/_types/actions/test/dumpState.d.ts.map +1 -0
  133. package/_types/actions/test/getAutomine.d.ts +30 -0
  134. package/_types/actions/test/getAutomine.d.ts.map +1 -0
  135. package/_types/actions/test/getTxpoolContent.d.ts +37 -0
  136. package/_types/actions/test/getTxpoolContent.d.ts.map +1 -0
  137. package/_types/actions/test/getTxpoolStatus.d.ts +33 -0
  138. package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -0
  139. package/_types/actions/test/impersonateAccount.d.ts +36 -0
  140. package/_types/actions/test/impersonateAccount.d.ts.map +1 -0
  141. package/_types/actions/test/increaseTime.d.ts +35 -0
  142. package/_types/actions/test/increaseTime.d.ts.map +1 -0
  143. package/_types/actions/test/inspectTxpool.d.ts +34 -0
  144. package/_types/actions/test/inspectTxpool.d.ts.map +1 -0
  145. package/_types/actions/test/loadState.d.ts +34 -0
  146. package/_types/actions/test/loadState.d.ts.map +1 -0
  147. package/_types/actions/test/mine.d.ts +35 -0
  148. package/_types/actions/test/mine.d.ts.map +1 -0
  149. package/_types/actions/test/removeBlockTimestampInterval.d.ts +28 -0
  150. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -0
  151. package/_types/actions/test/reset.d.ts +35 -0
  152. package/_types/actions/test/reset.d.ts.map +1 -0
  153. package/_types/actions/test/revert.d.ts +34 -0
  154. package/_types/actions/test/revert.d.ts.map +1 -0
  155. package/_types/actions/test/sendUnsignedTransaction.d.ts +38 -0
  156. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -0
  157. package/_types/actions/test/setAutomine.d.ts +28 -0
  158. package/_types/actions/test/setAutomine.d.ts.map +1 -0
  159. package/_types/actions/test/setBalance.d.ts +39 -0
  160. package/_types/actions/test/setBalance.d.ts.map +1 -0
  161. package/_types/actions/test/setBlockGasLimit.d.ts +33 -0
  162. package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -0
  163. package/_types/actions/test/setBlockTimestampInterval.d.ts +33 -0
  164. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -0
  165. package/_types/actions/test/setCode.d.ts +40 -0
  166. package/_types/actions/test/setCode.d.ts.map +1 -0
  167. package/_types/actions/test/setCoinbase.d.ts +36 -0
  168. package/_types/actions/test/setCoinbase.d.ts.map +1 -0
  169. package/_types/actions/test/setIntervalMining.d.ts +33 -0
  170. package/_types/actions/test/setIntervalMining.d.ts.map +1 -0
  171. package/_types/actions/test/setLoggingEnabled.d.ts +28 -0
  172. package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -0
  173. package/_types/actions/test/setMinGasPrice.d.ts +37 -0
  174. package/_types/actions/test/setMinGasPrice.d.ts.map +1 -0
  175. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +35 -0
  176. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -0
  177. package/_types/actions/test/setNextBlockTimestamp.d.ts +33 -0
  178. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -0
  179. package/_types/actions/test/setNonce.d.ts +39 -0
  180. package/_types/actions/test/setNonce.d.ts.map +1 -0
  181. package/_types/actions/test/setRpcUrl.d.ts +29 -0
  182. package/_types/actions/test/setRpcUrl.d.ts.map +1 -0
  183. package/_types/actions/test/setStorageAt.d.ts +43 -0
  184. package/_types/actions/test/setStorageAt.d.ts.map +1 -0
  185. package/_types/actions/test/snapshot.d.ts +28 -0
  186. package/_types/actions/test/snapshot.d.ts.map +1 -0
  187. package/_types/actions/test/stopImpersonatingAccount.d.ts +36 -0
  188. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -0
  189. package/_types/actions/wallet/addChain.d.ts +33 -0
  190. package/_types/actions/wallet/addChain.d.ts.map +1 -0
  191. package/_types/actions/wallet/deployContract.d.ts +50 -0
  192. package/_types/actions/wallet/deployContract.d.ts.map +1 -0
  193. package/_types/actions/wallet/getAddresses.d.ts +32 -0
  194. package/_types/actions/wallet/getAddresses.d.ts.map +1 -0
  195. package/_types/actions/wallet/getPermissions.d.ts +31 -0
  196. package/_types/actions/wallet/getPermissions.d.ts.map +1 -0
  197. package/_types/actions/wallet/prepareTransactionRequest.d.ts +72 -0
  198. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
  199. package/_types/actions/wallet/requestAddresses.d.ts +35 -0
  200. package/_types/actions/wallet/requestAddresses.d.ts.map +1 -0
  201. package/_types/actions/wallet/requestPermissions.d.ts +40 -0
  202. package/_types/actions/wallet/requestPermissions.d.ts.map +1 -0
  203. package/_types/actions/wallet/sendRawTransaction.d.ts +41 -0
  204. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
  205. package/_types/actions/wallet/sendTransaction.d.ts +69 -0
  206. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -0
  207. package/_types/actions/wallet/signMessage.d.ts +64 -0
  208. package/_types/actions/wallet/signMessage.d.ts.map +1 -0
  209. package/_types/actions/wallet/signTransaction.d.ts +64 -0
  210. package/_types/actions/wallet/signTransaction.d.ts.map +1 -0
  211. package/_types/actions/wallet/signTypedData.d.ts +119 -0
  212. package/_types/actions/wallet/signTypedData.d.ts.map +1 -0
  213. package/_types/actions/wallet/switchChain.d.ts +34 -0
  214. package/_types/actions/wallet/switchChain.d.ts.map +1 -0
  215. package/_types/actions/wallet/watchAsset.d.ts +40 -0
  216. package/_types/actions/wallet/watchAsset.d.ts.map +1 -0
  217. package/_types/actions/wallet/writeContract.d.ts +71 -0
  218. package/_types/actions/wallet/writeContract.d.ts.map +1 -0
  219. package/_types/chains/celo/chainConfig.d.ts +1201 -0
  220. package/_types/chains/celo/chainConfig.d.ts.map +1 -0
  221. package/_types/chains/celo/formatters.d.ts +1198 -0
  222. package/_types/chains/celo/formatters.d.ts.map +1 -0
  223. package/_types/chains/celo/index.d.ts +5 -0
  224. package/_types/chains/celo/index.d.ts.map +1 -0
  225. package/_types/chains/celo/parsers.d.ts +6 -0
  226. package/_types/chains/celo/parsers.d.ts.map +1 -0
  227. package/_types/chains/celo/serializers.d.ts +12 -0
  228. package/_types/chains/celo/serializers.d.ts.map +1 -0
  229. package/_types/chains/celo/types.d.ts +126 -0
  230. package/_types/chains/celo/types.d.ts.map +1 -0
  231. package/_types/chains/celo/utils.d.ts +7 -0
  232. package/_types/chains/celo/utils.d.ts.map +1 -0
  233. package/_types/chains/definitions/acala.d.ts +42 -0
  234. package/_types/chains/definitions/acala.d.ts.map +1 -0
  235. package/_types/chains/definitions/arbitrum.d.ts +34 -0
  236. package/_types/chains/definitions/arbitrum.d.ts.map +1 -0
  237. package/_types/chains/definitions/arbitrumGoerli.d.ts +33 -0
  238. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -0
  239. package/_types/chains/definitions/arbitrumNova.d.ts +34 -0
  240. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -0
  241. package/_types/chains/definitions/arbitrumSepolia.d.ts +34 -0
  242. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
  243. package/_types/chains/definitions/astar.d.ts +34 -0
  244. package/_types/chains/definitions/astar.d.ts.map +1 -0
  245. package/_types/chains/definitions/astarZkatana.d.ts +34 -0
  246. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
  247. package/_types/chains/definitions/aurora.d.ts +34 -0
  248. package/_types/chains/definitions/aurora.d.ts.map +1 -0
  249. package/_types/chains/definitions/auroraTestnet.d.ts +36 -0
  250. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -0
  251. package/_types/chains/definitions/avalanche.d.ts +34 -0
  252. package/_types/chains/definitions/avalanche.d.ts.map +1 -0
  253. package/_types/chains/definitions/avalancheFuji.d.ts +34 -0
  254. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -0
  255. package/_types/chains/definitions/bahamut.d.ts +42 -0
  256. package/_types/chains/definitions/bahamut.d.ts.map +1 -0
  257. package/_types/chains/definitions/base.d.ts +811 -0
  258. package/_types/chains/definitions/base.d.ts.map +1 -0
  259. package/_types/chains/definitions/baseGoerli.d.ts +810 -0
  260. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -0
  261. package/_types/chains/definitions/baseSepolia.d.ts +812 -0
  262. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
  263. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +36 -0
  264. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -0
  265. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +36 -0
  266. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -0
  267. package/_types/chains/definitions/berachainTestnet.d.ts +35 -0
  268. package/_types/chains/definitions/berachainTestnet.d.ts.map +1 -0
  269. package/_types/chains/definitions/bitTorrent.d.ts +40 -0
  270. package/_types/chains/definitions/bitTorrent.d.ts.map +1 -0
  271. package/_types/chains/definitions/bitTorrentTestnet.d.ts +40 -0
  272. package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +1 -0
  273. package/_types/chains/definitions/blastSepolia.d.ts +35 -0
  274. package/_types/chains/definitions/blastSepolia.d.ts.map +1 -0
  275. package/_types/chains/definitions/boba.d.ts +33 -0
  276. package/_types/chains/definitions/boba.d.ts.map +1 -0
  277. package/_types/chains/definitions/bronos.d.ts +35 -0
  278. package/_types/chains/definitions/bronos.d.ts.map +1 -0
  279. package/_types/chains/definitions/bronosTestnet.d.ts +35 -0
  280. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -0
  281. package/_types/chains/definitions/bsc.d.ts +34 -0
  282. package/_types/chains/definitions/bsc.d.ts.map +1 -0
  283. package/_types/chains/definitions/bscTestnet.d.ts +34 -0
  284. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -0
  285. package/_types/chains/definitions/bxn.d.ts +36 -0
  286. package/_types/chains/definitions/bxn.d.ts.map +1 -0
  287. package/_types/chains/definitions/bxnTestnet.d.ts +36 -0
  288. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -0
  289. package/_types/chains/definitions/canto.d.ts +33 -0
  290. package/_types/chains/definitions/canto.d.ts.map +1 -0
  291. package/_types/chains/definitions/celo.d.ts +1230 -0
  292. package/_types/chains/definitions/celo.d.ts.map +1 -0
  293. package/_types/chains/definitions/celoAlfajores.d.ts +1230 -0
  294. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -0
  295. package/_types/chains/definitions/chiliz.d.ts +37 -0
  296. package/_types/chains/definitions/chiliz.d.ts.map +1 -0
  297. package/_types/chains/definitions/classic.d.ts +35 -0
  298. package/_types/chains/definitions/classic.d.ts.map +1 -0
  299. package/_types/chains/definitions/confluxESpace.d.ts +34 -0
  300. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -0
  301. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +35 -0
  302. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -0
  303. package/_types/chains/definitions/coreDao.d.ts +33 -0
  304. package/_types/chains/definitions/coreDao.d.ts.map +1 -0
  305. package/_types/chains/definitions/cronos.d.ts +34 -0
  306. package/_types/chains/definitions/cronos.d.ts.map +1 -0
  307. package/_types/chains/definitions/cronosTestnet.d.ts +33 -0
  308. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -0
  309. package/_types/chains/definitions/crossbell.d.ts +34 -0
  310. package/_types/chains/definitions/crossbell.d.ts.map +1 -0
  311. package/_types/chains/definitions/defichainEvm.d.ts +37 -0
  312. package/_types/chains/definitions/defichainEvm.d.ts.map +1 -0
  313. package/_types/chains/definitions/defichainEvmTestnet.d.ts +37 -0
  314. package/_types/chains/definitions/defichainEvmTestnet.d.ts.map +1 -0
  315. package/_types/chains/definitions/dfk.d.ts +35 -0
  316. package/_types/chains/definitions/dfk.d.ts.map +1 -0
  317. package/_types/chains/definitions/dogechain.d.ts +36 -0
  318. package/_types/chains/definitions/dogechain.d.ts.map +1 -0
  319. package/_types/chains/definitions/edgeware.d.ts +34 -0
  320. package/_types/chains/definitions/edgeware.d.ts.map +1 -0
  321. package/_types/chains/definitions/edgewareTestnet.d.ts +36 -0
  322. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -0
  323. package/_types/chains/definitions/ekta.d.ts +36 -0
  324. package/_types/chains/definitions/ekta.d.ts.map +1 -0
  325. package/_types/chains/definitions/ektaTestnet.d.ts +36 -0
  326. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -0
  327. package/_types/chains/definitions/eon.d.ts +28 -0
  328. package/_types/chains/definitions/eon.d.ts.map +1 -0
  329. package/_types/chains/definitions/eos.d.ts +34 -0
  330. package/_types/chains/definitions/eos.d.ts.map +1 -0
  331. package/_types/chains/definitions/eosTestnet.d.ts +34 -0
  332. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -0
  333. package/_types/chains/definitions/evmos.d.ts +35 -0
  334. package/_types/chains/definitions/evmos.d.ts.map +1 -0
  335. package/_types/chains/definitions/evmosTestnet.d.ts +35 -0
  336. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -0
  337. package/_types/chains/definitions/fantom.d.ts +34 -0
  338. package/_types/chains/definitions/fantom.d.ts.map +1 -0
  339. package/_types/chains/definitions/fantomSonicTestnet.d.ts +36 -0
  340. package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -0
  341. package/_types/chains/definitions/fantomTestnet.d.ts +34 -0
  342. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -0
  343. package/_types/chains/definitions/fibo.d.ts +35 -0
  344. package/_types/chains/definitions/fibo.d.ts.map +1 -0
  345. package/_types/chains/definitions/filecoin.d.ts +33 -0
  346. package/_types/chains/definitions/filecoin.d.ts.map +1 -0
  347. package/_types/chains/definitions/filecoinCalibration.d.ts +35 -0
  348. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -0
  349. package/_types/chains/definitions/filecoinHyperspace.d.ts +35 -0
  350. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -0
  351. package/_types/chains/definitions/flare.d.ts +36 -0
  352. package/_types/chains/definitions/flare.d.ts.map +1 -0
  353. package/_types/chains/definitions/flareTestnet.d.ts +36 -0
  354. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -0
  355. package/_types/chains/definitions/foundry.d.ts +42 -0
  356. package/_types/chains/definitions/foundry.d.ts.map +1 -0
  357. package/_types/chains/definitions/fuse.d.ts +34 -0
  358. package/_types/chains/definitions/fuse.d.ts.map +1 -0
  359. package/_types/chains/definitions/fuseSparknet.d.ts +36 -0
  360. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -0
  361. package/_types/chains/definitions/gnosis.d.ts +35 -0
  362. package/_types/chains/definitions/gnosis.d.ts.map +1 -0
  363. package/_types/chains/definitions/gnosisChiado.d.ts +35 -0
  364. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -0
  365. package/_types/chains/definitions/gobi.d.ts +28 -0
  366. package/_types/chains/definitions/gobi.d.ts.map +1 -0
  367. package/_types/chains/definitions/goerli.d.ts +41 -0
  368. package/_types/chains/definitions/goerli.d.ts.map +1 -0
  369. package/_types/chains/definitions/haqqMainnet.d.ts +36 -0
  370. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -0
  371. package/_types/chains/definitions/haqqTestedge2.d.ts +36 -0
  372. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -0
  373. package/_types/chains/definitions/hardhat.d.ts +41 -0
  374. package/_types/chains/definitions/hardhat.d.ts.map +1 -0
  375. package/_types/chains/definitions/harmonyOne.d.ts +33 -0
  376. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -0
  377. package/_types/chains/definitions/hedera.d.ts +36 -0
  378. package/_types/chains/definitions/hedera.d.ts.map +1 -0
  379. package/_types/chains/definitions/hederaPreviewnet.d.ts +36 -0
  380. package/_types/chains/definitions/hederaPreviewnet.d.ts.map +1 -0
  381. package/_types/chains/definitions/hederaTestnet.d.ts +36 -0
  382. package/_types/chains/definitions/hederaTestnet.d.ts.map +1 -0
  383. package/_types/chains/definitions/holesky.d.ts +41 -0
  384. package/_types/chains/definitions/holesky.d.ts.map +1 -0
  385. package/_types/chains/definitions/iotex.d.ts +34 -0
  386. package/_types/chains/definitions/iotex.d.ts.map +1 -0
  387. package/_types/chains/definitions/iotexTestnet.d.ts +36 -0
  388. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -0
  389. package/_types/chains/definitions/jbc.d.ts +38 -0
  390. package/_types/chains/definitions/jbc.d.ts.map +1 -0
  391. package/_types/chains/definitions/karura.d.ts +42 -0
  392. package/_types/chains/definitions/karura.d.ts.map +1 -0
  393. package/_types/chains/definitions/kava.d.ts +35 -0
  394. package/_types/chains/definitions/kava.d.ts.map +1 -0
  395. package/_types/chains/definitions/kavaTestnet.d.ts +35 -0
  396. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
  397. package/_types/chains/definitions/kcc.d.ts +37 -0
  398. package/_types/chains/definitions/kcc.d.ts.map +1 -0
  399. package/_types/chains/definitions/klaytn.d.ts +33 -0
  400. package/_types/chains/definitions/klaytn.d.ts.map +1 -0
  401. package/_types/chains/definitions/klaytnBaobab.d.ts +34 -0
  402. package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -0
  403. package/_types/chains/definitions/kroma.d.ts +36 -0
  404. package/_types/chains/definitions/kroma.d.ts.map +1 -0
  405. package/_types/chains/definitions/kromaSepolia.d.ts +36 -0
  406. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -0
  407. package/_types/chains/definitions/lightlinkPegasus.d.ts +36 -0
  408. package/_types/chains/definitions/lightlinkPegasus.d.ts.map +1 -0
  409. package/_types/chains/definitions/lightlinkPhoenix.d.ts +36 -0
  410. package/_types/chains/definitions/lightlinkPhoenix.d.ts.map +1 -0
  411. package/_types/chains/definitions/linea.d.ts +35 -0
  412. package/_types/chains/definitions/linea.d.ts.map +1 -0
  413. package/_types/chains/definitions/lineaTestnet.d.ts +35 -0
  414. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -0
  415. package/_types/chains/definitions/localhost.d.ts +41 -0
  416. package/_types/chains/definitions/localhost.d.ts.map +1 -0
  417. package/_types/chains/definitions/lukso.d.ts +38 -0
  418. package/_types/chains/definitions/lukso.d.ts.map +1 -0
  419. package/_types/chains/definitions/mainnet.d.ts +41 -0
  420. package/_types/chains/definitions/mainnet.d.ts.map +1 -0
  421. package/_types/chains/definitions/mandala.d.ts +42 -0
  422. package/_types/chains/definitions/mandala.d.ts.map +1 -0
  423. package/_types/chains/definitions/manta.d.ts +35 -0
  424. package/_types/chains/definitions/manta.d.ts.map +1 -0
  425. package/_types/chains/definitions/mantaTestnet.d.ts +35 -0
  426. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
  427. package/_types/chains/definitions/mantle.d.ts +34 -0
  428. package/_types/chains/definitions/mantle.d.ts.map +1 -0
  429. package/_types/chains/definitions/mantleTestnet.d.ts +34 -0
  430. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -0
  431. package/_types/chains/definitions/metachain.d.ts +33 -0
  432. package/_types/chains/definitions/metachain.d.ts.map +1 -0
  433. package/_types/chains/definitions/meter.d.ts +35 -0
  434. package/_types/chains/definitions/meter.d.ts.map +1 -0
  435. package/_types/chains/definitions/meterTestnet.d.ts +35 -0
  436. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -0
  437. package/_types/chains/definitions/metis.d.ts +34 -0
  438. package/_types/chains/definitions/metis.d.ts.map +1 -0
  439. package/_types/chains/definitions/metisGoerli.d.ts +34 -0
  440. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -0
  441. package/_types/chains/definitions/mev.d.ts +33 -0
  442. package/_types/chains/definitions/mev.d.ts.map +1 -0
  443. package/_types/chains/definitions/mevTestnet.d.ts +33 -0
  444. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -0
  445. package/_types/chains/definitions/modeTestnet.d.ts +34 -0
  446. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -0
  447. package/_types/chains/definitions/moonbaseAlpha.d.ts +35 -0
  448. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -0
  449. package/_types/chains/definitions/moonbeam.d.ts +35 -0
  450. package/_types/chains/definitions/moonbeam.d.ts.map +1 -0
  451. package/_types/chains/definitions/moonbeamDev.d.ts +42 -0
  452. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
  453. package/_types/chains/definitions/moonriver.d.ts +35 -0
  454. package/_types/chains/definitions/moonriver.d.ts.map +1 -0
  455. package/_types/chains/definitions/neonDevnet.d.ts +33 -0
  456. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -0
  457. package/_types/chains/definitions/neonMainnet.d.ts +34 -0
  458. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
  459. package/_types/chains/definitions/nexi.d.ts +34 -0
  460. package/_types/chains/definitions/nexi.d.ts.map +1 -0
  461. package/_types/chains/definitions/nexilix.d.ts +33 -0
  462. package/_types/chains/definitions/nexilix.d.ts.map +1 -0
  463. package/_types/chains/definitions/oasisTestnet.d.ts +40 -0
  464. package/_types/chains/definitions/oasisTestnet.d.ts.map +1 -0
  465. package/_types/chains/definitions/oasys.d.ts +36 -0
  466. package/_types/chains/definitions/oasys.d.ts.map +1 -0
  467. package/_types/chains/definitions/okc.d.ts +33 -0
  468. package/_types/chains/definitions/okc.d.ts.map +1 -0
  469. package/_types/chains/definitions/oortmainnetDev.d.ts +39 -0
  470. package/_types/chains/definitions/oortmainnetDev.d.ts.map +1 -0
  471. package/_types/chains/definitions/opBNB.d.ts +33 -0
  472. package/_types/chains/definitions/opBNB.d.ts.map +1 -0
  473. package/_types/chains/definitions/opBNBTestnet.d.ts +33 -0
  474. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -0
  475. package/_types/chains/definitions/optimism.d.ts +810 -0
  476. package/_types/chains/definitions/optimism.d.ts.map +1 -0
  477. package/_types/chains/definitions/optimismGoerli.d.ts +810 -0
  478. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -0
  479. package/_types/chains/definitions/optimismSepolia.d.ts +810 -0
  480. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
  481. package/_types/chains/definitions/palm.d.ts +34 -0
  482. package/_types/chains/definitions/palm.d.ts.map +1 -0
  483. package/_types/chains/definitions/palmTestnet.d.ts +34 -0
  484. package/_types/chains/definitions/palmTestnet.d.ts.map +1 -0
  485. package/_types/chains/definitions/pgn.d.ts +796 -0
  486. package/_types/chains/definitions/pgn.d.ts.map +1 -0
  487. package/_types/chains/definitions/pgnTestnet.d.ts +791 -0
  488. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -0
  489. package/_types/chains/definitions/plinga.d.ts +33 -0
  490. package/_types/chains/definitions/plinga.d.ts.map +1 -0
  491. package/_types/chains/definitions/polygon.d.ts +34 -0
  492. package/_types/chains/definitions/polygon.d.ts.map +1 -0
  493. package/_types/chains/definitions/polygonMumbai.d.ts +34 -0
  494. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -0
  495. package/_types/chains/definitions/polygonZkEvm.d.ts +34 -0
  496. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -0
  497. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +34 -0
  498. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -0
  499. package/_types/chains/definitions/pulsechain.d.ts +38 -0
  500. package/_types/chains/definitions/pulsechain.d.ts.map +1 -0
  501. package/_types/chains/definitions/pulsechainV4.d.ts +38 -0
  502. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -0
  503. package/_types/chains/definitions/qMainnet.d.ts +36 -0
  504. package/_types/chains/definitions/qMainnet.d.ts.map +1 -0
  505. package/_types/chains/definitions/qTestnet.d.ts +36 -0
  506. package/_types/chains/definitions/qTestnet.d.ts.map +1 -0
  507. package/_types/chains/definitions/rollux.d.ts +35 -0
  508. package/_types/chains/definitions/rollux.d.ts.map +1 -0
  509. package/_types/chains/definitions/rolluxTestnet.d.ts +35 -0
  510. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -0
  511. package/_types/chains/definitions/ronin.d.ts +33 -0
  512. package/_types/chains/definitions/ronin.d.ts.map +1 -0
  513. package/_types/chains/definitions/rootstock.d.ts +34 -0
  514. package/_types/chains/definitions/rootstock.d.ts.map +1 -0
  515. package/_types/chains/definitions/saigon.d.ts +33 -0
  516. package/_types/chains/definitions/saigon.d.ts.map +1 -0
  517. package/_types/chains/definitions/sapphire.d.ts +36 -0
  518. package/_types/chains/definitions/sapphire.d.ts.map +1 -0
  519. package/_types/chains/definitions/sapphireTestnet.d.ts +38 -0
  520. package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -0
  521. package/_types/chains/definitions/scroll.d.ts +35 -0
  522. package/_types/chains/definitions/scroll.d.ts.map +1 -0
  523. package/_types/chains/definitions/scrollSepolia.d.ts +34 -0
  524. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -0
  525. package/_types/chains/definitions/scrollTestnet.d.ts +37 -0
  526. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -0
  527. package/_types/chains/definitions/sepolia.d.ts +41 -0
  528. package/_types/chains/definitions/sepolia.d.ts.map +1 -0
  529. package/_types/chains/definitions/shardeumSphinx.d.ts +35 -0
  530. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -0
  531. package/_types/chains/definitions/shibarium.d.ts +34 -0
  532. package/_types/chains/definitions/shibarium.d.ts.map +1 -0
  533. package/_types/chains/definitions/shimmer.d.ts +37 -0
  534. package/_types/chains/definitions/shimmer.d.ts.map +1 -0
  535. package/_types/chains/definitions/shimmerTestnet.d.ts +37 -0
  536. package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -0
  537. package/_types/chains/definitions/skale/brawl.d.ts +29 -0
  538. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -0
  539. package/_types/chains/definitions/skale/calypso.d.ts +34 -0
  540. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -0
  541. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +34 -0
  542. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -0
  543. package/_types/chains/definitions/skale/chaosTestnet.d.ts +34 -0
  544. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -0
  545. package/_types/chains/definitions/skale/cryptoBlades.d.ts +29 -0
  546. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -0
  547. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +29 -0
  548. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -0
  549. package/_types/chains/definitions/skale/europa.d.ts +34 -0
  550. package/_types/chains/definitions/skale/europa.d.ts.map +1 -0
  551. package/_types/chains/definitions/skale/europaTestnet.d.ts +34 -0
  552. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -0
  553. package/_types/chains/definitions/skale/exorde.d.ts +29 -0
  554. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -0
  555. package/_types/chains/definitions/skale/humanProtocol.d.ts +29 -0
  556. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -0
  557. package/_types/chains/definitions/skale/nebula.d.ts +34 -0
  558. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -0
  559. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +34 -0
  560. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -0
  561. package/_types/chains/definitions/skale/razor.d.ts +29 -0
  562. package/_types/chains/definitions/skale/razor.d.ts.map +1 -0
  563. package/_types/chains/definitions/skale/titan.d.ts +34 -0
  564. package/_types/chains/definitions/skale/titan.d.ts.map +1 -0
  565. package/_types/chains/definitions/skale/titanTestnet.d.ts +34 -0
  566. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -0
  567. package/_types/chains/definitions/songbird.d.ts +36 -0
  568. package/_types/chains/definitions/songbird.d.ts.map +1 -0
  569. package/_types/chains/definitions/songbirdTestnet.d.ts +36 -0
  570. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -0
  571. package/_types/chains/definitions/spicy.d.ts +38 -0
  572. package/_types/chains/definitions/spicy.d.ts.map +1 -0
  573. package/_types/chains/definitions/syscoin.d.ts +35 -0
  574. package/_types/chains/definitions/syscoin.d.ts.map +1 -0
  575. package/_types/chains/definitions/syscoinTestnet.d.ts +34 -0
  576. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -0
  577. package/_types/chains/definitions/taikoJolnir.d.ts +33 -0
  578. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -0
  579. package/_types/chains/definitions/taikoKatla.d.ts +39 -0
  580. package/_types/chains/definitions/taikoKatla.d.ts.map +1 -0
  581. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +35 -0
  582. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -0
  583. package/_types/chains/definitions/taraxa.d.ts +35 -0
  584. package/_types/chains/definitions/taraxa.d.ts.map +1 -0
  585. package/_types/chains/definitions/taraxaTestnet.d.ts +35 -0
  586. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -0
  587. package/_types/chains/definitions/telos.d.ts +33 -0
  588. package/_types/chains/definitions/telos.d.ts.map +1 -0
  589. package/_types/chains/definitions/telosTestnet.d.ts +35 -0
  590. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -0
  591. package/_types/chains/definitions/tenet.d.ts +37 -0
  592. package/_types/chains/definitions/tenet.d.ts.map +1 -0
  593. package/_types/chains/definitions/thunderTestnet.d.ts +35 -0
  594. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -0
  595. package/_types/chains/definitions/vechain.d.ts +39 -0
  596. package/_types/chains/definitions/vechain.d.ts.map +1 -0
  597. package/_types/chains/definitions/wanchain.d.ts +33 -0
  598. package/_types/chains/definitions/wanchain.d.ts.map +1 -0
  599. package/_types/chains/definitions/wanchainTestnet.d.ts +33 -0
  600. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -0
  601. package/_types/chains/definitions/wemix.d.ts +39 -0
  602. package/_types/chains/definitions/wemix.d.ts.map +1 -0
  603. package/_types/chains/definitions/wemixTestnet.d.ts +40 -0
  604. package/_types/chains/definitions/wemixTestnet.d.ts.map +1 -0
  605. package/_types/chains/definitions/x1Testnet.d.ts +33 -0
  606. package/_types/chains/definitions/x1Testnet.d.ts.map +1 -0
  607. package/_types/chains/definitions/xdc.d.ts +39 -0
  608. package/_types/chains/definitions/xdc.d.ts.map +1 -0
  609. package/_types/chains/definitions/xdcTestnet.d.ts +35 -0
  610. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -0
  611. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +35 -0
  612. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -0
  613. package/_types/chains/definitions/zhejiang.d.ts +35 -0
  614. package/_types/chains/definitions/zhejiang.d.ts.map +1 -0
  615. package/_types/chains/definitions/zilliqa.d.ts +36 -0
  616. package/_types/chains/definitions/zilliqa.d.ts.map +1 -0
  617. package/_types/chains/definitions/zilliqaTestnet.d.ts +36 -0
  618. package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -0
  619. package/_types/chains/definitions/zkFair.d.ts +38 -0
  620. package/_types/chains/definitions/zkFair.d.ts.map +1 -0
  621. package/_types/chains/definitions/zkFairTestnet.d.ts +39 -0
  622. package/_types/chains/definitions/zkFairTestnet.d.ts.map +1 -0
  623. package/_types/chains/definitions/zkSync.d.ts +650 -0
  624. package/_types/chains/definitions/zkSync.d.ts.map +1 -0
  625. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +649 -0
  626. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -0
  627. package/_types/chains/definitions/zkSyncTestnet.d.ts +650 -0
  628. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -0
  629. package/_types/chains/definitions/zora.d.ts +811 -0
  630. package/_types/chains/definitions/zora.d.ts.map +1 -0
  631. package/_types/chains/definitions/zoraSepolia.d.ts +812 -0
  632. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
  633. package/_types/chains/definitions/zoraTestnet.d.ts +806 -0
  634. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -0
  635. package/_types/chains/index.d.ts +205 -0
  636. package/_types/chains/index.d.ts.map +1 -0
  637. package/_types/chains/opStack/abis.d.ts +1010 -0
  638. package/_types/chains/opStack/abis.d.ts.map +1 -0
  639. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +65 -0
  640. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -0
  641. package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts +50 -0
  642. package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts.map +1 -0
  643. package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +48 -0
  644. package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +1 -0
  645. package/_types/chains/opStack/actions/depositTransaction.d.ts +80 -0
  646. package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -0
  647. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +39 -0
  648. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +1 -0
  649. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +39 -0
  650. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +1 -0
  651. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +39 -0
  652. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +1 -0
  653. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +39 -0
  654. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +1 -0
  655. package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts +50 -0
  656. package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts.map +1 -0
  657. package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts +45 -0
  658. package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -0
  659. package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts +51 -0
  660. package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -0
  661. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +43 -0
  662. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -0
  663. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +43 -0
  664. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -0
  665. package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts +63 -0
  666. package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts.map +1 -0
  667. package/_types/chains/opStack/actions/estimateTotalFee.d.ts +37 -0
  668. package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +1 -0
  669. package/_types/chains/opStack/actions/estimateTotalGas.d.ts +36 -0
  670. package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +1 -0
  671. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts +49 -0
  672. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -0
  673. package/_types/chains/opStack/actions/getL2Output.d.ts +44 -0
  674. package/_types/chains/opStack/actions/getL2Output.d.ts.map +1 -0
  675. package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +57 -0
  676. package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +1 -0
  677. package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts +61 -0
  678. package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts.map +1 -0
  679. package/_types/chains/opStack/actions/getTimeToProve.d.ts +50 -0
  680. package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -0
  681. package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +48 -0
  682. package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +1 -0
  683. package/_types/chains/opStack/actions/initiateWithdrawal.d.ts +77 -0
  684. package/_types/chains/opStack/actions/initiateWithdrawal.d.ts.map +1 -0
  685. package/_types/chains/opStack/actions/proveWithdrawal.d.ts +67 -0
  686. package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -0
  687. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts +55 -0
  688. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -0
  689. package/_types/chains/opStack/actions/waitToFinalize.d.ts +45 -0
  690. package/_types/chains/opStack/actions/waitToFinalize.d.ts.map +1 -0
  691. package/_types/chains/opStack/actions/waitToProve.d.ts +55 -0
  692. package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -0
  693. package/_types/chains/opStack/chainConfig.d.ts +773 -0
  694. package/_types/chains/opStack/chainConfig.d.ts.map +1 -0
  695. package/_types/chains/opStack/chains.d.ts +12 -0
  696. package/_types/chains/opStack/chains.d.ts.map +1 -0
  697. package/_types/chains/opStack/contracts.d.ts +25 -0
  698. package/_types/chains/opStack/contracts.d.ts.map +1 -0
  699. package/_types/chains/opStack/decorators/publicL1.d.ts +401 -0
  700. package/_types/chains/opStack/decorators/publicL1.d.ts.map +1 -0
  701. package/_types/chains/opStack/decorators/publicL2.d.ts +312 -0
  702. package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -0
  703. package/_types/chains/opStack/decorators/walletL1.d.ts +136 -0
  704. package/_types/chains/opStack/decorators/walletL1.d.ts.map +1 -0
  705. package/_types/chains/opStack/decorators/walletL2.d.ts +79 -0
  706. package/_types/chains/opStack/decorators/walletL2.d.ts.map +1 -0
  707. package/_types/chains/opStack/errors/withdrawal.d.ts +12 -0
  708. package/_types/chains/opStack/errors/withdrawal.d.ts.map +1 -0
  709. package/_types/chains/opStack/formatters.d.ts +751 -0
  710. package/_types/chains/opStack/formatters.d.ts.map +1 -0
  711. package/_types/chains/opStack/index.d.ts +42 -0
  712. package/_types/chains/opStack/index.d.ts.map +1 -0
  713. package/_types/chains/opStack/parsers.d.ts +8 -0
  714. package/_types/chains/opStack/parsers.d.ts.map +1 -0
  715. package/_types/chains/opStack/serializers.d.ts +12 -0
  716. package/_types/chains/opStack/serializers.d.ts.map +1 -0
  717. package/_types/chains/opStack/types/block.d.ts +13 -0
  718. package/_types/chains/opStack/types/block.d.ts.map +1 -0
  719. package/_types/chains/opStack/types/chain.d.ts +9 -0
  720. package/_types/chains/opStack/types/chain.d.ts.map +1 -0
  721. package/_types/chains/opStack/types/contract.d.ts +14 -0
  722. package/_types/chains/opStack/types/contract.d.ts.map +1 -0
  723. package/_types/chains/opStack/types/deposit.d.ts +25 -0
  724. package/_types/chains/opStack/types/deposit.d.ts.map +1 -0
  725. package/_types/chains/opStack/types/transaction.d.ts +60 -0
  726. package/_types/chains/opStack/types/transaction.d.ts.map +1 -0
  727. package/_types/chains/opStack/types/withdrawal.d.ts +22 -0
  728. package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -0
  729. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +446 -0
  730. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +1 -0
  731. package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts +137 -0
  732. package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts.map +1 -0
  733. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +12 -0
  734. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +1 -0
  735. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +11 -0
  736. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +1 -0
  737. package/_types/chains/opStack/utils/getSourceHash.d.ts +28 -0
  738. package/_types/chains/opStack/utils/getSourceHash.d.ts.map +1 -0
  739. package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts +11 -0
  740. package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts.map +1 -0
  741. package/_types/chains/opStack/utils/getWithdrawals.d.ts +12 -0
  742. package/_types/chains/opStack/utils/getWithdrawals.d.ts.map +1 -0
  743. package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts +15 -0
  744. package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts.map +1 -0
  745. package/_types/chains/utils.d.ts +5 -0
  746. package/_types/chains/utils.d.ts.map +1 -0
  747. package/_types/chains/zksync/actions/sendEip712Transaction.d.ts +50 -0
  748. package/_types/chains/zksync/actions/sendEip712Transaction.d.ts.map +1 -0
  749. package/_types/chains/zksync/actions/sendTransaction.d.ts +54 -0
  750. package/_types/chains/zksync/actions/sendTransaction.d.ts.map +1 -0
  751. package/_types/chains/zksync/actions/signEip712Transaction.d.ts +54 -0
  752. package/_types/chains/zksync/actions/signEip712Transaction.d.ts.map +1 -0
  753. package/_types/chains/zksync/actions/signTransaction.d.ts +56 -0
  754. package/_types/chains/zksync/actions/signTransaction.d.ts.map +1 -0
  755. package/_types/chains/zksync/chainConfig.d.ts +621 -0
  756. package/_types/chains/zksync/chainConfig.d.ts.map +1 -0
  757. package/_types/chains/zksync/chains.d.ts +4 -0
  758. package/_types/chains/zksync/chains.d.ts.map +1 -0
  759. package/_types/chains/zksync/decorators/eip712.d.ts +151 -0
  760. package/_types/chains/zksync/decorators/eip712.d.ts.map +1 -0
  761. package/_types/chains/zksync/errors/transaction.d.ts +9 -0
  762. package/_types/chains/zksync/errors/transaction.d.ts.map +1 -0
  763. package/_types/chains/zksync/formatters.d.ts +617 -0
  764. package/_types/chains/zksync/formatters.d.ts.map +1 -0
  765. package/_types/chains/zksync/index.d.ts +15 -0
  766. package/_types/chains/zksync/index.d.ts.map +1 -0
  767. package/_types/chains/zksync/serializers.d.ts +8 -0
  768. package/_types/chains/zksync/serializers.d.ts.map +1 -0
  769. package/_types/chains/zksync/types/block.d.ts +15 -0
  770. package/_types/chains/zksync/types/block.d.ts.map +1 -0
  771. package/_types/chains/zksync/types/chain.d.ts +9 -0
  772. package/_types/chains/zksync/types/chain.d.ts.map +1 -0
  773. package/_types/chains/zksync/types/eip712.d.ts +27 -0
  774. package/_types/chains/zksync/types/eip712.d.ts.map +1 -0
  775. package/_types/chains/zksync/types/fee.d.ts +6 -0
  776. package/_types/chains/zksync/types/fee.d.ts.map +1 -0
  777. package/_types/chains/zksync/types/log.d.ts +41 -0
  778. package/_types/chains/zksync/types/log.d.ts.map +1 -0
  779. package/_types/chains/zksync/types/transaction.d.ts +122 -0
  780. package/_types/chains/zksync/types/transaction.d.ts.map +1 -0
  781. package/_types/chains/zksync/utils/assertEip712Request.d.ts +8 -0
  782. package/_types/chains/zksync/utils/assertEip712Request.d.ts.map +1 -0
  783. package/_types/chains/zksync/utils/assertEip712Transaction.d.ts +3 -0
  784. package/_types/chains/zksync/utils/assertEip712Transaction.d.ts.map +1 -0
  785. package/_types/chains/zksync/utils/getEip712Domain.d.ts +4 -0
  786. package/_types/chains/zksync/utils/getEip712Domain.d.ts.map +1 -0
  787. package/_types/chains/zksync/utils/isEip712Transaction.d.ts +3 -0
  788. package/_types/chains/zksync/utils/isEip712Transaction.d.ts.map +1 -0
  789. package/_types/clients/createClient.d.ts +86 -0
  790. package/_types/clients/createClient.d.ts.map +1 -0
  791. package/_types/clients/createPublicClient.d.ts +31 -0
  792. package/_types/clients/createPublicClient.d.ts.map +1 -0
  793. package/_types/clients/createTestClient.d.ts +45 -0
  794. package/_types/clients/createTestClient.d.ts.map +1 -0
  795. package/_types/clients/createWalletClient.d.ts +51 -0
  796. package/_types/clients/createWalletClient.d.ts.map +1 -0
  797. package/_types/clients/decorators/public.d.ts +1252 -0
  798. package/_types/clients/decorators/public.d.ts.map +1 -0
  799. package/_types/clients/decorators/test.d.ts +640 -0
  800. package/_types/clients/decorators/test.d.ts.map +1 -0
  801. package/_types/clients/decorators/wallet.d.ts +561 -0
  802. package/_types/clients/decorators/wallet.d.ts.map +1 -0
  803. package/_types/clients/transports/createTransport.d.ts +36 -0
  804. package/_types/clients/transports/createTransport.d.ts.map +1 -0
  805. package/_types/clients/transports/custom.d.ts +23 -0
  806. package/_types/clients/transports/custom.d.ts.map +1 -0
  807. package/_types/clients/transports/fallback.d.ts +77 -0
  808. package/_types/clients/transports/fallback.d.ts.map +1 -0
  809. package/_types/clients/transports/http.d.ts +44 -0
  810. package/_types/clients/transports/http.d.ts.map +1 -0
  811. package/_types/clients/transports/ipc.d.ts +46 -0
  812. package/_types/clients/transports/ipc.d.ts.map +1 -0
  813. package/_types/clients/transports/webSocket.d.ts +52 -0
  814. package/_types/clients/transports/webSocket.d.ts.map +1 -0
  815. package/_types/constants/abis.d.ts +1130 -0
  816. package/_types/constants/abis.d.ts.map +1 -0
  817. package/_types/constants/address.d.ts +2 -0
  818. package/_types/constants/address.d.ts.map +1 -0
  819. package/_types/constants/bytes.d.ts +2 -0
  820. package/_types/constants/bytes.d.ts.map +1 -0
  821. package/_types/constants/contract.d.ts +2 -0
  822. package/_types/constants/contract.d.ts.map +1 -0
  823. package/_types/constants/contracts.d.ts +2 -0
  824. package/_types/constants/contracts.d.ts.map +1 -0
  825. package/_types/constants/number.d.ts +97 -0
  826. package/_types/constants/number.d.ts.map +1 -0
  827. package/_types/constants/solidity.d.ts +15 -0
  828. package/_types/constants/solidity.d.ts.map +1 -0
  829. package/_types/constants/strings.d.ts +2 -0
  830. package/_types/constants/strings.d.ts.map +1 -0
  831. package/_types/constants/unit.d.ts +13 -0
  832. package/_types/constants/unit.d.ts.map +1 -0
  833. package/_types/ens/index.d.ts +9 -0
  834. package/_types/ens/index.d.ts.map +1 -0
  835. package/_types/errors/abi.d.ts +267 -0
  836. package/_types/errors/abi.d.ts.map +1 -0
  837. package/_types/errors/account.d.ts +11 -0
  838. package/_types/errors/account.d.ts.map +1 -0
  839. package/_types/errors/address.d.ts +11 -0
  840. package/_types/errors/address.d.ts.map +1 -0
  841. package/_types/errors/base.d.ts +27 -0
  842. package/_types/errors/base.d.ts.map +1 -0
  843. package/_types/errors/block.d.ts +13 -0
  844. package/_types/errors/block.d.ts.map +1 -0
  845. package/_types/errors/ccip.d.ts +38 -0
  846. package/_types/errors/ccip.d.ts.map +1 -0
  847. package/_types/errors/chain.d.ts +50 -0
  848. package/_types/errors/chain.d.ts.map +1 -0
  849. package/_types/errors/contract.d.ts +79 -0
  850. package/_types/errors/contract.d.ts.map +1 -0
  851. package/_types/errors/cursor.d.ts +31 -0
  852. package/_types/errors/cursor.d.ts.map +1 -0
  853. package/_types/errors/data.d.ts +35 -0
  854. package/_types/errors/data.d.ts.map +1 -0
  855. package/_types/errors/encoding.d.ts +47 -0
  856. package/_types/errors/encoding.d.ts.map +1 -0
  857. package/_types/errors/ens.d.ts +38 -0
  858. package/_types/errors/ens.d.ts.map +1 -0
  859. package/_types/errors/estimateGas.d.ts +17 -0
  860. package/_types/errors/estimateGas.d.ts.map +1 -0
  861. package/_types/errors/fee.d.ts +25 -0
  862. package/_types/errors/fee.d.ts.map +1 -0
  863. package/_types/errors/log.d.ts +9 -0
  864. package/_types/errors/log.d.ts.map +1 -0
  865. package/_types/errors/node.d.ts +142 -0
  866. package/_types/errors/node.d.ts.map +1 -0
  867. package/_types/errors/request.d.ts +73 -0
  868. package/_types/errors/request.d.ts.map +1 -0
  869. package/_types/errors/rpc.d.ts +302 -0
  870. package/_types/errors/rpc.d.ts.map +1 -0
  871. package/_types/errors/stateOverride.d.ts +21 -0
  872. package/_types/errors/stateOverride.d.ts.map +1 -0
  873. package/_types/errors/transaction.d.ts +109 -0
  874. package/_types/errors/transaction.d.ts.map +1 -0
  875. package/_types/errors/transport.d.ts +8 -0
  876. package/_types/errors/transport.d.ts.map +1 -0
  877. package/_types/errors/utils.d.ts +8 -0
  878. package/_types/errors/utils.d.ts.map +1 -0
  879. package/_types/errors/version.d.ts +2 -0
  880. package/_types/errors/version.d.ts.map +1 -0
  881. package/_types/index.d.ts +246 -0
  882. package/_types/index.d.ts.map +1 -0
  883. package/_types/node/index.d.ts +3 -0
  884. package/_types/node/index.d.ts.map +1 -0
  885. package/_types/types/account.d.ts +15 -0
  886. package/_types/types/account.d.ts.map +1 -0
  887. package/_types/types/block.d.ts +71 -0
  888. package/_types/types/block.d.ts.map +1 -0
  889. package/_types/types/chain.d.ts +162 -0
  890. package/_types/types/chain.d.ts.map +1 -0
  891. package/_types/types/contract.d.ts +119 -0
  892. package/_types/types/contract.d.ts.map +1 -0
  893. package/_types/types/eip1193.d.ts +1288 -0
  894. package/_types/types/eip1193.d.ts.map +1 -0
  895. package/_types/types/ens.d.ts +5 -0
  896. package/_types/types/ens.d.ts.map +1 -0
  897. package/_types/types/fee.d.ts +36 -0
  898. package/_types/types/fee.d.ts.map +1 -0
  899. package/_types/types/filter.d.ts +40 -0
  900. package/_types/types/filter.d.ts.map +1 -0
  901. package/_types/types/log.d.ts +55 -0
  902. package/_types/types/log.d.ts.map +1 -0
  903. package/_types/types/misc.d.ts +18 -0
  904. package/_types/types/misc.d.ts.map +1 -0
  905. package/_types/types/multicall.d.ts +58 -0
  906. package/_types/types/multicall.d.ts.map +1 -0
  907. package/_types/types/proof.d.ts +18 -0
  908. package/_types/types/proof.d.ts.map +1 -0
  909. package/_types/types/rpc.d.ts +78 -0
  910. package/_types/types/rpc.d.ts.map +1 -0
  911. package/_types/types/stateOverride.d.ts +20 -0
  912. package/_types/types/stateOverride.d.ts.map +1 -0
  913. package/_types/types/transaction.d.ts +173 -0
  914. package/_types/types/transaction.d.ts.map +1 -0
  915. package/_types/types/transport.d.ts +24 -0
  916. package/_types/types/transport.d.ts.map +1 -0
  917. package/_types/types/typedData.d.ts +25 -0
  918. package/_types/types/typedData.d.ts.map +1 -0
  919. package/_types/types/utils.d.ts +171 -0
  920. package/_types/types/utils.d.ts.map +1 -0
  921. package/_types/types/window.d.ts +7 -0
  922. package/_types/types/window.d.ts.map +1 -0
  923. package/_types/types/withdrawal.d.ts +8 -0
  924. package/_types/types/withdrawal.d.ts.map +1 -0
  925. package/_types/utils/abi/decodeAbiParameters.d.ts +24 -0
  926. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -0
  927. package/_types/utils/abi/decodeDeployData.d.ts +18 -0
  928. package/_types/utils/abi/decodeDeployData.d.ts.map +1 -0
  929. package/_types/utils/abi/decodeErrorResult.d.ts +27 -0
  930. package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -0
  931. package/_types/utils/abi/decodeEventLog.d.ts +33 -0
  932. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -0
  933. package/_types/utils/abi/decodeFunctionData.d.ts +26 -0
  934. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -0
  935. package/_types/utils/abi/decodeFunctionResult.d.ts +26 -0
  936. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -0
  937. package/_types/utils/abi/encodeAbiParameters.d.ts +30 -0
  938. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -0
  939. package/_types/utils/abi/encodeDeployData.d.ts +22 -0
  940. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -0
  941. package/_types/utils/abi/encodeErrorResult.d.ts +24 -0
  942. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -0
  943. package/_types/utils/abi/encodeEventTopics.d.ts +26 -0
  944. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -0
  945. package/_types/utils/abi/encodeFunctionData.d.ts +28 -0
  946. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -0
  947. package/_types/utils/abi/encodeFunctionResult.d.ts +22 -0
  948. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -0
  949. package/_types/utils/abi/encodePacked.d.ts +20 -0
  950. package/_types/utils/abi/encodePacked.d.ts.map +1 -0
  951. package/_types/utils/abi/formatAbiItem.d.ts +14 -0
  952. package/_types/utils/abi/formatAbiItem.d.ts.map +1 -0
  953. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +10 -0
  954. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -0
  955. package/_types/utils/abi/getAbiItem.d.ts +23 -0
  956. package/_types/utils/abi/getAbiItem.d.ts.map +1 -0
  957. package/_types/utils/abi/parseEventLogs.d.ts +43 -0
  958. package/_types/utils/abi/parseEventLogs.d.ts.map +1 -0
  959. package/_types/utils/accounts.d.ts +3 -0
  960. package/_types/utils/accounts.d.ts.map +1 -0
  961. package/_types/utils/address/getAddress.d.ts +10 -0
  962. package/_types/utils/address/getAddress.d.ts.map +1 -0
  963. package/_types/utils/address/getContractAddress.d.ts +35 -0
  964. package/_types/utils/address/getContractAddress.d.ts.map +1 -0
  965. package/_types/utils/address/isAddress.d.ts +5 -0
  966. package/_types/utils/address/isAddress.d.ts.map +1 -0
  967. package/_types/utils/address/isAddressEqual.d.ts +7 -0
  968. package/_types/utils/address/isAddressEqual.d.ts.map +1 -0
  969. package/_types/utils/buildRequest.d.ts +11 -0
  970. package/_types/utils/buildRequest.d.ts.map +1 -0
  971. package/_types/utils/ccip.d.ts +40 -0
  972. package/_types/utils/ccip.d.ts.map +1 -0
  973. package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
  974. package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
  975. package/_types/utils/chain/defineChain.d.ts +4 -0
  976. package/_types/utils/chain/defineChain.d.ts.map +1 -0
  977. package/_types/utils/chain/extractChain.d.ts +10 -0
  978. package/_types/utils/chain/extractChain.d.ts.map +1 -0
  979. package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
  980. package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
  981. package/_types/utils/cursor.d.ts +47 -0
  982. package/_types/utils/cursor.d.ts.map +1 -0
  983. package/_types/utils/data/concat.d.ts +10 -0
  984. package/_types/utils/data/concat.d.ts.map +1 -0
  985. package/_types/utils/data/isBytes.d.ts +5 -0
  986. package/_types/utils/data/isBytes.d.ts.map +1 -0
  987. package/_types/utils/data/isBytesEqual.d.ts +7 -0
  988. package/_types/utils/data/isBytesEqual.d.ts.map +1 -0
  989. package/_types/utils/data/isHex.d.ts +7 -0
  990. package/_types/utils/data/isHex.d.ts.map +1 -0
  991. package/_types/utils/data/pad.d.ts +16 -0
  992. package/_types/utils/data/pad.d.ts.map +1 -0
  993. package/_types/utils/data/size.d.ts +12 -0
  994. package/_types/utils/data/size.d.ts.map +1 -0
  995. package/_types/utils/data/slice.d.ts +42 -0
  996. package/_types/utils/data/slice.d.ts.map +1 -0
  997. package/_types/utils/data/trim.d.ts +10 -0
  998. package/_types/utils/data/trim.d.ts.map +1 -0
  999. package/_types/utils/encoding/fromBytes.d.ts +117 -0
  1000. package/_types/utils/encoding/fromBytes.d.ts.map +1 -0
  1001. package/_types/utils/encoding/fromHex.d.ts +149 -0
  1002. package/_types/utils/encoding/fromHex.d.ts.map +1 -0
  1003. package/_types/utils/encoding/fromRlp.d.ts +21 -0
  1004. package/_types/utils/encoding/fromRlp.d.ts.map +1 -0
  1005. package/_types/utils/encoding/toBytes.d.ts +134 -0
  1006. package/_types/utils/encoding/toBytes.d.ts.map +1 -0
  1007. package/_types/utils/encoding/toHex.d.ts +148 -0
  1008. package/_types/utils/encoding/toHex.d.ts.map +1 -0
  1009. package/_types/utils/encoding/toRlp.d.ts +16 -0
  1010. package/_types/utils/encoding/toRlp.d.ts.map +1 -0
  1011. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +13 -0
  1012. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -0
  1013. package/_types/utils/ens/avatar/utils.d.ts +48 -0
  1014. package/_types/utils/ens/avatar/utils.d.ts.map +1 -0
  1015. package/_types/utils/ens/encodeLabelhash.d.ts +5 -0
  1016. package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -0
  1017. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +6 -0
  1018. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -0
  1019. package/_types/utils/ens/errors.d.ts +4 -0
  1020. package/_types/utils/ens/errors.d.ts.map +1 -0
  1021. package/_types/utils/ens/labelhash.d.ts +17 -0
  1022. package/_types/utils/ens/labelhash.d.ts.map +1 -0
  1023. package/_types/utils/ens/namehash.d.ts +20 -0
  1024. package/_types/utils/ens/namehash.d.ts.map +1 -0
  1025. package/_types/utils/ens/normalize.d.ts +14 -0
  1026. package/_types/utils/ens/normalize.d.ts.map +1 -0
  1027. package/_types/utils/ens/packetToBytes.d.ts +8 -0
  1028. package/_types/utils/ens/packetToBytes.d.ts.map +1 -0
  1029. package/_types/utils/errors/getCallError.d.ts +13 -0
  1030. package/_types/utils/errors/getCallError.d.ts.map +1 -0
  1031. package/_types/utils/errors/getContractError.d.ts +15 -0
  1032. package/_types/utils/errors/getContractError.d.ts.map +1 -0
  1033. package/_types/utils/errors/getEstimateGasError.d.ts +15 -0
  1034. package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -0
  1035. package/_types/utils/errors/getNodeError.d.ts +8 -0
  1036. package/_types/utils/errors/getNodeError.d.ts.map +1 -0
  1037. package/_types/utils/errors/getTransactionError.d.ts +16 -0
  1038. package/_types/utils/errors/getTransactionError.d.ts.map +1 -0
  1039. package/_types/utils/filters/createFilterRequestScope.d.ts +22 -0
  1040. package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -0
  1041. package/_types/utils/formatters/block.d.ts +28 -0
  1042. package/_types/utils/formatters/block.d.ts.map +1 -0
  1043. package/_types/utils/formatters/extract.d.ts +10 -0
  1044. package/_types/utils/formatters/extract.d.ts.map +1 -0
  1045. package/_types/utils/formatters/feeHistory.d.ts +6 -0
  1046. package/_types/utils/formatters/feeHistory.d.ts.map +1 -0
  1047. package/_types/utils/formatters/formatter.d.ts +12 -0
  1048. package/_types/utils/formatters/formatter.d.ts.map +1 -0
  1049. package/_types/utils/formatters/log.d.ts +9 -0
  1050. package/_types/utils/formatters/log.d.ts.map +1 -0
  1051. package/_types/utils/formatters/proof.d.ts +6 -0
  1052. package/_types/utils/formatters/proof.d.ts.map +1 -0
  1053. package/_types/utils/formatters/transaction.d.ts +415 -0
  1054. package/_types/utils/formatters/transaction.d.ts.map +1 -0
  1055. package/_types/utils/formatters/transactionReceipt.d.ts +18 -0
  1056. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -0
  1057. package/_types/utils/formatters/transactionRequest.d.ts +24 -0
  1058. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -0
  1059. package/_types/utils/getAction.d.ts +10 -0
  1060. package/_types/utils/getAction.d.ts.map +1 -0
  1061. package/_types/utils/hash/hashSignature.d.ts +6 -0
  1062. package/_types/utils/hash/hashSignature.d.ts.map +1 -0
  1063. package/_types/utils/hash/isHash.d.ts +7 -0
  1064. package/_types/utils/hash/isHash.d.ts.map +1 -0
  1065. package/_types/utils/hash/keccak256.d.ts +11 -0
  1066. package/_types/utils/hash/keccak256.d.ts.map +1 -0
  1067. package/_types/utils/hash/normalizeSignature.d.ts +6 -0
  1068. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
  1069. package/_types/utils/hash/ripemd160.d.ts +11 -0
  1070. package/_types/utils/hash/ripemd160.d.ts.map +1 -0
  1071. package/_types/utils/hash/sha256.d.ts +11 -0
  1072. package/_types/utils/hash/sha256.d.ts.map +1 -0
  1073. package/_types/utils/hash/toEventHash.d.ts +2 -0
  1074. package/_types/utils/hash/toEventHash.d.ts.map +1 -0
  1075. package/_types/utils/hash/toEventSelector.d.ts +12 -0
  1076. package/_types/utils/hash/toEventSelector.d.ts.map +1 -0
  1077. package/_types/utils/hash/toEventSignature.d.ts +2 -0
  1078. package/_types/utils/hash/toEventSignature.d.ts.map +1 -0
  1079. package/_types/utils/hash/toFunctionHash.d.ts +2 -0
  1080. package/_types/utils/hash/toFunctionHash.d.ts.map +1 -0
  1081. package/_types/utils/hash/toFunctionSelector.d.ts +14 -0
  1082. package/_types/utils/hash/toFunctionSelector.d.ts.map +1 -0
  1083. package/_types/utils/hash/toFunctionSignature.d.ts +2 -0
  1084. package/_types/utils/hash/toFunctionSignature.d.ts.map +1 -0
  1085. package/_types/utils/hash/toSignature.d.ts +23 -0
  1086. package/_types/utils/hash/toSignature.d.ts.map +1 -0
  1087. package/_types/utils/hash/toSignatureHash.d.ts +10 -0
  1088. package/_types/utils/hash/toSignatureHash.d.ts.map +1 -0
  1089. package/_types/utils/index.d.ts +109 -0
  1090. package/_types/utils/index.d.ts.map +1 -0
  1091. package/_types/utils/observe.d.ts +19 -0
  1092. package/_types/utils/observe.d.ts.map +1 -0
  1093. package/_types/utils/poll.d.ts +15 -0
  1094. package/_types/utils/poll.d.ts.map +1 -0
  1095. package/_types/utils/promise/createBatchScheduler.d.ts +21 -0
  1096. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -0
  1097. package/_types/utils/promise/withCache.d.ts +38 -0
  1098. package/_types/utils/promise/withCache.d.ts.map +1 -0
  1099. package/_types/utils/promise/withRetry.d.ts +15 -0
  1100. package/_types/utils/promise/withRetry.d.ts.map +1 -0
  1101. package/_types/utils/promise/withTimeout.d.ts +10 -0
  1102. package/_types/utils/promise/withTimeout.d.ts.map +1 -0
  1103. package/_types/utils/regex.d.ts +4 -0
  1104. package/_types/utils/regex.d.ts.map +1 -0
  1105. package/_types/utils/rpc/compat.d.ts +78 -0
  1106. package/_types/utils/rpc/compat.d.ts.map +1 -0
  1107. package/_types/utils/rpc/http.d.ts +20 -0
  1108. package/_types/utils/rpc/http.d.ts.map +1 -0
  1109. package/_types/utils/rpc/id.d.ts +11 -0
  1110. package/_types/utils/rpc/id.d.ts.map +1 -0
  1111. package/_types/utils/rpc/ipc.d.ts +8 -0
  1112. package/_types/utils/rpc/ipc.d.ts.map +1 -0
  1113. package/_types/utils/rpc/socket.d.ts +45 -0
  1114. package/_types/utils/rpc/socket.d.ts.map +1 -0
  1115. package/_types/utils/rpc/webSocket.d.ts +3 -0
  1116. package/_types/utils/rpc/webSocket.d.ts.map +1 -0
  1117. package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
  1118. package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
  1119. package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
  1120. package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
  1121. package/_types/utils/signature/hashMessage.d.ts +11 -0
  1122. package/_types/utils/signature/hashMessage.d.ts.map +1 -0
  1123. package/_types/utils/signature/hashTypedData.d.ts +29 -0
  1124. package/_types/utils/signature/hashTypedData.d.ts.map +1 -0
  1125. package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
  1126. package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
  1127. package/_types/utils/signature/hexToSignature.d.ts +16 -0
  1128. package/_types/utils/signature/hexToSignature.d.ts.map +1 -0
  1129. package/_types/utils/signature/recoverAddress.d.ts +11 -0
  1130. package/_types/utils/signature/recoverAddress.d.ts.map +1 -0
  1131. package/_types/utils/signature/recoverMessageAddress.d.ts +13 -0
  1132. package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -0
  1133. package/_types/utils/signature/recoverPublicKey.d.ts +12 -0
  1134. package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -0
  1135. package/_types/utils/signature/recoverTypedDataAddress.d.ts +13 -0
  1136. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -0
  1137. package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
  1138. package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
  1139. package/_types/utils/signature/signatureToHex.d.ts +21 -0
  1140. package/_types/utils/signature/signatureToHex.d.ts.map +1 -0
  1141. package/_types/utils/signature/verifyMessage.d.ts +30 -0
  1142. package/_types/utils/signature/verifyMessage.d.ts.map +1 -0
  1143. package/_types/utils/signature/verifyTypedData.d.ts +29 -0
  1144. package/_types/utils/signature/verifyTypedData.d.ts.map +1 -0
  1145. package/_types/utils/stringify.d.ts +4 -0
  1146. package/_types/utils/stringify.d.ts.map +1 -0
  1147. package/_types/utils/transaction/assertRequest.d.ts +11 -0
  1148. package/_types/utils/transaction/assertRequest.d.ts.map +1 -0
  1149. package/_types/utils/transaction/assertTransaction.d.ts +14 -0
  1150. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -0
  1151. package/_types/utils/transaction/getSerializedTransactionType.d.ts +9 -0
  1152. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -0
  1153. package/_types/utils/transaction/getTransactionType.d.ts +7 -0
  1154. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -0
  1155. package/_types/utils/transaction/parseTransaction.d.ts +26 -0
  1156. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -0
  1157. package/_types/utils/transaction/serializeAccessList.d.ts +10 -0
  1158. package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -0
  1159. package/_types/utils/transaction/serializeTransaction.d.ts +19 -0
  1160. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -0
  1161. package/_types/utils/typedData.d.ts +19 -0
  1162. package/_types/utils/typedData.d.ts.map +1 -0
  1163. package/_types/utils/uid.d.ts +2 -0
  1164. package/_types/utils/uid.d.ts.map +1 -0
  1165. package/_types/utils/unit/formatEther.d.ts +15 -0
  1166. package/_types/utils/unit/formatEther.d.ts.map +1 -0
  1167. package/_types/utils/unit/formatGwei.d.ts +15 -0
  1168. package/_types/utils/unit/formatGwei.d.ts.map +1 -0
  1169. package/_types/utils/unit/formatUnits.d.ts +15 -0
  1170. package/_types/utils/unit/formatUnits.d.ts.map +1 -0
  1171. package/_types/utils/unit/parseEther.d.ts +16 -0
  1172. package/_types/utils/unit/parseEther.d.ts.map +1 -0
  1173. package/_types/utils/unit/parseGwei.d.ts +16 -0
  1174. package/_types/utils/unit/parseGwei.d.ts.map +1 -0
  1175. package/_types/utils/unit/parseUnits.d.ts +15 -0
  1176. package/_types/utils/unit/parseUnits.d.ts.map +1 -0
  1177. package/_types/utils/wait.d.ts +2 -0
  1178. package/_types/utils/wait.d.ts.map +1 -0
  1179. package/_types/window/index.d.ts +2 -0
  1180. package/_types/window/index.d.ts.map +1 -0
  1181. package/errors/version.ts +1 -1
  1182. package/package.json +15 -46
@@ -0,0 +1,1252 @@
1
+ import type { Abi, AbiEvent, Address } from 'abitype';
2
+ import { type GetEnsAddressParameters, type GetEnsAddressReturnType } from '../../actions/ens/getEnsAddress.js';
3
+ import { type GetEnsAvatarParameters, type GetEnsAvatarReturnType } from '../../actions/ens/getEnsAvatar.js';
4
+ import { type GetEnsNameParameters, type GetEnsNameReturnType } from '../../actions/ens/getEnsName.js';
5
+ import { type GetEnsResolverParameters, type GetEnsResolverReturnType } from '../../actions/ens/getEnsResolver.js';
6
+ import { type GetEnsTextParameters, type GetEnsTextReturnType } from '../../actions/ens/getEnsText.js';
7
+ import { type CallParameters, type CallReturnType } from '../../actions/public/call.js';
8
+ import { type CreateBlockFilterReturnType } from '../../actions/public/createBlockFilter.js';
9
+ import { type CreateContractEventFilterParameters, type CreateContractEventFilterReturnType } from '../../actions/public/createContractEventFilter.js';
10
+ import { type CreateEventFilterParameters, type CreateEventFilterReturnType } from '../../actions/public/createEventFilter.js';
11
+ import { type CreatePendingTransactionFilterReturnType } from '../../actions/public/createPendingTransactionFilter.js';
12
+ import { type EstimateContractGasParameters, type EstimateContractGasReturnType } from '../../actions/public/estimateContractGas.js';
13
+ import { type EstimateFeesPerGasParameters, type EstimateFeesPerGasReturnType } from '../../actions/public/estimateFeesPerGas.js';
14
+ import { type EstimateGasParameters, type EstimateGasReturnType } from '../../actions/public/estimateGas.js';
15
+ import { type EstimateMaxPriorityFeePerGasParameters, type EstimateMaxPriorityFeePerGasReturnType } from '../../actions/public/estimateMaxPriorityFeePerGas.js';
16
+ import { type GetBalanceParameters, type GetBalanceReturnType } from '../../actions/public/getBalance.js';
17
+ import { type GetBlockParameters, type GetBlockReturnType } from '../../actions/public/getBlock.js';
18
+ import { type GetBlockNumberParameters, type GetBlockNumberReturnType } from '../../actions/public/getBlockNumber.js';
19
+ import { type GetBlockTransactionCountParameters, type GetBlockTransactionCountReturnType } from '../../actions/public/getBlockTransactionCount.js';
20
+ import { type GetBytecodeParameters, type GetBytecodeReturnType } from '../../actions/public/getBytecode.js';
21
+ import { type GetChainIdReturnType } from '../../actions/public/getChainId.js';
22
+ import { type GetContractEventsParameters, type GetContractEventsReturnType } from '../../actions/public/getContractEvents.js';
23
+ import { type GetFeeHistoryParameters, type GetFeeHistoryReturnType } from '../../actions/public/getFeeHistory.js';
24
+ import { type GetFilterChangesParameters, type GetFilterChangesReturnType } from '../../actions/public/getFilterChanges.js';
25
+ import { type GetFilterLogsParameters, type GetFilterLogsReturnType } from '../../actions/public/getFilterLogs.js';
26
+ import { type GetGasPriceReturnType } from '../../actions/public/getGasPrice.js';
27
+ import { type GetLogsParameters, type GetLogsReturnType } from '../../actions/public/getLogs.js';
28
+ import { type GetProofParameters, type GetProofReturnType } from '../../actions/public/getProof.js';
29
+ import { type GetStorageAtParameters, type GetStorageAtReturnType } from '../../actions/public/getStorageAt.js';
30
+ import { type GetTransactionParameters, type GetTransactionReturnType } from '../../actions/public/getTransaction.js';
31
+ import { type GetTransactionConfirmationsParameters, type GetTransactionConfirmationsReturnType } from '../../actions/public/getTransactionConfirmations.js';
32
+ import { type GetTransactionCountParameters, type GetTransactionCountReturnType } from '../../actions/public/getTransactionCount.js';
33
+ import { type GetTransactionReceiptParameters, type GetTransactionReceiptReturnType } from '../../actions/public/getTransactionReceipt.js';
34
+ import { type MulticallParameters, type MulticallReturnType } from '../../actions/public/multicall.js';
35
+ import { type ReadContractParameters, type ReadContractReturnType } from '../../actions/public/readContract.js';
36
+ import { type SimulateContractParameters, type SimulateContractReturnType } from '../../actions/public/simulateContract.js';
37
+ import { type UninstallFilterParameters, type UninstallFilterReturnType } from '../../actions/public/uninstallFilter.js';
38
+ import { type VerifyMessageParameters, type VerifyMessageReturnType } from '../../actions/public/verifyMessage.js';
39
+ import { type VerifyTypedDataParameters, type VerifyTypedDataReturnType } from '../../actions/public/verifyTypedData.js';
40
+ import { type WaitForTransactionReceiptParameters, type WaitForTransactionReceiptReturnType } from '../../actions/public/waitForTransactionReceipt.js';
41
+ import { type WatchBlockNumberParameters, type WatchBlockNumberReturnType } from '../../actions/public/watchBlockNumber.js';
42
+ import { type WatchBlocksParameters, type WatchBlocksReturnType } from '../../actions/public/watchBlocks.js';
43
+ import { type WatchContractEventParameters, type WatchContractEventReturnType } from '../../actions/public/watchContractEvent.js';
44
+ import { type WatchEventParameters, type WatchEventReturnType } from '../../actions/public/watchEvent.js';
45
+ import { type WatchPendingTransactionsParameters, type WatchPendingTransactionsReturnType } from '../../actions/public/watchPendingTransactions.js';
46
+ import { type PrepareTransactionRequestParameterType, type PrepareTransactionRequestParameters, type PrepareTransactionRequestReturnType } from '../../actions/wallet/prepareTransactionRequest.js';
47
+ import { type SendRawTransactionParameters, type SendRawTransactionReturnType } from '../../actions/wallet/sendRawTransaction.js';
48
+ import type { Account } from '../../types/account.js';
49
+ import type { BlockNumber, BlockTag } from '../../types/block.js';
50
+ import type { Chain } from '../../types/chain.js';
51
+ import type { ContractEventName, ContractFunctionArgs, ContractFunctionName, MaybeAbiEventName, MaybeExtractEventArgsFromAbi } from '../../types/contract.js';
52
+ import type { FeeValuesType } from '../../types/fee.js';
53
+ import type { FilterType } from '../../types/filter.js';
54
+ import type { Client } from '../createClient.js';
55
+ import type { Transport } from '../transports/createTransport.js';
56
+ export type PublicActions<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined> = {
57
+ /**
58
+ * Executes a new message call immediately without submitting a transaction to the network.
59
+ *
60
+ * - Docs: https://viem.sh/docs/actions/public/call
61
+ * - JSON-RPC Methods: [`eth_call`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call)
62
+ *
63
+ * @param args - {@link CallParameters}
64
+ * @returns The call data. {@link CallReturnType}
65
+ *
66
+ * @example
67
+ * import { createPublicClient, http } from 'viem'
68
+ * import { mainnet } from 'viem/chains'
69
+ *
70
+ * const client = createPublicClient({
71
+ * chain: mainnet,
72
+ * transport: http(),
73
+ * })
74
+ * const data = await client.call({
75
+ * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
76
+ * data: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
77
+ * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
78
+ * })
79
+ */
80
+ call: (parameters: CallParameters<TChain>) => Promise<CallReturnType>;
81
+ /**
82
+ * Creates a Filter to listen for new block hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges).
83
+ *
84
+ * - Docs: https://viem.sh/docs/actions/public/createBlockFilter
85
+ * - JSON-RPC Methods: [`eth_newBlockFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newBlockFilter)
86
+ *
87
+ * @returns Filter. {@link CreateBlockFilterReturnType}
88
+ *
89
+ * @example
90
+ * import { createPublicClient, createBlockFilter, http } from 'viem'
91
+ * import { mainnet } from 'viem/chains'
92
+ *
93
+ * const client = createPublicClient({
94
+ * chain: mainnet,
95
+ * transport: http(),
96
+ * })
97
+ * const filter = await createBlockFilter(client)
98
+ * // { id: "0x345a6572337856574a76364e457a4366", type: 'block' }
99
+ */
100
+ createBlockFilter: () => Promise<CreateBlockFilterReturnType>;
101
+ /**
102
+ * Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs).
103
+ *
104
+ * - Docs: https://viem.sh/docs/contract/createContractEventFilter
105
+ *
106
+ * @param args - {@link CreateContractEventFilterParameters}
107
+ * @returns [`Filter`](https://viem.sh/docs/glossary/types#filter). {@link CreateContractEventFilterReturnType}
108
+ *
109
+ * @example
110
+ * import { createPublicClient, http, parseAbi } from 'viem'
111
+ * import { mainnet } from 'viem/chains'
112
+ *
113
+ * const client = createPublicClient({
114
+ * chain: mainnet,
115
+ * transport: http(),
116
+ * })
117
+ * const filter = await client.createContractEventFilter({
118
+ * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
119
+ * })
120
+ */
121
+ createContractEventFilter: <const TAbi extends Abi | readonly unknown[], TEventName extends ContractEventName<TAbi> | undefined, TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>) => Promise<CreateContractEventFilterReturnType<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>>;
122
+ /**
123
+ * Creates a [`Filter`](https://viem.sh/docs/glossary/types#filter) to listen for new events that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges).
124
+ *
125
+ * - Docs: https://viem.sh/docs/actions/public/createEventFilter
126
+ * - JSON-RPC Methods: [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter)
127
+ *
128
+ * @param args - {@link CreateEventFilterParameters}
129
+ * @returns [`Filter`](https://viem.sh/docs/glossary/types#filter). {@link CreateEventFilterReturnType}
130
+ *
131
+ * @example
132
+ * import { createPublicClient, http } from 'viem'
133
+ * import { mainnet } from 'viem/chains'
134
+ *
135
+ * const client = createPublicClient({
136
+ * chain: mainnet,
137
+ * transport: http(),
138
+ * })
139
+ * const filter = await client.createEventFilter({
140
+ * address: '0xfba3912ca04dd458c843e2ee08967fc04f3579c2',
141
+ * })
142
+ */
143
+ createEventFilter: <const TAbiEvent extends AbiEvent | undefined = undefined, const TAbiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined, _EventName extends string | undefined = MaybeAbiEventName<TAbiEvent>, _Args extends MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName> | undefined = undefined>(args?: CreateEventFilterParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName, _Args>) => Promise<CreateEventFilterReturnType<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName, _Args>>;
144
+ /**
145
+ * Creates a Filter to listen for new pending transaction hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges).
146
+ *
147
+ * - Docs: https://viem.sh/docs/actions/public/createPendingTransactionFilter
148
+ * - JSON-RPC Methods: [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter)
149
+ *
150
+ * @returns [`Filter`](https://viem.sh/docs/glossary/types#filter). {@link CreateBlockFilterReturnType}
151
+ *
152
+ * @example
153
+ * import { createPublicClient, http } from 'viem'
154
+ * import { mainnet } from 'viem/chains'
155
+ *
156
+ * const client = createPublicClient({
157
+ * chain: mainnet,
158
+ * transport: http(),
159
+ * })
160
+ * const filter = await client.createPendingTransactionFilter()
161
+ * // { id: "0x345a6572337856574a76364e457a4366", type: 'transaction' }
162
+ */
163
+ createPendingTransactionFilter: () => Promise<CreatePendingTransactionFilterReturnType>;
164
+ /**
165
+ * Estimates the gas required to successfully execute a contract write function call.
166
+ *
167
+ * - Docs: https://viem.sh/docs/contract/estimateContractGas
168
+ *
169
+ * @remarks
170
+ * Internally, uses a [Public Client](https://viem.sh/docs/clients/public) to call the [`estimateGas` action](https://viem.sh/docs/actions/public/estimateGas) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData).
171
+ *
172
+ * @param args - {@link EstimateContractGasParameters}
173
+ * @returns The gas estimate (in wei). {@link EstimateContractGasReturnType}
174
+ *
175
+ * @example
176
+ * import { createPublicClient, http, parseAbi } from 'viem'
177
+ * import { mainnet } from 'viem/chains'
178
+ *
179
+ * const client = createPublicClient({
180
+ * chain: mainnet,
181
+ * transport: http(),
182
+ * })
183
+ * const gas = await client.estimateContractGas({
184
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
185
+ * abi: parseAbi(['function mint() public']),
186
+ * functionName: 'mint',
187
+ * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
188
+ * })
189
+ */
190
+ estimateContractGas: <TChain extends Chain | undefined, const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>>(args: EstimateContractGasParameters<abi, functionName, args, TChain>) => Promise<EstimateContractGasReturnType>;
191
+ /**
192
+ * Estimates the gas necessary to complete a transaction without submitting it to the network.
193
+ *
194
+ * - Docs: https://viem.sh/docs/actions/public/estimateGas
195
+ * - JSON-RPC Methods: [`eth_estimateGas`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_estimategas)
196
+ *
197
+ * @param args - {@link EstimateGasParameters}
198
+ * @returns The gas estimate (in wei). {@link EstimateGasReturnType}
199
+ *
200
+ * @example
201
+ * import { createPublicClient, http, parseEther } from 'viem'
202
+ * import { mainnet } from 'viem/chains'
203
+ *
204
+ * const client = createPublicClient({
205
+ * chain: mainnet,
206
+ * transport: http(),
207
+ * })
208
+ * const gasEstimate = await client.estimateGas({
209
+ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
210
+ * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
211
+ * value: parseEther('1'),
212
+ * })
213
+ */
214
+ estimateGas: (args: EstimateGasParameters<TChain>) => Promise<EstimateGasReturnType>;
215
+ /**
216
+ * Returns the balance of an address in wei.
217
+ *
218
+ * - Docs: https://viem.sh/docs/actions/public/getBalance
219
+ * - JSON-RPC Methods: [`eth_getBalance`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getbalance)
220
+ *
221
+ * @remarks
222
+ * You can convert the balance to ether units with [`formatEther`](https://viem.sh/docs/utilities/formatEther).
223
+ *
224
+ * ```ts
225
+ * const balance = await getBalance(client, {
226
+ * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
227
+ * blockTag: 'safe'
228
+ * })
229
+ * const balanceAsEther = formatEther(balance)
230
+ * // "6.942"
231
+ * ```
232
+ *
233
+ * @param args - {@link GetBalanceParameters}
234
+ * @returns The balance of the address in wei. {@link GetBalanceReturnType}
235
+ *
236
+ * @example
237
+ * import { createPublicClient, http } from 'viem'
238
+ * import { mainnet } from 'viem/chains'
239
+ *
240
+ * const client = createPublicClient({
241
+ * chain: mainnet,
242
+ * transport: http(),
243
+ * })
244
+ * const balance = await client.getBalance({
245
+ * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
246
+ * })
247
+ * // 10000000000000000000000n (wei)
248
+ */
249
+ getBalance: (args: GetBalanceParameters) => Promise<GetBalanceReturnType>;
250
+ /**
251
+ * Returns information about a block at a block number, hash, or tag.
252
+ *
253
+ * - Docs: https://viem.sh/docs/actions/public/getBlock
254
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks
255
+ * - JSON-RPC Methods:
256
+ * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) for `blockNumber` & `blockTag`.
257
+ * - Calls [`eth_getBlockByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbyhash) for `blockHash`.
258
+ *
259
+ * @param args - {@link GetBlockParameters}
260
+ * @returns Information about the block. {@link GetBlockReturnType}
261
+ *
262
+ * @example
263
+ * import { createPublicClient, http } from 'viem'
264
+ * import { mainnet } from 'viem/chains'
265
+ *
266
+ * const client = createPublicClient({
267
+ * chain: mainnet,
268
+ * transport: http(),
269
+ * })
270
+ * const block = await client.getBlock()
271
+ */
272
+ getBlock: <TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = 'latest'>(args?: GetBlockParameters<TIncludeTransactions, TBlockTag>) => Promise<GetBlockReturnType<TChain, TIncludeTransactions, TBlockTag>>;
273
+ /**
274
+ * Returns the number of the most recent block seen.
275
+ *
276
+ * - Docs: https://viem.sh/docs/actions/public/getBlockNumber
277
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks
278
+ * - JSON-RPC Methods: [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber)
279
+ *
280
+ * @param args - {@link GetBlockNumberParameters}
281
+ * @returns The number of the block. {@link GetBlockNumberReturnType}
282
+ *
283
+ * @example
284
+ * import { createPublicClient, http } from 'viem'
285
+ * import { mainnet } from 'viem/chains'
286
+ *
287
+ * const client = createPublicClient({
288
+ * chain: mainnet,
289
+ * transport: http(),
290
+ * })
291
+ * const blockNumber = await client.getBlockNumber()
292
+ * // 69420n
293
+ */
294
+ getBlockNumber: (args?: GetBlockNumberParameters) => Promise<GetBlockNumberReturnType>;
295
+ /**
296
+ * Returns the number of Transactions at a block number, hash, or tag.
297
+ *
298
+ * - Docs: https://viem.sh/docs/actions/public/getBlockTransactionCount
299
+ * - JSON-RPC Methods:
300
+ * - Calls [`eth_getBlockTransactionCountByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbynumber) for `blockNumber` & `blockTag`.
301
+ * - Calls [`eth_getBlockTransactionCountByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbyhash) for `blockHash`.
302
+ *
303
+ * @param args - {@link GetBlockTransactionCountParameters}
304
+ * @returns The block transaction count. {@link GetBlockTransactionCountReturnType}
305
+ *
306
+ * @example
307
+ * import { createPublicClient, http } from 'viem'
308
+ * import { mainnet } from 'viem/chains'
309
+ *
310
+ * const client = createPublicClient({
311
+ * chain: mainnet,
312
+ * transport: http(),
313
+ * })
314
+ * const count = await client.getBlockTransactionCount()
315
+ */
316
+ getBlockTransactionCount: (args?: GetBlockTransactionCountParameters) => Promise<GetBlockTransactionCountReturnType>;
317
+ /**
318
+ * Retrieves the bytecode at an address.
319
+ *
320
+ * - Docs: https://viem.sh/docs/contract/getBytecode
321
+ * - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode)
322
+ *
323
+ * @param args - {@link GetBytecodeParameters}
324
+ * @returns The contract's bytecode. {@link GetBytecodeReturnType}
325
+ *
326
+ * @example
327
+ * import { createPublicClient, http } from 'viem'
328
+ * import { mainnet } from 'viem/chains'
329
+ *
330
+ * const client = createPublicClient({
331
+ * chain: mainnet,
332
+ * transport: http(),
333
+ * })
334
+ * const code = await client.getBytecode({
335
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
336
+ * })
337
+ */
338
+ getBytecode: (args: GetBytecodeParameters) => Promise<GetBytecodeReturnType>;
339
+ /**
340
+ * Returns the chain ID associated with the current network.
341
+ *
342
+ * - Docs: https://viem.sh/docs/actions/public/getChainId
343
+ * - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid)
344
+ *
345
+ * @returns The current chain ID. {@link GetChainIdReturnType}
346
+ *
347
+ * @example
348
+ * import { createPublicClient, http } from 'viem'
349
+ * import { mainnet } from 'viem/chains'
350
+ *
351
+ * const client = createPublicClient({
352
+ * chain: mainnet,
353
+ * transport: http(),
354
+ * })
355
+ * const chainId = await client.getChainId()
356
+ * // 1
357
+ */
358
+ getChainId: () => Promise<GetChainIdReturnType>;
359
+ /**
360
+ * Returns a list of event logs emitted by a contract.
361
+ *
362
+ * - Docs: https://viem.sh/docs/actions/public/getContractEvents
363
+ * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)
364
+ *
365
+ * @param client - Client to use
366
+ * @param parameters - {@link GetContractEventsParameters}
367
+ * @returns A list of event logs. {@link GetContractEventsReturnType}
368
+ *
369
+ * @example
370
+ * import { createPublicClient, http } from 'viem'
371
+ * import { mainnet } from 'viem/chains'
372
+ * import { wagmiAbi } from './abi'
373
+ *
374
+ * const client = createPublicClient({
375
+ * chain: mainnet,
376
+ * transport: http(),
377
+ * })
378
+ * const logs = await client.getContractEvents(client, {
379
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
380
+ * abi: wagmiAbi,
381
+ * eventName: 'Transfer'
382
+ * })
383
+ */
384
+ getContractEvents: <const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<GetContractEventsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
385
+ /**
386
+ * Gets address for ENS name.
387
+ *
388
+ * - Docs: https://viem.sh/docs/ens/actions/getEnsAddress
389
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
390
+ *
391
+ * @remarks
392
+ * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.
393
+ *
394
+ * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this.
395
+ *
396
+ * @param args - {@link GetEnsAddressParameters}
397
+ * @returns Address for ENS name or `null` if not found. {@link GetEnsAddressReturnType}
398
+ *
399
+ * @example
400
+ * import { createPublicClient, http } from 'viem'
401
+ * import { mainnet } from 'viem/chains'
402
+ * import { normalize } from 'viem/ens'
403
+ *
404
+ * const client = createPublicClient({
405
+ * chain: mainnet,
406
+ * transport: http(),
407
+ * })
408
+ * const ensAddress = await client.getEnsAddress({
409
+ * name: normalize('wevm.eth'),
410
+ * })
411
+ * // '0xd2135CfB216b74109775236E36d4b433F1DF507B'
412
+ */
413
+ getEnsAddress: (args: GetEnsAddressParameters) => Promise<GetEnsAddressReturnType>;
414
+ /**
415
+ * Gets the avatar of an ENS name.
416
+ *
417
+ * - Docs: https://viem.sh/docs/ens/actions/getEnsAvatar
418
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
419
+ *
420
+ * @remarks
421
+ * Calls [`getEnsText`](https://viem.sh/docs/ens/actions/getEnsText) with `key` set to `'avatar'`.
422
+ *
423
+ * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this.
424
+ *
425
+ * @param args - {@link GetEnsAvatarParameters}
426
+ * @returns Avatar URI or `null` if not found. {@link GetEnsAvatarReturnType}
427
+ *
428
+ * @example
429
+ * import { createPublicClient, http } from 'viem'
430
+ * import { mainnet } from 'viem/chains'
431
+ * import { normalize } from 'viem/ens'
432
+ *
433
+ * const client = createPublicClient({
434
+ * chain: mainnet,
435
+ * transport: http(),
436
+ * })
437
+ * const ensAvatar = await client.getEnsAvatar({
438
+ * name: normalize('wevm.eth'),
439
+ * })
440
+ * // 'https://ipfs.io/ipfs/Qma8mnp6xV3J2cRNf3mTth5C8nV11CAnceVinc3y8jSbio'
441
+ */
442
+ getEnsAvatar: (args: GetEnsAvatarParameters) => Promise<GetEnsAvatarReturnType>;
443
+ /**
444
+ * Gets primary name for specified address.
445
+ *
446
+ * - Docs: https://viem.sh/docs/ens/actions/getEnsName
447
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
448
+ *
449
+ * @remarks
450
+ * Calls `reverse(bytes)` on ENS Universal Resolver Contract to "reverse resolve" the address to the primary ENS name.
451
+ *
452
+ * @param args - {@link GetEnsNameParameters}
453
+ * @returns Name or `null` if not found. {@link GetEnsNameReturnType}
454
+ *
455
+ * @example
456
+ * import { createPublicClient, http } from 'viem'
457
+ * import { mainnet } from 'viem/chains'
458
+ *
459
+ * const client = createPublicClient({
460
+ * chain: mainnet,
461
+ * transport: http(),
462
+ * })
463
+ * const ensName = await client.getEnsName({
464
+ * address: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
465
+ * })
466
+ * // 'wevm.eth'
467
+ */
468
+ getEnsName: (args: GetEnsNameParameters) => Promise<GetEnsNameReturnType>;
469
+ /**
470
+ * Gets resolver for ENS name.
471
+ *
472
+ * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver
473
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
474
+ *
475
+ * @remarks
476
+ * Calls `findResolver(bytes)` on ENS Universal Resolver Contract to retrieve the resolver of an ENS name.
477
+ *
478
+ * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this.
479
+ *
480
+ * @param args - {@link GetEnsResolverParameters}
481
+ * @returns Address for ENS resolver. {@link GetEnsResolverReturnType}
482
+ *
483
+ * @example
484
+ * import { createPublicClient, http } from 'viem'
485
+ * import { mainnet } from 'viem/chains'
486
+ * import { normalize } from 'viem/ens'
487
+ *
488
+ * const client = createPublicClient({
489
+ * chain: mainnet,
490
+ * transport: http(),
491
+ * })
492
+ * const resolverAddress = await client.getEnsResolver({
493
+ * name: normalize('wevm.eth'),
494
+ * })
495
+ * // '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41'
496
+ */
497
+ getEnsResolver: (args: GetEnsResolverParameters) => Promise<GetEnsResolverReturnType>;
498
+ /**
499
+ * Gets a text record for specified ENS name.
500
+ *
501
+ * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver
502
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens
503
+ *
504
+ * @remarks
505
+ * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.
506
+ *
507
+ * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize) function for this.
508
+ *
509
+ * @param args - {@link GetEnsTextParameters}
510
+ * @returns Address for ENS resolver. {@link GetEnsTextReturnType}
511
+ *
512
+ * @example
513
+ * import { createPublicClient, http } from 'viem'
514
+ * import { mainnet } from 'viem/chains'
515
+ * import { normalize } from 'viem/ens'
516
+ *
517
+ * const client = createPublicClient({
518
+ * chain: mainnet,
519
+ * transport: http(),
520
+ * })
521
+ * const twitterRecord = await client.getEnsText({
522
+ * name: normalize('wevm.eth'),
523
+ * key: 'com.twitter',
524
+ * })
525
+ * // 'wagmi_sh'
526
+ */
527
+ getEnsText: (args: GetEnsTextParameters) => Promise<GetEnsTextReturnType>;
528
+ /**
529
+ * Returns a collection of historical gas information.
530
+ *
531
+ * - Docs: https://viem.sh/docs/actions/public/getFeeHistory
532
+ * - JSON-RPC Methods: [`eth_feeHistory`](https://docs.alchemy.com/reference/eth-feehistory)
533
+ *
534
+ * @param args - {@link GetFeeHistoryParameters}
535
+ * @returns The gas estimate (in wei). {@link GetFeeHistoryReturnType}
536
+ *
537
+ * @example
538
+ * import { createPublicClient, http } from 'viem'
539
+ * import { mainnet } from 'viem/chains'
540
+ *
541
+ * const client = createPublicClient({
542
+ * chain: mainnet,
543
+ * transport: http(),
544
+ * })
545
+ * const feeHistory = await client.getFeeHistory({
546
+ * blockCount: 4,
547
+ * rewardPercentiles: [25, 75],
548
+ * })
549
+ */
550
+ getFeeHistory: (args: GetFeeHistoryParameters) => Promise<GetFeeHistoryReturnType>;
551
+ /**
552
+ * Returns an estimate for the fees per gas for a transaction to be included
553
+ * in the next block.
554
+ *
555
+ * - Docs: https://viem.sh/docs/actions/public/estimateFeesPerGas
556
+ *
557
+ * @param client - Client to use
558
+ * @param parameters - {@link EstimateFeesPerGasParameters}
559
+ * @returns An estimate (in wei) for the fees per gas. {@link EstimateFeesPerGasReturnType}
560
+ *
561
+ * @example
562
+ * import { createPublicClient, http } from 'viem'
563
+ * import { mainnet } from 'viem/chains'
564
+ *
565
+ * const client = createPublicClient({
566
+ * chain: mainnet,
567
+ * transport: http(),
568
+ * })
569
+ * const maxPriorityFeePerGas = await client.estimateFeesPerGas()
570
+ * // { maxFeePerGas: ..., maxPriorityFeePerGas: ... }
571
+ */
572
+ estimateFeesPerGas: <TChainOverride extends Chain | undefined = undefined, TType extends FeeValuesType = 'eip1559'>(args?: EstimateFeesPerGasParameters<TChain, TChainOverride, TType>) => Promise<EstimateFeesPerGasReturnType>;
573
+ /**
574
+ * Returns a list of logs or hashes based on a [Filter](/docs/glossary/terms#filter) since the last time it was called.
575
+ *
576
+ * - Docs: https://viem.sh/docs/actions/public/getFilterChanges
577
+ * - JSON-RPC Methods: [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges)
578
+ *
579
+ * @remarks
580
+ * A Filter can be created from the following actions:
581
+ *
582
+ * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter)
583
+ * - [`createContractEventFilter`](https://viem.sh/docs/contract/createContractEventFilter)
584
+ * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter)
585
+ * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter)
586
+ *
587
+ * Depending on the type of filter, the return value will be different:
588
+ *
589
+ * - If the filter was created with `createContractEventFilter` or `createEventFilter`, it returns a list of logs.
590
+ * - If the filter was created with `createPendingTransactionFilter`, it returns a list of transaction hashes.
591
+ * - If the filter was created with `createBlockFilter`, it returns a list of block hashes.
592
+ *
593
+ * @param args - {@link GetFilterChangesParameters}
594
+ * @returns Logs or hashes. {@link GetFilterChangesReturnType}
595
+ *
596
+ * @example
597
+ * // Blocks
598
+ * import { createPublicClient, http } from 'viem'
599
+ * import { mainnet } from 'viem/chains'
600
+ *
601
+ * const client = createPublicClient({
602
+ * chain: mainnet,
603
+ * transport: http(),
604
+ * })
605
+ * const filter = await client.createBlockFilter()
606
+ * const hashes = await client.getFilterChanges({ filter })
607
+ *
608
+ * @example
609
+ * // Contract Events
610
+ * import { createPublicClient, http, parseAbi } from 'viem'
611
+ * import { mainnet } from 'viem/chains'
612
+ *
613
+ * const client = createPublicClient({
614
+ * chain: mainnet,
615
+ * transport: http(),
616
+ * })
617
+ * const filter = await client.createContractEventFilter({
618
+ * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
619
+ * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),
620
+ * eventName: 'Transfer',
621
+ * })
622
+ * const logs = await client.getFilterChanges({ filter })
623
+ *
624
+ * @example
625
+ * // Raw Events
626
+ * import { createPublicClient, http, parseAbiItem } from 'viem'
627
+ * import { mainnet } from 'viem/chains'
628
+ *
629
+ * const client = createPublicClient({
630
+ * chain: mainnet,
631
+ * transport: http(),
632
+ * })
633
+ * const filter = await client.createEventFilter({
634
+ * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
635
+ * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),
636
+ * })
637
+ * const logs = await client.getFilterChanges({ filter })
638
+ *
639
+ * @example
640
+ * // Transactions
641
+ * import { createPublicClient, http } from 'viem'
642
+ * import { mainnet } from 'viem/chains'
643
+ *
644
+ * const client = createPublicClient({
645
+ * chain: mainnet,
646
+ * transport: http(),
647
+ * })
648
+ * const filter = await client.createPendingTransactionFilter()
649
+ * const hashes = await client.getFilterChanges({ filter })
650
+ */
651
+ getFilterChanges: <TFilterType extends FilterType, const TAbi extends Abi | readonly unknown[] | undefined, TEventName extends string | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(args: GetFilterChangesParameters<TFilterType, TAbi, TEventName, TStrict, TFromBlock, TToBlock>) => Promise<GetFilterChangesReturnType<TFilterType, TAbi, TEventName, TStrict, TFromBlock, TToBlock>>;
652
+ /**
653
+ * Returns a list of event logs since the filter was created.
654
+ *
655
+ * - Docs: https://viem.sh/docs/actions/public/getFilterLogs
656
+ * - JSON-RPC Methods: [`eth_getFilterLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterlogs)
657
+ *
658
+ * @remarks
659
+ * `getFilterLogs` is only compatible with **event filters**.
660
+ *
661
+ * @param args - {@link GetFilterLogsParameters}
662
+ * @returns A list of event logs. {@link GetFilterLogsReturnType}
663
+ *
664
+ * @example
665
+ * import { createPublicClient, http, parseAbiItem } from 'viem'
666
+ * import { mainnet } from 'viem/chains'
667
+ *
668
+ * const client = createPublicClient({
669
+ * chain: mainnet,
670
+ * transport: http(),
671
+ * })
672
+ * const filter = await client.createEventFilter({
673
+ * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
674
+ * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),
675
+ * })
676
+ * const logs = await client.getFilterLogs({ filter })
677
+ */
678
+ getFilterLogs: <const TAbi extends Abi | readonly unknown[] | undefined, TEventName extends string | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(args: GetFilterLogsParameters<TAbi, TEventName, TStrict, TFromBlock, TToBlock>) => Promise<GetFilterLogsReturnType<TAbi, TEventName, TStrict, TFromBlock, TToBlock>>;
679
+ /**
680
+ * Returns the current price of gas (in wei).
681
+ *
682
+ * - Docs: https://viem.sh/docs/actions/public/getGasPrice
683
+ * - JSON-RPC Methods: [`eth_gasPrice`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice)
684
+ *
685
+ * @returns The gas price (in wei). {@link GetGasPriceReturnType}
686
+ *
687
+ * @example
688
+ * import { createPublicClient, http } from 'viem'
689
+ * import { mainnet } from 'viem/chains'
690
+ *
691
+ * const client = createPublicClient({
692
+ * chain: mainnet,
693
+ * transport: http(),
694
+ * })
695
+ * const gasPrice = await client.getGasPrice()
696
+ */
697
+ getGasPrice: () => Promise<GetGasPriceReturnType>;
698
+ /**
699
+ * Returns a list of event logs matching the provided parameters.
700
+ *
701
+ * - Docs: https://viem.sh/docs/actions/public/getLogs
702
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/filters-and-logs/event-logs
703
+ * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)
704
+ *
705
+ * @param args - {@link GetLogsParameters}
706
+ * @returns A list of event logs. {@link GetLogsReturnType}
707
+ *
708
+ * @example
709
+ * import { createPublicClient, http, parseAbiItem } from 'viem'
710
+ * import { mainnet } from 'viem/chains'
711
+ *
712
+ * const client = createPublicClient({
713
+ * chain: mainnet,
714
+ * transport: http(),
715
+ * })
716
+ * const logs = await client.getLogs()
717
+ */
718
+ getLogs: <const TAbiEvent extends AbiEvent | undefined = undefined, const TAbiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends BlockNumber | BlockTag | undefined = undefined, TToBlock extends BlockNumber | BlockTag | undefined = undefined>(args?: GetLogsParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock>) => Promise<GetLogsReturnType<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock>>;
719
+ /**
720
+ * Returns the account and storage values of the specified account including the Merkle-proof.
721
+ *
722
+ * - Docs: https://viem.sh/docs/actions/public/getProof
723
+ * - JSON-RPC Methods:
724
+ * - Calls [`eth_getProof`](https://eips.ethereum.org/EIPS/eip-1186)
725
+ *
726
+ * @param client - Client to use
727
+ * @param parameters - {@link GetProofParameters}
728
+ * @returns Proof data. {@link GetProofReturnType}
729
+ *
730
+ * @example
731
+ * import { createPublicClient, http } from 'viem'
732
+ * import { mainnet } from 'viem/chains'
733
+ *
734
+ * const client = createPublicClient({
735
+ * chain: mainnet,
736
+ * transport: http(),
737
+ * })
738
+ * const block = await client.getProof({
739
+ * address: '0x...',
740
+ * storageKeys: ['0x...'],
741
+ * })
742
+ */
743
+ getProof: (args: GetProofParameters) => Promise<GetProofReturnType>;
744
+ /**
745
+ * Returns an estimate for the max priority fee per gas (in wei) for a transaction
746
+ * to be included in the next block.
747
+ *
748
+ * - Docs: https://viem.sh/docs/actions/public/estimateMaxPriorityFeePerGas
749
+ *
750
+ * @param client - Client to use
751
+ * @returns An estimate (in wei) for the max priority fee per gas. {@link EstimateMaxPriorityFeePerGasReturnType}
752
+ *
753
+ * @example
754
+ * import { createPublicClient, http } from 'viem'
755
+ * import { mainnet } from 'viem/chains'
756
+ *
757
+ * const client = createPublicClient({
758
+ * chain: mainnet,
759
+ * transport: http(),
760
+ * })
761
+ * const maxPriorityFeePerGas = await client.estimateMaxPriorityFeePerGas()
762
+ * // 10000000n
763
+ */
764
+ estimateMaxPriorityFeePerGas: <TChainOverride extends Chain | undefined = undefined>(args?: EstimateMaxPriorityFeePerGasParameters<TChain, TChainOverride>) => Promise<EstimateMaxPriorityFeePerGasReturnType>;
765
+ /**
766
+ * Returns the value from a storage slot at a given address.
767
+ *
768
+ * - Docs: https://viem.sh/docs/contract/getStorageAt
769
+ * - JSON-RPC Methods: [`eth_getStorageAt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getstorageat)
770
+ *
771
+ * @param args - {@link GetStorageAtParameters}
772
+ * @returns The value of the storage slot. {@link GetStorageAtReturnType}
773
+ *
774
+ * @example
775
+ * import { createPublicClient, http } from 'viem'
776
+ * import { mainnet } from 'viem/chains'
777
+ * import { getStorageAt } from 'viem/contract'
778
+ *
779
+ * const client = createPublicClient({
780
+ * chain: mainnet,
781
+ * transport: http(),
782
+ * })
783
+ * const code = await client.getStorageAt({
784
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
785
+ * slot: toHex(0),
786
+ * })
787
+ */
788
+ getStorageAt: (args: GetStorageAtParameters) => Promise<GetStorageAtReturnType>;
789
+ /**
790
+ * Returns information about a [Transaction](https://viem.sh/docs/glossary/terms#transaction) given a hash or block identifier.
791
+ *
792
+ * - Docs: https://viem.sh/docs/actions/public/getTransaction
793
+ * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions
794
+ * - JSON-RPC Methods: [`eth_getTransactionByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionByHash)
795
+ *
796
+ * @param args - {@link GetTransactionParameters}
797
+ * @returns The transaction information. {@link GetTransactionReturnType}
798
+ *
799
+ * @example
800
+ * import { createPublicClient, http } from 'viem'
801
+ * import { mainnet } from 'viem/chains'
802
+ *
803
+ * const client = createPublicClient({
804
+ * chain: mainnet,
805
+ * transport: http(),
806
+ * })
807
+ * const transaction = await client.getTransaction({
808
+ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',
809
+ * })
810
+ */
811
+ getTransaction: <TBlockTag extends BlockTag = 'latest'>(args: GetTransactionParameters<TBlockTag>) => Promise<GetTransactionReturnType<TChain, TBlockTag>>;
812
+ /**
813
+ * Returns the number of blocks passed (confirmations) since the transaction was processed on a block.
814
+ *
815
+ * - Docs: https://viem.sh/docs/actions/public/getTransactionConfirmations
816
+ * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions
817
+ * - JSON-RPC Methods: [`eth_getTransactionConfirmations`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionConfirmations)
818
+ *
819
+ * @param args - {@link GetTransactionConfirmationsParameters}
820
+ * @returns The number of blocks passed since the transaction was processed. If confirmations is 0, then the Transaction has not been confirmed & processed yet. {@link GetTransactionConfirmationsReturnType}
821
+ *
822
+ * @example
823
+ * import { createPublicClient, http } from 'viem'
824
+ * import { mainnet } from 'viem/chains'
825
+ *
826
+ * const client = createPublicClient({
827
+ * chain: mainnet,
828
+ * transport: http(),
829
+ * })
830
+ * const confirmations = await client.getTransactionConfirmations({
831
+ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',
832
+ * })
833
+ */
834
+ getTransactionConfirmations: (args: GetTransactionConfirmationsParameters<TChain>) => Promise<GetTransactionConfirmationsReturnType>;
835
+ /**
836
+ * Returns the number of [Transactions](https://viem.sh/docs/glossary/terms#transaction) an Account has broadcast / sent.
837
+ *
838
+ * - Docs: https://viem.sh/docs/actions/public/getTransactionCount
839
+ * - JSON-RPC Methods: [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount)
840
+ *
841
+ * @param args - {@link GetTransactionCountParameters}
842
+ * @returns The number of transactions an account has sent. {@link GetTransactionCountReturnType}
843
+ *
844
+ * @example
845
+ * import { createPublicClient, http } from 'viem'
846
+ * import { mainnet } from 'viem/chains'
847
+ *
848
+ * const client = createPublicClient({
849
+ * chain: mainnet,
850
+ * transport: http(),
851
+ * })
852
+ * const transactionCount = await client.getTransactionCount({
853
+ * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
854
+ * })
855
+ */
856
+ getTransactionCount: (args: GetTransactionCountParameters) => Promise<GetTransactionCountReturnType>;
857
+ /**
858
+ * Returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms#transaction-receipt) given a [Transaction](https://viem.sh/docs/glossary/terms#transaction) hash.
859
+ *
860
+ * - Docs: https://viem.sh/docs/actions/public/getTransactionReceipt
861
+ * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions
862
+ * - JSON-RPC Methods: [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt)
863
+ *
864
+ * @param args - {@link GetTransactionReceiptParameters}
865
+ * @returns The transaction receipt. {@link GetTransactionReceiptReturnType}
866
+ *
867
+ * @example
868
+ * import { createPublicClient, http } from 'viem'
869
+ * import { mainnet } from 'viem/chains'
870
+ *
871
+ * const client = createPublicClient({
872
+ * chain: mainnet,
873
+ * transport: http(),
874
+ * })
875
+ * const transactionReceipt = await client.getTransactionReceipt({
876
+ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',
877
+ * })
878
+ */
879
+ getTransactionReceipt: (args: GetTransactionReceiptParameters) => Promise<GetTransactionReceiptReturnType<TChain>>;
880
+ /**
881
+ * Similar to [`readContract`](https://viem.sh/docs/contract/readContract), but batches up multiple functions on a contract in a single RPC call via the [`multicall3` contract](https://github.com/mds1/multicall).
882
+ *
883
+ * - Docs: https://viem.sh/docs/contract/multicall
884
+ *
885
+ * @param args - {@link MulticallParameters}
886
+ * @returns An array of results with accompanying status. {@link MulticallReturnType}
887
+ *
888
+ * @example
889
+ * import { createPublicClient, http, parseAbi } from 'viem'
890
+ * import { mainnet } from 'viem/chains'
891
+ *
892
+ * const client = createPublicClient({
893
+ * chain: mainnet,
894
+ * transport: http(),
895
+ * })
896
+ * const abi = parseAbi([
897
+ * 'function balanceOf(address) view returns (uint256)',
898
+ * 'function totalSupply() view returns (uint256)',
899
+ * ])
900
+ * const result = await client.multicall({
901
+ * contracts: [
902
+ * {
903
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
904
+ * abi,
905
+ * functionName: 'balanceOf',
906
+ * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'],
907
+ * },
908
+ * {
909
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
910
+ * abi,
911
+ * functionName: 'totalSupply',
912
+ * },
913
+ * ],
914
+ * })
915
+ * // [{ result: 424122n, status: 'success' }, { result: 1000000n, status: 'success' }]
916
+ */
917
+ multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: MulticallParameters<contracts, allowFailure>) => Promise<MulticallReturnType<contracts, allowFailure>>;
918
+ /**
919
+ * Prepares a transaction request for signing.
920
+ *
921
+ * - Docs: https://viem.sh/docs/actions/wallet/prepareTransactionRequest
922
+ *
923
+ * @param args - {@link PrepareTransactionRequestParameters}
924
+ * @returns The transaction request. {@link PrepareTransactionRequestReturnType}
925
+ *
926
+ * @example
927
+ * import { createWalletClient, custom } from 'viem'
928
+ * import { mainnet } from 'viem/chains'
929
+ *
930
+ * const client = createWalletClient({
931
+ * chain: mainnet,
932
+ * transport: custom(window.ethereum),
933
+ * })
934
+ * const request = await client.prepareTransactionRequest({
935
+ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
936
+ * to: '0x0000000000000000000000000000000000000000',
937
+ * value: 1n,
938
+ * })
939
+ *
940
+ * @example
941
+ * // Account Hoisting
942
+ * import { createWalletClient, http } from 'viem'
943
+ * import { privateKeyToAccount } from 'viem/accounts'
944
+ * import { mainnet } from 'viem/chains'
945
+ *
946
+ * const client = createWalletClient({
947
+ * account: privateKeyToAccount('0x…'),
948
+ * chain: mainnet,
949
+ * transport: custom(window.ethereum),
950
+ * })
951
+ * const request = await client.prepareTransactionRequest({
952
+ * to: '0x0000000000000000000000000000000000000000',
953
+ * value: 1n,
954
+ * })
955
+ */
956
+ prepareTransactionRequest: <TParameterType extends PrepareTransactionRequestParameterType, TChainOverride extends Chain | undefined = undefined, TAccountOverride extends Account | Address | undefined = undefined>(args: PrepareTransactionRequestParameters<TChain, TAccount, TChainOverride, TAccountOverride, TParameterType>) => Promise<PrepareTransactionRequestReturnType<Chain, TAccount, TChainOverride, TAccountOverride, TParameterType>>;
957
+ /**
958
+ * Calls a read-only function on a contract, and returns the response.
959
+ *
960
+ * - Docs: https://viem.sh/docs/contract/readContract
961
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/reading-contracts
962
+ *
963
+ * @remarks
964
+ * A "read-only" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas.
965
+ *
966
+ * Internally, uses a [Public Client](https://viem.sh/docs/clients/public) to call the [`call` action](https://viem.sh/docs/actions/public/call) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData).
967
+ *
968
+ * @param args - {@link ReadContractParameters}
969
+ * @returns The response from the contract. Type is inferred. {@link ReadContractReturnType}
970
+ *
971
+ * @example
972
+ * import { createPublicClient, http, parseAbi } from 'viem'
973
+ * import { mainnet } from 'viem/chains'
974
+ * import { readContract } from 'viem/contract'
975
+ *
976
+ * const client = createPublicClient({
977
+ * chain: mainnet,
978
+ * transport: http(),
979
+ * })
980
+ * const result = await client.readContract({
981
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
982
+ * abi: parseAbi(['function balanceOf(address) view returns (uint256)']),
983
+ * functionName: 'balanceOf',
984
+ * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'],
985
+ * })
986
+ * // 424122n
987
+ */
988
+ readContract: <const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'pure' | 'view'>, args extends ContractFunctionArgs<abi, 'pure' | 'view', functionName>>(args: ReadContractParameters<abi, functionName, args>) => Promise<ReadContractReturnType<abi, functionName, args>>;
989
+ /**
990
+ * Sends a **signed** transaction to the network
991
+ *
992
+ * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransaction
993
+ * - JSON-RPC Method: [`eth_sendRawTransaction`](https://ethereum.github.io/execution-apis/api-documentation/)
994
+ *
995
+ * @param client - Client to use
996
+ * @param parameters - {@link SendRawTransactionParameters}
997
+ * @returns The transaction hash. {@link SendRawTransactionReturnType}
998
+ *
999
+ * @example
1000
+ * import { createWalletClient, custom } from 'viem'
1001
+ * import { mainnet } from 'viem/chains'
1002
+ * import { sendRawTransaction } from 'viem/wallet'
1003
+ *
1004
+ * const client = createWalletClient({
1005
+ * chain: mainnet,
1006
+ * transport: custom(window.ethereum),
1007
+ * })
1008
+ *
1009
+ * const hash = await client.sendRawTransaction({
1010
+ * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33'
1011
+ * })
1012
+ */
1013
+ sendRawTransaction: (args: SendRawTransactionParameters) => Promise<SendRawTransactionReturnType>;
1014
+ /**
1015
+ * Simulates/validates a contract interaction. This is useful for retrieving **return data** and **revert reasons** of contract write functions.
1016
+ *
1017
+ * - Docs: https://viem.sh/docs/contract/simulateContract
1018
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/writing-to-contracts
1019
+ *
1020
+ * @remarks
1021
+ * This function does not require gas to execute and _**does not**_ change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract), but also supports contract write functions.
1022
+ *
1023
+ * Internally, uses a [Public Client](https://viem.sh/docs/clients/public) to call the [`call` action](https://viem.sh/docs/actions/public/call) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData).
1024
+ *
1025
+ * @param args - {@link SimulateContractParameters}
1026
+ * @returns The simulation result and write request. {@link SimulateContractReturnType}
1027
+ *
1028
+ * @example
1029
+ * import { createPublicClient, http } from 'viem'
1030
+ * import { mainnet } from 'viem/chains'
1031
+ *
1032
+ * const client = createPublicClient({
1033
+ * chain: mainnet,
1034
+ * transport: http(),
1035
+ * })
1036
+ * const result = await client.simulateContract({
1037
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
1038
+ * abi: parseAbi(['function mint(uint32) view returns (uint32)']),
1039
+ * functionName: 'mint',
1040
+ * args: ['69420'],
1041
+ * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
1042
+ * })
1043
+ */
1044
+ simulateContract: <const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chainOverride extends Chain | undefined, accountOverride extends Account | Address | undefined = undefined>(args: SimulateContractParameters<abi, functionName, args, TChain, chainOverride, accountOverride>) => Promise<SimulateContractReturnType<abi, functionName, args, TChain, TAccount, chainOverride, accountOverride>>;
1045
+ verifyMessage: (args: VerifyMessageParameters) => Promise<VerifyMessageReturnType>;
1046
+ verifyTypedData: (args: VerifyTypedDataParameters) => Promise<VerifyTypedDataReturnType>;
1047
+ /**
1048
+ * Destroys a Filter that was created from one of the following Actions:
1049
+ *
1050
+ * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter)
1051
+ * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter)
1052
+ * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter)
1053
+ *
1054
+ * - Docs: https://viem.sh/docs/actions/public/uninstallFilter
1055
+ * - JSON-RPC Methods: [`eth_uninstallFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_uninstallFilter)
1056
+ *
1057
+ * @param args - {@link UninstallFilterParameters}
1058
+ * @returns A boolean indicating if the Filter was successfully uninstalled. {@link UninstallFilterReturnType}
1059
+ *
1060
+ * @example
1061
+ * import { createPublicClient, http } from 'viem'
1062
+ * import { mainnet } from 'viem/chains'
1063
+ * import { createPendingTransactionFilter, uninstallFilter } from 'viem/public'
1064
+ *
1065
+ * const filter = await client.createPendingTransactionFilter()
1066
+ * const uninstalled = await client.uninstallFilter({ filter })
1067
+ * // true
1068
+ */
1069
+ uninstallFilter: (args: UninstallFilterParameters) => Promise<UninstallFilterReturnType>;
1070
+ /**
1071
+ * Waits for the [Transaction](https://viem.sh/docs/glossary/terms#transaction) to be included on a [Block](https://viem.sh/docs/glossary/terms#block) (one confirmation), and then returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms#transaction-receipt). If the Transaction reverts, then the action will throw an error.
1072
+ *
1073
+ * - Docs: https://viem.sh/docs/actions/public/waitForTransactionReceipt
1074
+ * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/sending-transactions
1075
+ * - JSON-RPC Methods:
1076
+ * - Polls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt) on each block until it has been processed.
1077
+ * - If a Transaction has been replaced:
1078
+ * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) and extracts the transactions
1079
+ * - Checks if one of the Transactions is a replacement
1080
+ * - If so, calls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt).
1081
+ *
1082
+ * @remarks
1083
+ * The `waitForTransactionReceipt` action additionally supports Replacement detection (e.g. sped up Transactions).
1084
+ *
1085
+ * Transactions can be replaced when a user modifies their transaction in their wallet (to speed up or cancel). Transactions are replaced when they are sent from the same nonce.
1086
+ *
1087
+ * There are 3 types of Transaction Replacement reasons:
1088
+ *
1089
+ * - `repriced`: The gas price has been modified (e.g. different `maxFeePerGas`)
1090
+ * - `cancelled`: The Transaction has been cancelled (e.g. `value === 0n`)
1091
+ * - `replaced`: The Transaction has been replaced (e.g. different `value` or `data`)
1092
+ *
1093
+ * @param args - {@link WaitForTransactionReceiptParameters}
1094
+ * @returns The transaction receipt. {@link WaitForTransactionReceiptReturnType}
1095
+ *
1096
+ * @example
1097
+ * import { createPublicClient, http } from 'viem'
1098
+ * import { mainnet } from 'viem/chains'
1099
+ *
1100
+ * const client = createPublicClient({
1101
+ * chain: mainnet,
1102
+ * transport: http(),
1103
+ * })
1104
+ * const transactionReceipt = await client.waitForTransactionReceipt({
1105
+ * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',
1106
+ * })
1107
+ */
1108
+ waitForTransactionReceipt: (args: WaitForTransactionReceiptParameters<TChain>) => Promise<WaitForTransactionReceiptReturnType<TChain>>;
1109
+ /**
1110
+ * Watches and returns incoming block numbers.
1111
+ *
1112
+ * - Docs: https://viem.sh/docs/actions/public/watchBlockNumber
1113
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks
1114
+ * - JSON-RPC Methods:
1115
+ * - When `poll: true`, calls [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber) on a polling interval.
1116
+ * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newHeads"` event.
1117
+ *
1118
+ * @param args - {@link WatchBlockNumberParameters}
1119
+ * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlockNumberReturnType}
1120
+ *
1121
+ * @example
1122
+ * import { createPublicClient, http } from 'viem'
1123
+ * import { mainnet } from 'viem/chains'
1124
+ *
1125
+ * const client = createPublicClient({
1126
+ * chain: mainnet,
1127
+ * transport: http(),
1128
+ * })
1129
+ * const unwatch = await client.watchBlockNumber({
1130
+ * onBlockNumber: (blockNumber) => console.log(blockNumber),
1131
+ * })
1132
+ */
1133
+ watchBlockNumber: (args: WatchBlockNumberParameters) => WatchBlockNumberReturnType;
1134
+ /**
1135
+ * Watches and returns information for incoming blocks.
1136
+ *
1137
+ * - Docs: https://viem.sh/docs/actions/public/watchBlocks
1138
+ * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks
1139
+ * - JSON-RPC Methods:
1140
+ * - When `poll: true`, calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getBlockByNumber) on a polling interval.
1141
+ * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newHeads"` event.
1142
+ *
1143
+ * @param args - {@link WatchBlocksParameters}
1144
+ * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlocksReturnType}
1145
+ *
1146
+ * @example
1147
+ * import { createPublicClient, http } from 'viem'
1148
+ * import { mainnet } from 'viem/chains'
1149
+ *
1150
+ * const client = createPublicClient({
1151
+ * chain: mainnet,
1152
+ * transport: http(),
1153
+ * })
1154
+ * const unwatch = await client.watchBlocks({
1155
+ * onBlock: (block) => console.log(block),
1156
+ * })
1157
+ */
1158
+ watchBlocks: <TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = 'latest'>(args: WatchBlocksParameters<TTransport, TChain, TIncludeTransactions, TBlockTag>) => WatchBlocksReturnType;
1159
+ /**
1160
+ * Watches and returns emitted contract event logs.
1161
+ *
1162
+ * - Docs: https://viem.sh/docs/contract/watchContractEvent
1163
+ *
1164
+ * @remarks
1165
+ * This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent#onLogs).
1166
+ *
1167
+ * `watchContractEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchContractEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead.
1168
+ *
1169
+ * @param args - {@link WatchContractEventParameters}
1170
+ * @returns A function that can be invoked to stop watching for new event logs. {@link WatchContractEventReturnType}
1171
+ *
1172
+ * @example
1173
+ * import { createPublicClient, http, parseAbi } from 'viem'
1174
+ * import { mainnet } from 'viem/chains'
1175
+ *
1176
+ * const client = createPublicClient({
1177
+ * chain: mainnet,
1178
+ * transport: http(),
1179
+ * })
1180
+ * const unwatch = client.watchContractEvent({
1181
+ * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
1182
+ * abi: parseAbi(['event Transfer(address indexed from, address indexed to, uint256 value)']),
1183
+ * eventName: 'Transfer',
1184
+ * args: { from: '0xc961145a54C96E3aE9bAA048c4F4D6b04C13916b' },
1185
+ * onLogs: (logs) => console.log(logs),
1186
+ * })
1187
+ */
1188
+ watchContractEvent: <const TAbi extends Abi | readonly unknown[], TEventName extends ContractEventName<TAbi>, TStrict extends boolean | undefined = undefined>(args: WatchContractEventParameters<TAbi, TEventName, TStrict, TTransport>) => WatchContractEventReturnType;
1189
+ /**
1190
+ * Watches and returns emitted [Event Logs](https://viem.sh/docs/glossary/terms#event-log).
1191
+ *
1192
+ * - Docs: https://viem.sh/docs/actions/public/watchEvent
1193
+ * - JSON-RPC Methods:
1194
+ * - **RPC Provider supports `eth_newFilter`:**
1195
+ * - Calls [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter) to create a filter (called on initialize).
1196
+ * - On a polling interval, it will call [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges).
1197
+ * - **RPC Provider does not support `eth_newFilter`:**
1198
+ * - Calls [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) for each block between the polling interval.
1199
+ *
1200
+ * @remarks
1201
+ * This Action will batch up all the Event Logs found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchEvent#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/actions/public/watchEvent#onLogs).
1202
+ *
1203
+ * `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/actions/public/createEventFilter) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead.
1204
+ *
1205
+ * @param args - {@link WatchEventParameters}
1206
+ * @returns A function that can be invoked to stop watching for new Event Logs. {@link WatchEventReturnType}
1207
+ *
1208
+ * @example
1209
+ * import { createPublicClient, http } from 'viem'
1210
+ * import { mainnet } from 'viem/chains'
1211
+ *
1212
+ * const client = createPublicClient({
1213
+ * chain: mainnet,
1214
+ * transport: http(),
1215
+ * })
1216
+ * const unwatch = client.watchEvent({
1217
+ * onLogs: (logs) => console.log(logs),
1218
+ * })
1219
+ */
1220
+ watchEvent: <const TAbiEvent extends AbiEvent | undefined = undefined, const TAbiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined, TStrict extends boolean | undefined = undefined>(args: WatchEventParameters<TAbiEvent, TAbiEvents, TStrict, TTransport>) => WatchEventReturnType;
1221
+ /**
1222
+ * Watches and returns pending transaction hashes.
1223
+ *
1224
+ * - Docs: https://viem.sh/docs/actions/public/watchPendingTransactions
1225
+ * - JSON-RPC Methods:
1226
+ * - When `poll: true`
1227
+ * - Calls [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter) to initialize the filter.
1228
+ * - Calls [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getFilterChanges) on a polling interval.
1229
+ * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `"newPendingTransactions"` event.
1230
+ *
1231
+ * @remarks
1232
+ * This Action will batch up all the pending transactions found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchPendingTransactions#pollinginterval-optional), and invoke them via [`onTransactions`](https://viem.sh/docs/actions/public/watchPendingTransactions#ontransactions).
1233
+ *
1234
+ * @param args - {@link WatchPendingTransactionsParameters}
1235
+ * @returns A function that can be invoked to stop watching for new pending transaction hashes. {@link WatchPendingTransactionsReturnType}
1236
+ *
1237
+ * @example
1238
+ * import { createPublicClient, http } from 'viem'
1239
+ * import { mainnet } from 'viem/chains'
1240
+ *
1241
+ * const client = createPublicClient({
1242
+ * chain: mainnet,
1243
+ * transport: http(),
1244
+ * })
1245
+ * const unwatch = await client.watchPendingTransactions({
1246
+ * onTransactions: (hashes) => console.log(hashes),
1247
+ * })
1248
+ */
1249
+ watchPendingTransactions: (args: WatchPendingTransactionsParameters<TTransport>) => WatchPendingTransactionsReturnType;
1250
+ };
1251
+ export declare function publicActions<TTransport extends Transport = Transport, TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined>(client: Client<TTransport, TChain, TAccount>): PublicActions<TTransport, TChain, TAccount>;
1252
+ //# sourceMappingURL=public.d.ts.map