viem 2.0.0-alpha.9 → 2.0.0-beta.1

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 (2738) hide show
  1. package/CHANGELOG.md +2200 -0
  2. package/LICENSE +21 -0
  3. package/README.md +219 -0
  4. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  5. package/_cjs/accounts/generatePrivateKey.js.map +1 -1
  6. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  7. package/_cjs/accounts/index.js.map +1 -1
  8. package/_cjs/accounts/mnemonicToAccount.js.map +1 -1
  9. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  10. package/_cjs/accounts/toAccount.js.map +1 -1
  11. package/_cjs/accounts/utils/parseAccount.js.map +1 -1
  12. package/_cjs/accounts/utils/privateKeyToAddress.js.map +1 -1
  13. package/_cjs/accounts/utils/publicKeyToAddress.js.map +1 -1
  14. package/_cjs/accounts/utils/sign.js.map +1 -1
  15. package/_cjs/accounts/utils/signMessage.js.map +1 -1
  16. package/_cjs/accounts/utils/signTransaction.js.map +1 -1
  17. package/_cjs/accounts/utils/signTypedData.js.map +1 -1
  18. package/_cjs/actions/ens/getEnsAddress.js +4 -3
  19. package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
  20. package/_cjs/actions/ens/getEnsAvatar.js +2 -1
  21. package/_cjs/actions/ens/getEnsAvatar.js.map +1 -1
  22. package/_cjs/actions/ens/getEnsName.js +4 -3
  23. package/_cjs/actions/ens/getEnsName.js.map +1 -1
  24. package/_cjs/actions/ens/getEnsResolver.js +4 -3
  25. package/_cjs/actions/ens/getEnsResolver.js.map +1 -1
  26. package/_cjs/actions/ens/getEnsText.js +4 -3
  27. package/_cjs/actions/ens/getEnsText.js.map +1 -1
  28. package/_cjs/actions/getContract.js +36 -7
  29. package/_cjs/actions/getContract.js.map +1 -1
  30. package/_cjs/actions/index.js.map +1 -1
  31. package/_cjs/actions/public/call.js +5 -5
  32. package/_cjs/actions/public/call.js.map +1 -1
  33. package/_cjs/actions/public/createBlockFilter.js.map +1 -1
  34. package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
  35. package/_cjs/actions/public/createEventFilter.js.map +1 -1
  36. package/_cjs/actions/public/createPendingTransactionFilter.js.map +1 -1
  37. package/_cjs/actions/public/estimateContractGas.js +11 -2
  38. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  39. package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
  40. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  41. package/_cjs/actions/public/estimateGas.js +3 -3
  42. package/_cjs/actions/public/estimateGas.js.map +1 -1
  43. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js +5 -4
  44. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  45. package/_cjs/actions/public/getBalance.js.map +1 -1
  46. package/_cjs/actions/public/getBlock.js.map +1 -1
  47. package/_cjs/actions/public/getBlockNumber.js +2 -2
  48. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  49. package/_cjs/actions/public/getBlockTransactionCount.js.map +1 -1
  50. package/_cjs/actions/public/getBytecode.js.map +1 -1
  51. package/_cjs/actions/public/getChainId.js.map +1 -1
  52. package/_cjs/actions/public/getContractEvents.js +27 -0
  53. package/_cjs/actions/public/getContractEvents.js.map +1 -0
  54. package/_cjs/actions/public/getFeeHistory.js.map +1 -1
  55. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  56. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  57. package/_cjs/actions/public/getGasPrice.js.map +1 -1
  58. package/_cjs/actions/public/getLogs.js.map +1 -1
  59. package/_cjs/actions/public/getProof.js +16 -0
  60. package/_cjs/actions/public/getProof.js.map +1 -0
  61. package/_cjs/actions/public/getStorageAt.js.map +1 -1
  62. package/_cjs/actions/public/getTransaction.js.map +1 -1
  63. package/_cjs/actions/public/getTransactionConfirmations.js +3 -2
  64. package/_cjs/actions/public/getTransactionConfirmations.js.map +1 -1
  65. package/_cjs/actions/public/getTransactionCount.js.map +1 -1
  66. package/_cjs/actions/public/getTransactionReceipt.js.map +1 -1
  67. package/_cjs/actions/public/multicall.js +4 -3
  68. package/_cjs/actions/public/multicall.js.map +1 -1
  69. package/_cjs/actions/public/readContract.js +7 -2
  70. package/_cjs/actions/public/readContract.js.map +1 -1
  71. package/_cjs/actions/public/simulateContract.js +5 -2
  72. package/_cjs/actions/public/simulateContract.js.map +1 -1
  73. package/_cjs/actions/public/uninstallFilter.js.map +1 -1
  74. package/_cjs/actions/public/verifyHash.js +2 -1
  75. package/_cjs/actions/public/verifyHash.js.map +1 -1
  76. package/_cjs/actions/public/verifyMessage.js.map +1 -1
  77. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  78. package/_cjs/actions/public/waitForTransactionReceipt.js +6 -5
  79. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  80. package/_cjs/actions/public/watchBlockNumber.js +2 -1
  81. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  82. package/_cjs/actions/public/watchBlocks.js +4 -3
  83. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  84. package/_cjs/actions/public/watchContractEvent.js +11 -12
  85. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  86. package/_cjs/actions/public/watchEvent.js +6 -5
  87. package/_cjs/actions/public/watchEvent.js.map +1 -1
  88. package/_cjs/actions/public/watchPendingTransactions.js +4 -3
  89. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  90. package/_cjs/actions/test/dropTransaction.js.map +1 -1
  91. package/_cjs/actions/test/getAutomine.js.map +1 -1
  92. package/_cjs/actions/test/getTxpoolContent.js.map +1 -1
  93. package/_cjs/actions/test/getTxpoolStatus.js.map +1 -1
  94. package/_cjs/actions/test/impersonateAccount.js.map +1 -1
  95. package/_cjs/actions/test/increaseTime.js.map +1 -1
  96. package/_cjs/actions/test/inspectTxpool.js.map +1 -1
  97. package/_cjs/actions/test/mine.js.map +1 -1
  98. package/_cjs/actions/test/removeBlockTimestampInterval.js.map +1 -1
  99. package/_cjs/actions/test/reset.js.map +1 -1
  100. package/_cjs/actions/test/revert.js.map +1 -1
  101. package/_cjs/actions/test/sendUnsignedTransaction.js +3 -3
  102. package/_cjs/actions/test/sendUnsignedTransaction.js.map +1 -1
  103. package/_cjs/actions/test/setAutomine.js.map +1 -1
  104. package/_cjs/actions/test/setBalance.js.map +1 -1
  105. package/_cjs/actions/test/setBlockGasLimit.js.map +1 -1
  106. package/_cjs/actions/test/setBlockTimestampInterval.js +6 -1
  107. package/_cjs/actions/test/setBlockTimestampInterval.js.map +1 -1
  108. package/_cjs/actions/test/setCode.js.map +1 -1
  109. package/_cjs/actions/test/setCoinbase.js.map +1 -1
  110. package/_cjs/actions/test/setIntervalMining.js +6 -1
  111. package/_cjs/actions/test/setIntervalMining.js.map +1 -1
  112. package/_cjs/actions/test/setLoggingEnabled.js.map +1 -1
  113. package/_cjs/actions/test/setMinGasPrice.js.map +1 -1
  114. package/_cjs/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
  115. package/_cjs/actions/test/setNextBlockTimestamp.js.map +1 -1
  116. package/_cjs/actions/test/setNonce.js.map +1 -1
  117. package/_cjs/actions/test/setRpcUrl.js.map +1 -1
  118. package/_cjs/actions/test/setStorageAt.js.map +1 -1
  119. package/_cjs/actions/test/snapshot.js.map +1 -1
  120. package/_cjs/actions/test/stopImpersonatingAccount.js.map +1 -1
  121. package/_cjs/actions/wallet/addChain.js.map +1 -1
  122. package/_cjs/actions/wallet/deployContract.js.map +1 -1
  123. package/_cjs/actions/wallet/getAddresses.js +2 -0
  124. package/_cjs/actions/wallet/getAddresses.js.map +1 -1
  125. package/_cjs/actions/wallet/getPermissions.js.map +1 -1
  126. package/_cjs/actions/wallet/prepareTransactionRequest.js +4 -3
  127. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  128. package/_cjs/actions/wallet/requestAddresses.js.map +1 -1
  129. package/_cjs/actions/wallet/requestPermissions.js.map +1 -1
  130. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  131. package/_cjs/actions/wallet/sendTransaction.js +10 -8
  132. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  133. package/_cjs/actions/wallet/signMessage.js.map +1 -1
  134. package/_cjs/actions/wallet/signTransaction.js +5 -4
  135. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  136. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  137. package/_cjs/actions/wallet/switchChain.js.map +1 -1
  138. package/_cjs/actions/wallet/watchAsset.js.map +1 -1
  139. package/_cjs/actions/wallet/writeContract.js +3 -2
  140. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  141. package/_cjs/chains/celo/formatters.js +32 -15
  142. package/_cjs/chains/celo/formatters.js.map +1 -1
  143. package/_cjs/chains/celo/parsers.js +55 -0
  144. package/_cjs/chains/celo/parsers.js.map +1 -1
  145. package/_cjs/chains/celo/serializers.js +65 -19
  146. package/_cjs/chains/celo/serializers.js.map +1 -1
  147. package/_cjs/chains/celo/utils.js +44 -0
  148. package/_cjs/chains/celo/utils.js.map +1 -0
  149. package/_cjs/chains/definitions/arbitrum.js +2 -15
  150. package/_cjs/chains/definitions/arbitrum.js.map +1 -1
  151. package/_cjs/chains/definitions/arbitrumGoerli.js +4 -16
  152. package/_cjs/chains/definitions/arbitrumGoerli.js.map +1 -1
  153. package/_cjs/chains/definitions/arbitrumNova.js +2 -15
  154. package/_cjs/chains/definitions/arbitrumNova.js.map +1 -1
  155. package/_cjs/chains/definitions/arbitrumSepolia.js +32 -0
  156. package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -0
  157. package/_cjs/chains/definitions/astar.js +29 -0
  158. package/_cjs/chains/definitions/astar.js.map +1 -0
  159. package/_cjs/chains/definitions/astarZkatana.js +42 -0
  160. package/_cjs/chains/definitions/astarZkatana.js.map +1 -0
  161. package/_cjs/chains/definitions/aurora.js +2 -6
  162. package/_cjs/chains/definitions/aurora.js.map +1 -1
  163. package/_cjs/chains/definitions/auroraTestnet.js +2 -6
  164. package/_cjs/chains/definitions/auroraTestnet.js.map +1 -1
  165. package/_cjs/chains/definitions/avalanche.js +2 -5
  166. package/_cjs/chains/definitions/avalanche.js.map +1 -1
  167. package/_cjs/chains/definitions/avalancheFuji.js +2 -5
  168. package/_cjs/chains/definitions/avalancheFuji.js.map +1 -1
  169. package/_cjs/chains/definitions/base.js +2 -19
  170. package/_cjs/chains/definitions/base.js.map +1 -1
  171. package/_cjs/chains/definitions/baseGoerli.js +3 -18
  172. package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
  173. package/_cjs/chains/definitions/baseSepolia.js +33 -0
  174. package/_cjs/chains/definitions/baseSepolia.js.map +1 -0
  175. package/_cjs/chains/definitions/bearNetworkChainMainnet.js +2 -4
  176. package/_cjs/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
  177. package/_cjs/chains/definitions/bearNetworkChainTestnet.js +2 -4
  178. package/_cjs/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
  179. package/_cjs/chains/definitions/boba.js +2 -5
  180. package/_cjs/chains/definitions/boba.js.map +1 -1
  181. package/_cjs/chains/definitions/bronos.js +2 -4
  182. package/_cjs/chains/definitions/bronos.js.map +1 -1
  183. package/_cjs/chains/definitions/bronosTestnet.js +2 -4
  184. package/_cjs/chains/definitions/bronosTestnet.js.map +1 -1
  185. package/_cjs/chains/definitions/bsc.js +2 -5
  186. package/_cjs/chains/definitions/bsc.js.map +1 -1
  187. package/_cjs/chains/definitions/bscTestnet.js +2 -5
  188. package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
  189. package/_cjs/chains/definitions/bxn.js +2 -6
  190. package/_cjs/chains/definitions/bxn.js.map +1 -1
  191. package/_cjs/chains/definitions/bxnTestnet.js +2 -6
  192. package/_cjs/chains/definitions/bxnTestnet.js.map +1 -1
  193. package/_cjs/chains/definitions/canto.js +2 -4
  194. package/_cjs/chains/definitions/canto.js.map +1 -1
  195. package/_cjs/chains/definitions/celo.js +2 -11
  196. package/_cjs/chains/definitions/celo.js.map +1 -1
  197. package/_cjs/chains/definitions/celoAlfajores.js +2 -11
  198. package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
  199. package/_cjs/chains/definitions/celoCannoli.js +2 -7
  200. package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
  201. package/_cjs/chains/definitions/classic.js +2 -4
  202. package/_cjs/chains/definitions/classic.js.map +1 -1
  203. package/_cjs/chains/definitions/confluxESpace.js +2 -6
  204. package/_cjs/chains/definitions/confluxESpace.js.map +1 -1
  205. package/_cjs/chains/definitions/coreDao.js +27 -0
  206. package/_cjs/chains/definitions/coreDao.js.map +1 -0
  207. package/_cjs/chains/definitions/cronos.js +2 -4
  208. package/_cjs/chains/definitions/cronos.js.map +1 -1
  209. package/_cjs/chains/definitions/cronosTestnet.js +2 -4
  210. package/_cjs/chains/definitions/cronosTestnet.js.map +1 -1
  211. package/_cjs/chains/definitions/crossbell.js +2 -6
  212. package/_cjs/chains/definitions/crossbell.js.map +1 -1
  213. package/_cjs/chains/definitions/dfk.js +2 -10
  214. package/_cjs/chains/definitions/dfk.js.map +1 -1
  215. package/_cjs/chains/definitions/dogechain.js +2 -8
  216. package/_cjs/chains/definitions/dogechain.js.map +1 -1
  217. package/_cjs/chains/definitions/edgeware.js +2 -5
  218. package/_cjs/chains/definitions/edgeware.js.map +1 -1
  219. package/_cjs/chains/definitions/edgewareTestnet.js +2 -8
  220. package/_cjs/chains/definitions/edgewareTestnet.js.map +1 -1
  221. package/_cjs/chains/definitions/ekta.js +2 -4
  222. package/_cjs/chains/definitions/ekta.js.map +1 -1
  223. package/_cjs/chains/definitions/ektaTestnet.js +2 -4
  224. package/_cjs/chains/definitions/ektaTestnet.js.map +1 -1
  225. package/_cjs/chains/definitions/eon.js +2 -4
  226. package/_cjs/chains/definitions/eon.js.map +1 -1
  227. package/_cjs/chains/definitions/eos.js +2 -8
  228. package/_cjs/chains/definitions/eos.js.map +1 -1
  229. package/_cjs/chains/definitions/eosTestnet.js +2 -8
  230. package/_cjs/chains/definitions/eosTestnet.js.map +1 -1
  231. package/_cjs/chains/definitions/evmos.js +2 -4
  232. package/_cjs/chains/definitions/evmos.js.map +1 -1
  233. package/_cjs/chains/definitions/evmosTestnet.js +2 -4
  234. package/_cjs/chains/definitions/evmosTestnet.js.map +1 -1
  235. package/_cjs/chains/definitions/fantom.js +2 -5
  236. package/_cjs/chains/definitions/fantom.js.map +1 -1
  237. package/_cjs/chains/definitions/fantomTestnet.js +2 -5
  238. package/_cjs/chains/definitions/fantomTestnet.js.map +1 -1
  239. package/_cjs/chains/definitions/fibo.js +2 -4
  240. package/_cjs/chains/definitions/fibo.js.map +1 -1
  241. package/_cjs/chains/definitions/filecoin.js +2 -7
  242. package/_cjs/chains/definitions/filecoin.js.map +1 -1
  243. package/_cjs/chains/definitions/filecoinCalibration.js +2 -4
  244. package/_cjs/chains/definitions/filecoinCalibration.js.map +1 -1
  245. package/_cjs/chains/definitions/filecoinHyperspace.js +2 -5
  246. package/_cjs/chains/definitions/filecoinHyperspace.js.map +1 -1
  247. package/_cjs/chains/definitions/flare.js +2 -4
  248. package/_cjs/chains/definitions/flare.js.map +1 -1
  249. package/_cjs/chains/definitions/flareTestnet.js +2 -4
  250. package/_cjs/chains/definitions/flareTestnet.js.map +1 -1
  251. package/_cjs/chains/definitions/foundry.js +2 -7
  252. package/_cjs/chains/definitions/foundry.js.map +1 -1
  253. package/_cjs/chains/definitions/fuse.js +8 -4
  254. package/_cjs/chains/definitions/fuse.js.map +1 -1
  255. package/_cjs/chains/definitions/fuseSparknet.js +2 -4
  256. package/_cjs/chains/definitions/fuseSparknet.js.map +1 -1
  257. package/_cjs/chains/definitions/gnosis.js +6 -9
  258. package/_cjs/chains/definitions/gnosis.js.map +1 -1
  259. package/_cjs/chains/definitions/gnosisChiado.js +12 -5
  260. package/_cjs/chains/definitions/gnosisChiado.js.map +1 -1
  261. package/_cjs/chains/definitions/gobi.js +2 -4
  262. package/_cjs/chains/definitions/gobi.js.map +1 -1
  263. package/_cjs/chains/definitions/goerli.js +2 -18
  264. package/_cjs/chains/definitions/goerli.js.map +1 -1
  265. package/_cjs/chains/definitions/haqqMainnet.js +2 -6
  266. package/_cjs/chains/definitions/haqqMainnet.js.map +1 -1
  267. package/_cjs/chains/definitions/haqqTestedge2.js +2 -6
  268. package/_cjs/chains/definitions/haqqTestedge2.js.map +1 -1
  269. package/_cjs/chains/definitions/hardhat.js +2 -4
  270. package/_cjs/chains/definitions/hardhat.js.map +1 -1
  271. package/_cjs/chains/definitions/harmonyOne.js +2 -4
  272. package/_cjs/chains/definitions/harmonyOne.js.map +1 -1
  273. package/_cjs/chains/definitions/holesky.js +8 -7
  274. package/_cjs/chains/definitions/holesky.js.map +1 -1
  275. package/_cjs/chains/definitions/iotex.js +2 -7
  276. package/_cjs/chains/definitions/iotex.js.map +1 -1
  277. package/_cjs/chains/definitions/iotexTestnet.js +2 -7
  278. package/_cjs/chains/definitions/iotexTestnet.js.map +1 -1
  279. package/_cjs/chains/definitions/kava.js +29 -0
  280. package/_cjs/chains/definitions/kava.js.map +1 -0
  281. package/_cjs/chains/definitions/kavaTestnet.js +32 -0
  282. package/_cjs/chains/definitions/kavaTestnet.js.map +1 -0
  283. package/_cjs/chains/definitions/klaytn.js +2 -5
  284. package/_cjs/chains/definitions/klaytn.js.map +1 -1
  285. package/_cjs/chains/definitions/kroma.js +2 -6
  286. package/_cjs/chains/definitions/kroma.js.map +1 -1
  287. package/_cjs/chains/definitions/kromaSepolia.js +2 -6
  288. package/_cjs/chains/definitions/kromaSepolia.js.map +1 -1
  289. package/_cjs/chains/definitions/linea.js +2 -19
  290. package/_cjs/chains/definitions/linea.js.map +1 -1
  291. package/_cjs/chains/definitions/lineaTestnet.js +2 -19
  292. package/_cjs/chains/definitions/lineaTestnet.js.map +1 -1
  293. package/_cjs/chains/definitions/localhost.js +2 -4
  294. package/_cjs/chains/definitions/localhost.js.map +1 -1
  295. package/_cjs/chains/definitions/mainnet.js +2 -18
  296. package/_cjs/chains/definitions/mainnet.js.map +1 -1
  297. package/_cjs/chains/definitions/manta.js +35 -0
  298. package/_cjs/chains/definitions/manta.js.map +1 -0
  299. package/_cjs/chains/definitions/mantaTestnet.js +36 -0
  300. package/_cjs/chains/definitions/mantaTestnet.js.map +1 -0
  301. package/_cjs/chains/definitions/mantle.js +2 -8
  302. package/_cjs/chains/definitions/mantle.js.map +1 -1
  303. package/_cjs/chains/definitions/mantleTestnet.js +2 -8
  304. package/_cjs/chains/definitions/mantleTestnet.js.map +1 -1
  305. package/_cjs/chains/definitions/meter.js +2 -4
  306. package/_cjs/chains/definitions/meter.js.map +1 -1
  307. package/_cjs/chains/definitions/meterTestnet.js +2 -4
  308. package/_cjs/chains/definitions/meterTestnet.js.map +1 -1
  309. package/_cjs/chains/definitions/metis.js +2 -4
  310. package/_cjs/chains/definitions/metis.js.map +1 -1
  311. package/_cjs/chains/definitions/metisGoerli.js +2 -4
  312. package/_cjs/chains/definitions/metisGoerli.js.map +1 -1
  313. package/_cjs/chains/definitions/mev.js +2 -6
  314. package/_cjs/chains/definitions/mev.js.map +1 -1
  315. package/_cjs/chains/definitions/mevTestnet.js +2 -6
  316. package/_cjs/chains/definitions/mevTestnet.js.map +1 -1
  317. package/_cjs/chains/definitions/modeTestnet.js +8 -6
  318. package/_cjs/chains/definitions/modeTestnet.js.map +1 -1
  319. package/_cjs/chains/definitions/moonbaseAlpha.js +2 -11
  320. package/_cjs/chains/definitions/moonbaseAlpha.js.map +1 -1
  321. package/_cjs/chains/definitions/moonbeam.js +2 -11
  322. package/_cjs/chains/definitions/moonbeam.js.map +1 -1
  323. package/_cjs/chains/definitions/moonbeamDev.js +20 -0
  324. package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
  325. package/_cjs/chains/definitions/moonriver.js +2 -11
  326. package/_cjs/chains/definitions/moonriver.js.map +1 -1
  327. package/_cjs/chains/definitions/neonDevnet.js +3 -7
  328. package/_cjs/chains/definitions/neonDevnet.js.map +1 -1
  329. package/_cjs/chains/definitions/neonMainnet.js +27 -0
  330. package/_cjs/chains/definitions/neonMainnet.js.map +1 -0
  331. package/_cjs/chains/definitions/nexi.js +2 -10
  332. package/_cjs/chains/definitions/nexi.js.map +1 -1
  333. package/_cjs/chains/definitions/nexilix.js +2 -5
  334. package/_cjs/chains/definitions/nexilix.js.map +1 -1
  335. package/_cjs/chains/definitions/oasys.js +2 -6
  336. package/_cjs/chains/definitions/oasys.js.map +1 -1
  337. package/_cjs/chains/definitions/okc.js +2 -4
  338. package/_cjs/chains/definitions/okc.js.map +1 -1
  339. package/_cjs/chains/definitions/opBNB.js +2 -4
  340. package/_cjs/chains/definitions/opBNB.js.map +1 -1
  341. package/_cjs/chains/definitions/opBNBTestnet.js +2 -4
  342. package/_cjs/chains/definitions/opBNBTestnet.js.map +1 -1
  343. package/_cjs/chains/definitions/optimism.js +2 -19
  344. package/_cjs/chains/definitions/optimism.js.map +1 -1
  345. package/_cjs/chains/definitions/optimismGoerli.js +2 -19
  346. package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
  347. package/_cjs/chains/definitions/optimismSepolia.js +30 -0
  348. package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
  349. package/_cjs/chains/definitions/plinga.js +2 -6
  350. package/_cjs/chains/definitions/plinga.js.map +1 -1
  351. package/_cjs/chains/definitions/polygon.js +2 -18
  352. package/_cjs/chains/definitions/polygon.js.map +1 -1
  353. package/_cjs/chains/definitions/polygonMumbai.js +2 -18
  354. package/_cjs/chains/definitions/polygonMumbai.js.map +1 -1
  355. package/_cjs/chains/definitions/polygonZkEvm.js +2 -6
  356. package/_cjs/chains/definitions/polygonZkEvm.js.map +1 -1
  357. package/_cjs/chains/definitions/polygonZkEvmTestnet.js +2 -10
  358. package/_cjs/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
  359. package/_cjs/chains/definitions/pulsechain.js +2 -7
  360. package/_cjs/chains/definitions/pulsechain.js.map +1 -1
  361. package/_cjs/chains/definitions/pulsechainV4.js +2 -7
  362. package/_cjs/chains/definitions/pulsechainV4.js.map +1 -1
  363. package/_cjs/chains/definitions/qMainnet.js +2 -4
  364. package/_cjs/chains/definitions/qMainnet.js.map +1 -1
  365. package/_cjs/chains/definitions/qTestnet.js +2 -4
  366. package/_cjs/chains/definitions/qTestnet.js.map +1 -1
  367. package/_cjs/chains/definitions/rollux.js +2 -4
  368. package/_cjs/chains/definitions/rollux.js.map +1 -1
  369. package/_cjs/chains/definitions/rolluxTestnet.js +2 -4
  370. package/_cjs/chains/definitions/rolluxTestnet.js.map +1 -1
  371. package/_cjs/chains/definitions/ronin.js +2 -6
  372. package/_cjs/chains/definitions/ronin.js.map +1 -1
  373. package/_cjs/chains/definitions/saigon.js +2 -6
  374. package/_cjs/chains/definitions/saigon.js.map +1 -1
  375. package/_cjs/chains/definitions/scroll.js +29 -0
  376. package/_cjs/chains/definitions/scroll.js.map +1 -0
  377. package/_cjs/chains/definitions/scrollSepolia.js +2 -8
  378. package/_cjs/chains/definitions/scrollSepolia.js.map +1 -1
  379. package/_cjs/chains/definitions/scrollTestnet.js +2 -7
  380. package/_cjs/chains/definitions/scrollTestnet.js.map +1 -1
  381. package/_cjs/chains/definitions/sepolia.js +3 -19
  382. package/_cjs/chains/definitions/sepolia.js.map +1 -1
  383. package/_cjs/chains/definitions/shardeumSphinx.js +2 -6
  384. package/_cjs/chains/definitions/shardeumSphinx.js.map +1 -1
  385. package/_cjs/chains/definitions/skale/brawl.js +2 -11
  386. package/_cjs/chains/definitions/skale/brawl.js.map +1 -1
  387. package/_cjs/chains/definitions/skale/calypso.js +2 -13
  388. package/_cjs/chains/definitions/skale/calypso.js.map +1 -1
  389. package/_cjs/chains/definitions/skale/calypsoTestnet.js +2 -15
  390. package/_cjs/chains/definitions/skale/calypsoTestnet.js.map +1 -1
  391. package/_cjs/chains/definitions/skale/chaosTestnet.js +2 -15
  392. package/_cjs/chains/definitions/skale/chaosTestnet.js.map +1 -1
  393. package/_cjs/chains/definitions/skale/cryptoBlades.js +2 -13
  394. package/_cjs/chains/definitions/skale/cryptoBlades.js.map +1 -1
  395. package/_cjs/chains/definitions/skale/cryptoColosseum.js +2 -11
  396. package/_cjs/chains/definitions/skale/cryptoColosseum.js.map +1 -1
  397. package/_cjs/chains/definitions/skale/europa.js +2 -11
  398. package/_cjs/chains/definitions/skale/europa.js.map +1 -1
  399. package/_cjs/chains/definitions/skale/europaTestnet.js +2 -13
  400. package/_cjs/chains/definitions/skale/europaTestnet.js.map +1 -1
  401. package/_cjs/chains/definitions/skale/exorde.js +2 -11
  402. package/_cjs/chains/definitions/skale/exorde.js.map +1 -1
  403. package/_cjs/chains/definitions/skale/humanProtocol.js +2 -11
  404. package/_cjs/chains/definitions/skale/humanProtocol.js.map +1 -1
  405. package/_cjs/chains/definitions/skale/nebula.js +2 -11
  406. package/_cjs/chains/definitions/skale/nebula.js.map +1 -1
  407. package/_cjs/chains/definitions/skale/nebulaTestnet.js +2 -13
  408. package/_cjs/chains/definitions/skale/nebulaTestnet.js.map +1 -1
  409. package/_cjs/chains/definitions/skale/razor.js +2 -11
  410. package/_cjs/chains/definitions/skale/razor.js.map +1 -1
  411. package/_cjs/chains/definitions/skale/titan.js +2 -11
  412. package/_cjs/chains/definitions/skale/titan.js.map +1 -1
  413. package/_cjs/chains/definitions/skale/titanTestnet.js +2 -15
  414. package/_cjs/chains/definitions/skale/titanTestnet.js.map +1 -1
  415. package/_cjs/chains/definitions/songbird.js +2 -4
  416. package/_cjs/chains/definitions/songbird.js.map +1 -1
  417. package/_cjs/chains/definitions/songbirdTestnet.js +2 -4
  418. package/_cjs/chains/definitions/songbirdTestnet.js.map +1 -1
  419. package/_cjs/chains/definitions/syscoin.js +2 -7
  420. package/_cjs/chains/definitions/syscoin.js.map +1 -1
  421. package/_cjs/chains/definitions/syscoinTestnet.js +2 -7
  422. package/_cjs/chains/definitions/syscoinTestnet.js.map +1 -1
  423. package/_cjs/chains/definitions/taikoJolnir.js +2 -6
  424. package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
  425. package/_cjs/chains/definitions/taikoTestnetSepolia.js +2 -6
  426. package/_cjs/chains/definitions/taikoTestnetSepolia.js.map +1 -1
  427. package/_cjs/chains/definitions/taraxa.js +2 -6
  428. package/_cjs/chains/definitions/taraxa.js.map +1 -1
  429. package/_cjs/chains/definitions/taraxaTestnet.js +2 -6
  430. package/_cjs/chains/definitions/taraxaTestnet.js.map +1 -1
  431. package/_cjs/chains/definitions/telos.js +2 -4
  432. package/_cjs/chains/definitions/telos.js.map +1 -1
  433. package/_cjs/chains/definitions/telosTestnet.js +2 -4
  434. package/_cjs/chains/definitions/telosTestnet.js.map +1 -1
  435. package/_cjs/chains/definitions/tenet.js +23 -0
  436. package/_cjs/chains/definitions/tenet.js.map +1 -0
  437. package/_cjs/chains/definitions/thunderTestnet.js +2 -6
  438. package/_cjs/chains/definitions/thunderTestnet.js.map +1 -1
  439. package/_cjs/chains/definitions/vechain.js +2 -6
  440. package/_cjs/chains/definitions/vechain.js.map +1 -1
  441. package/_cjs/chains/definitions/wanchain.js +2 -13
  442. package/_cjs/chains/definitions/wanchain.js.map +1 -1
  443. package/_cjs/chains/definitions/wanchainTestnet.js +2 -10
  444. package/_cjs/chains/definitions/wanchainTestnet.js.map +1 -1
  445. package/_cjs/chains/definitions/xdc.js +2 -4
  446. package/_cjs/chains/definitions/xdc.js.map +1 -1
  447. package/_cjs/chains/definitions/xdcTestnet.js +2 -4
  448. package/_cjs/chains/definitions/xdcTestnet.js.map +1 -1
  449. package/_cjs/chains/definitions/zetachainAthensTestnet.js +2 -6
  450. package/_cjs/chains/definitions/zetachainAthensTestnet.js.map +1 -1
  451. package/_cjs/chains/definitions/zhejiang.js +2 -14
  452. package/_cjs/chains/definitions/zhejiang.js.map +1 -1
  453. package/_cjs/chains/definitions/zkSync.js +6 -6
  454. package/_cjs/chains/definitions/zkSync.js.map +1 -1
  455. package/_cjs/chains/definitions/zkSyncTestnet.js +6 -6
  456. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  457. package/_cjs/chains/definitions/zora.js +2 -8
  458. package/_cjs/chains/definitions/zora.js.map +1 -1
  459. package/_cjs/chains/definitions/zoraSepolia.js +40 -0
  460. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -0
  461. package/_cjs/chains/definitions/zoraTestnet.js +2 -8
  462. package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
  463. package/_cjs/chains/index.js +34 -3
  464. package/_cjs/chains/index.js.map +1 -1
  465. package/_cjs/chains/utils.js +11 -1
  466. package/_cjs/chains/utils.js.map +1 -1
  467. package/_cjs/chains/zksync/formatters.js +128 -0
  468. package/_cjs/chains/zksync/formatters.js.map +1 -0
  469. package/_cjs/chains/zksync/serializers.js +74 -0
  470. package/_cjs/chains/zksync/serializers.js.map +1 -0
  471. package/_cjs/chains/zksync/types.js +3 -0
  472. package/_cjs/chains/zksync/types.js.map +1 -0
  473. package/_cjs/clients/createClient.js.map +1 -1
  474. package/_cjs/clients/createPublicClient.js.map +1 -1
  475. package/_cjs/clients/createTestClient.js.map +1 -1
  476. package/_cjs/clients/createWalletClient.js.map +1 -1
  477. package/_cjs/clients/decorators/public.js +4 -0
  478. package/_cjs/clients/decorators/public.js.map +1 -1
  479. package/_cjs/clients/transports/createTransport.js.map +1 -1
  480. package/_cjs/clients/transports/custom.js.map +1 -1
  481. package/_cjs/clients/transports/fallback.js.map +1 -1
  482. package/_cjs/clients/transports/http.js +2 -0
  483. package/_cjs/clients/transports/http.js.map +1 -1
  484. package/_cjs/clients/transports/webSocket.js.map +1 -1
  485. package/_cjs/ens/index.js.map +1 -1
  486. package/_cjs/errors/abi.js.map +1 -1
  487. package/_cjs/errors/account.js.map +1 -1
  488. package/_cjs/errors/address.js.map +1 -1
  489. package/_cjs/errors/base.js.map +1 -1
  490. package/_cjs/errors/block.js.map +1 -1
  491. package/_cjs/errors/ccip.js.map +1 -1
  492. package/_cjs/errors/chain.js.map +1 -1
  493. package/_cjs/errors/contract.js +1 -1
  494. package/_cjs/errors/contract.js.map +1 -1
  495. package/_cjs/errors/cursor.js +29 -0
  496. package/_cjs/errors/cursor.js.map +1 -0
  497. package/_cjs/errors/data.js.map +1 -1
  498. package/_cjs/errors/encoding.js +1 -37
  499. package/_cjs/errors/encoding.js.map +1 -1
  500. package/_cjs/errors/ens.js.map +1 -1
  501. package/_cjs/errors/estimateGas.js +1 -1
  502. package/_cjs/errors/estimateGas.js.map +1 -1
  503. package/_cjs/errors/fee.js.map +1 -1
  504. package/_cjs/errors/log.js.map +1 -1
  505. package/_cjs/errors/node.js +11 -11
  506. package/_cjs/errors/node.js.map +1 -1
  507. package/_cjs/errors/request.js.map +1 -1
  508. package/_cjs/errors/rpc.js +18 -18
  509. package/_cjs/errors/rpc.js.map +1 -1
  510. package/_cjs/errors/transaction.js +1 -1
  511. package/_cjs/errors/transaction.js.map +1 -1
  512. package/_cjs/errors/transport.js.map +1 -1
  513. package/_cjs/errors/utils.js.map +1 -1
  514. package/_cjs/errors/version.js +1 -1
  515. package/_cjs/errors/version.js.map +1 -1
  516. package/_cjs/index.js +51 -13
  517. package/_cjs/index.js.map +1 -1
  518. package/_cjs/types/eip1193.js.map +1 -1
  519. package/_cjs/types/proof.js +3 -0
  520. package/_cjs/types/proof.js.map +1 -0
  521. package/_cjs/types/withdrawal.js +3 -0
  522. package/_cjs/types/withdrawal.js.map +1 -0
  523. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  524. package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
  525. package/_cjs/utils/abi/decodeErrorResult.js.map +1 -1
  526. package/_cjs/utils/abi/decodeEventLog.js +9 -11
  527. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  528. package/_cjs/utils/abi/decodeFunctionData.js.map +1 -1
  529. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  530. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  531. package/_cjs/utils/abi/encodeDeployData.js.map +1 -1
  532. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  533. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  534. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  535. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  536. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  537. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  538. package/_cjs/utils/abi/formatAbiItemWithArgs.js.map +1 -1
  539. package/_cjs/utils/abi/getAbiItem.js +3 -3
  540. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  541. package/_cjs/utils/address/getAddress.js.map +1 -1
  542. package/_cjs/utils/address/getContractAddress.js +8 -3
  543. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  544. package/_cjs/utils/address/isAddress.js.map +1 -1
  545. package/_cjs/utils/address/isAddressEqual.js.map +1 -1
  546. package/_cjs/utils/buildRequest.js.map +1 -1
  547. package/_cjs/utils/ccip.js.map +1 -1
  548. package/_cjs/utils/chain/assertCurrentChain.js +12 -0
  549. package/_cjs/utils/chain/assertCurrentChain.js.map +1 -0
  550. package/_cjs/utils/chain/defineChain.js +13 -0
  551. package/_cjs/utils/chain/defineChain.js.map +1 -0
  552. package/_cjs/utils/chain/extractChain.js +8 -0
  553. package/_cjs/utils/chain/extractChain.js.map +1 -0
  554. package/_cjs/utils/{chain.js → chain/getChainContractAddress.js} +3 -20
  555. package/_cjs/utils/chain/getChainContractAddress.js.map +1 -0
  556. package/_cjs/utils/cursor.js +134 -0
  557. package/_cjs/utils/cursor.js.map +1 -0
  558. package/_cjs/utils/data/concat.js.map +1 -1
  559. package/_cjs/utils/data/isBytes.js.map +1 -1
  560. package/_cjs/utils/data/isBytesEqual.js.map +1 -1
  561. package/_cjs/utils/data/isHex.js.map +1 -1
  562. package/_cjs/utils/data/pad.js.map +1 -1
  563. package/_cjs/utils/data/size.js.map +1 -1
  564. package/_cjs/utils/data/slice.js.map +1 -1
  565. package/_cjs/utils/data/trim.js.map +1 -1
  566. package/_cjs/utils/encoding/fromBytes.js +4 -4
  567. package/_cjs/utils/encoding/fromBytes.js.map +1 -1
  568. package/_cjs/utils/encoding/fromHex.js.map +1 -1
  569. package/_cjs/utils/encoding/fromRlp.js +55 -76
  570. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  571. package/_cjs/utils/encoding/toBytes.js +26 -8
  572. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  573. package/_cjs/utils/encoding/toHex.js +3 -3
  574. package/_cjs/utils/encoding/toHex.js.map +1 -1
  575. package/_cjs/utils/encoding/toRlp.js +94 -24
  576. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  577. package/_cjs/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  578. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  579. package/_cjs/utils/ens/encodeLabelhash.js.map +1 -1
  580. package/_cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  581. package/_cjs/utils/ens/errors.js.map +1 -1
  582. package/_cjs/utils/ens/labelhash.js.map +1 -1
  583. package/_cjs/utils/ens/namehash.js.map +1 -1
  584. package/_cjs/utils/ens/normalize.js.map +1 -1
  585. package/_cjs/utils/ens/packetToBytes.js.map +1 -1
  586. package/_cjs/utils/errors/getCallError.js +6 -3
  587. package/_cjs/utils/errors/getCallError.js.map +1 -1
  588. package/_cjs/utils/errors/getContractError.js +14 -13
  589. package/_cjs/utils/errors/getContractError.js.map +1 -1
  590. package/_cjs/utils/errors/getEstimateGasError.js +6 -3
  591. package/_cjs/utils/errors/getEstimateGasError.js.map +1 -1
  592. package/_cjs/utils/errors/getNodeError.js +3 -1
  593. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  594. package/_cjs/utils/errors/getTransactionError.js +6 -3
  595. package/_cjs/utils/errors/getTransactionError.js.map +1 -1
  596. package/_cjs/utils/formatters/block.js.map +1 -1
  597. package/_cjs/utils/formatters/extract.js +15 -7
  598. package/_cjs/utils/formatters/extract.js.map +1 -1
  599. package/_cjs/utils/formatters/feeHistory.js.map +1 -1
  600. package/_cjs/utils/formatters/formatter.js.map +1 -1
  601. package/_cjs/utils/formatters/log.js.map +1 -1
  602. package/_cjs/utils/formatters/proof.js +22 -0
  603. package/_cjs/utils/formatters/proof.js.map +1 -0
  604. package/_cjs/utils/formatters/transaction.js.map +1 -1
  605. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  606. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  607. package/_cjs/utils/getAction.js +8 -0
  608. package/_cjs/utils/getAction.js.map +1 -0
  609. package/_cjs/utils/hash/getEventSelector.js +5 -6
  610. package/_cjs/utils/hash/getEventSelector.js.map +1 -1
  611. package/_cjs/utils/hash/getEventSignature.js +9 -0
  612. package/_cjs/utils/hash/getEventSignature.js.map +1 -0
  613. package/_cjs/utils/hash/getFunctionSelector.js +5 -6
  614. package/_cjs/utils/hash/getFunctionSelector.js.map +1 -1
  615. package/_cjs/utils/hash/getFunctionSignature.js +15 -0
  616. package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
  617. package/_cjs/utils/hash/hashFunction.js +2 -4
  618. package/_cjs/utils/hash/hashFunction.js.map +1 -1
  619. package/_cjs/utils/hash/isHash.js.map +1 -1
  620. package/_cjs/utils/hash/keccak256.js.map +1 -1
  621. package/_cjs/utils/hash/normalizeSignature.js +48 -0
  622. package/_cjs/utils/hash/normalizeSignature.js.map +1 -0
  623. package/_cjs/utils/index.js +14 -15
  624. package/_cjs/utils/index.js.map +1 -1
  625. package/_cjs/utils/observe.js.map +1 -1
  626. package/_cjs/utils/poll.js.map +1 -1
  627. package/_cjs/utils/promise/createBatchScheduler.js +3 -1
  628. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  629. package/_cjs/utils/promise/withCache.js.map +1 -1
  630. package/_cjs/utils/promise/withRetry.js.map +1 -1
  631. package/_cjs/utils/promise/withTimeout.js +1 -1
  632. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  633. package/_cjs/utils/rpc.js +3 -6
  634. package/_cjs/utils/rpc.js.map +1 -1
  635. package/_cjs/utils/signature/compactSignatureToHex.js +10 -0
  636. package/_cjs/utils/signature/compactSignatureToHex.js.map +1 -0
  637. package/_cjs/utils/signature/compactSignatureToSignature.js +15 -0
  638. package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -0
  639. package/_cjs/utils/signature/hashMessage.js.map +1 -1
  640. package/_cjs/utils/signature/hashTypedData.js.map +1 -1
  641. package/_cjs/utils/signature/hexToCompactSignature.js +14 -0
  642. package/_cjs/utils/signature/hexToCompactSignature.js.map +1 -0
  643. package/_cjs/utils/signature/hexToSignature.js.map +1 -1
  644. package/_cjs/utils/signature/recoverAddress.js.map +1 -1
  645. package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
  646. package/_cjs/utils/signature/recoverPublicKey.js.map +1 -1
  647. package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
  648. package/_cjs/utils/signature/signatureToCompactSignature.js +17 -0
  649. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -0
  650. package/_cjs/utils/signature/signatureToHex.js.map +1 -1
  651. package/_cjs/utils/signature/verifyMessage.js.map +1 -1
  652. package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
  653. package/_cjs/utils/stringify.js.map +1 -1
  654. package/_cjs/utils/transaction/assertRequest.js.map +1 -1
  655. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  656. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  657. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  658. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  659. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  660. package/_cjs/utils/transaction/serializeTransaction.js +14 -5
  661. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  662. package/_cjs/utils/typedData.js.map +1 -1
  663. package/_cjs/utils/unit/formatEther.js.map +1 -1
  664. package/_cjs/utils/unit/formatGwei.js.map +1 -1
  665. package/_cjs/utils/unit/formatUnits.js.map +1 -1
  666. package/_cjs/utils/unit/parseEther.js.map +1 -1
  667. package/_cjs/utils/unit/parseGwei.js.map +1 -1
  668. package/_cjs/utils/unit/parseUnits.js.map +1 -1
  669. package/_esm/accounts/generateMnemonic.js.map +1 -1
  670. package/_esm/accounts/generatePrivateKey.js.map +1 -1
  671. package/_esm/accounts/hdKeyToAccount.js +1 -1
  672. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  673. package/_esm/accounts/index.js +10 -10
  674. package/_esm/accounts/index.js.map +1 -1
  675. package/_esm/accounts/mnemonicToAccount.js +1 -1
  676. package/_esm/accounts/mnemonicToAccount.js.map +1 -1
  677. package/_esm/accounts/privateKeyToAccount.js +3 -3
  678. package/_esm/accounts/privateKeyToAccount.js.map +1 -1
  679. package/_esm/accounts/toAccount.js +2 -2
  680. package/_esm/accounts/toAccount.js.map +1 -1
  681. package/_esm/accounts/utils/parseAccount.js.map +1 -1
  682. package/_esm/accounts/utils/privateKeyToAddress.js +2 -2
  683. package/_esm/accounts/utils/privateKeyToAddress.js.map +1 -1
  684. package/_esm/accounts/utils/publicKeyToAddress.js +2 -2
  685. package/_esm/accounts/utils/publicKeyToAddress.js.map +1 -1
  686. package/_esm/accounts/utils/sign.js.map +1 -1
  687. package/_esm/accounts/utils/signMessage.js +2 -2
  688. package/_esm/accounts/utils/signMessage.js.map +1 -1
  689. package/_esm/accounts/utils/signTransaction.js +1 -1
  690. package/_esm/accounts/utils/signTransaction.js.map +1 -1
  691. package/_esm/accounts/utils/signTypedData.js +2 -2
  692. package/_esm/accounts/utils/signTypedData.js.map +1 -1
  693. package/_esm/actions/ens/getEnsAddress.js +6 -5
  694. package/_esm/actions/ens/getEnsAddress.js.map +1 -1
  695. package/_esm/actions/ens/getEnsAvatar.js +4 -3
  696. package/_esm/actions/ens/getEnsAvatar.js.map +1 -1
  697. package/_esm/actions/ens/getEnsName.js +4 -3
  698. package/_esm/actions/ens/getEnsName.js.map +1 -1
  699. package/_esm/actions/ens/getEnsResolver.js +4 -3
  700. package/_esm/actions/ens/getEnsResolver.js.map +1 -1
  701. package/_esm/actions/ens/getEnsText.js +6 -5
  702. package/_esm/actions/ens/getEnsText.js.map +1 -1
  703. package/_esm/actions/getContract.js +37 -8
  704. package/_esm/actions/getContract.js.map +1 -1
  705. package/_esm/actions/index.js +8 -8
  706. package/_esm/actions/index.js.map +1 -1
  707. package/_esm/actions/public/call.js +11 -11
  708. package/_esm/actions/public/call.js.map +1 -1
  709. package/_esm/actions/public/createBlockFilter.js.map +1 -1
  710. package/_esm/actions/public/createContractEventFilter.js +1 -1
  711. package/_esm/actions/public/createContractEventFilter.js.map +1 -1
  712. package/_esm/actions/public/createEventFilter.js +1 -1
  713. package/_esm/actions/public/createEventFilter.js.map +1 -1
  714. package/_esm/actions/public/createPendingTransactionFilter.js.map +1 -1
  715. package/_esm/actions/public/estimateContractGas.js +15 -6
  716. package/_esm/actions/public/estimateContractGas.js.map +1 -1
  717. package/_esm/actions/public/estimateFeesPerGas.js +4 -3
  718. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  719. package/_esm/actions/public/estimateGas.js +6 -6
  720. package/_esm/actions/public/estimateGas.js.map +1 -1
  721. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js +7 -6
  722. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  723. package/_esm/actions/public/getBalance.js +1 -1
  724. package/_esm/actions/public/getBalance.js.map +1 -1
  725. package/_esm/actions/public/getBlock.js +2 -2
  726. package/_esm/actions/public/getBlock.js.map +1 -1
  727. package/_esm/actions/public/getBlockNumber.js +2 -2
  728. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  729. package/_esm/actions/public/getBlockTransactionCount.js +2 -2
  730. package/_esm/actions/public/getBlockTransactionCount.js.map +1 -1
  731. package/_esm/actions/public/getBytecode.js +1 -1
  732. package/_esm/actions/public/getBytecode.js.map +1 -1
  733. package/_esm/actions/public/getChainId.js +1 -1
  734. package/_esm/actions/public/getChainId.js.map +1 -1
  735. package/_esm/actions/public/getContractEvents.js +49 -0
  736. package/_esm/actions/public/getContractEvents.js.map +1 -0
  737. package/_esm/actions/public/getFeeHistory.js +2 -2
  738. package/_esm/actions/public/getFeeHistory.js.map +1 -1
  739. package/_esm/actions/public/getFilterChanges.js +2 -2
  740. package/_esm/actions/public/getFilterChanges.js.map +1 -1
  741. package/_esm/actions/public/getFilterLogs.js +2 -2
  742. package/_esm/actions/public/getFilterLogs.js.map +1 -1
  743. package/_esm/actions/public/getGasPrice.js.map +1 -1
  744. package/_esm/actions/public/getLogs.js +3 -3
  745. package/_esm/actions/public/getLogs.js.map +1 -1
  746. package/_esm/actions/public/getProof.js +37 -0
  747. package/_esm/actions/public/getProof.js.map +1 -0
  748. package/_esm/actions/public/getStorageAt.js +1 -1
  749. package/_esm/actions/public/getStorageAt.js.map +1 -1
  750. package/_esm/actions/public/getTransaction.js +1 -1
  751. package/_esm/actions/public/getTransaction.js.map +1 -1
  752. package/_esm/actions/public/getTransactionConfirmations.js +5 -4
  753. package/_esm/actions/public/getTransactionConfirmations.js.map +1 -1
  754. package/_esm/actions/public/getTransactionCount.js +2 -2
  755. package/_esm/actions/public/getTransactionCount.js.map +1 -1
  756. package/_esm/actions/public/getTransactionReceipt.js +1 -1
  757. package/_esm/actions/public/getTransactionReceipt.js.map +1 -1
  758. package/_esm/actions/public/multicall.js +6 -5
  759. package/_esm/actions/public/multicall.js.map +1 -1
  760. package/_esm/actions/public/readContract.js +10 -5
  761. package/_esm/actions/public/readContract.js.map +1 -1
  762. package/_esm/actions/public/simulateContract.js +9 -6
  763. package/_esm/actions/public/simulateContract.js.map +1 -1
  764. package/_esm/actions/public/uninstallFilter.js.map +1 -1
  765. package/_esm/actions/public/verifyHash.js +3 -2
  766. package/_esm/actions/public/verifyHash.js.map +1 -1
  767. package/_esm/actions/public/verifyMessage.js +1 -1
  768. package/_esm/actions/public/verifyMessage.js.map +1 -1
  769. package/_esm/actions/public/verifyTypedData.js +2 -2
  770. package/_esm/actions/public/verifyTypedData.js.map +1 -1
  771. package/_esm/actions/public/waitForTransactionReceipt.js +7 -6
  772. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  773. package/_esm/actions/public/watchBlockNumber.js +2 -1
  774. package/_esm/actions/public/watchBlockNumber.js.map +1 -1
  775. package/_esm/actions/public/watchBlocks.js +4 -3
  776. package/_esm/actions/public/watchBlocks.js.map +1 -1
  777. package/_esm/actions/public/watchContractEvent.js +11 -12
  778. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  779. package/_esm/actions/public/watchEvent.js +6 -5
  780. package/_esm/actions/public/watchEvent.js.map +1 -1
  781. package/_esm/actions/public/watchPendingTransactions.js +4 -3
  782. package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
  783. package/_esm/actions/test/dropTransaction.js.map +1 -1
  784. package/_esm/actions/test/getAutomine.js.map +1 -1
  785. package/_esm/actions/test/getTxpoolContent.js.map +1 -1
  786. package/_esm/actions/test/getTxpoolStatus.js.map +1 -1
  787. package/_esm/actions/test/impersonateAccount.js.map +1 -1
  788. package/_esm/actions/test/increaseTime.js.map +1 -1
  789. package/_esm/actions/test/inspectTxpool.js.map +1 -1
  790. package/_esm/actions/test/mine.js.map +1 -1
  791. package/_esm/actions/test/removeBlockTimestampInterval.js.map +1 -1
  792. package/_esm/actions/test/reset.js.map +1 -1
  793. package/_esm/actions/test/revert.js.map +1 -1
  794. package/_esm/actions/test/sendUnsignedTransaction.js +3 -3
  795. package/_esm/actions/test/sendUnsignedTransaction.js.map +1 -1
  796. package/_esm/actions/test/setAutomine.js.map +1 -1
  797. package/_esm/actions/test/setBalance.js.map +1 -1
  798. package/_esm/actions/test/setBlockGasLimit.js.map +1 -1
  799. package/_esm/actions/test/setBlockTimestampInterval.js +6 -1
  800. package/_esm/actions/test/setBlockTimestampInterval.js.map +1 -1
  801. package/_esm/actions/test/setCode.js.map +1 -1
  802. package/_esm/actions/test/setCoinbase.js.map +1 -1
  803. package/_esm/actions/test/setIntervalMining.js +6 -1
  804. package/_esm/actions/test/setIntervalMining.js.map +1 -1
  805. package/_esm/actions/test/setLoggingEnabled.js.map +1 -1
  806. package/_esm/actions/test/setMinGasPrice.js.map +1 -1
  807. package/_esm/actions/test/setNextBlockBaseFeePerGas.js.map +1 -1
  808. package/_esm/actions/test/setNextBlockTimestamp.js.map +1 -1
  809. package/_esm/actions/test/setNonce.js.map +1 -1
  810. package/_esm/actions/test/setRpcUrl.js.map +1 -1
  811. package/_esm/actions/test/setStorageAt.js.map +1 -1
  812. package/_esm/actions/test/snapshot.js.map +1 -1
  813. package/_esm/actions/test/stopImpersonatingAccount.js.map +1 -1
  814. package/_esm/actions/wallet/addChain.js +1 -1
  815. package/_esm/actions/wallet/addChain.js.map +1 -1
  816. package/_esm/actions/wallet/deployContract.js.map +1 -1
  817. package/_esm/actions/wallet/getAddresses.js +3 -1
  818. package/_esm/actions/wallet/getAddresses.js.map +1 -1
  819. package/_esm/actions/wallet/getPermissions.js.map +1 -1
  820. package/_esm/actions/wallet/prepareTransactionRequest.js +9 -8
  821. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  822. package/_esm/actions/wallet/requestAddresses.js.map +1 -1
  823. package/_esm/actions/wallet/requestPermissions.js.map +1 -1
  824. package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
  825. package/_esm/actions/wallet/sendTransaction.js +13 -11
  826. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  827. package/_esm/actions/wallet/signMessage.js +2 -2
  828. package/_esm/actions/wallet/signMessage.js.map +1 -1
  829. package/_esm/actions/wallet/signTransaction.js +6 -5
  830. package/_esm/actions/wallet/signTransaction.js.map +1 -1
  831. package/_esm/actions/wallet/signTypedData.js +2 -2
  832. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  833. package/_esm/actions/wallet/switchChain.js +1 -1
  834. package/_esm/actions/wallet/switchChain.js.map +1 -1
  835. package/_esm/actions/wallet/watchAsset.js.map +1 -1
  836. package/_esm/actions/wallet/writeContract.js +4 -3
  837. package/_esm/actions/wallet/writeContract.js.map +1 -1
  838. package/_esm/chains/celo/formatters.js +32 -15
  839. package/_esm/chains/celo/formatters.js.map +1 -1
  840. package/_esm/chains/celo/parsers.js +56 -1
  841. package/_esm/chains/celo/parsers.js.map +1 -1
  842. package/_esm/chains/celo/serializers.js +65 -24
  843. package/_esm/chains/celo/serializers.js.map +1 -1
  844. package/_esm/chains/celo/utils.js +39 -0
  845. package/_esm/chains/celo/utils.js.map +1 -0
  846. package/_esm/chains/definitions/arbitrum.js +1 -14
  847. package/_esm/chains/definitions/arbitrum.js.map +1 -1
  848. package/_esm/chains/definitions/arbitrumGoerli.js +3 -15
  849. package/_esm/chains/definitions/arbitrumGoerli.js.map +1 -1
  850. package/_esm/chains/definitions/arbitrumNova.js +1 -14
  851. package/_esm/chains/definitions/arbitrumNova.js.map +1 -1
  852. package/_esm/chains/definitions/arbitrumSepolia.js +29 -0
  853. package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -0
  854. package/_esm/chains/definitions/astar.js +26 -0
  855. package/_esm/chains/definitions/astar.js.map +1 -0
  856. package/_esm/chains/definitions/astarZkatana.js +39 -0
  857. package/_esm/chains/definitions/astarZkatana.js.map +1 -0
  858. package/_esm/chains/definitions/aurora.js +1 -5
  859. package/_esm/chains/definitions/aurora.js.map +1 -1
  860. package/_esm/chains/definitions/auroraTestnet.js +1 -5
  861. package/_esm/chains/definitions/auroraTestnet.js.map +1 -1
  862. package/_esm/chains/definitions/avalanche.js +1 -4
  863. package/_esm/chains/definitions/avalanche.js.map +1 -1
  864. package/_esm/chains/definitions/avalancheFuji.js +1 -4
  865. package/_esm/chains/definitions/avalancheFuji.js.map +1 -1
  866. package/_esm/chains/definitions/base.js +1 -18
  867. package/_esm/chains/definitions/base.js.map +1 -1
  868. package/_esm/chains/definitions/baseGoerli.js +3 -18
  869. package/_esm/chains/definitions/baseGoerli.js.map +1 -1
  870. package/_esm/chains/definitions/baseSepolia.js +30 -0
  871. package/_esm/chains/definitions/baseSepolia.js.map +1 -0
  872. package/_esm/chains/definitions/bearNetworkChainMainnet.js +1 -3
  873. package/_esm/chains/definitions/bearNetworkChainMainnet.js.map +1 -1
  874. package/_esm/chains/definitions/bearNetworkChainTestnet.js +1 -3
  875. package/_esm/chains/definitions/bearNetworkChainTestnet.js.map +1 -1
  876. package/_esm/chains/definitions/boba.js +1 -4
  877. package/_esm/chains/definitions/boba.js.map +1 -1
  878. package/_esm/chains/definitions/bronos.js +1 -3
  879. package/_esm/chains/definitions/bronos.js.map +1 -1
  880. package/_esm/chains/definitions/bronosTestnet.js +1 -3
  881. package/_esm/chains/definitions/bronosTestnet.js.map +1 -1
  882. package/_esm/chains/definitions/bsc.js +1 -4
  883. package/_esm/chains/definitions/bsc.js.map +1 -1
  884. package/_esm/chains/definitions/bscTestnet.js +1 -4
  885. package/_esm/chains/definitions/bscTestnet.js.map +1 -1
  886. package/_esm/chains/definitions/bxn.js +1 -5
  887. package/_esm/chains/definitions/bxn.js.map +1 -1
  888. package/_esm/chains/definitions/bxnTestnet.js +1 -5
  889. package/_esm/chains/definitions/bxnTestnet.js.map +1 -1
  890. package/_esm/chains/definitions/canto.js +1 -3
  891. package/_esm/chains/definitions/canto.js.map +1 -1
  892. package/_esm/chains/definitions/celo.js +1 -10
  893. package/_esm/chains/definitions/celo.js.map +1 -1
  894. package/_esm/chains/definitions/celoAlfajores.js +1 -10
  895. package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
  896. package/_esm/chains/definitions/celoCannoli.js +1 -6
  897. package/_esm/chains/definitions/celoCannoli.js.map +1 -1
  898. package/_esm/chains/definitions/classic.js +1 -3
  899. package/_esm/chains/definitions/classic.js.map +1 -1
  900. package/_esm/chains/definitions/confluxESpace.js +1 -5
  901. package/_esm/chains/definitions/confluxESpace.js.map +1 -1
  902. package/_esm/chains/definitions/coreDao.js +24 -0
  903. package/_esm/chains/definitions/coreDao.js.map +1 -0
  904. package/_esm/chains/definitions/cronos.js +1 -3
  905. package/_esm/chains/definitions/cronos.js.map +1 -1
  906. package/_esm/chains/definitions/cronosTestnet.js +1 -3
  907. package/_esm/chains/definitions/cronosTestnet.js.map +1 -1
  908. package/_esm/chains/definitions/crossbell.js +1 -5
  909. package/_esm/chains/definitions/crossbell.js.map +1 -1
  910. package/_esm/chains/definitions/dfk.js +1 -9
  911. package/_esm/chains/definitions/dfk.js.map +1 -1
  912. package/_esm/chains/definitions/dogechain.js +1 -7
  913. package/_esm/chains/definitions/dogechain.js.map +1 -1
  914. package/_esm/chains/definitions/edgeware.js +1 -4
  915. package/_esm/chains/definitions/edgeware.js.map +1 -1
  916. package/_esm/chains/definitions/edgewareTestnet.js +1 -7
  917. package/_esm/chains/definitions/edgewareTestnet.js.map +1 -1
  918. package/_esm/chains/definitions/ekta.js +1 -3
  919. package/_esm/chains/definitions/ekta.js.map +1 -1
  920. package/_esm/chains/definitions/ektaTestnet.js +1 -3
  921. package/_esm/chains/definitions/ektaTestnet.js.map +1 -1
  922. package/_esm/chains/definitions/eon.js +1 -3
  923. package/_esm/chains/definitions/eon.js.map +1 -1
  924. package/_esm/chains/definitions/eos.js +1 -7
  925. package/_esm/chains/definitions/eos.js.map +1 -1
  926. package/_esm/chains/definitions/eosTestnet.js +1 -7
  927. package/_esm/chains/definitions/eosTestnet.js.map +1 -1
  928. package/_esm/chains/definitions/evmos.js +1 -3
  929. package/_esm/chains/definitions/evmos.js.map +1 -1
  930. package/_esm/chains/definitions/evmosTestnet.js +1 -3
  931. package/_esm/chains/definitions/evmosTestnet.js.map +1 -1
  932. package/_esm/chains/definitions/fantom.js +1 -4
  933. package/_esm/chains/definitions/fantom.js.map +1 -1
  934. package/_esm/chains/definitions/fantomTestnet.js +1 -4
  935. package/_esm/chains/definitions/fantomTestnet.js.map +1 -1
  936. package/_esm/chains/definitions/fibo.js +1 -3
  937. package/_esm/chains/definitions/fibo.js.map +1 -1
  938. package/_esm/chains/definitions/filecoin.js +1 -6
  939. package/_esm/chains/definitions/filecoin.js.map +1 -1
  940. package/_esm/chains/definitions/filecoinCalibration.js +1 -3
  941. package/_esm/chains/definitions/filecoinCalibration.js.map +1 -1
  942. package/_esm/chains/definitions/filecoinHyperspace.js +1 -4
  943. package/_esm/chains/definitions/filecoinHyperspace.js.map +1 -1
  944. package/_esm/chains/definitions/flare.js +1 -3
  945. package/_esm/chains/definitions/flare.js.map +1 -1
  946. package/_esm/chains/definitions/flareTestnet.js +1 -3
  947. package/_esm/chains/definitions/flareTestnet.js.map +1 -1
  948. package/_esm/chains/definitions/foundry.js +1 -6
  949. package/_esm/chains/definitions/foundry.js.map +1 -1
  950. package/_esm/chains/definitions/fuse.js +7 -3
  951. package/_esm/chains/definitions/fuse.js.map +1 -1
  952. package/_esm/chains/definitions/fuseSparknet.js +1 -3
  953. package/_esm/chains/definitions/fuseSparknet.js.map +1 -1
  954. package/_esm/chains/definitions/gnosis.js +5 -8
  955. package/_esm/chains/definitions/gnosis.js.map +1 -1
  956. package/_esm/chains/definitions/gnosisChiado.js +11 -4
  957. package/_esm/chains/definitions/gnosisChiado.js.map +1 -1
  958. package/_esm/chains/definitions/gobi.js +1 -3
  959. package/_esm/chains/definitions/gobi.js.map +1 -1
  960. package/_esm/chains/definitions/goerli.js +1 -17
  961. package/_esm/chains/definitions/goerli.js.map +1 -1
  962. package/_esm/chains/definitions/haqqMainnet.js +1 -5
  963. package/_esm/chains/definitions/haqqMainnet.js.map +1 -1
  964. package/_esm/chains/definitions/haqqTestedge2.js +1 -5
  965. package/_esm/chains/definitions/haqqTestedge2.js.map +1 -1
  966. package/_esm/chains/definitions/hardhat.js +1 -3
  967. package/_esm/chains/definitions/hardhat.js.map +1 -1
  968. package/_esm/chains/definitions/harmonyOne.js +1 -3
  969. package/_esm/chains/definitions/harmonyOne.js.map +1 -1
  970. package/_esm/chains/definitions/holesky.js +7 -6
  971. package/_esm/chains/definitions/holesky.js.map +1 -1
  972. package/_esm/chains/definitions/iotex.js +1 -6
  973. package/_esm/chains/definitions/iotex.js.map +1 -1
  974. package/_esm/chains/definitions/iotexTestnet.js +1 -6
  975. package/_esm/chains/definitions/iotexTestnet.js.map +1 -1
  976. package/_esm/chains/definitions/kava.js +26 -0
  977. package/_esm/chains/definitions/kava.js.map +1 -0
  978. package/_esm/chains/definitions/kavaTestnet.js +29 -0
  979. package/_esm/chains/definitions/kavaTestnet.js.map +1 -0
  980. package/_esm/chains/definitions/klaytn.js +1 -4
  981. package/_esm/chains/definitions/klaytn.js.map +1 -1
  982. package/_esm/chains/definitions/kroma.js +1 -5
  983. package/_esm/chains/definitions/kroma.js.map +1 -1
  984. package/_esm/chains/definitions/kromaSepolia.js +1 -5
  985. package/_esm/chains/definitions/kromaSepolia.js.map +1 -1
  986. package/_esm/chains/definitions/linea.js +1 -18
  987. package/_esm/chains/definitions/linea.js.map +1 -1
  988. package/_esm/chains/definitions/lineaTestnet.js +1 -18
  989. package/_esm/chains/definitions/lineaTestnet.js.map +1 -1
  990. package/_esm/chains/definitions/localhost.js +1 -3
  991. package/_esm/chains/definitions/localhost.js.map +1 -1
  992. package/_esm/chains/definitions/mainnet.js +1 -17
  993. package/_esm/chains/definitions/mainnet.js.map +1 -1
  994. package/_esm/chains/definitions/manta.js +32 -0
  995. package/_esm/chains/definitions/manta.js.map +1 -0
  996. package/_esm/chains/definitions/mantaTestnet.js +33 -0
  997. package/_esm/chains/definitions/mantaTestnet.js.map +1 -0
  998. package/_esm/chains/definitions/mantle.js +1 -7
  999. package/_esm/chains/definitions/mantle.js.map +1 -1
  1000. package/_esm/chains/definitions/mantleTestnet.js +1 -7
  1001. package/_esm/chains/definitions/mantleTestnet.js.map +1 -1
  1002. package/_esm/chains/definitions/meter.js +1 -3
  1003. package/_esm/chains/definitions/meter.js.map +1 -1
  1004. package/_esm/chains/definitions/meterTestnet.js +1 -3
  1005. package/_esm/chains/definitions/meterTestnet.js.map +1 -1
  1006. package/_esm/chains/definitions/metis.js +1 -3
  1007. package/_esm/chains/definitions/metis.js.map +1 -1
  1008. package/_esm/chains/definitions/metisGoerli.js +1 -3
  1009. package/_esm/chains/definitions/metisGoerli.js.map +1 -1
  1010. package/_esm/chains/definitions/mev.js +1 -5
  1011. package/_esm/chains/definitions/mev.js.map +1 -1
  1012. package/_esm/chains/definitions/mevTestnet.js +1 -5
  1013. package/_esm/chains/definitions/mevTestnet.js.map +1 -1
  1014. package/_esm/chains/definitions/modeTestnet.js +7 -5
  1015. package/_esm/chains/definitions/modeTestnet.js.map +1 -1
  1016. package/_esm/chains/definitions/moonbaseAlpha.js +1 -10
  1017. package/_esm/chains/definitions/moonbaseAlpha.js.map +1 -1
  1018. package/_esm/chains/definitions/moonbeam.js +1 -10
  1019. package/_esm/chains/definitions/moonbeam.js.map +1 -1
  1020. package/_esm/chains/definitions/moonbeamDev.js +17 -0
  1021. package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
  1022. package/_esm/chains/definitions/moonriver.js +1 -10
  1023. package/_esm/chains/definitions/moonriver.js.map +1 -1
  1024. package/_esm/chains/definitions/neonDevnet.js +2 -6
  1025. package/_esm/chains/definitions/neonDevnet.js.map +1 -1
  1026. package/_esm/chains/definitions/neonMainnet.js +24 -0
  1027. package/_esm/chains/definitions/neonMainnet.js.map +1 -0
  1028. package/_esm/chains/definitions/nexi.js +1 -9
  1029. package/_esm/chains/definitions/nexi.js.map +1 -1
  1030. package/_esm/chains/definitions/nexilix.js +1 -4
  1031. package/_esm/chains/definitions/nexilix.js.map +1 -1
  1032. package/_esm/chains/definitions/oasys.js +1 -5
  1033. package/_esm/chains/definitions/oasys.js.map +1 -1
  1034. package/_esm/chains/definitions/okc.js +1 -3
  1035. package/_esm/chains/definitions/okc.js.map +1 -1
  1036. package/_esm/chains/definitions/opBNB.js +1 -3
  1037. package/_esm/chains/definitions/opBNB.js.map +1 -1
  1038. package/_esm/chains/definitions/opBNBTestnet.js +1 -3
  1039. package/_esm/chains/definitions/opBNBTestnet.js.map +1 -1
  1040. package/_esm/chains/definitions/optimism.js +1 -18
  1041. package/_esm/chains/definitions/optimism.js.map +1 -1
  1042. package/_esm/chains/definitions/optimismGoerli.js +1 -18
  1043. package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
  1044. package/_esm/chains/definitions/optimismSepolia.js +27 -0
  1045. package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
  1046. package/_esm/chains/definitions/plinga.js +1 -5
  1047. package/_esm/chains/definitions/plinga.js.map +1 -1
  1048. package/_esm/chains/definitions/polygon.js +1 -17
  1049. package/_esm/chains/definitions/polygon.js.map +1 -1
  1050. package/_esm/chains/definitions/polygonMumbai.js +1 -17
  1051. package/_esm/chains/definitions/polygonMumbai.js.map +1 -1
  1052. package/_esm/chains/definitions/polygonZkEvm.js +1 -5
  1053. package/_esm/chains/definitions/polygonZkEvm.js.map +1 -1
  1054. package/_esm/chains/definitions/polygonZkEvmTestnet.js +1 -9
  1055. package/_esm/chains/definitions/polygonZkEvmTestnet.js.map +1 -1
  1056. package/_esm/chains/definitions/pulsechain.js +1 -6
  1057. package/_esm/chains/definitions/pulsechain.js.map +1 -1
  1058. package/_esm/chains/definitions/pulsechainV4.js +1 -6
  1059. package/_esm/chains/definitions/pulsechainV4.js.map +1 -1
  1060. package/_esm/chains/definitions/qMainnet.js +1 -3
  1061. package/_esm/chains/definitions/qMainnet.js.map +1 -1
  1062. package/_esm/chains/definitions/qTestnet.js +1 -3
  1063. package/_esm/chains/definitions/qTestnet.js.map +1 -1
  1064. package/_esm/chains/definitions/rollux.js +1 -3
  1065. package/_esm/chains/definitions/rollux.js.map +1 -1
  1066. package/_esm/chains/definitions/rolluxTestnet.js +1 -3
  1067. package/_esm/chains/definitions/rolluxTestnet.js.map +1 -1
  1068. package/_esm/chains/definitions/ronin.js +1 -5
  1069. package/_esm/chains/definitions/ronin.js.map +1 -1
  1070. package/_esm/chains/definitions/saigon.js +1 -5
  1071. package/_esm/chains/definitions/saigon.js.map +1 -1
  1072. package/_esm/chains/definitions/scroll.js +26 -0
  1073. package/_esm/chains/definitions/scroll.js.map +1 -0
  1074. package/_esm/chains/definitions/scrollSepolia.js +1 -7
  1075. package/_esm/chains/definitions/scrollSepolia.js.map +1 -1
  1076. package/_esm/chains/definitions/scrollTestnet.js +1 -6
  1077. package/_esm/chains/definitions/scrollTestnet.js.map +1 -1
  1078. package/_esm/chains/definitions/sepolia.js +2 -18
  1079. package/_esm/chains/definitions/sepolia.js.map +1 -1
  1080. package/_esm/chains/definitions/shardeumSphinx.js +1 -5
  1081. package/_esm/chains/definitions/shardeumSphinx.js.map +1 -1
  1082. package/_esm/chains/definitions/skale/brawl.js +1 -10
  1083. package/_esm/chains/definitions/skale/brawl.js.map +1 -1
  1084. package/_esm/chains/definitions/skale/calypso.js +1 -12
  1085. package/_esm/chains/definitions/skale/calypso.js.map +1 -1
  1086. package/_esm/chains/definitions/skale/calypsoTestnet.js +1 -14
  1087. package/_esm/chains/definitions/skale/calypsoTestnet.js.map +1 -1
  1088. package/_esm/chains/definitions/skale/chaosTestnet.js +1 -14
  1089. package/_esm/chains/definitions/skale/chaosTestnet.js.map +1 -1
  1090. package/_esm/chains/definitions/skale/cryptoBlades.js +1 -12
  1091. package/_esm/chains/definitions/skale/cryptoBlades.js.map +1 -1
  1092. package/_esm/chains/definitions/skale/cryptoColosseum.js +1 -10
  1093. package/_esm/chains/definitions/skale/cryptoColosseum.js.map +1 -1
  1094. package/_esm/chains/definitions/skale/europa.js +1 -10
  1095. package/_esm/chains/definitions/skale/europa.js.map +1 -1
  1096. package/_esm/chains/definitions/skale/europaTestnet.js +1 -12
  1097. package/_esm/chains/definitions/skale/europaTestnet.js.map +1 -1
  1098. package/_esm/chains/definitions/skale/exorde.js +1 -10
  1099. package/_esm/chains/definitions/skale/exorde.js.map +1 -1
  1100. package/_esm/chains/definitions/skale/humanProtocol.js +1 -10
  1101. package/_esm/chains/definitions/skale/humanProtocol.js.map +1 -1
  1102. package/_esm/chains/definitions/skale/nebula.js +1 -10
  1103. package/_esm/chains/definitions/skale/nebula.js.map +1 -1
  1104. package/_esm/chains/definitions/skale/nebulaTestnet.js +1 -12
  1105. package/_esm/chains/definitions/skale/nebulaTestnet.js.map +1 -1
  1106. package/_esm/chains/definitions/skale/razor.js +1 -10
  1107. package/_esm/chains/definitions/skale/razor.js.map +1 -1
  1108. package/_esm/chains/definitions/skale/titan.js +1 -10
  1109. package/_esm/chains/definitions/skale/titan.js.map +1 -1
  1110. package/_esm/chains/definitions/skale/titanTestnet.js +1 -14
  1111. package/_esm/chains/definitions/skale/titanTestnet.js.map +1 -1
  1112. package/_esm/chains/definitions/songbird.js +1 -3
  1113. package/_esm/chains/definitions/songbird.js.map +1 -1
  1114. package/_esm/chains/definitions/songbirdTestnet.js +1 -3
  1115. package/_esm/chains/definitions/songbirdTestnet.js.map +1 -1
  1116. package/_esm/chains/definitions/syscoin.js +1 -6
  1117. package/_esm/chains/definitions/syscoin.js.map +1 -1
  1118. package/_esm/chains/definitions/syscoinTestnet.js +1 -6
  1119. package/_esm/chains/definitions/syscoinTestnet.js.map +1 -1
  1120. package/_esm/chains/definitions/taikoJolnir.js +1 -5
  1121. package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
  1122. package/_esm/chains/definitions/taikoTestnetSepolia.js +1 -5
  1123. package/_esm/chains/definitions/taikoTestnetSepolia.js.map +1 -1
  1124. package/_esm/chains/definitions/taraxa.js +1 -5
  1125. package/_esm/chains/definitions/taraxa.js.map +1 -1
  1126. package/_esm/chains/definitions/taraxaTestnet.js +1 -5
  1127. package/_esm/chains/definitions/taraxaTestnet.js.map +1 -1
  1128. package/_esm/chains/definitions/telos.js +1 -3
  1129. package/_esm/chains/definitions/telos.js.map +1 -1
  1130. package/_esm/chains/definitions/telosTestnet.js +1 -3
  1131. package/_esm/chains/definitions/telosTestnet.js.map +1 -1
  1132. package/_esm/chains/definitions/tenet.js +20 -0
  1133. package/_esm/chains/definitions/tenet.js.map +1 -0
  1134. package/_esm/chains/definitions/thunderTestnet.js +1 -5
  1135. package/_esm/chains/definitions/thunderTestnet.js.map +1 -1
  1136. package/_esm/chains/definitions/vechain.js +1 -5
  1137. package/_esm/chains/definitions/vechain.js.map +1 -1
  1138. package/_esm/chains/definitions/wanchain.js +1 -12
  1139. package/_esm/chains/definitions/wanchain.js.map +1 -1
  1140. package/_esm/chains/definitions/wanchainTestnet.js +1 -9
  1141. package/_esm/chains/definitions/wanchainTestnet.js.map +1 -1
  1142. package/_esm/chains/definitions/xdc.js +1 -3
  1143. package/_esm/chains/definitions/xdc.js.map +1 -1
  1144. package/_esm/chains/definitions/xdcTestnet.js +1 -3
  1145. package/_esm/chains/definitions/xdcTestnet.js.map +1 -1
  1146. package/_esm/chains/definitions/zetachainAthensTestnet.js +1 -5
  1147. package/_esm/chains/definitions/zetachainAthensTestnet.js.map +1 -1
  1148. package/_esm/chains/definitions/zhejiang.js +1 -13
  1149. package/_esm/chains/definitions/zhejiang.js.map +1 -1
  1150. package/_esm/chains/definitions/zkSync.js +5 -5
  1151. package/_esm/chains/definitions/zkSync.js.map +1 -1
  1152. package/_esm/chains/definitions/zkSyncTestnet.js +5 -5
  1153. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  1154. package/_esm/chains/definitions/zora.js +1 -7
  1155. package/_esm/chains/definitions/zora.js.map +1 -1
  1156. package/_esm/chains/definitions/zoraSepolia.js +37 -0
  1157. package/_esm/chains/definitions/zoraSepolia.js.map +1 -0
  1158. package/_esm/chains/definitions/zoraTestnet.js +1 -7
  1159. package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
  1160. package/_esm/chains/index.js +15 -0
  1161. package/_esm/chains/index.js.map +1 -1
  1162. package/_esm/chains/utils.js +5 -0
  1163. package/_esm/chains/utils.js.map +1 -1
  1164. package/_esm/chains/zksync/formatters.js +126 -0
  1165. package/_esm/chains/zksync/formatters.js.map +1 -0
  1166. package/_esm/chains/zksync/serializers.js +71 -0
  1167. package/_esm/chains/zksync/serializers.js.map +1 -0
  1168. package/_esm/chains/zksync/types.js +2 -0
  1169. package/_esm/chains/zksync/types.js.map +1 -0
  1170. package/_esm/clients/createClient.js.map +1 -1
  1171. package/_esm/clients/createPublicClient.js +1 -1
  1172. package/_esm/clients/createPublicClient.js.map +1 -1
  1173. package/_esm/clients/createTestClient.js +1 -1
  1174. package/_esm/clients/createTestClient.js.map +1 -1
  1175. package/_esm/clients/createWalletClient.js +1 -1
  1176. package/_esm/clients/createWalletClient.js.map +1 -1
  1177. package/_esm/clients/decorators/public.js +4 -0
  1178. package/_esm/clients/decorators/public.js.map +1 -1
  1179. package/_esm/clients/transports/createTransport.js.map +1 -1
  1180. package/_esm/clients/transports/custom.js.map +1 -1
  1181. package/_esm/clients/transports/fallback.js.map +1 -1
  1182. package/_esm/clients/transports/http.js +3 -1
  1183. package/_esm/clients/transports/http.js.map +1 -1
  1184. package/_esm/clients/transports/webSocket.js +1 -1
  1185. package/_esm/clients/transports/webSocket.js.map +1 -1
  1186. package/_esm/ens/index.js.map +1 -1
  1187. package/_esm/errors/abi.js.map +1 -1
  1188. package/_esm/errors/account.js.map +1 -1
  1189. package/_esm/errors/address.js.map +1 -1
  1190. package/_esm/errors/base.js.map +1 -1
  1191. package/_esm/errors/block.js.map +1 -1
  1192. package/_esm/errors/ccip.js.map +1 -1
  1193. package/_esm/errors/chain.js.map +1 -1
  1194. package/_esm/errors/contract.js +1 -1
  1195. package/_esm/errors/contract.js.map +1 -1
  1196. package/_esm/errors/cursor.js +24 -0
  1197. package/_esm/errors/cursor.js.map +1 -0
  1198. package/_esm/errors/data.js.map +1 -1
  1199. package/_esm/errors/encoding.js +0 -33
  1200. package/_esm/errors/encoding.js.map +1 -1
  1201. package/_esm/errors/ens.js.map +1 -1
  1202. package/_esm/errors/estimateGas.js +1 -1
  1203. package/_esm/errors/estimateGas.js.map +1 -1
  1204. package/_esm/errors/fee.js.map +1 -1
  1205. package/_esm/errors/log.js.map +1 -1
  1206. package/_esm/errors/node.js +11 -31
  1207. package/_esm/errors/node.js.map +1 -1
  1208. package/_esm/errors/request.js.map +1 -1
  1209. package/_esm/errors/rpc.js +18 -139
  1210. package/_esm/errors/rpc.js.map +1 -1
  1211. package/_esm/errors/transaction.js +1 -1
  1212. package/_esm/errors/transaction.js.map +1 -1
  1213. package/_esm/errors/transport.js.map +1 -1
  1214. package/_esm/errors/utils.js.map +1 -1
  1215. package/_esm/errors/version.js +1 -1
  1216. package/_esm/errors/version.js.map +1 -1
  1217. package/_esm/index.js +50 -41
  1218. package/_esm/index.js.map +1 -1
  1219. package/_esm/types/eip1193.js +0 -2
  1220. package/_esm/types/eip1193.js.map +1 -1
  1221. package/_esm/types/proof.js +2 -0
  1222. package/_esm/types/proof.js.map +1 -0
  1223. package/_esm/types/withdrawal.js +2 -0
  1224. package/_esm/types/withdrawal.js.map +1 -0
  1225. package/_esm/utils/abi/decodeAbiParameters.js +2 -3
  1226. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  1227. package/_esm/utils/abi/decodeDeployData.js +1 -1
  1228. package/_esm/utils/abi/decodeDeployData.js.map +1 -1
  1229. package/_esm/utils/abi/decodeErrorResult.js +2 -2
  1230. package/_esm/utils/abi/decodeErrorResult.js.map +1 -1
  1231. package/_esm/utils/abi/decodeEventLog.js +11 -13
  1232. package/_esm/utils/abi/decodeEventLog.js.map +1 -1
  1233. package/_esm/utils/abi/decodeFunctionData.js +2 -2
  1234. package/_esm/utils/abi/decodeFunctionData.js.map +1 -1
  1235. package/_esm/utils/abi/decodeFunctionResult.js +1 -1
  1236. package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
  1237. package/_esm/utils/abi/encodeAbiParameters.js +2 -4
  1238. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  1239. package/_esm/utils/abi/encodeDeployData.js +1 -1
  1240. package/_esm/utils/abi/encodeDeployData.js.map +1 -1
  1241. package/_esm/utils/abi/encodeErrorResult.js +2 -2
  1242. package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
  1243. package/_esm/utils/abi/encodeEventTopics.js +4 -4
  1244. package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
  1245. package/_esm/utils/abi/encodeFunctionData.js +3 -3
  1246. package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
  1247. package/_esm/utils/abi/encodeFunctionResult.js +1 -1
  1248. package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
  1249. package/_esm/utils/abi/encodePacked.js +2 -2
  1250. package/_esm/utils/abi/encodePacked.js.map +1 -1
  1251. package/_esm/utils/abi/formatAbiItem.js +1 -1
  1252. package/_esm/utils/abi/formatAbiItem.js.map +1 -1
  1253. package/_esm/utils/abi/formatAbiItemWithArgs.js.map +1 -1
  1254. package/_esm/utils/abi/getAbiItem.js +3 -3
  1255. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  1256. package/_esm/utils/address/getAddress.js +1 -1
  1257. package/_esm/utils/address/getAddress.js.map +1 -1
  1258. package/_esm/utils/address/getContractAddress.js +8 -3
  1259. package/_esm/utils/address/getContractAddress.js.map +1 -1
  1260. package/_esm/utils/address/isAddress.js.map +1 -1
  1261. package/_esm/utils/address/isAddressEqual.js +1 -1
  1262. package/_esm/utils/address/isAddressEqual.js.map +1 -1
  1263. package/_esm/utils/buildRequest.js +1 -1
  1264. package/_esm/utils/buildRequest.js.map +1 -1
  1265. package/_esm/utils/ccip.js.map +1 -1
  1266. package/_esm/utils/chain/assertCurrentChain.js +8 -0
  1267. package/_esm/utils/chain/assertCurrentChain.js.map +1 -0
  1268. package/_esm/utils/chain/defineChain.js +9 -0
  1269. package/_esm/utils/chain/defineChain.js.map +1 -0
  1270. package/_esm/utils/chain/extractChain.js +4 -0
  1271. package/_esm/utils/chain/extractChain.js.map +1 -0
  1272. package/_esm/utils/chain/getChainContractAddress.js +22 -0
  1273. package/_esm/utils/chain/getChainContractAddress.js.map +1 -0
  1274. package/_esm/utils/cursor.js +130 -0
  1275. package/_esm/utils/cursor.js.map +1 -0
  1276. package/_esm/utils/data/concat.js.map +1 -1
  1277. package/_esm/utils/data/isBytes.js.map +1 -1
  1278. package/_esm/utils/data/isBytesEqual.js.map +1 -1
  1279. package/_esm/utils/data/isHex.js.map +1 -1
  1280. package/_esm/utils/data/pad.js +1 -1
  1281. package/_esm/utils/data/pad.js.map +1 -1
  1282. package/_esm/utils/data/size.js.map +1 -1
  1283. package/_esm/utils/data/slice.js +1 -1
  1284. package/_esm/utils/data/slice.js.map +1 -1
  1285. package/_esm/utils/data/trim.js.map +1 -1
  1286. package/_esm/utils/encoding/fromBytes.js +5 -5
  1287. package/_esm/utils/encoding/fromBytes.js.map +1 -1
  1288. package/_esm/utils/encoding/fromHex.js.map +1 -1
  1289. package/_esm/utils/encoding/fromRlp.js +55 -76
  1290. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  1291. package/_esm/utils/encoding/toBytes.js +28 -9
  1292. package/_esm/utils/encoding/toBytes.js.map +1 -1
  1293. package/_esm/utils/encoding/toHex.js +4 -4
  1294. package/_esm/utils/encoding/toHex.js.map +1 -1
  1295. package/_esm/utils/encoding/toRlp.js +92 -23
  1296. package/_esm/utils/encoding/toRlp.js.map +1 -1
  1297. package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  1298. package/_esm/utils/ens/avatar/utils.js +1 -1
  1299. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  1300. package/_esm/utils/ens/encodeLabelhash.js.map +1 -1
  1301. package/_esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  1302. package/_esm/utils/ens/errors.js.map +1 -1
  1303. package/_esm/utils/ens/labelhash.js +2 -2
  1304. package/_esm/utils/ens/labelhash.js.map +1 -1
  1305. package/_esm/utils/ens/namehash.js +2 -2
  1306. package/_esm/utils/ens/namehash.js.map +1 -1
  1307. package/_esm/utils/ens/normalize.js.map +1 -1
  1308. package/_esm/utils/ens/packetToBytes.js +2 -2
  1309. package/_esm/utils/ens/packetToBytes.js.map +1 -1
  1310. package/_esm/utils/errors/getCallError.js +8 -5
  1311. package/_esm/utils/errors/getCallError.js.map +1 -1
  1312. package/_esm/utils/errors/getContractError.js +14 -13
  1313. package/_esm/utils/errors/getContractError.js.map +1 -1
  1314. package/_esm/utils/errors/getEstimateGasError.js +8 -5
  1315. package/_esm/utils/errors/getEstimateGasError.js.map +1 -1
  1316. package/_esm/utils/errors/getNodeError.js +3 -1
  1317. package/_esm/utils/errors/getNodeError.js.map +1 -1
  1318. package/_esm/utils/errors/getTransactionError.js +8 -5
  1319. package/_esm/utils/errors/getTransactionError.js.map +1 -1
  1320. package/_esm/utils/formatters/block.js.map +1 -1
  1321. package/_esm/utils/formatters/extract.js +16 -9
  1322. package/_esm/utils/formatters/extract.js.map +1 -1
  1323. package/_esm/utils/formatters/feeHistory.js.map +1 -1
  1324. package/_esm/utils/formatters/formatter.js.map +1 -1
  1325. package/_esm/utils/formatters/log.js.map +1 -1
  1326. package/_esm/utils/formatters/proof.js +18 -0
  1327. package/_esm/utils/formatters/proof.js.map +1 -0
  1328. package/_esm/utils/formatters/transaction.js.map +1 -1
  1329. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  1330. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  1331. package/_esm/utils/getAction.js +4 -0
  1332. package/_esm/utils/getAction.js.map +1 -0
  1333. package/_esm/utils/hash/getEventSelector.js +5 -6
  1334. package/_esm/utils/hash/getEventSelector.js.map +1 -1
  1335. package/_esm/utils/hash/getEventSignature.js +5 -0
  1336. package/_esm/utils/hash/getEventSignature.js.map +1 -0
  1337. package/_esm/utils/hash/getFunctionSelector.js +5 -6
  1338. package/_esm/utils/hash/getFunctionSelector.js.map +1 -1
  1339. package/_esm/utils/hash/getFunctionSignature.js +11 -0
  1340. package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
  1341. package/_esm/utils/hash/hashFunction.js +3 -5
  1342. package/_esm/utils/hash/hashFunction.js.map +1 -1
  1343. package/_esm/utils/hash/isHash.js.map +1 -1
  1344. package/_esm/utils/hash/keccak256.js.map +1 -1
  1345. package/_esm/utils/hash/normalizeSignature.js +51 -0
  1346. package/_esm/utils/hash/normalizeSignature.js.map +1 -0
  1347. package/_esm/utils/index.js +31 -32
  1348. package/_esm/utils/index.js.map +1 -1
  1349. package/_esm/utils/observe.js.map +1 -1
  1350. package/_esm/utils/poll.js.map +1 -1
  1351. package/_esm/utils/promise/createBatchScheduler.js +3 -1
  1352. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  1353. package/_esm/utils/promise/withCache.js.map +1 -1
  1354. package/_esm/utils/promise/withRetry.js.map +1 -1
  1355. package/_esm/utils/promise/withTimeout.js +1 -1
  1356. package/_esm/utils/promise/withTimeout.js.map +1 -1
  1357. package/_esm/utils/rpc.js +4 -8
  1358. package/_esm/utils/rpc.js.map +1 -1
  1359. package/_esm/utils/signature/compactSignatureToHex.js +19 -0
  1360. package/_esm/utils/signature/compactSignatureToHex.js.map +1 -0
  1361. package/_esm/utils/signature/compactSignatureToSignature.js +28 -0
  1362. package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -0
  1363. package/_esm/utils/signature/hashMessage.js +1 -1
  1364. package/_esm/utils/signature/hashMessage.js.map +1 -1
  1365. package/_esm/utils/signature/hashTypedData.js +2 -2
  1366. package/_esm/utils/signature/hashTypedData.js.map +1 -1
  1367. package/_esm/utils/signature/hexToCompactSignature.js +20 -0
  1368. package/_esm/utils/signature/hexToCompactSignature.js.map +1 -0
  1369. package/_esm/utils/signature/hexToSignature.js +1 -1
  1370. package/_esm/utils/signature/hexToSignature.js.map +1 -1
  1371. package/_esm/utils/signature/recoverAddress.js.map +1 -1
  1372. package/_esm/utils/signature/recoverMessageAddress.js +1 -1
  1373. package/_esm/utils/signature/recoverMessageAddress.js.map +1 -1
  1374. package/_esm/utils/signature/recoverPublicKey.js.map +1 -1
  1375. package/_esm/utils/signature/recoverTypedDataAddress.js +1 -1
  1376. package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -1
  1377. package/_esm/utils/signature/signatureToCompactSignature.js +30 -0
  1378. package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -0
  1379. package/_esm/utils/signature/signatureToHex.js +1 -1
  1380. package/_esm/utils/signature/signatureToHex.js.map +1 -1
  1381. package/_esm/utils/signature/verifyMessage.js +2 -2
  1382. package/_esm/utils/signature/verifyMessage.js.map +1 -1
  1383. package/_esm/utils/signature/verifyTypedData.js +1 -1
  1384. package/_esm/utils/signature/verifyTypedData.js.map +1 -1
  1385. package/_esm/utils/stringify.js.map +1 -1
  1386. package/_esm/utils/transaction/assertRequest.js +4 -4
  1387. package/_esm/utils/transaction/assertRequest.js.map +1 -1
  1388. package/_esm/utils/transaction/assertTransaction.js +3 -3
  1389. package/_esm/utils/transaction/assertTransaction.js.map +1 -1
  1390. package/_esm/utils/transaction/getSerializedTransactionType.js +1 -1
  1391. package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
  1392. package/_esm/utils/transaction/getTransactionType.js +1 -1
  1393. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  1394. package/_esm/utils/transaction/parseTransaction.js +2 -2
  1395. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  1396. package/_esm/utils/transaction/serializeAccessList.js +2 -2
  1397. package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
  1398. package/_esm/utils/transaction/serializeTransaction.js +19 -7
  1399. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  1400. package/_esm/utils/typedData.js +1 -1
  1401. package/_esm/utils/typedData.js.map +1 -1
  1402. package/_esm/utils/unit/formatEther.js.map +1 -1
  1403. package/_esm/utils/unit/formatGwei.js.map +1 -1
  1404. package/_esm/utils/unit/formatUnits.js.map +1 -1
  1405. package/_esm/utils/unit/parseEther.js.map +1 -1
  1406. package/_esm/utils/unit/parseGwei.js.map +1 -1
  1407. package/_esm/utils/unit/parseUnits.js.map +1 -1
  1408. package/_types/accounts/generateMnemonic.d.ts +2 -0
  1409. package/_types/accounts/generateMnemonic.d.ts.map +1 -1
  1410. package/_types/accounts/generatePrivateKey.d.ts +3 -0
  1411. package/_types/accounts/generatePrivateKey.d.ts.map +1 -1
  1412. package/_types/accounts/hdKeyToAccount.d.ts +4 -0
  1413. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  1414. package/_types/accounts/index.d.ts +14 -14
  1415. package/_types/accounts/index.d.ts.map +1 -1
  1416. package/_types/accounts/mnemonicToAccount.d.ts +3 -0
  1417. package/_types/accounts/mnemonicToAccount.d.ts.map +1 -1
  1418. package/_types/accounts/privateKeyToAccount.d.ts +8 -0
  1419. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
  1420. package/_types/accounts/toAccount.d.ts +4 -0
  1421. package/_types/accounts/toAccount.d.ts.map +1 -1
  1422. package/_types/accounts/utils/parseAccount.d.ts +2 -0
  1423. package/_types/accounts/utils/parseAccount.d.ts.map +1 -1
  1424. package/_types/accounts/utils/privateKeyToAddress.d.ts +4 -0
  1425. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +1 -1
  1426. package/_types/accounts/utils/publicKeyToAddress.d.ts +4 -0
  1427. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +1 -1
  1428. package/_types/accounts/utils/sign.d.ts +3 -0
  1429. package/_types/accounts/utils/sign.d.ts.map +1 -1
  1430. package/_types/accounts/utils/signMessage.d.ts +5 -0
  1431. package/_types/accounts/utils/signMessage.d.ts.map +1 -1
  1432. package/_types/accounts/utils/signTransaction.d.ts +4 -0
  1433. package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
  1434. package/_types/accounts/utils/signTypedData.d.ts +5 -0
  1435. package/_types/accounts/utils/signTypedData.d.ts.map +1 -1
  1436. package/_types/actions/ens/getEnsAddress.d.ts +9 -0
  1437. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
  1438. package/_types/actions/ens/getEnsAvatar.d.ts +4 -1
  1439. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
  1440. package/_types/actions/ens/getEnsName.d.ts +6 -1
  1441. package/_types/actions/ens/getEnsName.d.ts.map +1 -1
  1442. package/_types/actions/ens/getEnsResolver.d.ts +5 -0
  1443. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
  1444. package/_types/actions/ens/getEnsText.d.ts +8 -1
  1445. package/_types/actions/ens/getEnsText.d.ts.map +1 -1
  1446. package/_types/actions/getContract.d.ts +69 -26
  1447. package/_types/actions/getContract.d.ts.map +1 -1
  1448. package/_types/actions/index.d.ts +80 -84
  1449. package/_types/actions/index.d.ts.map +1 -1
  1450. package/_types/actions/public/call.d.ts +15 -1
  1451. package/_types/actions/public/call.d.ts.map +1 -1
  1452. package/_types/actions/public/createBlockFilter.d.ts +3 -0
  1453. package/_types/actions/public/createBlockFilter.d.ts.map +1 -1
  1454. package/_types/actions/public/createContractEventFilter.d.ts +6 -1
  1455. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
  1456. package/_types/actions/public/createEventFilter.d.ts +5 -0
  1457. package/_types/actions/public/createEventFilter.d.ts.map +1 -1
  1458. package/_types/actions/public/createPendingTransactionFilter.d.ts +3 -0
  1459. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +1 -1
  1460. package/_types/actions/public/estimateContractGas.d.ts +5 -1
  1461. package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
  1462. package/_types/actions/public/estimateFeesPerGas.d.ts +5 -0
  1463. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  1464. package/_types/actions/public/estimateGas.d.ts +6 -0
  1465. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  1466. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +7 -0
  1467. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  1468. package/_types/actions/public/getBalance.d.ts +4 -0
  1469. package/_types/actions/public/getBalance.d.ts.map +1 -1
  1470. package/_types/actions/public/getBlock.d.ts +5 -0
  1471. package/_types/actions/public/getBlock.d.ts.map +1 -1
  1472. package/_types/actions/public/getBlockNumber.d.ts +4 -3
  1473. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  1474. package/_types/actions/public/getBlockTransactionCount.d.ts +5 -0
  1475. package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -1
  1476. package/_types/actions/public/getBytecode.d.ts +4 -0
  1477. package/_types/actions/public/getBytecode.d.ts.map +1 -1
  1478. package/_types/actions/public/getChainId.d.ts +4 -0
  1479. package/_types/actions/public/getChainId.d.ts.map +1 -1
  1480. package/_types/actions/public/getContractEvents.d.ts +66 -0
  1481. package/_types/actions/public/getContractEvents.d.ts.map +1 -0
  1482. package/_types/actions/public/getFeeHistory.d.ts +4 -0
  1483. package/_types/actions/public/getFeeHistory.d.ts.map +1 -1
  1484. package/_types/actions/public/getFilterChanges.d.ts +5 -0
  1485. package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
  1486. package/_types/actions/public/getFilterLogs.d.ts +5 -0
  1487. package/_types/actions/public/getFilterLogs.d.ts.map +1 -1
  1488. package/_types/actions/public/getGasPrice.d.ts +3 -0
  1489. package/_types/actions/public/getGasPrice.d.ts.map +1 -1
  1490. package/_types/actions/public/getLogs.d.ts +7 -0
  1491. package/_types/actions/public/getLogs.d.ts.map +1 -1
  1492. package/_types/actions/public/getProof.d.ts +57 -0
  1493. package/_types/actions/public/getProof.d.ts.map +1 -0
  1494. package/_types/actions/public/getStorageAt.d.ts +4 -0
  1495. package/_types/actions/public/getStorageAt.d.ts.map +1 -1
  1496. package/_types/actions/public/getTransaction.d.ts +4 -0
  1497. package/_types/actions/public/getTransaction.d.ts.map +1 -1
  1498. package/_types/actions/public/getTransactionConfirmations.d.ts +4 -0
  1499. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
  1500. package/_types/actions/public/getTransactionCount.d.ts +5 -0
  1501. package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
  1502. package/_types/actions/public/getTransactionReceipt.d.ts +4 -0
  1503. package/_types/actions/public/getTransactionReceipt.d.ts.map +1 -1
  1504. package/_types/actions/public/multicall.d.ts +7 -0
  1505. package/_types/actions/public/multicall.d.ts.map +1 -1
  1506. package/_types/actions/public/readContract.d.ts +5 -1
  1507. package/_types/actions/public/readContract.d.ts.map +1 -1
  1508. package/_types/actions/public/simulateContract.d.ts +21 -9
  1509. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  1510. package/_types/actions/public/uninstallFilter.d.ts +3 -0
  1511. package/_types/actions/public/uninstallFilter.d.ts.map +1 -1
  1512. package/_types/actions/public/verifyHash.d.ts +7 -1
  1513. package/_types/actions/public/verifyHash.d.ts.map +1 -1
  1514. package/_types/actions/public/verifyMessage.d.ts +4 -1
  1515. package/_types/actions/public/verifyMessage.d.ts.map +1 -1
  1516. package/_types/actions/public/verifyTypedData.d.ts +4 -1
  1517. package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
  1518. package/_types/actions/public/waitForTransactionReceipt.d.ts +7 -1
  1519. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  1520. package/_types/actions/public/watchBlockNumber.d.ts +3 -0
  1521. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
  1522. package/_types/actions/public/watchBlocks.d.ts +4 -0
  1523. package/_types/actions/public/watchBlocks.d.ts.map +1 -1
  1524. package/_types/actions/public/watchContractEvent.d.ts +6 -2
  1525. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  1526. package/_types/actions/public/watchEvent.d.ts +4 -0
  1527. package/_types/actions/public/watchEvent.d.ts.map +1 -1
  1528. package/_types/actions/public/watchPendingTransactions.d.ts +4 -0
  1529. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
  1530. package/_types/actions/test/dropTransaction.d.ts +3 -0
  1531. package/_types/actions/test/dropTransaction.d.ts.map +1 -1
  1532. package/_types/actions/test/getAutomine.d.ts +3 -0
  1533. package/_types/actions/test/getAutomine.d.ts.map +1 -1
  1534. package/_types/actions/test/getTxpoolContent.d.ts +3 -0
  1535. package/_types/actions/test/getTxpoolContent.d.ts.map +1 -1
  1536. package/_types/actions/test/getTxpoolStatus.d.ts +3 -0
  1537. package/_types/actions/test/getTxpoolStatus.d.ts.map +1 -1
  1538. package/_types/actions/test/impersonateAccount.d.ts +3 -0
  1539. package/_types/actions/test/impersonateAccount.d.ts.map +1 -1
  1540. package/_types/actions/test/increaseTime.d.ts +3 -0
  1541. package/_types/actions/test/increaseTime.d.ts.map +1 -1
  1542. package/_types/actions/test/inspectTxpool.d.ts +3 -0
  1543. package/_types/actions/test/inspectTxpool.d.ts.map +1 -1
  1544. package/_types/actions/test/mine.d.ts +3 -0
  1545. package/_types/actions/test/mine.d.ts.map +1 -1
  1546. package/_types/actions/test/removeBlockTimestampInterval.d.ts +3 -0
  1547. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +1 -1
  1548. package/_types/actions/test/reset.d.ts +3 -0
  1549. package/_types/actions/test/reset.d.ts.map +1 -1
  1550. package/_types/actions/test/revert.d.ts +3 -0
  1551. package/_types/actions/test/revert.d.ts.map +1 -1
  1552. package/_types/actions/test/sendUnsignedTransaction.d.ts +3 -0
  1553. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +1 -1
  1554. package/_types/actions/test/setAutomine.d.ts +3 -0
  1555. package/_types/actions/test/setAutomine.d.ts.map +1 -1
  1556. package/_types/actions/test/setBalance.d.ts +3 -0
  1557. package/_types/actions/test/setBalance.d.ts.map +1 -1
  1558. package/_types/actions/test/setBlockGasLimit.d.ts +3 -0
  1559. package/_types/actions/test/setBlockGasLimit.d.ts.map +1 -1
  1560. package/_types/actions/test/setBlockTimestampInterval.d.ts +3 -0
  1561. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +1 -1
  1562. package/_types/actions/test/setCode.d.ts +3 -0
  1563. package/_types/actions/test/setCode.d.ts.map +1 -1
  1564. package/_types/actions/test/setCoinbase.d.ts +3 -0
  1565. package/_types/actions/test/setCoinbase.d.ts.map +1 -1
  1566. package/_types/actions/test/setIntervalMining.d.ts +3 -0
  1567. package/_types/actions/test/setIntervalMining.d.ts.map +1 -1
  1568. package/_types/actions/test/setLoggingEnabled.d.ts +3 -0
  1569. package/_types/actions/test/setLoggingEnabled.d.ts.map +1 -1
  1570. package/_types/actions/test/setMinGasPrice.d.ts +3 -0
  1571. package/_types/actions/test/setMinGasPrice.d.ts.map +1 -1
  1572. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +3 -0
  1573. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +1 -1
  1574. package/_types/actions/test/setNextBlockTimestamp.d.ts +3 -0
  1575. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +1 -1
  1576. package/_types/actions/test/setNonce.d.ts +3 -0
  1577. package/_types/actions/test/setNonce.d.ts.map +1 -1
  1578. package/_types/actions/test/setRpcUrl.d.ts +3 -0
  1579. package/_types/actions/test/setRpcUrl.d.ts.map +1 -1
  1580. package/_types/actions/test/setStorageAt.d.ts +3 -0
  1581. package/_types/actions/test/setStorageAt.d.ts.map +1 -1
  1582. package/_types/actions/test/snapshot.d.ts +3 -0
  1583. package/_types/actions/test/snapshot.d.ts.map +1 -1
  1584. package/_types/actions/test/stopImpersonatingAccount.d.ts +3 -0
  1585. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +1 -1
  1586. package/_types/actions/wallet/addChain.d.ts +4 -0
  1587. package/_types/actions/wallet/addChain.d.ts.map +1 -1
  1588. package/_types/actions/wallet/deployContract.d.ts +3 -1
  1589. package/_types/actions/wallet/deployContract.d.ts.map +1 -1
  1590. package/_types/actions/wallet/getAddresses.d.ts +4 -0
  1591. package/_types/actions/wallet/getAddresses.d.ts.map +1 -1
  1592. package/_types/actions/wallet/getPermissions.d.ts +3 -0
  1593. package/_types/actions/wallet/getPermissions.d.ts.map +1 -1
  1594. package/_types/actions/wallet/prepareTransactionRequest.d.ts +9 -1
  1595. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  1596. package/_types/actions/wallet/requestAddresses.d.ts +3 -0
  1597. package/_types/actions/wallet/requestAddresses.d.ts.map +1 -1
  1598. package/_types/actions/wallet/requestPermissions.d.ts +3 -0
  1599. package/_types/actions/wallet/requestPermissions.d.ts.map +1 -1
  1600. package/_types/actions/wallet/sendRawTransaction.d.ts +3 -0
  1601. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
  1602. package/_types/actions/wallet/sendTransaction.d.ts +12 -1
  1603. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  1604. package/_types/actions/wallet/signMessage.d.ts +6 -0
  1605. package/_types/actions/wallet/signMessage.d.ts.map +1 -1
  1606. package/_types/actions/wallet/signTransaction.d.ts +10 -1
  1607. package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
  1608. package/_types/actions/wallet/signTypedData.d.ts +9 -0
  1609. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  1610. package/_types/actions/wallet/switchChain.d.ts +4 -0
  1611. package/_types/actions/wallet/switchChain.d.ts.map +1 -1
  1612. package/_types/actions/wallet/watchAsset.d.ts +3 -0
  1613. package/_types/actions/wallet/watchAsset.d.ts.map +1 -1
  1614. package/_types/actions/wallet/writeContract.d.ts +5 -2
  1615. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  1616. package/_types/chains/celo/formatters.d.ts +221 -33
  1617. package/_types/chains/celo/formatters.d.ts.map +1 -1
  1618. package/_types/chains/celo/parsers.d.ts.map +1 -1
  1619. package/_types/chains/celo/serializers.d.ts +6 -3
  1620. package/_types/chains/celo/serializers.d.ts.map +1 -1
  1621. package/_types/chains/celo/types.d.ts +48 -12
  1622. package/_types/chains/celo/types.d.ts.map +1 -1
  1623. package/_types/chains/celo/utils.d.ts +7 -0
  1624. package/_types/chains/celo/utils.d.ts.map +1 -0
  1625. package/_types/chains/definitions/arbitrum.d.ts +19 -33
  1626. package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
  1627. package/_types/chains/definitions/arbitrumGoerli.d.ts +21 -32
  1628. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
  1629. package/_types/chains/definitions/arbitrumNova.d.ts +19 -33
  1630. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
  1631. package/_types/chains/definitions/arbitrumSepolia.d.ts +32 -0
  1632. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -0
  1633. package/_types/chains/definitions/astar.d.ts +36 -0
  1634. package/_types/chains/definitions/astar.d.ts.map +1 -0
  1635. package/_types/chains/definitions/astarZkatana.d.ts +40 -0
  1636. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -0
  1637. package/_types/chains/definitions/aurora.d.ts +23 -24
  1638. package/_types/chains/definitions/aurora.d.ts.map +1 -1
  1639. package/_types/chains/definitions/auroraTestnet.d.ts +23 -25
  1640. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
  1641. package/_types/chains/definitions/avalanche.d.ts +19 -25
  1642. package/_types/chains/definitions/avalanche.d.ts.map +1 -1
  1643. package/_types/chains/definitions/avalancheFuji.d.ts +19 -26
  1644. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
  1645. package/_types/chains/definitions/base.d.ts +30 -1032
  1646. package/_types/chains/definitions/base.d.ts.map +1 -1
  1647. package/_types/chains/definitions/baseGoerli.d.ts +30 -1030
  1648. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  1649. package/_types/chains/definitions/baseSepolia.d.ts +539 -0
  1650. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -0
  1651. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +23 -17
  1652. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
  1653. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +23 -18
  1654. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
  1655. package/_types/chains/definitions/boba.d.ts +19 -25
  1656. package/_types/chains/definitions/boba.d.ts.map +1 -1
  1657. package/_types/chains/definitions/bronos.d.ts +23 -17
  1658. package/_types/chains/definitions/bronos.d.ts.map +1 -1
  1659. package/_types/chains/definitions/bronosTestnet.d.ts +23 -18
  1660. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
  1661. package/_types/chains/definitions/bsc.d.ts +19 -25
  1662. package/_types/chains/definitions/bsc.d.ts.map +1 -1
  1663. package/_types/chains/definitions/bscTestnet.d.ts +19 -26
  1664. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  1665. package/_types/chains/definitions/bxn.d.ts +23 -17
  1666. package/_types/chains/definitions/bxn.d.ts.map +1 -1
  1667. package/_types/chains/definitions/bxnTestnet.d.ts +23 -17
  1668. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
  1669. package/_types/chains/definitions/canto.d.ts +19 -21
  1670. package/_types/chains/definitions/canto.d.ts.map +1 -1
  1671. package/_types/chains/definitions/celo.d.ts +235 -1433
  1672. package/_types/chains/definitions/celo.d.ts.map +1 -1
  1673. package/_types/chains/definitions/celoAlfajores.d.ts +235 -1433
  1674. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  1675. package/_types/chains/definitions/celoCannoli.d.ts +235 -1426
  1676. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  1677. package/_types/chains/definitions/classic.d.ts +23 -17
  1678. package/_types/chains/definitions/classic.d.ts.map +1 -1
  1679. package/_types/chains/definitions/confluxESpace.d.ts +19 -21
  1680. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
  1681. package/_types/chains/definitions/coreDao.d.ts +32 -0
  1682. package/_types/chains/definitions/coreDao.d.ts.map +1 -0
  1683. package/_types/chains/definitions/cronos.d.ts +19 -21
  1684. package/_types/chains/definitions/cronos.d.ts.map +1 -1
  1685. package/_types/chains/definitions/cronosTestnet.d.ts +19 -22
  1686. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
  1687. package/_types/chains/definitions/crossbell.d.ts +19 -21
  1688. package/_types/chains/definitions/crossbell.d.ts.map +1 -1
  1689. package/_types/chains/definitions/dfk.d.ts +23 -21
  1690. package/_types/chains/definitions/dfk.d.ts.map +1 -1
  1691. package/_types/chains/definitions/dogechain.d.ts +23 -21
  1692. package/_types/chains/definitions/dogechain.d.ts.map +1 -1
  1693. package/_types/chains/definitions/edgeware.d.ts +19 -25
  1694. package/_types/chains/definitions/edgeware.d.ts.map +1 -1
  1695. package/_types/chains/definitions/edgewareTestnet.d.ts +23 -21
  1696. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
  1697. package/_types/chains/definitions/ekta.d.ts +23 -17
  1698. package/_types/chains/definitions/ekta.d.ts.map +1 -1
  1699. package/_types/chains/definitions/ektaTestnet.d.ts +23 -18
  1700. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
  1701. package/_types/chains/definitions/eon.d.ts +16 -18
  1702. package/_types/chains/definitions/eon.d.ts.map +1 -1
  1703. package/_types/chains/definitions/eos.d.ts +19 -25
  1704. package/_types/chains/definitions/eos.d.ts.map +1 -1
  1705. package/_types/chains/definitions/eosTestnet.d.ts +19 -26
  1706. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
  1707. package/_types/chains/definitions/evmos.d.ts +23 -17
  1708. package/_types/chains/definitions/evmos.d.ts.map +1 -1
  1709. package/_types/chains/definitions/evmosTestnet.d.ts +23 -17
  1710. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
  1711. package/_types/chains/definitions/fantom.d.ts +19 -25
  1712. package/_types/chains/definitions/fantom.d.ts.map +1 -1
  1713. package/_types/chains/definitions/fantomTestnet.d.ts +19 -25
  1714. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
  1715. package/_types/chains/definitions/fibo.d.ts +23 -17
  1716. package/_types/chains/definitions/fibo.d.ts.map +1 -1
  1717. package/_types/chains/definitions/filecoin.d.ts +23 -29
  1718. package/_types/chains/definitions/filecoin.d.ts.map +1 -1
  1719. package/_types/chains/definitions/filecoinCalibration.d.ts +23 -17
  1720. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
  1721. package/_types/chains/definitions/filecoinHyperspace.d.ts +23 -21
  1722. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
  1723. package/_types/chains/definitions/flare.d.ts +23 -17
  1724. package/_types/chains/definitions/flare.d.ts.map +1 -1
  1725. package/_types/chains/definitions/flareTestnet.d.ts +23 -18
  1726. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
  1727. package/_types/chains/definitions/foundry.d.ts +27 -12
  1728. package/_types/chains/definitions/foundry.d.ts.map +1 -1
  1729. package/_types/chains/definitions/fuse.d.ts +21 -17
  1730. package/_types/chains/definitions/fuse.d.ts.map +1 -1
  1731. package/_types/chains/definitions/fuseSparknet.d.ts +23 -17
  1732. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
  1733. package/_types/chains/definitions/gnosis.d.ts +20 -25
  1734. package/_types/chains/definitions/gnosis.d.ts.map +1 -1
  1735. package/_types/chains/definitions/gnosisChiado.d.ts +22 -18
  1736. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
  1737. package/_types/chains/definitions/gobi.d.ts +16 -19
  1738. package/_types/chains/definitions/gobi.d.ts.map +1 -1
  1739. package/_types/chains/definitions/goerli.d.ts +19 -34
  1740. package/_types/chains/definitions/goerli.d.ts.map +1 -1
  1741. package/_types/chains/definitions/haqqMainnet.d.ts +23 -17
  1742. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
  1743. package/_types/chains/definitions/haqqTestedge2.d.ts +23 -17
  1744. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
  1745. package/_types/chains/definitions/hardhat.d.ts +27 -11
  1746. package/_types/chains/definitions/hardhat.d.ts.map +1 -1
  1747. package/_types/chains/definitions/harmonyOne.d.ts +19 -21
  1748. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
  1749. package/_types/chains/definitions/holesky.d.ts +26 -14
  1750. package/_types/chains/definitions/holesky.d.ts.map +1 -1
  1751. package/_types/chains/definitions/iotex.d.ts +23 -18
  1752. package/_types/chains/definitions/iotex.d.ts.map +1 -1
  1753. package/_types/chains/definitions/iotexTestnet.d.ts +23 -18
  1754. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
  1755. package/_types/chains/definitions/kava.d.ts +36 -0
  1756. package/_types/chains/definitions/kava.d.ts.map +1 -0
  1757. package/_types/chains/definitions/kavaTestnet.d.ts +36 -0
  1758. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -0
  1759. package/_types/chains/definitions/klaytn.d.ts +23 -21
  1760. package/_types/chains/definitions/klaytn.d.ts.map +1 -1
  1761. package/_types/chains/definitions/kroma.d.ts +23 -18
  1762. package/_types/chains/definitions/kroma.d.ts.map +1 -1
  1763. package/_types/chains/definitions/kromaSepolia.d.ts +23 -18
  1764. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
  1765. package/_types/chains/definitions/linea.d.ts +20 -36
  1766. package/_types/chains/definitions/linea.d.ts.map +1 -1
  1767. package/_types/chains/definitions/lineaTestnet.d.ts +20 -36
  1768. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
  1769. package/_types/chains/definitions/localhost.d.ts +27 -11
  1770. package/_types/chains/definitions/localhost.d.ts.map +1 -1
  1771. package/_types/chains/definitions/mainnet.d.ts +19 -33
  1772. package/_types/chains/definitions/mainnet.d.ts.map +1 -1
  1773. package/_types/chains/definitions/manta.d.ts +40 -0
  1774. package/_types/chains/definitions/manta.d.ts.map +1 -0
  1775. package/_types/chains/definitions/mantaTestnet.d.ts +40 -0
  1776. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -0
  1777. package/_types/chains/definitions/mantle.d.ts +19 -25
  1778. package/_types/chains/definitions/mantle.d.ts.map +1 -1
  1779. package/_types/chains/definitions/mantleTestnet.d.ts +23 -22
  1780. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
  1781. package/_types/chains/definitions/meter.d.ts +23 -17
  1782. package/_types/chains/definitions/meter.d.ts.map +1 -1
  1783. package/_types/chains/definitions/meterTestnet.d.ts +23 -17
  1784. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
  1785. package/_types/chains/definitions/metis.d.ts +19 -21
  1786. package/_types/chains/definitions/metis.d.ts.map +1 -1
  1787. package/_types/chains/definitions/metisGoerli.d.ts +19 -21
  1788. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
  1789. package/_types/chains/definitions/mev.d.ts +19 -21
  1790. package/_types/chains/definitions/mev.d.ts.map +1 -1
  1791. package/_types/chains/definitions/mevTestnet.d.ts +19 -22
  1792. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
  1793. package/_types/chains/definitions/modeTestnet.d.ts +21 -18
  1794. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  1795. package/_types/chains/definitions/moonbaseAlpha.d.ts +20 -28
  1796. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
  1797. package/_types/chains/definitions/moonbeam.d.ts +20 -28
  1798. package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
  1799. package/_types/chains/definitions/moonbeamDev.d.ts +39 -0
  1800. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
  1801. package/_types/chains/definitions/moonriver.d.ts +20 -28
  1802. package/_types/chains/definitions/moonriver.d.ts.map +1 -1
  1803. package/_types/chains/definitions/neonDevnet.d.ts +20 -23
  1804. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
  1805. package/_types/chains/definitions/neonMainnet.d.ts +31 -0
  1806. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -0
  1807. package/_types/chains/definitions/nexi.d.ts +19 -25
  1808. package/_types/chains/definitions/nexi.d.ts.map +1 -1
  1809. package/_types/chains/definitions/nexilix.d.ts +19 -25
  1810. package/_types/chains/definitions/nexilix.d.ts.map +1 -1
  1811. package/_types/chains/definitions/oasys.d.ts +23 -17
  1812. package/_types/chains/definitions/oasys.d.ts.map +1 -1
  1813. package/_types/chains/definitions/okc.d.ts +19 -21
  1814. package/_types/chains/definitions/okc.d.ts.map +1 -1
  1815. package/_types/chains/definitions/opBNB.d.ts +19 -21
  1816. package/_types/chains/definitions/opBNB.d.ts.map +1 -1
  1817. package/_types/chains/definitions/opBNBTestnet.d.ts +19 -22
  1818. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
  1819. package/_types/chains/definitions/optimism.d.ts +30 -1032
  1820. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  1821. package/_types/chains/definitions/optimismGoerli.d.ts +30 -1033
  1822. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  1823. package/_types/chains/definitions/optimismSepolia.d.ts +529 -0
  1824. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
  1825. package/_types/chains/definitions/plinga.d.ts +19 -21
  1826. package/_types/chains/definitions/plinga.d.ts.map +1 -1
  1827. package/_types/chains/definitions/polygon.d.ts +19 -33
  1828. package/_types/chains/definitions/polygon.d.ts.map +1 -1
  1829. package/_types/chains/definitions/polygonMumbai.d.ts +19 -34
  1830. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
  1831. package/_types/chains/definitions/polygonZkEvm.d.ts +19 -21
  1832. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
  1833. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +19 -26
  1834. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
  1835. package/_types/chains/definitions/pulsechain.d.ts +20 -24
  1836. package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
  1837. package/_types/chains/definitions/pulsechainV4.d.ts +20 -24
  1838. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
  1839. package/_types/chains/definitions/qMainnet.d.ts +23 -17
  1840. package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
  1841. package/_types/chains/definitions/qTestnet.d.ts +23 -18
  1842. package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
  1843. package/_types/chains/definitions/rollux.d.ts +20 -22
  1844. package/_types/chains/definitions/rollux.d.ts.map +1 -1
  1845. package/_types/chains/definitions/rolluxTestnet.d.ts +20 -22
  1846. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
  1847. package/_types/chains/definitions/ronin.d.ts +19 -21
  1848. package/_types/chains/definitions/ronin.d.ts.map +1 -1
  1849. package/_types/chains/definitions/saigon.d.ts +19 -22
  1850. package/_types/chains/definitions/saigon.d.ts.map +1 -1
  1851. package/_types/chains/definitions/scroll.d.ts +33 -0
  1852. package/_types/chains/definitions/scroll.d.ts.map +1 -0
  1853. package/_types/chains/definitions/scrollSepolia.d.ts +19 -24
  1854. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
  1855. package/_types/chains/definitions/scrollTestnet.d.ts +23 -19
  1856. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
  1857. package/_types/chains/definitions/sepolia.d.ts +20 -35
  1858. package/_types/chains/definitions/sepolia.d.ts.map +1 -1
  1859. package/_types/chains/definitions/shardeumSphinx.d.ts +23 -18
  1860. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
  1861. package/_types/chains/definitions/skale/brawl.d.ts +16 -23
  1862. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
  1863. package/_types/chains/definitions/skale/calypso.d.ts +20 -27
  1864. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
  1865. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +20 -28
  1866. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
  1867. package/_types/chains/definitions/skale/chaosTestnet.d.ts +20 -28
  1868. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
  1869. package/_types/chains/definitions/skale/cryptoBlades.d.ts +16 -23
  1870. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
  1871. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +16 -23
  1872. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
  1873. package/_types/chains/definitions/skale/europa.d.ts +20 -27
  1874. package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
  1875. package/_types/chains/definitions/skale/europaTestnet.d.ts +20 -28
  1876. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
  1877. package/_types/chains/definitions/skale/exorde.d.ts +16 -23
  1878. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
  1879. package/_types/chains/definitions/skale/humanProtocol.d.ts +16 -23
  1880. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
  1881. package/_types/chains/definitions/skale/nebula.d.ts +20 -27
  1882. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
  1883. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +20 -28
  1884. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
  1885. package/_types/chains/definitions/skale/razor.d.ts +16 -23
  1886. package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
  1887. package/_types/chains/definitions/skale/titan.d.ts +20 -27
  1888. package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
  1889. package/_types/chains/definitions/skale/titanTestnet.d.ts +20 -28
  1890. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
  1891. package/_types/chains/definitions/songbird.d.ts +23 -17
  1892. package/_types/chains/definitions/songbird.d.ts.map +1 -1
  1893. package/_types/chains/definitions/songbirdTestnet.d.ts +23 -18
  1894. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
  1895. package/_types/chains/definitions/syscoin.d.ts +20 -23
  1896. package/_types/chains/definitions/syscoin.d.ts.map +1 -1
  1897. package/_types/chains/definitions/syscoinTestnet.d.ts +20 -23
  1898. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
  1899. package/_types/chains/definitions/taikoJolnir.d.ts +23 -17
  1900. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
  1901. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +23 -17
  1902. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
  1903. package/_types/chains/definitions/taraxa.d.ts +23 -17
  1904. package/_types/chains/definitions/taraxa.d.ts.map +1 -1
  1905. package/_types/chains/definitions/taraxaTestnet.d.ts +23 -18
  1906. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
  1907. package/_types/chains/definitions/telos.d.ts +19 -21
  1908. package/_types/chains/definitions/telos.d.ts.map +1 -1
  1909. package/_types/chains/definitions/telosTestnet.d.ts +23 -18
  1910. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
  1911. package/_types/chains/definitions/tenet.d.ts +38 -0
  1912. package/_types/chains/definitions/tenet.d.ts.map +1 -0
  1913. package/_types/chains/definitions/thunderTestnet.d.ts +23 -18
  1914. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
  1915. package/_types/chains/definitions/vechain.d.ts +26 -20
  1916. package/_types/chains/definitions/vechain.d.ts.map +1 -1
  1917. package/_types/chains/definitions/wanchain.d.ts +19 -25
  1918. package/_types/chains/definitions/wanchain.d.ts.map +1 -1
  1919. package/_types/chains/definitions/wanchainTestnet.d.ts +19 -26
  1920. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
  1921. package/_types/chains/definitions/xdc.d.ts +26 -20
  1922. package/_types/chains/definitions/xdc.d.ts.map +1 -1
  1923. package/_types/chains/definitions/xdcTestnet.d.ts +26 -20
  1924. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
  1925. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +23 -18
  1926. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
  1927. package/_types/chains/definitions/zhejiang.d.ts +23 -26
  1928. package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
  1929. package/_types/chains/definitions/zkSync.d.ts +503 -20
  1930. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  1931. package/_types/chains/definitions/zkSyncTestnet.d.ts +503 -21
  1932. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  1933. package/_types/chains/definitions/zora.d.ts +31 -1022
  1934. package/_types/chains/definitions/zora.d.ts.map +1 -1
  1935. package/_types/chains/definitions/zoraSepolia.d.ts +535 -0
  1936. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -0
  1937. package/_types/chains/definitions/zoraTestnet.d.ts +31 -1023
  1938. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  1939. package/_types/chains/index.d.ts +16 -1
  1940. package/_types/chains/index.d.ts.map +1 -1
  1941. package/_types/chains/optimism/formatters.d.ts +10 -8
  1942. package/_types/chains/optimism/formatters.d.ts.map +1 -1
  1943. package/_types/chains/utils.d.ts +7 -1
  1944. package/_types/chains/utils.d.ts.map +1 -1
  1945. package/_types/chains/zksync/formatters.d.ts +487 -0
  1946. package/_types/chains/zksync/formatters.d.ts.map +1 -0
  1947. package/_types/chains/zksync/serializers.d.ts +9 -0
  1948. package/_types/chains/zksync/serializers.d.ts.map +1 -0
  1949. package/_types/chains/zksync/types.d.ts +158 -0
  1950. package/_types/chains/zksync/types.d.ts.map +1 -0
  1951. package/_types/clients/createClient.d.ts +9 -2
  1952. package/_types/clients/createClient.d.ts.map +1 -1
  1953. package/_types/clients/createPublicClient.d.ts +3 -1
  1954. package/_types/clients/createPublicClient.d.ts.map +1 -1
  1955. package/_types/clients/createTestClient.d.ts +3 -1
  1956. package/_types/clients/createTestClient.d.ts.map +1 -1
  1957. package/_types/clients/createWalletClient.d.ts +3 -1
  1958. package/_types/clients/createWalletClient.d.ts.map +1 -1
  1959. package/_types/clients/decorators/public.d.ts +58 -5
  1960. package/_types/clients/decorators/public.d.ts.map +1 -1
  1961. package/_types/clients/transports/createTransport.d.ts +2 -0
  1962. package/_types/clients/transports/createTransport.d.ts.map +1 -1
  1963. package/_types/clients/transports/custom.d.ts +3 -1
  1964. package/_types/clients/transports/custom.d.ts.map +1 -1
  1965. package/_types/clients/transports/fallback.d.ts +3 -1
  1966. package/_types/clients/transports/fallback.d.ts.map +1 -1
  1967. package/_types/clients/transports/http.d.ts +5 -1
  1968. package/_types/clients/transports/http.d.ts.map +1 -1
  1969. package/_types/clients/transports/webSocket.d.ts +4 -3
  1970. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  1971. package/_types/ens/index.d.ts +8 -8
  1972. package/_types/ens/index.d.ts.map +1 -1
  1973. package/_types/errors/abi.d.ts +75 -0
  1974. package/_types/errors/abi.d.ts.map +1 -1
  1975. package/_types/errors/account.d.ts +3 -0
  1976. package/_types/errors/account.d.ts.map +1 -1
  1977. package/_types/errors/address.d.ts +3 -0
  1978. package/_types/errors/address.d.ts.map +1 -1
  1979. package/_types/errors/base.d.ts +3 -0
  1980. package/_types/errors/base.d.ts.map +1 -1
  1981. package/_types/errors/block.d.ts +3 -0
  1982. package/_types/errors/block.d.ts.map +1 -1
  1983. package/_types/errors/ccip.d.ts +9 -0
  1984. package/_types/errors/ccip.d.ts.map +1 -1
  1985. package/_types/errors/chain.d.ts +15 -0
  1986. package/_types/errors/chain.d.ts.map +1 -1
  1987. package/_types/errors/contract.d.ts +15 -0
  1988. package/_types/errors/contract.d.ts.map +1 -1
  1989. package/_types/errors/cursor.d.ts +21 -0
  1990. package/_types/errors/cursor.d.ts.map +1 -0
  1991. package/_types/errors/data.d.ts +6 -0
  1992. package/_types/errors/data.d.ts.map +1 -1
  1993. package/_types/errors/encoding.d.ts +16 -22
  1994. package/_types/errors/encoding.d.ts.map +1 -1
  1995. package/_types/errors/ens.d.ts +12 -0
  1996. package/_types/errors/ens.d.ts.map +1 -1
  1997. package/_types/errors/estimateGas.d.ts +3 -0
  1998. package/_types/errors/estimateGas.d.ts.map +1 -1
  1999. package/_types/errors/fee.d.ts +9 -0
  2000. package/_types/errors/fee.d.ts.map +1 -1
  2001. package/_types/errors/log.d.ts +3 -0
  2002. package/_types/errors/log.d.ts.map +1 -1
  2003. package/_types/errors/node.d.ts +37 -0
  2004. package/_types/errors/node.d.ts.map +1 -1
  2005. package/_types/errors/request.d.ts +12 -0
  2006. package/_types/errors/request.d.ts.map +1 -1
  2007. package/_types/errors/rpc.d.ts +81 -0
  2008. package/_types/errors/rpc.d.ts.map +1 -1
  2009. package/_types/errors/transaction.d.ts +30 -0
  2010. package/_types/errors/transaction.d.ts.map +1 -1
  2011. package/_types/errors/transport.d.ts +3 -0
  2012. package/_types/errors/transport.d.ts.map +1 -1
  2013. package/_types/errors/utils.d.ts +3 -0
  2014. package/_types/errors/utils.d.ts.map +1 -1
  2015. package/_types/errors/version.d.ts +1 -1
  2016. package/_types/errors/version.d.ts.map +1 -1
  2017. package/_types/index.d.ts +186 -194
  2018. package/_types/index.d.ts.map +1 -1
  2019. package/_types/types/block.d.ts +5 -0
  2020. package/_types/types/block.d.ts.map +1 -1
  2021. package/_types/types/chain.d.ts +19 -25
  2022. package/_types/types/chain.d.ts.map +1 -1
  2023. package/_types/types/contract.d.ts +7 -8
  2024. package/_types/types/contract.d.ts.map +1 -1
  2025. package/_types/types/eip1193.d.ts +24 -1
  2026. package/_types/types/eip1193.d.ts.map +1 -1
  2027. package/_types/types/misc.d.ts +4 -0
  2028. package/_types/types/misc.d.ts.map +1 -1
  2029. package/_types/types/proof.d.ts +18 -0
  2030. package/_types/types/proof.d.ts.map +1 -0
  2031. package/_types/types/rpc.d.ts +2 -0
  2032. package/_types/types/rpc.d.ts.map +1 -1
  2033. package/_types/types/transaction.d.ts +2 -2
  2034. package/_types/types/transaction.d.ts.map +1 -1
  2035. package/_types/types/utils.d.ts.map +1 -1
  2036. package/_types/types/withdrawal.d.ts +8 -0
  2037. package/_types/types/withdrawal.d.ts.map +1 -0
  2038. package/_types/utils/abi/decodeAbiParameters.d.ts +20 -0
  2039. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  2040. package/_types/utils/abi/decodeDeployData.d.ts +4 -0
  2041. package/_types/utils/abi/decodeDeployData.d.ts.map +1 -1
  2042. package/_types/utils/abi/decodeErrorResult.d.ts +6 -0
  2043. package/_types/utils/abi/decodeErrorResult.d.ts.map +1 -1
  2044. package/_types/utils/abi/decodeEventLog.d.ts +8 -2
  2045. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  2046. package/_types/utils/abi/decodeFunctionData.d.ts +7 -0
  2047. package/_types/utils/abi/decodeFunctionData.d.ts.map +1 -1
  2048. package/_types/utils/abi/decodeFunctionResult.d.ts +5 -0
  2049. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
  2050. package/_types/utils/abi/encodeAbiParameters.d.ts +21 -0
  2051. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  2052. package/_types/utils/abi/encodeDeployData.d.ts +5 -0
  2053. package/_types/utils/abi/encodeDeployData.d.ts.map +1 -1
  2054. package/_types/utils/abi/encodeErrorResult.d.ts +7 -0
  2055. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
  2056. package/_types/utils/abi/encodeEventTopics.d.ts +11 -0
  2057. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
  2058. package/_types/utils/abi/encodeFunctionData.d.ts +8 -0
  2059. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
  2060. package/_types/utils/abi/encodeFunctionResult.d.ts +5 -0
  2061. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
  2062. package/_types/utils/abi/encodePacked.d.ts +9 -0
  2063. package/_types/utils/abi/encodePacked.d.ts.map +1 -1
  2064. package/_types/utils/abi/formatAbiItem.d.ts +5 -0
  2065. package/_types/utils/abi/formatAbiItem.d.ts.map +1 -1
  2066. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +2 -0
  2067. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -1
  2068. package/_types/utils/abi/getAbiItem.d.ts +6 -0
  2069. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  2070. package/_types/utils/address/getAddress.d.ts +6 -0
  2071. package/_types/utils/address/getAddress.d.ts.map +1 -1
  2072. package/_types/utils/address/getContractAddress.d.ts +15 -0
  2073. package/_types/utils/address/getContractAddress.d.ts.map +1 -1
  2074. package/_types/utils/address/isAddress.d.ts +2 -0
  2075. package/_types/utils/address/isAddress.d.ts.map +1 -1
  2076. package/_types/utils/address/isAddressEqual.d.ts +4 -0
  2077. package/_types/utils/address/isAddressEqual.d.ts.map +1 -1
  2078. package/_types/utils/buildRequest.d.ts +8 -0
  2079. package/_types/utils/buildRequest.d.ts.map +1 -1
  2080. package/_types/utils/ccip.d.ts +3 -0
  2081. package/_types/utils/ccip.d.ts.map +1 -1
  2082. package/_types/utils/chain/assertCurrentChain.d.ts +10 -0
  2083. package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -0
  2084. package/_types/utils/chain/defineChain.d.ts +4 -0
  2085. package/_types/utils/chain/defineChain.d.ts.map +1 -0
  2086. package/_types/utils/chain/extractChain.d.ts +10 -0
  2087. package/_types/utils/chain/extractChain.d.ts.map +1 -0
  2088. package/_types/utils/chain/getChainContractAddress.d.ts +9 -0
  2089. package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -0
  2090. package/_types/utils/cursor.d.ts +37 -0
  2091. package/_types/utils/cursor.d.ts.map +1 -0
  2092. package/_types/utils/data/concat.d.ts +7 -3
  2093. package/_types/utils/data/concat.d.ts.map +1 -1
  2094. package/_types/utils/data/isBytes.d.ts +2 -0
  2095. package/_types/utils/data/isBytes.d.ts.map +1 -1
  2096. package/_types/utils/data/isBytesEqual.d.ts +4 -0
  2097. package/_types/utils/data/isBytesEqual.d.ts.map +1 -1
  2098. package/_types/utils/data/isHex.d.ts +2 -0
  2099. package/_types/utils/data/isHex.d.ts.map +1 -1
  2100. package/_types/utils/data/pad.d.ts +5 -0
  2101. package/_types/utils/data/pad.d.ts.map +1 -1
  2102. package/_types/utils/data/size.d.ts +3 -0
  2103. package/_types/utils/data/size.d.ts.map +1 -1
  2104. package/_types/utils/data/slice.d.ts +9 -0
  2105. package/_types/utils/data/slice.d.ts.map +1 -1
  2106. package/_types/utils/data/trim.d.ts +2 -0
  2107. package/_types/utils/data/trim.d.ts.map +1 -1
  2108. package/_types/utils/encoding/fromBytes.d.ts +13 -5
  2109. package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
  2110. package/_types/utils/encoding/fromHex.d.ts +11 -0
  2111. package/_types/utils/encoding/fromHex.d.ts.map +1 -1
  2112. package/_types/utils/encoding/fromRlp.d.ts +17 -2
  2113. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  2114. package/_types/utils/encoding/toBytes.d.ts +12 -3
  2115. package/_types/utils/encoding/toBytes.d.ts.map +1 -1
  2116. package/_types/utils/encoding/toHex.d.ts +9 -0
  2117. package/_types/utils/encoding/toHex.d.ts.map +1 -1
  2118. package/_types/utils/encoding/toRlp.d.ts +11 -3
  2119. package/_types/utils/encoding/toRlp.d.ts.map +1 -1
  2120. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +4 -0
  2121. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  2122. package/_types/utils/ens/avatar/utils.d.ts +11 -0
  2123. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  2124. package/_types/utils/ens/encodeLabelhash.d.ts +2 -0
  2125. package/_types/utils/ens/encodeLabelhash.d.ts.map +1 -1
  2126. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +3 -0
  2127. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
  2128. package/_types/utils/ens/errors.d.ts +2 -0
  2129. package/_types/utils/ens/errors.d.ts.map +1 -1
  2130. package/_types/utils/ens/labelhash.d.ts +6 -0
  2131. package/_types/utils/ens/labelhash.d.ts.map +1 -1
  2132. package/_types/utils/ens/namehash.d.ts +7 -0
  2133. package/_types/utils/ens/namehash.d.ts.map +1 -1
  2134. package/_types/utils/ens/normalize.d.ts +2 -0
  2135. package/_types/utils/ens/normalize.d.ts.map +1 -1
  2136. package/_types/utils/ens/packetToBytes.d.ts +5 -0
  2137. package/_types/utils/ens/packetToBytes.d.ts.map +1 -1
  2138. package/_types/utils/errors/getCallError.d.ts +8 -4
  2139. package/_types/utils/errors/getCallError.d.ts.map +1 -1
  2140. package/_types/utils/errors/getContractError.d.ts +7 -4
  2141. package/_types/utils/errors/getContractError.d.ts.map +1 -1
  2142. package/_types/utils/errors/getEstimateGasError.d.ts +8 -4
  2143. package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -1
  2144. package/_types/utils/errors/getNodeError.d.ts +3 -2
  2145. package/_types/utils/errors/getNodeError.d.ts.map +1 -1
  2146. package/_types/utils/errors/getTransactionError.d.ts +7 -3
  2147. package/_types/utils/errors/getTransactionError.d.ts.map +1 -1
  2148. package/_types/utils/formatters/block.d.ts +5 -1
  2149. package/_types/utils/formatters/block.d.ts.map +1 -1
  2150. package/_types/utils/formatters/extract.d.ts +4 -2
  2151. package/_types/utils/formatters/extract.d.ts.map +1 -1
  2152. package/_types/utils/formatters/feeHistory.d.ts +2 -0
  2153. package/_types/utils/formatters/feeHistory.d.ts.map +1 -1
  2154. package/_types/utils/formatters/formatter.d.ts +3 -1
  2155. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  2156. package/_types/utils/formatters/log.d.ts +2 -0
  2157. package/_types/utils/formatters/log.d.ts.map +1 -1
  2158. package/_types/utils/formatters/proof.d.ts +6 -0
  2159. package/_types/utils/formatters/proof.d.ts.map +1 -0
  2160. package/_types/utils/formatters/transaction.d.ts +5 -1
  2161. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  2162. package/_types/utils/formatters/transactionReceipt.d.ts +5 -1
  2163. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  2164. package/_types/utils/formatters/transactionRequest.d.ts +5 -1
  2165. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  2166. package/_types/utils/getAction.d.ts +3 -0
  2167. package/_types/utils/getAction.d.ts.map +1 -0
  2168. package/_types/utils/hash/getEventSelector.d.ts +5 -2
  2169. package/_types/utils/hash/getEventSelector.d.ts.map +1 -1
  2170. package/_types/utils/hash/getEventSignature.d.ts +6 -0
  2171. package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
  2172. package/_types/utils/hash/getFunctionSelector.d.ts +6 -0
  2173. package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -1
  2174. package/_types/utils/hash/getFunctionSignature.d.ts +6 -0
  2175. package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
  2176. package/_types/utils/hash/hashFunction.d.ts +7 -0
  2177. package/_types/utils/hash/hashFunction.d.ts.map +1 -1
  2178. package/_types/utils/hash/isHash.d.ts +4 -0
  2179. package/_types/utils/hash/isHash.d.ts.map +1 -1
  2180. package/_types/utils/hash/keccak256.d.ts +5 -0
  2181. package/_types/utils/hash/keccak256.d.ts.map +1 -1
  2182. package/_types/utils/hash/normalizeSignature.d.ts +6 -0
  2183. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -0
  2184. package/_types/utils/index.d.ts +80 -81
  2185. package/_types/utils/index.d.ts.map +1 -1
  2186. package/_types/utils/observe.d.ts +2 -0
  2187. package/_types/utils/observe.d.ts.map +1 -1
  2188. package/_types/utils/poll.d.ts +2 -0
  2189. package/_types/utils/poll.d.ts.map +1 -1
  2190. package/_types/utils/promise/createBatchScheduler.d.ts +5 -1
  2191. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  2192. package/_types/utils/promise/withCache.d.ts +2 -0
  2193. package/_types/utils/promise/withCache.d.ts.map +1 -1
  2194. package/_types/utils/promise/withRetry.d.ts +2 -0
  2195. package/_types/utils/promise/withRetry.d.ts.map +1 -1
  2196. package/_types/utils/promise/withTimeout.d.ts +3 -1
  2197. package/_types/utils/promise/withTimeout.d.ts.map +1 -1
  2198. package/_types/utils/rpc.d.ts +10 -3
  2199. package/_types/utils/rpc.d.ts.map +1 -1
  2200. package/_types/utils/signature/compactSignatureToHex.d.ts +19 -0
  2201. package/_types/utils/signature/compactSignatureToHex.d.ts.map +1 -0
  2202. package/_types/utils/signature/compactSignatureToSignature.d.ts +24 -0
  2203. package/_types/utils/signature/compactSignatureToSignature.d.ts.map +1 -0
  2204. package/_types/utils/signature/hashMessage.d.ts +5 -0
  2205. package/_types/utils/signature/hashMessage.d.ts.map +1 -1
  2206. package/_types/utils/signature/hashTypedData.d.ts +13 -0
  2207. package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
  2208. package/_types/utils/signature/hexToCompactSignature.d.ts +16 -0
  2209. package/_types/utils/signature/hexToCompactSignature.d.ts.map +1 -0
  2210. package/_types/utils/signature/hexToSignature.d.ts +3 -0
  2211. package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
  2212. package/_types/utils/signature/recoverAddress.d.ts +2 -0
  2213. package/_types/utils/signature/recoverAddress.d.ts.map +1 -1
  2214. package/_types/utils/signature/recoverMessageAddress.d.ts +4 -0
  2215. package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -1
  2216. package/_types/utils/signature/recoverPublicKey.d.ts +4 -0
  2217. package/_types/utils/signature/recoverPublicKey.d.ts.map +1 -1
  2218. package/_types/utils/signature/recoverTypedDataAddress.d.ts +4 -0
  2219. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -1
  2220. package/_types/utils/signature/signatureToCompactSignature.d.ts +23 -0
  2221. package/_types/utils/signature/signatureToCompactSignature.d.ts.map +1 -0
  2222. package/_types/utils/signature/signatureToHex.d.ts +4 -0
  2223. package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
  2224. package/_types/utils/signature/verifyMessage.d.ts +5 -0
  2225. package/_types/utils/signature/verifyMessage.d.ts.map +1 -1
  2226. package/_types/utils/signature/verifyTypedData.d.ts +5 -0
  2227. package/_types/utils/signature/verifyTypedData.d.ts.map +1 -1
  2228. package/_types/utils/stringify.d.ts +2 -0
  2229. package/_types/utils/stringify.d.ts.map +1 -1
  2230. package/_types/utils/transaction/assertRequest.d.ts +6 -0
  2231. package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
  2232. package/_types/utils/transaction/assertTransaction.d.ts +9 -0
  2233. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
  2234. package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -0
  2235. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
  2236. package/_types/utils/transaction/getTransactionType.d.ts +3 -0
  2237. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  2238. package/_types/utils/transaction/parseTransaction.d.ts +19 -2
  2239. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  2240. package/_types/utils/transaction/serializeAccessList.d.ts +5 -0
  2241. package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -1
  2242. package/_types/utils/transaction/serializeTransaction.d.ts +13 -1
  2243. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  2244. package/_types/utils/typedData.d.ts +8 -0
  2245. package/_types/utils/typedData.d.ts.map +1 -1
  2246. package/_types/utils/unit/formatEther.d.ts +2 -0
  2247. package/_types/utils/unit/formatEther.d.ts.map +1 -1
  2248. package/_types/utils/unit/formatGwei.d.ts +2 -0
  2249. package/_types/utils/unit/formatGwei.d.ts.map +1 -1
  2250. package/_types/utils/unit/formatUnits.d.ts +2 -0
  2251. package/_types/utils/unit/formatUnits.d.ts.map +1 -1
  2252. package/_types/utils/unit/parseEther.d.ts +3 -0
  2253. package/_types/utils/unit/parseEther.d.ts.map +1 -1
  2254. package/_types/utils/unit/parseGwei.d.ts +3 -0
  2255. package/_types/utils/unit/parseGwei.d.ts.map +1 -1
  2256. package/_types/utils/unit/parseUnits.d.ts +2 -0
  2257. package/_types/utils/unit/parseUnits.d.ts.map +1 -1
  2258. package/accounts/generateMnemonic.ts +3 -0
  2259. package/accounts/generatePrivateKey.ts +4 -1
  2260. package/accounts/hdKeyToAccount.ts +11 -2
  2261. package/accounts/index.ts +46 -11
  2262. package/accounts/mnemonicToAccount.ts +7 -1
  2263. package/accounts/privateKeyToAccount.ts +25 -6
  2264. package/accounts/toAccount.ts +14 -2
  2265. package/accounts/utils/parseAccount.ts +3 -0
  2266. package/accounts/utils/privateKeyToAddress.ts +14 -2
  2267. package/accounts/utils/publicKeyToAddress.ts +14 -2
  2268. package/accounts/utils/sign.ts +5 -1
  2269. package/accounts/utils/signMessage.ts +17 -3
  2270. package/accounts/utils/signTransaction.ts +12 -2
  2271. package/accounts/utils/signTypedData.ts +16 -3
  2272. package/actions/ens/getEnsAddress.ts +36 -9
  2273. package/actions/ens/getEnsAvatar.ts +20 -3
  2274. package/actions/ens/getEnsName.ts +23 -4
  2275. package/actions/ens/getEnsResolver.ts +21 -4
  2276. package/actions/ens/getEnsText.ts +33 -7
  2277. package/actions/getContract.ts +258 -83
  2278. package/actions/index.ts +111 -14
  2279. package/actions/public/call.ts +65 -15
  2280. package/actions/public/createBlockFilter.ts +4 -0
  2281. package/actions/public/createContractEventFilter.ts +14 -2
  2282. package/actions/public/createEventFilter.ts +13 -1
  2283. package/actions/public/createPendingTransactionFilter.ts +6 -0
  2284. package/actions/public/estimateContractGas.ts +36 -6
  2285. package/actions/public/estimateFeesPerGas.ts +19 -4
  2286. package/actions/public/estimateGas.ts +25 -7
  2287. package/actions/public/estimateMaxPriorityFeePerGas.ts +27 -8
  2288. package/actions/public/getBalance.ts +11 -1
  2289. package/actions/public/getBlock.ts +16 -2
  2290. package/actions/public/getBlockNumber.ts +6 -4
  2291. package/actions/public/getBlockTransactionCount.ts +16 -2
  2292. package/actions/public/getBytecode.ts +11 -1
  2293. package/actions/public/getChainId.ts +11 -1
  2294. package/actions/public/getContractEvents.ts +169 -0
  2295. package/actions/public/getFeeHistory.ts +14 -2
  2296. package/actions/public/getFilterChanges.ts +16 -2
  2297. package/actions/public/getFilterLogs.ts +16 -2
  2298. package/actions/public/getGasPrice.ts +4 -0
  2299. package/actions/public/getLogs.ts +23 -3
  2300. package/actions/public/getProof.ts +93 -0
  2301. package/actions/public/getStorageAt.ts +11 -1
  2302. package/actions/public/getTransaction.ts +11 -1
  2303. package/actions/public/getTransactionConfirmations.ts +17 -4
  2304. package/actions/public/getTransactionCount.ts +16 -2
  2305. package/actions/public/getTransactionReceipt.ts +11 -1
  2306. package/actions/public/multicall.ts +32 -6
  2307. package/actions/public/readContract.ts +29 -6
  2308. package/actions/public/simulateContract.ts +68 -15
  2309. package/actions/public/uninstallFilter.ts +4 -0
  2310. package/actions/public/verifyHash.ts +23 -4
  2311. package/actions/public/verifyMessage.ts +13 -2
  2312. package/actions/public/verifyTypedData.ts +16 -3
  2313. package/actions/public/waitForTransactionReceipt.ts +36 -9
  2314. package/actions/public/watchBlockNumber.ts +9 -2
  2315. package/actions/public/watchBlocks.ts +18 -5
  2316. package/actions/public/watchContractEvent.ts +35 -23
  2317. package/actions/public/watchEvent.ts +20 -7
  2318. package/actions/public/watchPendingTransactions.ts +15 -5
  2319. package/actions/test/dropTransaction.ts +4 -0
  2320. package/actions/test/getAutomine.ts +4 -0
  2321. package/actions/test/getTxpoolContent.ts +4 -0
  2322. package/actions/test/getTxpoolStatus.ts +4 -0
  2323. package/actions/test/impersonateAccount.ts +4 -0
  2324. package/actions/test/increaseTime.ts +4 -0
  2325. package/actions/test/inspectTxpool.ts +4 -0
  2326. package/actions/test/mine.ts +4 -0
  2327. package/actions/test/removeBlockTimestampInterval.ts +4 -0
  2328. package/actions/test/reset.ts +4 -0
  2329. package/actions/test/revert.ts +4 -0
  2330. package/actions/test/sendUnsignedTransaction.ts +8 -4
  2331. package/actions/test/setAutomine.ts +4 -0
  2332. package/actions/test/setBalance.ts +4 -0
  2333. package/actions/test/setBlockGasLimit.ts +4 -0
  2334. package/actions/test/setBlockTimestampInterval.ts +10 -1
  2335. package/actions/test/setCode.ts +4 -0
  2336. package/actions/test/setCoinbase.ts +4 -0
  2337. package/actions/test/setIntervalMining.ts +10 -1
  2338. package/actions/test/setLoggingEnabled.ts +4 -0
  2339. package/actions/test/setMinGasPrice.ts +4 -0
  2340. package/actions/test/setNextBlockBaseFeePerGas.ts +4 -0
  2341. package/actions/test/setNextBlockTimestamp.ts +4 -0
  2342. package/actions/test/setNonce.ts +4 -0
  2343. package/actions/test/setRpcUrl.ts +4 -0
  2344. package/actions/test/setStorageAt.ts +4 -0
  2345. package/actions/test/snapshot.ts +4 -0
  2346. package/actions/test/stopImpersonatingAccount.ts +4 -0
  2347. package/actions/wallet/addChain.ts +11 -1
  2348. package/actions/wallet/deployContract.ts +4 -0
  2349. package/actions/wallet/getAddresses.ts +12 -1
  2350. package/actions/wallet/getPermissions.ts +4 -0
  2351. package/actions/wallet/prepareTransactionRequest.ts +45 -10
  2352. package/actions/wallet/requestAddresses.ts +4 -0
  2353. package/actions/wallet/requestPermissions.ts +4 -0
  2354. package/actions/wallet/sendRawTransaction.ts +5 -1
  2355. package/actions/wallet/sendTransaction.ts +54 -14
  2356. package/actions/wallet/signMessage.ts +19 -2
  2357. package/actions/wallet/signTransaction.ts +31 -7
  2358. package/actions/wallet/signTypedData.ts +26 -4
  2359. package/actions/wallet/switchChain.ts +11 -1
  2360. package/actions/wallet/watchAsset.ts +3 -0
  2361. package/actions/wallet/writeContract.ts +19 -13
  2362. package/chains/celo/formatters.ts +35 -14
  2363. package/chains/celo/parsers.ts +82 -1
  2364. package/chains/celo/serializers.ts +109 -33
  2365. package/chains/celo/types.ts +82 -15
  2366. package/chains/celo/utils.ts +68 -0
  2367. package/chains/definitions/arbitrum.ts +1 -14
  2368. package/chains/definitions/arbitrumGoerli.ts +3 -15
  2369. package/chains/definitions/arbitrumNova.ts +1 -14
  2370. package/chains/definitions/arbitrumSepolia.ts +29 -0
  2371. package/chains/definitions/astar.ts +26 -0
  2372. package/chains/definitions/astarZkatana.ts +39 -0
  2373. package/chains/definitions/aurora.ts +1 -5
  2374. package/chains/definitions/auroraTestnet.ts +1 -5
  2375. package/chains/definitions/avalanche.ts +1 -4
  2376. package/chains/definitions/avalancheFuji.ts +1 -4
  2377. package/chains/definitions/base.ts +20 -40
  2378. package/chains/definitions/baseGoerli.ts +21 -39
  2379. package/chains/definitions/baseSepolia.ts +30 -0
  2380. package/chains/definitions/bearNetworkChainMainnet.ts +1 -3
  2381. package/chains/definitions/bearNetworkChainTestnet.ts +1 -3
  2382. package/chains/definitions/boba.ts +1 -4
  2383. package/chains/definitions/bronos.ts +1 -3
  2384. package/chains/definitions/bronosTestnet.ts +1 -3
  2385. package/chains/definitions/bsc.ts +1 -4
  2386. package/chains/definitions/bscTestnet.ts +1 -4
  2387. package/chains/definitions/bxn.ts +1 -5
  2388. package/chains/definitions/bxnTestnet.ts +1 -5
  2389. package/chains/definitions/canto.ts +1 -3
  2390. package/chains/definitions/celo.ts +25 -37
  2391. package/chains/definitions/celoAlfajores.ts +26 -38
  2392. package/chains/definitions/celoCannoli.ts +26 -34
  2393. package/chains/definitions/classic.ts +1 -3
  2394. package/chains/definitions/confluxESpace.ts +1 -5
  2395. package/chains/definitions/coreDao.ts +24 -0
  2396. package/chains/definitions/cronos.ts +1 -3
  2397. package/chains/definitions/cronosTestnet.ts +1 -3
  2398. package/chains/definitions/crossbell.ts +1 -5
  2399. package/chains/definitions/dfk.ts +1 -9
  2400. package/chains/definitions/dogechain.ts +1 -7
  2401. package/chains/definitions/edgeware.ts +1 -4
  2402. package/chains/definitions/edgewareTestnet.ts +1 -7
  2403. package/chains/definitions/ekta.ts +1 -3
  2404. package/chains/definitions/ektaTestnet.ts +1 -3
  2405. package/chains/definitions/eon.ts +1 -3
  2406. package/chains/definitions/eos.ts +1 -7
  2407. package/chains/definitions/eosTestnet.ts +1 -7
  2408. package/chains/definitions/evmos.ts +1 -3
  2409. package/chains/definitions/evmosTestnet.ts +1 -3
  2410. package/chains/definitions/fantom.ts +1 -4
  2411. package/chains/definitions/fantomTestnet.ts +1 -4
  2412. package/chains/definitions/fibo.ts +1 -3
  2413. package/chains/definitions/filecoin.ts +1 -6
  2414. package/chains/definitions/filecoinCalibration.ts +1 -3
  2415. package/chains/definitions/filecoinHyperspace.ts +1 -4
  2416. package/chains/definitions/flare.ts +1 -3
  2417. package/chains/definitions/flareTestnet.ts +1 -3
  2418. package/chains/definitions/foundry.ts +1 -6
  2419. package/chains/definitions/fuse.ts +7 -3
  2420. package/chains/definitions/fuseSparknet.ts +1 -3
  2421. package/chains/definitions/gnosis.ts +5 -8
  2422. package/chains/definitions/gnosisChiado.ts +11 -4
  2423. package/chains/definitions/gobi.ts +1 -3
  2424. package/chains/definitions/goerli.ts +1 -17
  2425. package/chains/definitions/haqqMainnet.ts +1 -5
  2426. package/chains/definitions/haqqTestedge2.ts +1 -5
  2427. package/chains/definitions/hardhat.ts +1 -3
  2428. package/chains/definitions/harmonyOne.ts +1 -3
  2429. package/chains/definitions/holesky.ts +7 -6
  2430. package/chains/definitions/iotex.ts +1 -6
  2431. package/chains/definitions/iotexTestnet.ts +1 -6
  2432. package/chains/definitions/kava.ts +26 -0
  2433. package/chains/definitions/kavaTestnet.ts +29 -0
  2434. package/chains/definitions/klaytn.ts +1 -4
  2435. package/chains/definitions/kroma.ts +1 -5
  2436. package/chains/definitions/kromaSepolia.ts +1 -5
  2437. package/chains/definitions/linea.ts +1 -18
  2438. package/chains/definitions/lineaTestnet.ts +1 -18
  2439. package/chains/definitions/localhost.ts +1 -3
  2440. package/chains/definitions/mainnet.ts +3 -19
  2441. package/chains/definitions/manta.ts +32 -0
  2442. package/chains/definitions/mantaTestnet.ts +33 -0
  2443. package/chains/definitions/mantle.ts +1 -7
  2444. package/chains/definitions/mantleTestnet.ts +1 -7
  2445. package/chains/definitions/meter.ts +1 -3
  2446. package/chains/definitions/meterTestnet.ts +1 -3
  2447. package/chains/definitions/metis.ts +1 -3
  2448. package/chains/definitions/metisGoerli.ts +1 -3
  2449. package/chains/definitions/mev.ts +1 -5
  2450. package/chains/definitions/mevTestnet.ts +1 -5
  2451. package/chains/definitions/modeTestnet.ts +7 -5
  2452. package/chains/definitions/moonbaseAlpha.ts +1 -10
  2453. package/chains/definitions/moonbeam.ts +1 -10
  2454. package/chains/definitions/moonbeamDev.ts +17 -0
  2455. package/chains/definitions/moonriver.ts +1 -10
  2456. package/chains/definitions/neonDevnet.ts +2 -6
  2457. package/chains/definitions/neonMainnet.ts +24 -0
  2458. package/chains/definitions/nexi.ts +1 -9
  2459. package/chains/definitions/nexilix.ts +1 -4
  2460. package/chains/definitions/oasys.ts +1 -5
  2461. package/chains/definitions/okc.ts +1 -3
  2462. package/chains/definitions/opBNB.ts +1 -4
  2463. package/chains/definitions/opBNBTestnet.ts +1 -3
  2464. package/chains/definitions/optimism.ts +20 -40
  2465. package/chains/definitions/optimismGoerli.ts +21 -41
  2466. package/chains/definitions/optimismSepolia.ts +27 -0
  2467. package/chains/definitions/plinga.ts +1 -5
  2468. package/chains/definitions/polygon.ts +1 -17
  2469. package/chains/definitions/polygonMumbai.ts +1 -17
  2470. package/chains/definitions/polygonZkEvm.ts +1 -5
  2471. package/chains/definitions/polygonZkEvmTestnet.ts +1 -9
  2472. package/chains/definitions/pulsechain.ts +1 -6
  2473. package/chains/definitions/pulsechainV4.ts +1 -6
  2474. package/chains/definitions/qMainnet.ts +1 -3
  2475. package/chains/definitions/qTestnet.ts +1 -3
  2476. package/chains/definitions/rollux.ts +1 -3
  2477. package/chains/definitions/rolluxTestnet.ts +1 -3
  2478. package/chains/definitions/ronin.ts +1 -5
  2479. package/chains/definitions/saigon.ts +1 -5
  2480. package/chains/definitions/scroll.ts +26 -0
  2481. package/chains/definitions/scrollSepolia.ts +1 -7
  2482. package/chains/definitions/scrollTestnet.ts +1 -6
  2483. package/chains/definitions/sepolia.ts +2 -18
  2484. package/chains/definitions/shardeumSphinx.ts +1 -5
  2485. package/chains/definitions/skale/brawl.ts +1 -10
  2486. package/chains/definitions/skale/calypso.ts +1 -12
  2487. package/chains/definitions/skale/calypsoTestnet.ts +1 -14
  2488. package/chains/definitions/skale/chaosTestnet.ts +1 -14
  2489. package/chains/definitions/skale/cryptoBlades.ts +1 -12
  2490. package/chains/definitions/skale/cryptoColosseum.ts +1 -10
  2491. package/chains/definitions/skale/europa.ts +1 -10
  2492. package/chains/definitions/skale/europaTestnet.ts +1 -12
  2493. package/chains/definitions/skale/exorde.ts +1 -10
  2494. package/chains/definitions/skale/humanProtocol.ts +1 -10
  2495. package/chains/definitions/skale/nebula.ts +1 -10
  2496. package/chains/definitions/skale/nebulaTestnet.ts +1 -12
  2497. package/chains/definitions/skale/razor.ts +1 -10
  2498. package/chains/definitions/skale/titan.ts +1 -10
  2499. package/chains/definitions/skale/titanTestnet.ts +1 -14
  2500. package/chains/definitions/songbird.ts +1 -3
  2501. package/chains/definitions/songbirdTestnet.ts +1 -3
  2502. package/chains/definitions/syscoin.ts +1 -6
  2503. package/chains/definitions/syscoinTestnet.ts +1 -6
  2504. package/chains/definitions/taikoJolnir.ts +1 -5
  2505. package/chains/definitions/taikoTestnetSepolia.ts +1 -5
  2506. package/chains/definitions/taraxa.ts +1 -5
  2507. package/chains/definitions/taraxaTestnet.ts +1 -5
  2508. package/chains/definitions/telos.ts +1 -3
  2509. package/chains/definitions/telosTestnet.ts +1 -3
  2510. package/chains/definitions/tenet.ts +20 -0
  2511. package/chains/definitions/thunderTestnet.ts +1 -5
  2512. package/chains/definitions/vechain.ts +1 -5
  2513. package/chains/definitions/wanchain.ts +1 -12
  2514. package/chains/definitions/wanchainTestnet.ts +1 -9
  2515. package/chains/definitions/xdc.ts +1 -3
  2516. package/chains/definitions/xdcTestnet.ts +1 -3
  2517. package/chains/definitions/zetachainAthensTestnet.ts +1 -5
  2518. package/chains/definitions/zhejiang.ts +1 -13
  2519. package/chains/definitions/zkSync.ts +5 -5
  2520. package/chains/definitions/zkSyncTestnet.ts +5 -5
  2521. package/chains/definitions/zora.ts +23 -32
  2522. package/chains/definitions/zoraSepolia.ts +37 -0
  2523. package/chains/definitions/zoraTestnet.ts +26 -35
  2524. package/chains/index.ts +16 -1
  2525. package/chains/utils.ts +54 -0
  2526. package/chains/zksync/formatters.ts +146 -0
  2527. package/chains/zksync/serializers.ts +124 -0
  2528. package/chains/zksync/types.ts +317 -0
  2529. package/clients/createClient.ts +43 -2
  2530. package/clients/createPublicClient.ts +9 -1
  2531. package/clients/createTestClient.ts +9 -1
  2532. package/clients/createWalletClient.ts +9 -1
  2533. package/clients/decorators/public.ts +100 -7
  2534. package/clients/decorators/wallet.ts +2 -2
  2535. package/clients/transports/createTransport.ts +3 -0
  2536. package/clients/transports/custom.ts +4 -0
  2537. package/clients/transports/fallback.ts +4 -0
  2538. package/clients/transports/http.ts +14 -1
  2539. package/clients/transports/webSocket.ts +11 -3
  2540. package/ens/index.ts +8 -3
  2541. package/errors/abi.ts +87 -0
  2542. package/errors/account.ts +3 -0
  2543. package/errors/address.ts +3 -0
  2544. package/errors/base.ts +1 -0
  2545. package/errors/block.ts +3 -0
  2546. package/errors/ccip.ts +11 -0
  2547. package/errors/chain.ts +17 -0
  2548. package/errors/contract.ts +19 -1
  2549. package/errors/cursor.ts +23 -0
  2550. package/errors/data.ts +6 -0
  2551. package/errors/encoding.ts +14 -30
  2552. package/errors/ens.ts +14 -0
  2553. package/errors/estimateGas.ts +4 -1
  2554. package/errors/fee.ts +9 -0
  2555. package/errors/log.ts +3 -0
  2556. package/errors/node.ts +38 -1
  2557. package/errors/request.ts +12 -0
  2558. package/errors/rpc.ts +81 -0
  2559. package/errors/transaction.ts +36 -1
  2560. package/errors/transport.ts +3 -0
  2561. package/errors/utils.ts +2 -0
  2562. package/errors/version.ts +1 -1
  2563. package/index.ts +573 -100
  2564. package/package.json +38 -45
  2565. package/types/block.ts +5 -0
  2566. package/types/chain.ts +25 -35
  2567. package/types/contract.ts +9 -27
  2568. package/types/eip1193.ts +24 -0
  2569. package/types/misc.ts +4 -3
  2570. package/types/proof.ts +20 -0
  2571. package/types/rpc.ts +2 -0
  2572. package/types/transaction.ts +2 -2
  2573. package/types/utils.ts +1 -1
  2574. package/types/withdrawal.ts +8 -0
  2575. package/utils/abi/decodeAbiParameters.ts +70 -5
  2576. package/utils/abi/decodeDeployData.ts +13 -1
  2577. package/utils/abi/decodeErrorResult.ts +21 -5
  2578. package/utils/abi/decodeEventLog.ts +37 -16
  2579. package/utils/abi/decodeFunctionData.ts +19 -5
  2580. package/utils/abi/decodeFunctionResult.ts +15 -2
  2581. package/utils/abi/encodeAbiParameters.ts +87 -7
  2582. package/utils/abi/encodeDeployData.ts +13 -3
  2583. package/utils/abi/encodeErrorResult.ts +20 -5
  2584. package/utils/abi/encodeEventTopics.ts +36 -9
  2585. package/utils/abi/encodeFunctionData.ts +25 -6
  2586. package/utils/abi/encodeFunctionResult.ts +13 -2
  2587. package/utils/abi/encodePacked.ts +35 -5
  2588. package/utils/abi/formatAbiItem.ts +14 -1
  2589. package/utils/abi/formatAbiItemWithArgs.ts +3 -0
  2590. package/utils/abi/getAbiItem.ts +16 -4
  2591. package/utils/address/getAddress.ts +16 -3
  2592. package/utils/address/getContractAddress.ts +49 -22
  2593. package/utils/address/isAddress.ts +3 -0
  2594. package/utils/address/isAddressEqual.ts +8 -2
  2595. package/utils/buildRequest.ts +62 -2
  2596. package/utils/ccip.ts +6 -1
  2597. package/utils/chain/assertCurrentChain.ts +27 -0
  2598. package/utils/chain/defineChain.ts +14 -0
  2599. package/utils/chain/extractChain.ts +33 -0
  2600. package/utils/chain/getChainContractAddress.ts +41 -0
  2601. package/utils/cursor.ts +182 -0
  2602. package/utils/data/concat.ts +15 -5
  2603. package/utils/data/isBytes.ts +3 -0
  2604. package/utils/data/isBytesEqual.ts +8 -2
  2605. package/utils/data/isHex.ts +3 -0
  2606. package/utils/data/pad.ts +11 -1
  2607. package/utils/data/size.ts +4 -1
  2608. package/utils/data/slice.ts +33 -3
  2609. package/utils/data/trim.ts +3 -0
  2610. package/utils/encoding/fromBytes.ts +44 -8
  2611. package/utils/encoding/fromHex.ts +35 -3
  2612. package/utils/encoding/fromRlp.ts +96 -97
  2613. package/utils/encoding/toBytes.ts +67 -14
  2614. package/utils/encoding/toHex.ts +28 -6
  2615. package/utils/encoding/toRlp.ts +114 -30
  2616. package/utils/ens/avatar/parseAvatarRecord.ts +21 -0
  2617. package/utils/ens/avatar/utils.ts +41 -1
  2618. package/utils/ens/encodeLabelhash.ts +3 -0
  2619. package/utils/ens/encodedLabelToLabelhash.ts +4 -1
  2620. package/utils/ens/errors.ts +3 -0
  2621. package/utils/ens/labelhash.ts +18 -4
  2622. package/utils/ens/namehash.ts +23 -5
  2623. package/utils/ens/normalize.ts +3 -0
  2624. package/utils/ens/packetToBytes.ts +16 -3
  2625. package/utils/errors/getCallError.ts +29 -8
  2626. package/utils/errors/getContractError.ts +35 -19
  2627. package/utils/errors/getEstimateGasError.ts +27 -8
  2628. package/utils/errors/getNodeError.ts +49 -17
  2629. package/utils/errors/getTransactionError.ts +27 -8
  2630. package/utils/formatters/block.ts +6 -1
  2631. package/utils/formatters/extract.ts +23 -9
  2632. package/utils/formatters/feeHistory.ts +3 -0
  2633. package/utils/formatters/formatter.ts +4 -1
  2634. package/utils/formatters/log.ts +3 -0
  2635. package/utils/formatters/proof.ts +24 -0
  2636. package/utils/formatters/transaction.ts +6 -1
  2637. package/utils/formatters/transactionReceipt.ts +8 -1
  2638. package/utils/formatters/transactionRequest.ts +8 -1
  2639. package/utils/getAction.ts +13 -0
  2640. package/utils/hash/getEventSelector.ts +13 -6
  2641. package/utils/hash/getEventSignature.ts +15 -0
  2642. package/utils/hash/getFunctionSelector.ts +19 -6
  2643. package/utils/hash/getFunctionSignature.ts +19 -0
  2644. package/utils/hash/hashFunction.ts +23 -9
  2645. package/utils/hash/isHash.ts +5 -2
  2646. package/utils/hash/keccak256.ts +10 -3
  2647. package/utils/hash/normalizeSignature.ts +64 -0
  2648. package/utils/index.ts +246 -56
  2649. package/utils/observe.ts +3 -0
  2650. package/utils/poll.ts +3 -0
  2651. package/utils/promise/createBatchScheduler.ts +13 -0
  2652. package/utils/promise/withCache.ts +4 -0
  2653. package/utils/promise/withRetry.ts +3 -0
  2654. package/utils/promise/withTimeout.ts +6 -2
  2655. package/utils/rpc.ts +31 -10
  2656. package/utils/signature/compactSignatureToHex.ts +29 -0
  2657. package/utils/signature/compactSignatureToSignature.ts +37 -0
  2658. package/utils/signature/hashMessage.ts +16 -3
  2659. package/utils/signature/hashTypedData.ts +46 -4
  2660. package/utils/signature/hexToCompactSignature.ts +28 -0
  2661. package/utils/signature/hexToSignature.ts +7 -1
  2662. package/utils/signature/recoverAddress.ts +4 -0
  2663. package/utils/signature/recoverMessageAddress.ts +12 -2
  2664. package/utils/signature/recoverPublicKey.ts +9 -2
  2665. package/utils/signature/recoverTypedDataAddress.ts +12 -2
  2666. package/utils/signature/signatureToCompactSignature.ts +44 -0
  2667. package/utils/signature/signatureToHex.ts +11 -2
  2668. package/utils/signature/verifyMessage.ts +16 -3
  2669. package/utils/signature/verifyTypedData.ts +12 -2
  2670. package/utils/stringify.ts +4 -0
  2671. package/utils/transaction/assertRequest.ts +27 -4
  2672. package/utils/transaction/assertTransaction.ts +42 -5
  2673. package/utils/transaction/getSerializedTransactionType.ts +13 -3
  2674. package/utils/transaction/getTransactionType.ts +9 -1
  2675. package/utils/transaction/parseTransaction.ts +71 -6
  2676. package/utils/transaction/serializeAccessList.ts +16 -3
  2677. package/utils/transaction/serializeTransaction.ts +65 -9
  2678. package/utils/typedData.ts +22 -4
  2679. package/utils/unit/formatEther.ts +3 -1
  2680. package/utils/unit/formatGwei.ts +3 -1
  2681. package/utils/unit/formatUnits.ts +4 -0
  2682. package/utils/unit/parseEther.ts +4 -1
  2683. package/utils/unit/parseGwei.ts +4 -1
  2684. package/utils/unit/parseUnits.ts +4 -0
  2685. package/_cjs/abi/index.js +0 -17
  2686. package/_cjs/abi/index.js.map +0 -1
  2687. package/_cjs/contract/index.js +0 -52
  2688. package/_cjs/contract/index.js.map +0 -1
  2689. package/_cjs/public/index.js +0 -61
  2690. package/_cjs/public/index.js.map +0 -1
  2691. package/_cjs/test/index.js +0 -60
  2692. package/_cjs/test/index.js.map +0 -1
  2693. package/_cjs/utils/chain.js.map +0 -1
  2694. package/_cjs/utils/contract/extractFunctionParts.js +0 -31
  2695. package/_cjs/utils/contract/extractFunctionParts.js.map +0 -1
  2696. package/_cjs/wallet/index.js +0 -24
  2697. package/_cjs/wallet/index.js.map +0 -1
  2698. package/_esm/abi/index.js +0 -7
  2699. package/_esm/abi/index.js.map +0 -1
  2700. package/_esm/contract/index.js +0 -26
  2701. package/_esm/contract/index.js.map +0 -1
  2702. package/_esm/public/index.js +0 -30
  2703. package/_esm/public/index.js.map +0 -1
  2704. package/_esm/test/index.js +0 -30
  2705. package/_esm/test/index.js.map +0 -1
  2706. package/_esm/utils/chain.js +0 -37
  2707. package/_esm/utils/chain.js.map +0 -1
  2708. package/_esm/utils/contract/extractFunctionParts.js +0 -24
  2709. package/_esm/utils/contract/extractFunctionParts.js.map +0 -1
  2710. package/_esm/wallet/index.js +0 -12
  2711. package/_esm/wallet/index.js.map +0 -1
  2712. package/_types/abi/index.d.ts +0 -6
  2713. package/_types/abi/index.d.ts.map +0 -1
  2714. package/_types/contract/index.d.ts +0 -30
  2715. package/_types/contract/index.d.ts.map +0 -1
  2716. package/_types/public/index.d.ts +0 -33
  2717. package/_types/public/index.d.ts.map +0 -1
  2718. package/_types/test/index.d.ts +0 -29
  2719. package/_types/test/index.d.ts.map +0 -1
  2720. package/_types/utils/chain.d.ts +0 -14
  2721. package/_types/utils/chain.d.ts.map +0 -1
  2722. package/_types/utils/contract/extractFunctionParts.d.ts +0 -13
  2723. package/_types/utils/contract/extractFunctionParts.d.ts.map +0 -1
  2724. package/_types/wallet/index.d.ts +0 -11
  2725. package/_types/wallet/index.d.ts.map +0 -1
  2726. package/abi/index.ts +0 -25
  2727. package/abi/package.json +0 -6
  2728. package/actions/wallet/__snapshots__/deployContract.test.ts.snap +0 -21
  2729. package/contract/index.ts +0 -112
  2730. package/contract/package.json +0 -6
  2731. package/public/index.ts +0 -141
  2732. package/public/package.json +0 -6
  2733. package/test/index.ts +0 -85
  2734. package/test/package.json +0 -6
  2735. package/utils/chain.ts +0 -79
  2736. package/utils/contract/extractFunctionParts.ts +0 -27
  2737. package/wallet/index.ts +0 -46
  2738. package/wallet/package.json +0 -6
package/CHANGELOG.md ADDED
@@ -0,0 +1,2200 @@
1
+ # viem
2
+
3
+ ## 1.18.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1464](https://github.com/wagmi-dev/viem/pull/1464) [`32098af0`](https://github.com/wagmi-dev/viem/commit/32098af0378c47a4032155f8947f88f9990cd25d) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `getFunctionSignature`/`getFunctionSelector` would not parse nested tuples in string-based signatures.
8
+
9
+ ## 1.18.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`46213902`](https://github.com/wagmi-dev/viem/commit/462139026e4e36dd98e4c1da5ff7669f7ffb98ee) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `chain.nativeCurrency` could be undefined.
14
+
15
+ ## 1.18.7
16
+
17
+ ### Patch Changes
18
+
19
+ - [`95991301`](https://github.com/wagmi-dev/viem/commit/95991301c9eb4a3f2a1bcff8ab36d95ff964e13c) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `watchContractEvent` fallback was not scoping events to the provided `eventName`.
20
+
21
+ - [#1453](https://github.com/wagmi-dev/viem/pull/1453) [`e40006aa`](https://github.com/wagmi-dev/viem/commit/e40006aad1941d9c77dfd68b07f1acb99f7c8883) Thanks [@0xRaghu](https://github.com/0xRaghu)! - Added Kava Testnet chain.
22
+
23
+ ## 1.18.6
24
+
25
+ ### Patch Changes
26
+
27
+ - [#1448](https://github.com/wagmi-dev/viem/pull/1448) [`c2fab4a7`](https://github.com/wagmi-dev/viem/commit/c2fab4a78878d46c6aad403f1ad54677632542eb) Thanks [@jxom](https://github.com/jxom)! - Fixed zkSync formatters.
28
+
29
+ - [#1434](https://github.com/wagmi-dev/viem/pull/1434) [`c0da695a`](https://github.com/wagmi-dev/viem/commit/c0da695a76225c7f24ca263f9109e34d8cd93dba) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Fixed an issue where Celo CIP64 transactions were being recognized as EIP1559 transactions.
30
+
31
+ ## 1.18.5
32
+
33
+ ### Patch Changes
34
+
35
+ - [#1438](https://github.com/wagmi-dev/viem/pull/1438) [`8e52fcb8`](https://github.com/wagmi-dev/viem/commit/8e52fcb8565a9fadce4da31e924894881804f9d2) Thanks [@jxom](https://github.com/jxom)! - Fixed legacy EIP-155 transaction serializing.
36
+
37
+ ## 1.18.4
38
+
39
+ ### Patch Changes
40
+
41
+ - [#1423](https://github.com/wagmi-dev/viem/pull/1423) [`c164bfc6`](https://github.com/wagmi-dev/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Updated Klaytn RPC URL.
42
+
43
+ - [#1423](https://github.com/wagmi-dev/viem/pull/1423) [`c164bfc6`](https://github.com/wagmi-dev/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Added Astar chain
44
+
45
+ - [#1435](https://github.com/wagmi-dev/viem/pull/1435) [`08e6a68f`](https://github.com/wagmi-dev/viem/commit/08e6a68f25736c6517b4f5d567a8ff9b3b59bc11) Thanks [@tmm](https://github.com/tmm)! - Fixed protected action types
46
+
47
+ - [#1432](https://github.com/wagmi-dev/viem/pull/1432) [`33631fb2`](https://github.com/wagmi-dev/viem/commit/33631fb2ac281d5804a596c6390b10403cbcfa72) Thanks [@pcdotfan](https://github.com/pcdotfan)! - Removed Scroll Sepolia WebSocket URLs.
48
+
49
+ - [#1423](https://github.com/wagmi-dev/viem/pull/1423) [`c164bfc6`](https://github.com/wagmi-dev/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Added Tenet chain
50
+
51
+ - [#1423](https://github.com/wagmi-dev/viem/pull/1423) [`c164bfc6`](https://github.com/wagmi-dev/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Add Kava chain
52
+
53
+ - [#1423](https://github.com/wagmi-dev/viem/pull/1423) [`c164bfc6`](https://github.com/wagmi-dev/viem/commit/c164bfc6b8beb4243fbe9d222bd03de2814637b2) Thanks [@CJskii](https://github.com/CJskii)! - Added Core Dao chain
54
+
55
+ ## 1.18.3
56
+
57
+ ### Patch Changes
58
+
59
+ - [#1424](https://github.com/wagmi-dev/viem/pull/1424) [`a0052303`](https://github.com/wagmi-dev/viem/commit/a0052303f4b6892fac55c2035fe5675890e4d5bf) Thanks [@filoozom](https://github.com/filoozom)! - Added WebSocket RPCs for Gnosis Chain and Chiado
60
+
61
+ - [#1431](https://github.com/wagmi-dev/viem/pull/1431) [`2244017d`](https://github.com/wagmi-dev/viem/commit/2244017d7603f2253b4faaf6c543c8c7a04f7595) Thanks [@filoozom](https://github.com/filoozom)! - Added the multicall address for Chiado
62
+
63
+ - [#1426](https://github.com/wagmi-dev/viem/pull/1426) [`c81141a5`](https://github.com/wagmi-dev/viem/commit/c81141a5402d9114856c6a706782085905dbfb13) Thanks [@mnedelchev-vn](https://github.com/mnedelchev-vn)! - Added Neon Mainnet chain.
64
+
65
+ ## 1.18.2
66
+
67
+ ### Patch Changes
68
+
69
+ - [#1417](https://github.com/wagmi-dev/viem/pull/1417) [`ba17c65e`](https://github.com/wagmi-dev/viem/commit/ba17c65ee5d7ab4804472784acb545805507cdfe) Thanks [@holic](https://github.com/holic)! - Fixed `concat` parameter type.
70
+
71
+ - [#1415](https://github.com/wagmi-dev/viem/pull/1415) [`5db156aa`](https://github.com/wagmi-dev/viem/commit/5db156aa8b95bc421c82e93b092b2a8bf9b62666) Thanks [@0xKheops](https://github.com/0xKheops)! - Added sorting mechanism to batch scheduler.
72
+
73
+ ## 1.18.1
74
+
75
+ ### Patch Changes
76
+
77
+ - [#1409](https://github.com/wagmi-dev/viem/pull/1409) [`229e2d56`](https://github.com/wagmi-dev/viem/commit/229e2d565d9d07b9208753f46668378dccf3d399) Thanks [@qbzzt](https://github.com/qbzzt)! - Fixed Holesky public RPC URL.
78
+
79
+ ## 1.18.0
80
+
81
+ ### Minor Changes
82
+
83
+ - [#1402](https://github.com/wagmi-dev/viem/pull/1402) [`09778291`](https://github.com/wagmi-dev/viem/commit/0977829160effbe7dac5a69f43d263605544fa19) Thanks [@jxom](https://github.com/jxom)! - Added `extractChain` utility.
84
+
85
+ - [#1388](https://github.com/wagmi-dev/viem/pull/1388) [`d872061d`](https://github.com/wagmi-dev/viem/commit/d872061d1c6a791142027e59e39cfa44d9780631) Thanks [@speeddragon](https://github.com/speeddragon)! - Added ZkSync serializers
86
+
87
+ - [#1379](https://github.com/wagmi-dev/viem/pull/1379) [`fb395900`](https://github.com/wagmi-dev/viem/commit/fb3959009ad79a258316389e29d917869d23ff5e) Thanks [@yerdua](https://github.com/yerdua)! - Added support for Celo CIP-64 transactions
88
+
89
+ - [#1361](https://github.com/wagmi-dev/viem/pull/1361) [`70593019`](https://github.com/wagmi-dev/viem/commit/70593019d364a230a7cec87c2832e2135d8fedb8) Thanks [@speeddragon](https://github.com/speeddragon)! - Added ZkSync formatters.
90
+
91
+ ## 1.17.2
92
+
93
+ ### Patch Changes
94
+
95
+ - [#1399](https://github.com/wagmi-dev/viem/pull/1399) [`210e2b94`](https://github.com/wagmi-dev/viem/commit/210e2b943d6d04ab130151dfdb5a94e590e42fd4) Thanks [@codespool](https://github.com/codespool)! - Added multicall3 contract to astarZkatana
96
+
97
+ - [#1395](https://github.com/wagmi-dev/viem/pull/1395) [`1e206f46`](https://github.com/wagmi-dev/viem/commit/1e206f460ad21e2525bfc28ef89fd524b1dfaf2e) Thanks [@linchengzzz](https://github.com/linchengzzz)! - Added Manta Pacific Mainnet & Testnet
98
+
99
+ ## 1.17.1
100
+
101
+ ### Patch Changes
102
+
103
+ - [#1391](https://github.com/wagmi-dev/viem/pull/1391) [`437c0e5a`](https://github.com/wagmi-dev/viem/commit/437c0e5a023bc551c35e5a65da6f2a6a2e409bd7) Thanks [@IsabellaSmallcombe](https://github.com/IsabellaSmallcombe)! - Add Zora Sepolia Testnet
104
+
105
+ - [#1386](https://github.com/wagmi-dev/viem/pull/1386) [`fad9dc12`](https://github.com/wagmi-dev/viem/commit/fad9dc12eef2c7042db75a9ffa8f6e98e9e8f884) Thanks [@POKENA7](https://github.com/POKENA7)! - Added Astar zkEVM testnet zKatana chain.
106
+
107
+ ## 1.17.0
108
+
109
+ ### Minor Changes
110
+
111
+ - [#1382](https://github.com/wagmi-dev/viem/pull/1382) [`5ac4a631`](https://github.com/wagmi-dev/viem/commit/5ac4a6316edb4076287fcb3c571066c39a917995) Thanks [@jxom](https://github.com/jxom)! - Added ability for Actions (i.e. `readContract`) to infer their internal/dependant Actions (i.e. `call`) from the optionally extended Client.
112
+
113
+ For instance, if an extended Client has overridden the `call` Action, then the `readContract` Action will use that instead of Viem's internal `call` Action.
114
+
115
+ ### Patch Changes
116
+
117
+ - [#1377](https://github.com/wagmi-dev/viem/pull/1377) [`592f03eb`](https://github.com/wagmi-dev/viem/commit/592f03eb3c4d9a3e23716682e0acf8cfa4e65106) Thanks [@okalenyk](https://github.com/okalenyk)! - Added `multicall3` contract to `modeTestnet` chain.
118
+
119
+ ## 1.16.6
120
+
121
+ ### Patch Changes
122
+
123
+ - [#1356](https://github.com/wagmi-dev/viem/pull/1356) [`0da9f886`](https://github.com/wagmi-dev/viem/commit/0da9f886124cea8f8e2f557de68bd94b96e53ac8) Thanks [@AmaxJ](https://github.com/AmaxJ)! - Removed trailing slash from arbiscan goerli blockexplorer url
124
+
125
+ - [`36ec87da`](https://github.com/wagmi-dev/viem/commit/36ec87da7f614f5c6ca9e632eb27f8d8d1bbfcdf) Thanks [@jxom](https://github.com/jxom)! - Modified `getAddresses` to be compatible with Local Accounts.
126
+
127
+ ## 1.16.5
128
+
129
+ ### Patch Changes
130
+
131
+ - [#1347](https://github.com/wagmi-dev/viem/pull/1347) [`541bd152`](https://github.com/wagmi-dev/viem/commit/541bd1528d3fb43edfd713e3dd89f30803a37f97) Thanks [@lukasrosario](https://github.com/lukasrosario)! - Added Base Sepolia
132
+
133
+ - [#1339](https://github.com/wagmi-dev/viem/pull/1339) [`b7ddaf61`](https://github.com/wagmi-dev/viem/commit/b7ddaf61d6a392a8fa6f4550afa505f75c31eca4) Thanks [@jxom](https://github.com/jxom)! - Fixed topics mismatch in `decodeEventLogs` strict mode.
134
+
135
+ - [`b6aace90`](https://github.com/wagmi-dev/viem/commit/b6aace909c8f27c49a393813e2569b98a72083ca) Thanks [@jxom](https://github.com/jxom)! - Fixed `chainId` assignment in `signTransaction` action.
136
+
137
+ ## 1.16.4
138
+
139
+ ### Patch Changes
140
+
141
+ - [#1334](https://github.com/wagmi-dev/viem/pull/1334) [`4862acc5`](https://github.com/wagmi-dev/viem/commit/4862acc51ee86ceddfa55b21bb55667cf10e86a8) Thanks [@izayl](https://github.com/izayl)! - Added Scroll chain
142
+
143
+ ## 1.16.3
144
+
145
+ ### Patch Changes
146
+
147
+ - [`1e13ae83`](https://github.com/wagmi-dev/viem/commit/1e13ae83194da4ca6d829dfd63dd84b11719f497) Thanks [@jxom](https://github.com/jxom)! - Updated holesky RPC URLs.
148
+
149
+ - [#1330](https://github.com/wagmi-dev/viem/pull/1330) [`05a3784a`](https://github.com/wagmi-dev/viem/commit/05a3784a1587cc811fb15cb5b177bf90e123a5a1) Thanks [@holic](https://github.com/holic)! - Fixed `TransactionReceipt['logs']` type.
150
+
151
+ ## 1.16.2
152
+
153
+ ### Patch Changes
154
+
155
+ - [#1325](https://github.com/wagmi-dev/viem/pull/1325) [`e9a54192`](https://github.com/wagmi-dev/viem/commit/e9a54192c5a52db1c0452b08192171bc9304bec7) Thanks [@avasisht23](https://github.com/avasisht23)! - Exported `HttpTransportConfig`.
156
+
157
+ - [`c445acee`](https://github.com/wagmi-dev/viem/commit/c445acee5a3e3a4121521b7e289a9afd882b7400) Thanks [@jxom](https://github.com/jxom)! - Added `fetchOptions` to `http` transport return value.
158
+
159
+ ## 1.16.1
160
+
161
+ ### Patch Changes
162
+
163
+ - [`fda328d2`](https://github.com/wagmi-dev/viem/commit/fda328d26b86f5e2a2d56c898db12eea4e0e1e94) Thanks [@jxom](https://github.com/jxom)! - Updated `isows`.
164
+
165
+ ## 1.16.0
166
+
167
+ ### Minor Changes
168
+
169
+ - [#1316](https://github.com/wagmi-dev/viem/pull/1316) [`ae5c03ad`](https://github.com/wagmi-dev/viem/commit/ae5c03ada92968a6835705fd8017e0a687947152) Thanks [@jxom](https://github.com/jxom)! - Added `getProof`.
170
+
171
+ - [`d27e9943`](https://github.com/wagmi-dev/viem/commit/d27e994361180579fc8e6328ade3dbaf26963803) Thanks [@jxom](https://github.com/jxom)! - Added `withdrawals` & `withdrawalsRoot` to `Block` type.
172
+
173
+ ## 1.15.5
174
+
175
+ ### Patch Changes
176
+
177
+ - [#1312](https://github.com/wagmi-dev/viem/pull/1312) [`d7cff6a3`](https://github.com/wagmi-dev/viem/commit/d7cff6a368e3934874c5be406354226e9f786d38) Thanks [@jxom](https://github.com/jxom)! - Migrated to [isows](https://github.com/wagmi-dev/isows).
178
+
179
+ ## 1.15.4
180
+
181
+ ### Patch Changes
182
+
183
+ - [#1297](https://github.com/wagmi-dev/viem/pull/1297) [`aaaff980`](https://github.com/wagmi-dev/viem/commit/aaaff980569f5e8681a41737531d02fb97c3b788) Thanks [@jxom](https://github.com/jxom)! - Added `null` as a valid value on `TransactionRequestBase['to']` type.
184
+
185
+ - [#1295](https://github.com/wagmi-dev/viem/pull/1295) [`a46a52a7`](https://github.com/wagmi-dev/viem/commit/a46a52a71fbd0e904ce74b0f46683801489bc208) Thanks [@akshatmittal](https://github.com/akshatmittal)! - Added Infura Endpoints for Base
186
+
187
+ ## 1.15.3
188
+
189
+ ### Patch Changes
190
+
191
+ - [`1b159096`](https://github.com/wagmi-dev/viem/commit/1b159096e9727d626410feb58fa6f95a29ba1e9f) Thanks [@jxom](https://github.com/jxom)! - Added ignore glob for snapshots.
192
+
193
+ ## 1.15.2
194
+
195
+ ### Patch Changes
196
+
197
+ - [`fddaf719`](https://github.com/wagmi-dev/viem/commit/fddaf719ac320b8e025693ee9a06815639f95034) Thanks [@jxom](https://github.com/jxom)! - Fixed `getContract` types.
198
+
199
+ ## 1.15.1
200
+
201
+ ### Patch Changes
202
+
203
+ - [`a9f07e80`](https://github.com/wagmi-dev/viem/commit/a9f07e80cacb76433c8ece683f8177a138ef1810) Thanks [@jxom](https://github.com/jxom)! - Removed `type` from `package.json`.
204
+
205
+ ## 1.15.0
206
+
207
+ ### Minor Changes
208
+
209
+ - [#1260](https://github.com/wagmi-dev/viem/pull/1260) [`408ebf49`](https://github.com/wagmi-dev/viem/commit/408ebf49f852ae87438946ae24425cd631c722c5) Thanks [@izayl](https://github.com/izayl)! - Added utilities for EIP-2098 Compact Signatures:
210
+ - `compactSignatureToHex`,
211
+ - `compactSignatureToSignature`,
212
+ - `hexToCompactSignature`,
213
+ - `signatureToCompactSignature`
214
+
215
+ ### Patch Changes
216
+
217
+ - [#1273](https://github.com/wagmi-dev/viem/pull/1273) [`822bc222`](https://github.com/wagmi-dev/viem/commit/822bc2223d95db51e94b226bca0be468ed5150c7) Thanks [@LiorAgnin](https://github.com/LiorAgnin)! - Updated Fuse RPC URL & added multicall3 contract address.
218
+
219
+ - [#1277](https://github.com/wagmi-dev/viem/pull/1277) [`ba7a7465`](https://github.com/wagmi-dev/viem/commit/ba7a7465621585412875d5f28699db2d4b6a59c8) Thanks [@witem](https://github.com/witem)! - Removed `type` field from `package.json`
220
+
221
+ - [#1278](https://github.com/wagmi-dev/viem/pull/1278) [`220d211f`](https://github.com/wagmi-dev/viem/commit/220d211fa92ca667d0b8e432071ead27df682d96) Thanks [@jaybuidl](https://github.com/jaybuidl)! - Added Arbitrum Sepolia chain.
222
+
223
+ ## 1.14.0
224
+
225
+ ### Minor Changes
226
+
227
+ - [#1263](https://github.com/wagmi-dev/viem/pull/1263) [`399a43db`](https://github.com/wagmi-dev/viem/commit/399a43db5e559cd84dafb5c66bfe0a7ad24c2d67) Thanks [@jxom](https://github.com/jxom)! - Added error types for exported modules (e.g. `<Module>ErrorType`). [Read more.](https://viem.sh/docs/error-handling.html)
228
+
229
+ ### Patch Changes
230
+
231
+ - [`52c4c001`](https://github.com/wagmi-dev/viem/commit/52c4c0016a702bdacfb7de69c3f01d62de9af4db) Thanks [@jxom](https://github.com/jxom)! - Fixed typo in `hexToBigInt` export.
232
+
233
+ ## 1.13.2
234
+
235
+ ### Patch Changes
236
+
237
+ - [#1265](https://github.com/wagmi-dev/viem/pull/1265) [`3fd1e788`](https://github.com/wagmi-dev/viem/commit/3fd1e788f2f3a82c943e58fc77a3dc5da1f798cf) Thanks [@mcdee](https://github.com/mcdee)! - Added multicall3 for holesky
238
+
239
+ ## 1.13.1
240
+
241
+ ### Patch Changes
242
+
243
+ - [`61ef4d22`](https://github.com/wagmi-dev/viem/commit/61ef4d224c860e99f3ac82adb8e4c767a77b6dc0) Thanks [@jxom](https://github.com/jxom)! - Fixed `interval` parameter for Hardhat.
244
+
245
+ ## 1.13.0
246
+
247
+ ### Minor Changes
248
+
249
+ - [#1249](https://github.com/wagmi-dev/viem/pull/1249) [`42279c90`](https://github.com/wagmi-dev/viem/commit/42279c90543616248632be45279d12f4167ae8d8) Thanks [@paulmillr](https://github.com/paulmillr)! - Refactored `hexToBytes` to be up to 6x more performant.
250
+
251
+ - [#1215](https://github.com/wagmi-dev/viem/pull/1215) [`6a65c5a3`](https://github.com/wagmi-dev/viem/commit/6a65c5a3c285ea8c7c110659aac4be24cb09c483) Thanks [@jxom](https://github.com/jxom)! - Refactored RLP coding to be up to ~300x more performant.
252
+
253
+ ### Patch Changes
254
+
255
+ - [#1255](https://github.com/wagmi-dev/viem/pull/1255) [`3d3337e3`](https://github.com/wagmi-dev/viem/commit/3d3337e303e407e6983fb99f0a28bc7521dc4a87) Thanks [@CJskii](https://github.com/CJskii)! - Added Core Dao chain
256
+
257
+ ## 1.12.2
258
+
259
+ ### Patch Changes
260
+
261
+ - [#1244](https://github.com/wagmi-dev/viem/pull/1244) [`6fd51b2f`](https://github.com/wagmi-dev/viem/commit/6fd51b2f491e898f89b04f2c5ed1052befe5133d) Thanks [@rkalis](https://github.com/rkalis)! - Added optional `bytecodeHash` parameter to `getContractAddress`.
262
+
263
+ ## 1.12.1
264
+
265
+ ### Patch Changes
266
+
267
+ - [#1242](https://github.com/wagmi-dev/viem/pull/1242) [`44367dbe`](https://github.com/wagmi-dev/viem/commit/44367dbe921cfd12a45d78744758474b67d28791) Thanks [@gymnasy55](https://github.com/gymnasy55)! - Fixed Sepolia multicall3 block created.
268
+
269
+ ## 1.12.0
270
+
271
+ ### Minor Changes
272
+
273
+ - [#1235](https://github.com/wagmi-dev/viem/pull/1235) [`b272af50`](https://github.com/wagmi-dev/viem/commit/b272af507257ed69af3b4cbb5614880ddb0f5ec4) Thanks [@jxom](https://github.com/jxom)! - Added `getContractEvents`.
274
+
275
+ ## 1.11.1
276
+
277
+ ### Patch Changes
278
+
279
+ - [#1234](https://github.com/wagmi-dev/viem/pull/1234) [`1b9d5ecd`](https://github.com/wagmi-dev/viem/commit/1b9d5ecdcbcf8fec0a6fd0f135936b626bef5184) Thanks [@eshaben](https://github.com/eshaben)! - Added Moonbeam development chain.
280
+
281
+ ## 1.11.0
282
+
283
+ ### Minor Changes
284
+
285
+ - [#1162](https://github.com/wagmi-dev/viem/pull/1162) [`8ac2c93d`](https://github.com/wagmi-dev/viem/commit/8ac2c93d2e04f843aee7fc1494967fb35a4dcc66) Thanks [@volkyeth](https://github.com/volkyeth)! - Added `getFunctionSignature` and `getEventSignature`.
286
+
287
+ ### Patch Changes
288
+
289
+ - [#1221](https://github.com/wagmi-dev/viem/pull/1221) [`cf4006f7`](https://github.com/wagmi-dev/viem/commit/cf4006f799bdccfbf5765927a9fde0c20cbd1890) Thanks [@nitaliano](https://github.com/nitaliano)! - Added OP Sepolia
290
+
291
+ ## 1.10.14
292
+
293
+ ### Patch Changes
294
+
295
+ - [#1208](https://github.com/wagmi-dev/viem/pull/1208) [`728eb8b4`](https://github.com/wagmi-dev/viem/commit/728eb8b42f04b4587356c124140299c4879bd2e7) Thanks [@afa7789](https://github.com/afa7789)! - Added Kroma and Kroma Sepolia chains.
296
+
297
+ ## 1.10.13
298
+
299
+ ### Patch Changes
300
+
301
+ - [`f0708c13`](https://github.com/wagmi-dev/viem/commit/f0708c13b231678fb0abb56b23f8247baa9e3235) Thanks [@jxom](https://github.com/jxom)! - Migrated back to `isomorphic-ws`.
302
+
303
+ - [#1204](https://github.com/wagmi-dev/viem/pull/1204) [`353d28d4`](https://github.com/wagmi-dev/viem/commit/353d28d457c662a9c349bd323e3a1616cc9531eb) Thanks [@mcdee](https://github.com/mcdee)! - Added Holesky chain.
304
+
305
+ ## 1.10.12
306
+
307
+ ### Patch Changes
308
+
309
+ - [`165229e9`](https://github.com/wagmi-dev/viem/commit/165229e96a3fa0969adb2a2f171de968a3b4f393) Thanks [@jxom](https://github.com/jxom)! - Fixed `viem/window` entrypoint.
310
+
311
+ ## 1.10.11
312
+
313
+ ### Patch Changes
314
+
315
+ - [#1197](https://github.com/wagmi-dev/viem/pull/1197) [`d1fc5fe0`](https://github.com/wagmi-dev/viem/commit/d1fc5fe01dc14648a628b17606200ed343ef93f6) Thanks [@jxom](https://github.com/jxom)! - Fixed proxy packages.
316
+
317
+ ## 1.10.10
318
+
319
+ ### Patch Changes
320
+
321
+ - [`fa2d8794`](https://github.com/wagmi-dev/viem/commit/fa2d87942f792ee3b87c9ac291c2c82f8c2fc313) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `waitForTransactionReceipt` would throw an error if `receipt.blockNumber` was undefined.
322
+
323
+ - [#1194](https://github.com/wagmi-dev/viem/pull/1194) [`347b1f40`](https://github.com/wagmi-dev/viem/commit/347b1f40702c50745e1f0cc493d52eaee6f405eb) Thanks [@jxom](https://github.com/jxom)! - Fixed `baseFeeMultiplier` calculation.
324
+
325
+ ## 1.10.9
326
+
327
+ ### Patch Changes
328
+
329
+ - [#1182](https://github.com/wagmi-dev/viem/pull/1182) [`5f048586`](https://github.com/wagmi-dev/viem/commit/5f0485869edd55605544c56c07258c8a4dcb2800) Thanks [@MarcusWentz](https://github.com/MarcusWentz)! - Added Chain: Taiko Jolnir L2.
330
+
331
+ - [#1175](https://github.com/wagmi-dev/viem/pull/1175) [`d6972937`](https://github.com/wagmi-dev/viem/commit/d69729375a31fdfa7d92d33ed50d21e954b671f3) Thanks [@avasisht23](https://github.com/avasisht23)! - Added Alchemy RPC URLs for Base chain.
332
+
333
+ ## 1.10.8
334
+
335
+ ### Patch Changes
336
+
337
+ - [#1177](https://github.com/wagmi-dev/viem/pull/1177) [`8d05e410`](https://github.com/wagmi-dev/viem/commit/8d05e410e1db43cbcddab2741e1f7dc22b5ffbec) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where some environments would throw `WebSocket.default is not a constructor`.
338
+
339
+ ## 1.10.7
340
+
341
+ ### Patch Changes
342
+
343
+ - [#1169](https://github.com/wagmi-dev/viem/pull/1169) [`eb37c760`](https://github.com/wagmi-dev/viem/commit/eb37c76077141e1288d1de372ffc6fc62654c322) Thanks [@Songkeys](https://github.com/Songkeys)! - Updated multicall3 address on Crossbell.
344
+
345
+ - [#1170](https://github.com/wagmi-dev/viem/pull/1170) [`828f48e3`](https://github.com/wagmi-dev/viem/commit/828f48e31e992c20c57f4e006e3ec3e8724da7df) Thanks [@jxom](https://github.com/jxom)! - Added `testnet` property to Gnosis Chiadao.
346
+
347
+ ## 1.10.6
348
+
349
+ ### Patch Changes
350
+
351
+ - [#1166](https://github.com/wagmi-dev/viem/pull/1166) [`d828894a`](https://github.com/wagmi-dev/viem/commit/d828894abedcd4eb8a35f04825858f27140fbe2c) Thanks [@jxom](https://github.com/jxom)! - Updated Polygon Mumbai RPC URL.
352
+
353
+ ## 1.10.5
354
+
355
+ ### Patch Changes
356
+
357
+ - [`8fe2467b`](https://github.com/wagmi-dev/viem/commit/8fe2467be17d09fb15a3eccc29f3155887d821af) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` and `estimateMaxPriorityFeePerGas` exports to `viem/actions`.
358
+
359
+ ## 1.10.4
360
+
361
+ ### Patch Changes
362
+
363
+ - [#1153](https://github.com/wagmi-dev/viem/pull/1153) [`040dda64`](https://github.com/wagmi-dev/viem/commit/040dda64340fd70602d951efea1454afe9e7c198) Thanks [@vmichalik](https://github.com/vmichalik)! - Updated Polygon Mumbai RPC URL.
364
+
365
+ ## 1.10.3
366
+
367
+ ### Patch Changes
368
+
369
+ - [#1147](https://github.com/wagmi-dev/viem/pull/1147) [`5001e9f7`](https://github.com/wagmi-dev/viem/commit/5001e9f72cada8be8fed8c858c37d59d1bea8425) Thanks [@holic](https://github.com/holic)! - Fixed `encodePacked` for empty arrays.
370
+
371
+ ## 1.10.2
372
+
373
+ ### Patch Changes
374
+
375
+ - [#1145](https://github.com/wagmi-dev/viem/pull/1145) [`eac50a51`](https://github.com/wagmi-dev/viem/commit/eac50a5138f9e2078e99abda02a9c3468bcd195b) Thanks [@jxom](https://github.com/jxom)! - Support function/event selectors as `name` in `getAbiItem`.
376
+
377
+ - [#1146](https://github.com/wagmi-dev/viem/pull/1146) [`4875a2af`](https://github.com/wagmi-dev/viem/commit/4875a2aff987709f3f94287d9f77895ec99d9590) Thanks [@darrenvechain](https://github.com/darrenvechain)! - Added Vechain chain.
378
+
379
+ ## 1.10.1
380
+
381
+ ### Patch Changes
382
+
383
+ - [`bf2f7ee1`](https://github.com/wagmi-dev/viem/commit/bf2f7ee124af5eb43f0541200e88bd4302680912) Thanks [@jxom](https://github.com/jxom)! - Updated dependencies:
384
+
385
+ - `@adraffy/ens-normalize`
386
+ - `@noble/curves`
387
+ - `@noble/hashes`
388
+ - `@scure/bip32`
389
+ - `@scure/bip39`
390
+ - `abitype`
391
+ - `isomorphic-ws`
392
+ - `ws`
393
+
394
+ ## 1.10.0
395
+
396
+ ### Minor Changes
397
+
398
+ - [#1110](https://github.com/wagmi-dev/viem/pull/1110) [`74c7d276`](https://github.com/wagmi-dev/viem/commit/74c7d276305d4e3db4a4902c247e191ead369abd) Thanks [@jxom](https://github.com/jxom)! - Amended `Chain` type to allow arbitrary `contracts` (as well as contracts that could be dependant on chain).
399
+
400
+ - [#1136](https://github.com/wagmi-dev/viem/pull/1136) [`16699c8c`](https://github.com/wagmi-dev/viem/commit/16699c8c92faccecc4dbd3353879ce5a512bbb35) Thanks [@jxom](https://github.com/jxom)! - Handle CAIP-25 "User Rejected" errors.
401
+
402
+ - [#1120](https://github.com/wagmi-dev/viem/pull/1120) [`0e4d9320`](https://github.com/wagmi-dev/viem/commit/0e4d932079a449fb7268c24eb0f6391e7b05076c) Thanks [@polygomic](https://github.com/polygomic)! - Added Plinga chain
403
+
404
+ - [#1108](https://github.com/wagmi-dev/viem/pull/1108) [`2327aa07`](https://github.com/wagmi-dev/viem/commit/2327aa0741bac51058d7038840bdc2895ead5456) Thanks [@simonzg](https://github.com/simonzg)! - Added Meter chain and Meter Testnet chain
405
+
406
+ - [#1128](https://github.com/wagmi-dev/viem/pull/1128) [`e1728054`](https://github.com/wagmi-dev/viem/commit/e17280544dc113c855166dae0ee634890c8a4e96) Thanks [@karangoraniya](https://github.com/karangoraniya)! - Added opBNB Mainnet and Testnet chains.
407
+
408
+ - [#1117](https://github.com/wagmi-dev/viem/pull/1117) [`a637ba2b`](https://github.com/wagmi-dev/viem/commit/a637ba2b5fc1ffacc1f483ea4be0121528faf3f4) Thanks [@rkalis](https://github.com/rkalis)! - Added `domainSeparator` to calculate domain separator from an EIP712 domain.
409
+
410
+ ### Patch Changes
411
+
412
+ - [#1137](https://github.com/wagmi-dev/viem/pull/1137) [`4159c997`](https://github.com/wagmi-dev/viem/commit/4159c9979788798cca6ebb48f38e2284559850ff) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where non-standard "user rejected" errors where being coalesced into an `UnknownNodeError`.
413
+
414
+ - [`8605c1f1`](https://github.com/wagmi-dev/viem/commit/8605c1f1d048a2d924bd8b83a42b8ce5b0e65900) Thanks [@jxom](https://github.com/jxom)! - Handle `-32603` RPC error codes when deriving a `ContractFunctionRevertedError`.
415
+
416
+ - [#1109](https://github.com/wagmi-dev/viem/pull/1109) [`0a242120`](https://github.com/wagmi-dev/viem/commit/0a2421204f3878e016502f7e2ec98d043ef88cf6) Thanks [@jxom](https://github.com/jxom)! - Removed hardcoded `defaultPriorityFee` on OP Stack chains in favor of fetching it from `eth_maxPriorityFeePerGas`.
417
+
418
+ - [#1112](https://github.com/wagmi-dev/viem/pull/1112) [`7da52244`](https://github.com/wagmi-dev/viem/commit/7da5224467ca5a6368f27734a01b56f53c2c0106) Thanks [@RexCloud](https://github.com/RexCloud)! - Added multicall3 for Scroll Sepolia
419
+
420
+ - [#1139](https://github.com/wagmi-dev/viem/pull/1139) [`86230caf`](https://github.com/wagmi-dev/viem/commit/86230caf872f76975f7f6aaff53a9c9e3b8bfdc7) Thanks [@jxom](https://github.com/jxom)! - Fixed `VerifyMessageParameters` to accept a `raw` property.
421
+
422
+ - [#1138](https://github.com/wagmi-dev/viem/pull/1138) [`101c94f2`](https://github.com/wagmi-dev/viem/commit/101c94f2841056410ed4c32b76672f7fbd1ebabc) Thanks [@jxom](https://github.com/jxom)! - Amended Base chain `nativeCurreny.name` to "Ether".
423
+
424
+ - [#1048](https://github.com/wagmi-dev/viem/pull/1048) [`f33086ef`](https://github.com/wagmi-dev/viem/commit/f33086ef88a1c9650b2b0efa6a034490519eead8) Thanks [@brianathere](https://github.com/brianathere)! - Converted `isomorphic-ws` to a synchronous import.
425
+
426
+ ## 1.9.5
427
+
428
+ ### Patch Changes
429
+
430
+ - [#1105](https://github.com/wagmi-dev/viem/pull/1105) [`9661b9d8`](https://github.com/wagmi-dev/viem/commit/9661b9d8f4d747391f9ffb14b789c727a6831488) Thanks [@dschlabach](https://github.com/dschlabach)! - Added ENS Registry and ENS Universal Resolver for Sepolia.
431
+
432
+ - [#1102](https://github.com/wagmi-dev/viem/pull/1102) [`0edea858`](https://github.com/wagmi-dev/viem/commit/0edea858fe28bd9d7cb7c5b9b8ebde72025cf71d) Thanks [@rkalis](https://github.com/rkalis)! - Fixed bug regarding incorrect bigint->bytes32 conversion in hexToSignature
433
+
434
+ ## 1.9.4
435
+
436
+ ### Patch Changes
437
+
438
+ - [#1098](https://github.com/wagmi-dev/viem/pull/1098) [`970c0f53`](https://github.com/wagmi-dev/viem/commit/970c0f53043241360c108ee2f7c07dd2413ab233) Thanks [@Sz0x](https://github.com/Sz0x)! - Added account hoisting to `call`.
439
+
440
+ ## 1.9.3
441
+
442
+ ### Patch Changes
443
+
444
+ - [#1087](https://github.com/wagmi-dev/viem/pull/1087) [`ac3b7eab`](https://github.com/wagmi-dev/viem/commit/ac3b7eab194d541bcf54098bf22ab068ebfc642a) Thanks [@jxom](https://github.com/jxom)! - Append errors from `aggregate3` to return results if `allowFailure=true` instead of throwing an error.
445
+
446
+ ## 1.9.2
447
+
448
+ ### Patch Changes
449
+
450
+ - [`0b0167ef`](https://github.com/wagmi-dev/viem/commit/0b0167ef7ecdd11d59310d04cde3a074dcf5abcd) Thanks [@jxom](https://github.com/jxom)! - Fixed `PrepareTransactionRequestReturnType` type.
451
+
452
+ ## 1.9.1
453
+
454
+ ### Patch Changes
455
+
456
+ - [#1081](https://github.com/wagmi-dev/viem/pull/1081) [`29ba250f`](https://github.com/wagmi-dev/viem/commit/29ba250f19213348af28e535aac7df176f673ae0) Thanks [@witem](https://github.com/witem)! - Improved multicall performance.
457
+
458
+ ## 1.9.0
459
+
460
+ ### Minor Changes
461
+
462
+ - [`e14eeb3b`](https://github.com/wagmi-dev/viem/commit/e14eeb3bd287a45e0c4fbed81847f7477b3e80e6) Thanks [@jxom](https://github.com/jxom)! - Migrated `@wagmi/chains` into viem and removed the `@wagmi/chains` dependency.
463
+
464
+ ## 1.8.1
465
+
466
+ ### Patch Changes
467
+
468
+ - [#1072](https://github.com/wagmi-dev/viem/pull/1072) [`edf264f3`](https://github.com/wagmi-dev/viem/commit/edf264f385e1bb24d4f7b242d1446124a6d3fcb4) Thanks [@linchengzzz](https://github.com/linchengzzz)! - Added Linea chain.
469
+
470
+ ## 1.8.0
471
+
472
+ ### Minor Changes
473
+
474
+ - [#1058](https://github.com/wagmi-dev/viem/pull/1058) [`533b5900`](https://github.com/wagmi-dev/viem/commit/533b59006b3344b947485ef372f0c78b111f6dc3) Thanks [@jxom](https://github.com/jxom)! - Added `prepareTransactionRequest`, `signTransaction`, and `sendRawTransaction`.
475
+
476
+ ## 1.7.1
477
+
478
+ ### Patch Changes
479
+
480
+ - [`da45ec2d`](https://github.com/wagmi-dev/viem/commit/da45ec2d519ccabef5eef0c4bc8efae05c12bcb3) Thanks [@jxom](https://github.com/jxom)! - Deduped block retrieval in `estimateMaxPriorityFeePerGas`.
481
+
482
+ ## 1.7.0
483
+
484
+ ### Minor Changes
485
+
486
+ - [#1044](https://github.com/wagmi-dev/viem/pull/1044) [`3daedbf5`](https://github.com/wagmi-dev/viem/commit/3daedbf50828c4ea01c5096a05d94e8c7205644f) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` & `estimateMaxPriorityFeesPerGas` Actions.
487
+
488
+ - [#1044](https://github.com/wagmi-dev/viem/pull/1044) [`3daedbf5`](https://github.com/wagmi-dev/viem/commit/3daedbf50828c4ea01c5096a05d94e8c7205644f) Thanks [@jxom](https://github.com/jxom)! - Added `estimateFeesPerGas` & `baseFeeMultiplier` to the Chain Fees configuration (`chain.fees`).
489
+
490
+ ## 1.6.6
491
+
492
+ ### Patch Changes
493
+
494
+ - [#1035](https://github.com/wagmi-dev/viem/pull/1035) [`7981fa99`](https://github.com/wagmi-dev/viem/commit/7981fa994d092f7f638c5a627cb009b8e5a23883) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Added `parseTransactionCelo` to the `viem/chains/utils` entrypoint.
495
+
496
+ ## 1.6.5
497
+
498
+ ### Patch Changes
499
+
500
+ - [#1041](https://github.com/wagmi-dev/viem/pull/1041) [`fa3353e9`](https://github.com/wagmi-dev/viem/commit/fa3353e9de1b27d8471531f1c4d35e7f34f7ef39) Thanks [@jxom](https://github.com/jxom)! - Fixed WebSocket instantiation in React Native environment.
501
+
502
+ ## 1.6.4
503
+
504
+ ### Patch Changes
505
+
506
+ - [#1040](https://github.com/wagmi-dev/viem/pull/1040) [`1e5bd4a0`](https://github.com/wagmi-dev/viem/commit/1e5bd4a000f8e8ebdb71674bca26cfb51eb8f275) Thanks [@jxom](https://github.com/jxom)! - Made `value` optional on `writeContract`/`simulateContract` for `payable` functions.
507
+
508
+ - [#1022](https://github.com/wagmi-dev/viem/pull/1022) [`2eb56bc7`](https://github.com/wagmi-dev/viem/commit/2eb56bc7df4094b1b92f31ad926e72271ff27add) Thanks [@Songkeys](https://github.com/Songkeys)! - Fixed an issue where `waitForTransactionReceipt` would be infinitely pending when an error is thrown after a transaction has been replaced.
509
+
510
+ ## 1.6.3
511
+
512
+ ### Patch Changes
513
+
514
+ - [#1013](https://github.com/wagmi-dev/viem/pull/1013) [`dd1e1028`](https://github.com/wagmi-dev/viem/commit/dd1e102874ef006d55d286b622e74e5d210c2293) Thanks [@avasisht23](https://github.com/avasisht23)! - Added `EIP1193EventMap` type.
515
+
516
+ - [#1033](https://github.com/wagmi-dev/viem/pull/1033) [`51ccc6c9`](https://github.com/wagmi-dev/viem/commit/51ccc6c9453538b98e7e580cec44d9b15f0d3500) Thanks [@skeithc](https://github.com/skeithc)! - Fixed `getEnsAddress` for addresses that start with `0`.
517
+
518
+ ## 1.6.2
519
+
520
+ ### Patch Changes
521
+
522
+ - [#1028](https://github.com/wagmi-dev/viem/pull/1028) [`b8fa9b4e`](https://github.com/wagmi-dev/viem/commit/b8fa9b4e553b8a1568a19bf995af3d496f126245) Thanks [@tmm](https://github.com/tmm)! - Fixed TypeScript 5.1.6 support
523
+
524
+ - [`1a30f344`](https://github.com/wagmi-dev/viem/commit/1a30f344fe061a5d6b8314d8ee9b17856bc711e4) Thanks [@jxom](https://github.com/jxom)! - Fixed number constants.
525
+
526
+ ## 1.6.1
527
+
528
+ ### Patch Changes
529
+
530
+ - [#1011](https://github.com/wagmi-dev/viem/pull/1011) [`582cb017`](https://github.com/wagmi-dev/viem/commit/582cb0170def5c5077dca2f96034eba11f09ec88) Thanks [@dghelm](https://github.com/dghelm)! - Added Scroll Sepolia testnet
531
+
532
+ ## 1.6.0
533
+
534
+ ### Minor Changes
535
+
536
+ - [#984](https://github.com/wagmi-dev/viem/pull/984) [`e1032c7b`](https://github.com/wagmi-dev/viem/commit/e1032c7bd9effb3fb0d57ebf90cdd37c7e1c06c1) Thanks [@holic](https://github.com/holic)! - Added `signTransaction` & `privateKeyToAddress` exports to `viem/accounts` entrypoint.
537
+
538
+ - [#1006](https://github.com/wagmi-dev/viem/pull/1006) [`7311e201`](https://github.com/wagmi-dev/viem/commit/7311e201d273776d93471f459f55dd598a4f6e52) Thanks [@jxom](https://github.com/jxom)! - Added `fees` to `chain` config that includes a `defaultPriorityFee` for setting a default priority fee (`maxPriorityFeePerGas`) for a chain.
539
+
540
+ ```ts
541
+ import type { Chain } from 'viem'
542
+
543
+ export const example = {
544
+ // ...
545
+ fees: {
546
+ defaultPriorityFee: 1_000_000n, // 0.001 gwei
547
+ // or
548
+ async defaultPriorityFee() {
549
+ // ... some async behavior to derive the fee.
550
+ }
551
+ },
552
+ // ...
553
+ } as const satifies Chain
554
+ ```
555
+
556
+ - [#886](https://github.com/wagmi-dev/viem/pull/886) [`fef66bfb`](https://github.com/wagmi-dev/viem/commit/fef66bfbb9d0c9a94f3f607867738432bcbfef85) Thanks [@jxom](https://github.com/jxom)! - Added formatter for Optimism transaction receipts (format `l1GasPrice`, `l1GasUsed`, etc).
557
+
558
+ - [#886](https://github.com/wagmi-dev/viem/pull/886) [`fef66bfb`](https://github.com/wagmi-dev/viem/commit/fef66bfbb9d0c9a94f3f607867738432bcbfef85) Thanks [@jxom](https://github.com/jxom)! - Added entrypoints for chain utilities (`viem/chains/utils`) with exports for chain-specific chains, formatters, serializers, and types.
559
+
560
+ Examples:
561
+
562
+ ```ts
563
+ import {
564
+ type CeloBlock,
565
+ type CeloTransaction,
566
+ type OptimismBlock,
567
+ type OptimismTransaction,
568
+ serializeTransactionCelo,
569
+ } from "viem/chains/utils";
570
+ ```
571
+
572
+ ### Patch Changes
573
+
574
+ - [`99332168`](https://github.com/wagmi-dev/viem/commit/993321689b3e2220976504e7e170fe47731297ce) Thanks [@jxom](https://github.com/jxom)! - Updated `@noble/curves`
575
+
576
+ - [#1008](https://github.com/wagmi-dev/viem/pull/1008) [`9d93953f`](https://github.com/wagmi-dev/viem/commit/9d93953ffc66d70ccbe7e05862edfeadb1334a9e) Thanks [@holic](https://github.com/holic)! - Added `"already known"` as a node message matcher to `NonceTooLowError`.
577
+
578
+ ## 1.5.4
579
+
580
+ ### Patch Changes
581
+
582
+ - [#1000](https://github.com/wagmi-dev/viem/pull/1000) [`4bdbf15b`](https://github.com/wagmi-dev/viem/commit/4bdbf15be0d61b52a195e11c97201e707fb616cc) Thanks [@jxom](https://github.com/jxom)! - Fixed `docsPath` value in `estimateContractGas`.
583
+
584
+ - [#999](https://github.com/wagmi-dev/viem/pull/999) [`de94d81f`](https://github.com/wagmi-dev/viem/commit/de94d81f41689ae9155c1295c8f7b80e4a7c9540) Thanks [@jxom](https://github.com/jxom)! - Support passing `gasPrice` for chains that include `baseFeePerGas` but do not support EIP-1559 Transactions (e.g. BSC).
585
+
586
+ ## 1.5.3
587
+
588
+ ### Patch Changes
589
+
590
+ - [`ae4ab844`](https://github.com/wagmi-dev/viem/commit/ae4ab8442fcdaa073a98a71599762a1cb54c3cf0) Thanks [@jxom](https://github.com/jxom)! - Fixed performance bottleneck in ABI encoding for dynamic bytes.
591
+
592
+ ## 1.5.2
593
+
594
+ ### Patch Changes
595
+
596
+ - [#974](https://github.com/wagmi-dev/viem/pull/974) [`11410bab`](https://github.com/wagmi-dev/viem/commit/11410bab795c390734adab093ab78da127fb68c4) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `getFunctionSelector` & `getEventSelector` were returning incorrect selectors for tuple parameters.
597
+
598
+ ## 1.5.1
599
+
600
+ ### Patch Changes
601
+
602
+ - [#954](https://github.com/wagmi-dev/viem/pull/954) [`e98e2651`](https://github.com/wagmi-dev/viem/commit/e98e2651528e015a62a8c1181a66060dd155124e) Thanks [@jaxernst](https://github.com/jaxernst)! - Added filter reinitialization logic for `watchContractEvent` and `watchEvent` for when a filter has been uninstalled.
603
+
604
+ - [#967](https://github.com/wagmi-dev/viem/pull/967) [`eb8954a0`](https://github.com/wagmi-dev/viem/commit/eb8954a003a198b843835231cb406e88ffccf1d1) Thanks [@Zil-B](https://github.com/Zil-B)! - Moved `@types/ws` into dependencies to fix an issue where required runtime types weren't being exported.
605
+
606
+ ## 1.5.0
607
+
608
+ ### Minor Changes
609
+
610
+ - [#847](https://github.com/wagmi-dev/viem/pull/847) [`1e5d4545`](https://github.com/wagmi-dev/viem/commit/1e5d4545736282c2d8dedb38907f2433ce1c72f4) Thanks [@jxom](https://github.com/jxom)! - Narrowed `getBlock`, `watchBlocks`, `getFilterChanges`, `getFilterLogs` & `getLogs` return types for when `blockTag` or `includeTransactions` is provided.
611
+
612
+ - When `blockTag !== 'pending'`, the return type will now include some non-nullish properties if it were dependent on pending blocks. Example: For `getBlock`, the `block.number` type is now non-nullish since `blockTag !== 'pending'`.
613
+ - On the other hand, when `blockTag: 'pending'`, some properties will be nullish. Example: For `getBlock`, the `block.number` type is now `null` since `blockTag === 'pending'`.
614
+ - When `includeTransactions` is provided, the return type of will narrow the `transactions` property type. Example: `block.transactions` will be `Transaction[]` when `includeTransactions: true` instead of `Hash[] | Transaction[]`.
615
+
616
+ TLDR;
617
+
618
+ ```ts
619
+ // Before
620
+ const block = publicClient.getBlock({ includeTransactions: true });
621
+ block.transactions;
622
+ // ^? Hash[] | Transaction[]
623
+ block.transactions[0].blockNumber;
624
+ // ^? bigint | null
625
+
626
+ // After
627
+ const block = publicClient.getBlock({ includeTransactions: true });
628
+ block.transactions;
629
+ // ^? Transaction[]
630
+ block.transactions[0].blockNumber;
631
+ // ^? bigint
632
+
633
+ // Before
634
+ const block = publicClient.getBlock({
635
+ blockTag: "pending",
636
+ includeTransactions: true,
637
+ });
638
+ block.number;
639
+ // ^? number | null
640
+ block.transactions[0].blockNumber;
641
+ // ^? bigint | null
642
+
643
+ // After
644
+ const block = publicClient.getBlock({
645
+ blockTag: "pending",
646
+ includeTransactions: true,
647
+ });
648
+ block.number;
649
+ // ^? null
650
+ block.transactions[0].blockNumber;
651
+ // ^? null
652
+ ```
653
+
654
+ - [#847](https://github.com/wagmi-dev/viem/pull/847) [`1e5d4545`](https://github.com/wagmi-dev/viem/commit/1e5d4545736282c2d8dedb38907f2433ce1c72f4) Thanks [@jxom](https://github.com/jxom)! - **Type Change**: `TPending` has been added to slot 2 of the `Log` generics.
655
+
656
+ ```diff
657
+ type Log<
658
+ TQuantity = bigint,
659
+ TIndex = number,
660
+ + TPending extends boolean = boolean,
661
+ TAbiEvent extends AbiEvent | undefined = undefined,
662
+ TStrict extends boolean | undefined = undefined,
663
+ TAbi extends Abi | readonly unknown[] = [TAbiEvent],
664
+ TEventName extends string | undefined = TAbiEvent extends AbiEvent
665
+ ? TAbiEvent['name']
666
+ : undefined,
667
+ >
668
+ ```
669
+
670
+ - [#958](https://github.com/wagmi-dev/viem/pull/958) [`f7976fd0`](https://github.com/wagmi-dev/viem/commit/f7976fd0486079247a76ff3d3cecfbc2f6f2dae9) Thanks [@jxom](https://github.com/jxom)! - Added `cacheTime` as a parameter to `getBlockNumber` & `createClient`.
671
+
672
+ - [`28a82125`](https://github.com/wagmi-dev/viem/commit/28a82125f2678ed6ceb3bfaab065bfb9ffc8a367) Thanks [@jxom](https://github.com/jxom)! - Exported number constants (ie. `maxInt128`, `maxUint256`, etc).
673
+
674
+ - [#951](https://github.com/wagmi-dev/viem/pull/951) [`c75d3b60`](https://github.com/wagmi-dev/viem/commit/c75d3b60fbacaf4d3ff23460e91dc2b75baed15d) Thanks [@jxom](https://github.com/jxom)! - Added support for multiple `events` on Filters/Log Actions:
675
+
676
+ - `createEventFilter`
677
+ - `getLogs`
678
+ - `watchEvent`
679
+
680
+ Example:
681
+
682
+ ```ts
683
+ import { parseAbi } from "viem";
684
+ import { publicClient } from "./client";
685
+
686
+ const logs = publicClient.getLogs({
687
+ events: parseAbi([
688
+ "event Approval(address indexed owner, address indexed sender, uint256 value)",
689
+ "event Transfer(address indexed from, address indexed to, uint256 value)",
690
+ ]),
691
+ });
692
+ ```
693
+
694
+ - [#957](https://github.com/wagmi-dev/viem/pull/957) [`7950df80`](https://github.com/wagmi-dev/viem/commit/7950df80c2416772861b7fc99a6d40095725b87c) Thanks [@jxom](https://github.com/jxom)! - Added `hexToSignature` & `signatureToHex`.
695
+
696
+ - [#847](https://github.com/wagmi-dev/viem/pull/847) [`1e5d4545`](https://github.com/wagmi-dev/viem/commit/1e5d4545736282c2d8dedb38907f2433ce1c72f4) Thanks [@jxom](https://github.com/jxom)! - **Type Change**: `TIncludeTransactions` & `TBlockTag` has been added to slot 1 & 2 of the `Block` generics.
697
+
698
+ ```diff
699
+ type Block<
700
+ TQuantity = bigint,
701
+ + TIncludeTransactions extends boolean = boolean,
702
+ + TBlockTag extends BlockTag = BlockTag,
703
+ TTransaction = Transaction<
704
+ bigint,
705
+ number,
706
+ TBlockTag extends 'pending' ? true : false
707
+ >,
708
+ >
709
+ ```
710
+
711
+ ## 1.4.2
712
+
713
+ ### Patch Changes
714
+
715
+ - [#941](https://github.com/wagmi-dev/viem/pull/941) [`12c685a1`](https://github.com/wagmi-dev/viem/commit/12c685a1adc5ab4531d3084cdfa9e281456c4793) Thanks [@jxom](https://github.com/jxom)! - Capture error signatures that do not exist on the ABI in `ContractFunctionRevertedError`.
716
+
717
+ - [#942](https://github.com/wagmi-dev/viem/pull/942) [`e26e356c`](https://github.com/wagmi-dev/viem/commit/e26e356cf43618af23a9a67ee5eaa897921d4160) Thanks [@alexfertel](https://github.com/alexfertel)! - Deprecated `OnLogParameter` & `OnLogFn` in favor of `WatchEventOnLogParameter` & `WatchEventOnLogFn` types.
718
+ Added `WatchContractEventOnLogParameter` & `WatchContractEventOnLogFn` types.
719
+
720
+ ## 1.4.1
721
+
722
+ ### Patch Changes
723
+
724
+ - [`789592dc`](https://github.com/wagmi-dev/viem/commit/789592dc5d4ca264f2ef4f3f0f4fa721fb9522fc) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where calling `encodePacked` with an empty `bytes[]` array would return an `Uint8Array` instead of `Hex` value.
725
+
726
+ - [#922](https://github.com/wagmi-dev/viem/pull/922) [`71c9c933`](https://github.com/wagmi-dev/viem/commit/71c9c9338904d142248a32f1acd99ea25a6e6e58) Thanks [@mikemcdonald](https://github.com/mikemcdonald)! - Fixed an issue where `parseUnits` would throw `Cannot convert to a BigInt` for large numbers with a fraction component.
727
+
728
+ ## 1.4.0
729
+
730
+ ### Minor Changes
731
+
732
+ - [#908](https://github.com/wagmi-dev/viem/pull/908) [`988c65f8`](https://github.com/wagmi-dev/viem/commit/988c65f8218c9ce0549c04b3779efb5f685da75f) Thanks [@moldy530](https://github.com/moldy530)! - Added coin type support for `getEnsAddress`.
733
+
734
+ ### Patch Changes
735
+
736
+ - [#878](https://github.com/wagmi-dev/viem/pull/878) [`4e227303`](https://github.com/wagmi-dev/viem/commit/4e2273036f8bbc7973b13467d7cb9baa2f17a460) Thanks [@salieflewis](https://github.com/salieflewis)! - Exported `Filter` type.
737
+
738
+ ## 1.3.1
739
+
740
+ ### Patch Changes
741
+
742
+ - [#907](https://github.com/wagmi-dev/viem/pull/907) [`319cdb61`](https://github.com/wagmi-dev/viem/commit/319cdb615f0ac6cff0385bb371be9a7da51abe80) Thanks [@Raiden1411](https://github.com/Raiden1411)! - Updated `abitype` to 0.9.3
743
+
744
+ ## 1.3.0
745
+
746
+ ### Minor Changes
747
+
748
+ - [`30a88482`](https://github.com/wagmi-dev/viem/commit/30a88482d541a346990eac9630b7fa1f1550c90a) Thanks [@jxom](https://github.com/jxom)! - Added chains:
749
+ - `base`
750
+ - `mev`
751
+ - `mevTestnet`
752
+
753
+ ## 1.2.15
754
+
755
+ ### Patch Changes
756
+
757
+ - [#885](https://github.com/wagmi-dev/viem/pull/885) [`020c744d`](https://github.com/wagmi-dev/viem/commit/020c744d85e4150b4248407eae8a52ce390cfa9d) Thanks [@TateB](https://github.com/TateB)! - Added `null` resolver check to ENS Actions.
758
+
759
+ ## 1.2.14
760
+
761
+ ### Patch Changes
762
+
763
+ - [#883](https://github.com/wagmi-dev/viem/pull/883) [`ad96d39f`](https://github.com/wagmi-dev/viem/commit/ad96d39f6c9266dc6965013e255990952fa9323d) Thanks [@tmm](https://github.com/tmm)! - Exported missing types
764
+
765
+ ## 1.2.13
766
+
767
+ ### Patch Changes
768
+
769
+ - [#874](https://github.com/wagmi-dev/viem/pull/874) [`a9bc9f6d`](https://github.com/wagmi-dev/viem/commit/a9bc9f6d182052a536e51dc6fa75afda91de331a) Thanks [@Alexsey](https://github.com/Alexsey)! - Fixed `BaseError.walk` to return `null` if the predicate callback is not satisfied.
770
+
771
+ ## 1.2.12
772
+
773
+ ### Patch Changes
774
+
775
+ - [#864](https://github.com/wagmi-dev/viem/pull/864) [`b851c41b`](https://github.com/wagmi-dev/viem/commit/b851c41b87dce60af6be1e518e3c7a1b16e99b63) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `dataSuffix` was not being provided to the `request` returned from `simulateTransaction`.
776
+
777
+ ## 1.2.11
778
+
779
+ ### Minor Changes
780
+
781
+ - [#857](https://github.com/wagmi-dev/viem/pull/857) [`513a7b9a`](https://github.com/wagmi-dev/viem/commit/513a7b9a4c037591b0fe4dd4fb4364bf8fed9726) Thanks [@tmm](https://github.com/tmm)! - Prettify-ed client types
782
+
783
+ ## 1.2.10
784
+
785
+ ### Patch Changes
786
+
787
+ - [#853](https://github.com/wagmi-dev/viem/pull/853) [`a955007e`](https://github.com/wagmi-dev/viem/commit/a955007e00f9076f4d2faefb5473df0fb968de8e) Thanks [@johngrantuk](https://github.com/johngrantuk)! - Allow using EIP-1559 transactions on chains with 0 base fee.
788
+
789
+ ## 1.2.9
790
+
791
+ ### Patch Changes
792
+
793
+ - [`d24e5bc4`](https://github.com/wagmi-dev/viem/commit/d24e5bc48100afb62a25c8515874be9fddb4c7c3) Thanks [@jxom](https://github.com/jxom)! - Fixed a race condition in `waitForTransactionReceipt` causing multiple parallel instances to not resolve.
794
+
795
+ ## 1.2.8
796
+
797
+ ### Patch Changes
798
+
799
+ - [#755](https://github.com/wagmi-dev/viem/pull/755) [`064cc09e`](https://github.com/wagmi-dev/viem/commit/064cc09e40dfb0b436b84c01aafdb448928153b3) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Added serializer for Celo CIP-42 transactions.
800
+
801
+ - [#822](https://github.com/wagmi-dev/viem/pull/822) [`9a1e42bd`](https://github.com/wagmi-dev/viem/commit/9a1e42bd5d3ceef6527e04275499bef5ff4b4a39) Thanks [@RielJ](https://github.com/RielJ)! - Added ability to pass `value` to `deployContract`.
802
+
803
+ ## 1.2.7
804
+
805
+ ### Patch Changes
806
+
807
+ - [#825](https://github.com/wagmi-dev/viem/pull/825) [`d9e0a64c`](https://github.com/wagmi-dev/viem/commit/d9e0a64c30011d60f873008ec68baa324f70b7ad) Thanks [@tmm](https://github.com/tmm)! - Exported types.
808
+
809
+ - [#824](https://github.com/wagmi-dev/viem/pull/824) [`9dcec526`](https://github.com/wagmi-dev/viem/commit/9dcec5262c57085f6ff9f220471891e8805ba6b5) Thanks [@frangio](https://github.com/frangio)! - Added missing `package.json#peerDependenciesMeta`.
810
+
811
+ ## 1.2.6
812
+
813
+ ### Patch Changes
814
+
815
+ - [#808](https://github.com/wagmi-dev/viem/pull/808) [`7567f58e`](https://github.com/wagmi-dev/viem/commit/7567f58e808b5cf67e46c151bf0569a2820be7bd) Thanks [@jxom](https://github.com/jxom)! - Fixed `RpcTransaction` type to not include `typeHex`.
816
+
817
+ - [#808](https://github.com/wagmi-dev/viem/pull/808) [`7567f58e`](https://github.com/wagmi-dev/viem/commit/7567f58e808b5cf67e46c151bf0569a2820be7bd) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `TransactionRequest` did not narrow based on type.
818
+
819
+ ## 1.2.5
820
+
821
+ ### Patch Changes
822
+
823
+ - [`81282fc1`](https://github.com/wagmi-dev/viem/commit/81282fc1d9cd4187e2caed051f221b2d4e57ec3a) Thanks [@jxom](https://github.com/jxom)! - Exported `signatureToHex`.
824
+
825
+ ## 1.2.4
826
+
827
+ ### Patch Changes
828
+
829
+ - [`11c844a1`](https://github.com/wagmi-dev/viem/commit/11c844a1804270bfafa903061d1f98605067203d) Thanks [@jxom](https://github.com/jxom)! - Exported `sign` in `viem/accounts`.
830
+
831
+ ## 1.2.3
832
+
833
+ ### Patch Changes
834
+
835
+ - [#802](https://github.com/wagmi-dev/viem/pull/802) [`b610634c`](https://github.com/wagmi-dev/viem/commit/b610634c62547178fe3737dbb37fb8db302e30c6) Thanks [@tmm](https://github.com/tmm)! - Bumped dependencies and exported types.
836
+
837
+ ## 1.2.2
838
+
839
+ ### Patch Changes
840
+
841
+ - [`5a8f59d5`](https://github.com/wagmi-dev/viem/commit/5a8f59d5e1d9df27c6897637346dbfe0bfcb2e62) Thanks [@tmm](https://github.com/tmm)! - Exported type
842
+
843
+ ## 1.2.1
844
+
845
+ ### Patch Changes
846
+
847
+ - [`96cb7534`](https://github.com/wagmi-dev/viem/commit/96cb7534c1be9ab635e70ad463551a29b7f2c553) Thanks [@jxom](https://github.com/jxom)! - Fixed multicall with ABI overrides.
848
+
849
+ ## 1.2.0
850
+
851
+ ### Minor Changes
852
+
853
+ - [#791](https://github.com/wagmi-dev/viem/pull/791) [`98fd9172`](https://github.com/wagmi-dev/viem/commit/98fd9172045c344429d5a716f497e422d85c0348) Thanks [@jxom](https://github.com/jxom)! - Implemented ability to "extend" Clients via `client.extend` & refactored Actions to accept a tree-shakable Client.
854
+
855
+ ## 1.1.8
856
+
857
+ ### Patch Changes
858
+
859
+ - [#783](https://github.com/wagmi-dev/viem/pull/783) [`91e85c76`](https://github.com/wagmi-dev/viem/commit/91e85c76df0ee665fb26dbadd473da5ec87e5029) Thanks [@izayl](https://github.com/izayl)! - Added a static `code` property to RPC Error classes.
860
+
861
+ ## 1.1.7
862
+
863
+ ### Patch Changes
864
+
865
+ - [`d0b4619e`](https://github.com/wagmi-dev/viem/commit/d0b4619e55ee697c9b8e03e9818b93c6a25b3ba2) Thanks [@jxom](https://github.com/jxom)! - Exported `decodeDeployData`.
866
+
867
+ ## 1.1.6
868
+
869
+ ### Patch Changes
870
+
871
+ - [`ec58ed1b`](https://github.com/wagmi-dev/viem/commit/ec58ed1b8be60973817ff401f1bf340fda854208) Thanks [@jxom](https://github.com/jxom)! - Fixed type narrowing on EIP1474 schemas
872
+
873
+ ## 1.1.5
874
+
875
+ ### Patch Changes
876
+
877
+ - [`c4e996b8`](https://github.com/wagmi-dev/viem/commit/c4e996b85404f4083e58c51ea98ac556d8ecd436) Thanks [@jxom](https://github.com/jxom)! - Fixed errorneous type defition being generated by `tsc`.
878
+
879
+ ## 1.1.4
880
+
881
+ ### Patch Changes
882
+
883
+ - [`75745a60`](https://github.com/wagmi-dev/viem/commit/75745a60fc83a13c3bec20ff04829b82d0852c07) Thanks [@jxom](https://github.com/jxom)! - Lax `parseUnits` value parameter.
884
+
885
+ ## 1.1.3
886
+
887
+ ### Patch Changes
888
+
889
+ - [#758](https://github.com/wagmi-dev/viem/pull/758) [`67b628df`](https://github.com/wagmi-dev/viem/commit/67b628df19edead79d8c6ef4755b407b3ce0486f) Thanks [@jxom](https://github.com/jxom)! - Added support for empty string in EIP712Domain name field.
890
+
891
+ ## 1.1.2
892
+
893
+ ### Patch Changes
894
+
895
+ - [`c974c25f`](https://github.com/wagmi-dev/viem/commit/c974c25ff28f9eec5bf5d4030146db2b215614d5) Thanks [@jxom](https://github.com/jxom)! - Added `zora` as a supported chain.
896
+
897
+ ## 1.1.1
898
+
899
+ ### Patch Changes
900
+
901
+ - [`5dd98d3e`](https://github.com/wagmi-dev/viem/commit/5dd98d3e57e993a7cae27030c8c10944cf5e204b) Thanks [@jxom](https://github.com/jxom)! - Exported `formatLog`
902
+
903
+ ## 1.1.0
904
+
905
+ ### Minor Changes
906
+
907
+ - [#691](https://github.com/wagmi-dev/viem/pull/691) [`6e65789f`](https://github.com/wagmi-dev/viem/commit/6e65789fb596ac3e64a9e5e7de1c18257fa50a59) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Added custom chain serializers via `chain.serializers`.
908
+
909
+ - [#740](https://github.com/wagmi-dev/viem/pull/740) [`d435351d`](https://github.com/wagmi-dev/viem/commit/d435351d8637e096b1542da8bb1762858d006363) Thanks [@jxom](https://github.com/jxom)! - Added support for Optimism Deposit Transactions.
910
+
911
+ ### Patch Changes
912
+
913
+ - [#709](https://github.com/wagmi-dev/viem/pull/709) [`043b2cba`](https://github.com/wagmi-dev/viem/commit/043b2cbaf8877ae67cf163d2ea19df9f08eb3808) Thanks [@jxom](https://github.com/jxom)! - Refactored serializable/serialized transaction types.
914
+
915
+ - [#735](https://github.com/wagmi-dev/viem/pull/735) [`e7ee66c8`](https://github.com/wagmi-dev/viem/commit/e7ee66c8f92262def25fe59403f19ecfbac47ad8) Thanks [@holic](https://github.com/holic)! - Fixed block formatting in `watchBlocks` for WebSocket subscriptions.
916
+
917
+ - [`1f3f2834`](https://github.com/wagmi-dev/viem/commit/1f3f2834a443165a71b27d2d0d46fa13532ccdd1) Thanks [@jxom](https://github.com/jxom)! - Added `typeHex` to `Transaction` type.
918
+
919
+ ## 1.0.7
920
+
921
+ ### Patch Changes
922
+
923
+ - [#707](https://github.com/wagmi-dev/viem/pull/707) [`3fc045d1`](https://github.com/wagmi-dev/viem/commit/3fc045d152a11edb698bd86aecb38909f6a3f811) Thanks [@tmm](https://github.com/tmm)! - Made TypeScript requirement explicit (was missing previously).
924
+
925
+ ## 1.0.6
926
+
927
+ ### Patch Changes
928
+
929
+ - [`90fd40ba`](https://github.com/wagmi-dev/viem/commit/90fd40ba0d5b7e248c7494ca5cbfa46eac281753) Thanks [@jxom](https://github.com/jxom)! - Fixed potential nullish `chainId` conflict in `sendTransaction` (for Local Accounts).
930
+
931
+ ## 1.0.5
932
+
933
+ ### Patch Changes
934
+
935
+ - [#699](https://github.com/wagmi-dev/viem/pull/699) [`79d1b4af`](https://github.com/wagmi-dev/viem/commit/79d1b4af5037eee4b408af9d0e3cf5e228d2601d) Thanks [@jxom](https://github.com/jxom)! - Support custom transaction formatters on `sendUnsignedTransaction`.
936
+
937
+ ## 1.0.4
938
+
939
+ ### Patch Changes
940
+
941
+ - [`8407fdcc`](https://github.com/wagmi-dev/viem/commit/8407fdcc16e97a5346a07382c25cb1681a50d5e8) Thanks [@jxom](https://github.com/jxom)! - Fixed fraction length overflow edge-case.
942
+
943
+ ## 1.0.3
944
+
945
+ ### Patch Changes
946
+
947
+ - [#687](https://github.com/wagmi-dev/viem/pull/687) [`a274ab33`](https://github.com/wagmi-dev/viem/commit/a274ab335688ce84d7fa8ca72427de7fe9937b13) Thanks [@jeetiss](https://github.com/jeetiss)! - Added `/*#__PURE__*/` annotatations for better tree-shaking
948
+
949
+ - [#672](https://github.com/wagmi-dev/viem/pull/672) [`e033f467`](https://github.com/wagmi-dev/viem/commit/e033f467082bcfa6f42c490ede1d7df50f497456) Thanks [@sambacha](https://github.com/sambacha)! - Turned off `esModuleInterop` & `allowSyntheticDefaultImports` in tsconfig.
950
+
951
+ - [#683](https://github.com/wagmi-dev/viem/pull/683) [`fe259a0e`](https://github.com/wagmi-dev/viem/commit/fe259a0ed6e4f7e264a7c5c761fea3a8ca68efc9) Thanks [@jeetiss](https://github.com/jeetiss)! - Marked package as side effects free
952
+
953
+ ## 1.0.2
954
+
955
+ ### Patch Changes
956
+
957
+ - [#677](https://github.com/wagmi-dev/viem/pull/677) [`a0a2ebb`](https://github.com/wagmi-dev/viem/commit/a0a2ebb6b53354be1c1492eed3bfd1b218ac71e4) Thanks [@hexcowboy](https://github.com/hexcowboy)! - Added ability to pass an `AbiFunction` to `getFunctionSelector`, and `AbiEvent` to `getEventSelector`.
958
+
959
+ ## 1.0.1
960
+
961
+ ### Patch Changes
962
+
963
+ - [#675](https://github.com/wagmi-dev/viem/pull/675) [`61429677`](https://github.com/wagmi-dev/viem/commit/61429677b28ad5ce8240a4278ef0f0cc1587b57a) Thanks [@tmm](https://github.com/tmm)! - Fixed payable `value` type inference.
964
+
965
+ ## 1.0.0
966
+
967
+ ### [Migration Guide](https://viem.sh/docs/migration-guide.html)
968
+
969
+ ### Major Changes
970
+
971
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Released v1.
972
+
973
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - **Breaking (edge case):** `decodeEventLog` no longer attempts to partially decode events. If the log does not conform to the ABI (mismatch between the number of indexed/non-indexed arguments to topics/data), it will throw an error.
974
+
975
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** `logIndex` & `transactionIndex` on `Log` now return a `number` instead of a `bigint`
976
+
977
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `ethersWalletToAccount` adapter.
978
+
979
+ This adapter was introduced when viem did not have Private Key & HD Accounts. Since 0.2, viem provides all the utilities needed to create and import [Private Key](https://viem.sh/docs/accounts/privateKey.html) & [HD Accounts](https://viem.sh/docs/accounts/mnemonic.html).
980
+
981
+ If you still need it, you can copy + paste the [old implementation](https://github.com/wagmi-dev/viem/blob/a9a71507032db896295fa1f3fa2dd6c2bdc85137/src/adapters/ethers.ts).
982
+
983
+ ### Patch Changes
984
+
985
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Added Batch JSON-RPC on `http` Transport.
986
+
987
+ - [#657](https://github.com/wagmi-dev/viem/pull/657) [`af48368`](https://github.com/wagmi-dev/viem/commit/af48368f07856e50cb7afa8cac077e3a0ecc05fb) Thanks [@izayl](https://github.com/izayl)! - Fixed `getAbiItem` from returning mismatched type when overload with different lengths.
988
+
989
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Upgraded ENS Universal Resolver contract address.
990
+
991
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Added support for labels larger than 255 bytes when resolving ENS names.
992
+
993
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Added a `strict` parameter to `getLogs`, `createEventFilter` & `createContractEventFilter`.
994
+
995
+ When `strict` mode is turned **on**, only logs that conform to the indexed/non-indexed arguments on the event definition/ABI (`event`) will be returned.
996
+ When `strict` mode is turned **off (default)**, logs that do not conform to the indexed/non-indexed arguments on the event definition/ABI (`event`) will be included, but the `args` property will be `undefined` (as we cannot decode these events).
997
+
998
+ - [#576](https://github.com/wagmi-dev/viem/pull/576) [`7d42767`](https://github.com/wagmi-dev/viem/commit/7d4276775a6d42cfab850498e522fe31134f0880) Thanks [@jxom](https://github.com/jxom)! - Refactored EIP1193 request fn types.
999
+
1000
+ ## 0.3.50
1001
+
1002
+ ### Patch Changes
1003
+
1004
+ - [`7dc25b5`](https://github.com/wagmi-dev/viem/commit/7dc25b56ae5f8c69255f6ebc404fb49c33cb13b7) Thanks [@jxom](https://github.com/jxom)! - Improved Ganache test actions.
1005
+
1006
+ ## 0.3.49
1007
+
1008
+ ### Patch Changes
1009
+
1010
+ - [`0b92f3a`](https://github.com/wagmi-dev/viem/commit/0b92f3ad535a27e1b8ba70fc3f6e1087ed2cd05f) Thanks [@jxom](https://github.com/jxom)! - Added more chains from @wagmi/chains.
1011
+
1012
+ ## 0.3.47
1013
+
1014
+ ### Patch Changes
1015
+
1016
+ - [`cc256c0`](https://github.com/wagmi-dev/viem/commit/cc256c0a0dd5cb99975c5a497e5eb025990deaff) Thanks [@jxom](https://github.com/jxom)! - Fixed unit conversion.
1017
+
1018
+ ## 0.3.46
1019
+
1020
+ ### Patch Changes
1021
+
1022
+ - [`770c3d1e`](https://github.com/wagmi-dev/viem/commit/770c3d1e1954b94dea6a58e7180b8600e910ad4e) Thanks [@jxom](https://github.com/jxom)! - Bumped `@wagmi/chains`.
1023
+
1024
+ ## 0.3.45
1025
+
1026
+ ### Patch Changes
1027
+
1028
+ - [#637](https://github.com/wagmi-dev/viem/pull/637) [`bbd8f07`](https://github.com/wagmi-dev/viem/commit/bbd8f072f92f189c0b55d5e3cf8c9e4f38b1c6bc) Thanks [@jxom](https://github.com/jxom)! - Updated `abitype` to 0.8.7.
1029
+
1030
+ ## 0.3.44
1031
+
1032
+ ### Patch Changes
1033
+
1034
+ - [#610](https://github.com/wagmi-dev/viem/pull/610) [`06ee89c5`](https://github.com/wagmi-dev/viem/commit/06ee89c53a5f0226407b915cdf9da5550ed58010) Thanks [@jxom](https://github.com/jxom)! - Added ability to hash data representation of `message` via a `raw` attribute in `signMessage`, `verifyMessage`, `recoverMessageAddress`.
1035
+
1036
+ ```ts
1037
+ await walletClient.signMessage({
1038
+ message: { raw: "0x68656c6c6f20776f726c64" },
1039
+ });
1040
+ ```
1041
+
1042
+ ## 0.3.43
1043
+
1044
+ ### Patch Changes
1045
+
1046
+ - [#632](https://github.com/wagmi-dev/viem/pull/632) [`2538548`](https://github.com/wagmi-dev/viem/commit/2538548a5c6a897a8a2c5a0e5ea6398c86b54c59) Thanks [@tmm](https://github.com/tmm)! - Exported missing portable type.
1047
+
1048
+ - [#630](https://github.com/wagmi-dev/viem/pull/630) [`a446a50`](https://github.com/wagmi-dev/viem/commit/a446a50ad8fe0b6c4a20df82e37a0492995840a4) Thanks [@tmm](https://github.com/tmm)! - Narrowed contract instance address.
1049
+
1050
+ ## 0.3.42
1051
+
1052
+ ### Patch Changes
1053
+
1054
+ - [#619](https://github.com/wagmi-dev/viem/pull/619) [`73c7f498`](https://github.com/wagmi-dev/viem/commit/73c7f4980ebc755068b8cf9df70390d1e2ab2524) Thanks [@sakulstra](https://github.com/sakulstra)! - Added `address` and `abi` properties to Contract Instances.
1055
+
1056
+ ## 0.3.41
1057
+
1058
+ ### Patch Changes
1059
+
1060
+ - [`1b3f584`](https://github.com/wagmi-dev/viem/commit/1b3f5847a44ba051f19d42dfb03962a4c6a4e36b) Thanks [@jxom](https://github.com/jxom)! - Fixed `chainId` type on Transaction types.
1061
+
1062
+ ## 0.3.40
1063
+
1064
+ ### Patch Changes
1065
+
1066
+ - [#608](https://github.com/wagmi-dev/viem/pull/608) [`6e9313b`](https://github.com/wagmi-dev/viem/commit/6e9313b8ed13f930666a06991ed0cd61ab286de0) Thanks [@tmm](https://github.com/tmm)! - Exported types
1067
+
1068
+ ## 0.3.39
1069
+
1070
+ ### Patch Changes
1071
+
1072
+ - [#603](https://github.com/wagmi-dev/viem/pull/603) [`ee2b2b8`](https://github.com/wagmi-dev/viem/commit/ee2b2b8c2eba540cc73ef78e29870f3314a008c3) Thanks [@ilamanov](https://github.com/ilamanov)! - Fixed `getFunctionSelector` for functions with no arguments.
1073
+
1074
+ ## 0.3.38
1075
+
1076
+ ### Patch Changes
1077
+
1078
+ - [#598](https://github.com/wagmi-dev/viem/pull/598) [`baea299`](https://github.com/wagmi-dev/viem/commit/baea2991ce405015e4f68c2fde90a154b698e7a4) Thanks [@iuriiiurevich](https://github.com/iuriiiurevich)! - Fixed an issue in `withCache` where the promise cache would not clear upon rejection.
1079
+
1080
+ ## 0.3.37
1081
+
1082
+ ### Patch Changes
1083
+
1084
+ - [#572](https://github.com/wagmi-dev/viem/pull/572) [`3e5bcbf`](https://github.com/wagmi-dev/viem/commit/3e5bcbf1233ea3cc8674767c10bd8dccdfd99182) Thanks [@tmm](https://github.com/tmm)! - Fixed contract instance `estimateGas` typing.
1085
+
1086
+ ## 0.3.36
1087
+
1088
+ ### Patch Changes
1089
+
1090
+ - [#554](https://github.com/wagmi-dev/viem/pull/554) [`d5297c6`](https://github.com/wagmi-dev/viem/commit/d5297c6e32fc148a63c34fe47cd590cfc9c665ec) Thanks [@tmm](https://github.com/tmm)! - Fixed portable types
1091
+
1092
+ - [#556](https://github.com/wagmi-dev/viem/pull/556) [`81a3aed`](https://github.com/wagmi-dev/viem/commit/81a3aed513167588f0c3433af8407cc23c78f61f) Thanks [@tmm](https://github.com/tmm)! - Fallback to `client.account` for `estimateGas`.
1093
+
1094
+ - [#560](https://github.com/wagmi-dev/viem/pull/560) [`a5dd3c6`](https://github.com/wagmi-dev/viem/commit/a5dd3c6dcdb2c7625aacd9c9bc498bd86530dd77) Thanks [@Volchunovich](https://github.com/Volchunovich)! - Fixed docs links
1095
+
1096
+ ## 0.3.35
1097
+
1098
+ ### Patch Changes
1099
+
1100
+ - [`1cc1dc2`](https://github.com/wagmi-dev/viem/commit/1cc1dc2e989765ea0d0afd72375505b93e0013a5) Thanks [@jxom](https://github.com/jxom)! - Fixed `account` parameter type on `readContract`.
1101
+
1102
+ ## 0.3.34
1103
+
1104
+ ### Patch Changes
1105
+
1106
+ - [`5c75ee5`](https://github.com/wagmi-dev/viem/commit/5c75ee598a0bd09709f619464e48cbb5fa2327d8) Thanks [@jxom](https://github.com/jxom)! - Added `EstimateContractGasParameters` & `EstimateContractGasReturnType` types.
1107
+
1108
+ ## 0.3.33
1109
+
1110
+ ### Patch Changes
1111
+
1112
+ - [`0cb8f31`](https://github.com/wagmi-dev/viem/commit/0cb8f31589d65d056de66c13637635785d97b730) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `watchContractEvent` would throw a serialize error for bigint args.
1113
+
1114
+ ## 0.3.32
1115
+
1116
+ ### Patch Changes
1117
+
1118
+ - [`fb5b321`](https://github.com/wagmi-dev/viem/commit/fb5b321a9238d68a59f387632dd89ccb626a8cb5) Thanks [@jxom](https://github.com/jxom)! - Allowed recovery id as v when recovering public key.
1119
+
1120
+ - [`9df44ce`](https://github.com/wagmi-dev/viem/commit/9df44cea3843a74f9e04591d3c683db1982269fb) Thanks [@jxom](https://github.com/jxom)! - Added `ganache` as another mode for Test Client
1121
+
1122
+ ## 0.3.31
1123
+
1124
+ ### Patch Changes
1125
+
1126
+ - [#540](https://github.com/wagmi-dev/viem/pull/540) [`0d8f154`](https://github.com/wagmi-dev/viem/commit/0d8f154fbcbf68f8f8b1b8bde0cf5661ffc44370) Thanks [@jxom](https://github.com/jxom)! - Added proxy packages to support bundlers that are not compatible with `package.json#exports`.
1127
+
1128
+ ## 0.3.30
1129
+
1130
+ ### Patch Changes
1131
+
1132
+ - [`228d949`](https://github.com/wagmi-dev/viem/commit/228d949bce648065ecef629173d1b847e2fc8f21) Thanks [@jxom](https://github.com/jxom)! - Bumped `waitForTransactionReceipt` retry count.
1133
+
1134
+ ## 0.3.29
1135
+
1136
+ ### Patch Changes
1137
+
1138
+ - [#527](https://github.com/wagmi-dev/viem/pull/527) [`840d3d7`](https://github.com/wagmi-dev/viem/commit/840d3d7411a33ad02c71bd180b53244df91cd779) Thanks [@jxom](https://github.com/jxom)! - Fixed `trim` to trim trailing zero byte data instead of all trailing zeros.
1139
+
1140
+ ## 0.3.28
1141
+
1142
+ ### Patch Changes
1143
+
1144
+ - [`ffee4f8`](https://github.com/wagmi-dev/viem/commit/ffee4f86928ada54d2c6a4403aafa7b861eeccb2) Thanks [@jxom](https://github.com/jxom)! - Bumped `waitForTransactionReceipt` exponential backoff scalar
1145
+
1146
+ ## 0.3.27
1147
+
1148
+ ### Patch Changes
1149
+
1150
+ - [#519](https://github.com/wagmi-dev/viem/pull/519) [`2ab7b56`](https://github.com/wagmi-dev/viem/commit/2ab7b56ea6828f92e10f287bac68f1f70815da1a) Thanks [@jxom](https://github.com/jxom)! - Batched websocket initialization.
1151
+
1152
+ - [#518](https://github.com/wagmi-dev/viem/pull/518) [`65a0896`](https://github.com/wagmi-dev/viem/commit/65a0896426a28e2d11438984a6ed6b604d87c316) Thanks [@jxom](https://github.com/jxom)! - Added `strict` option to `isHex` & optimized data utilities.
1153
+
1154
+ - [#515](https://github.com/wagmi-dev/viem/pull/515) [`c1b81dc`](https://github.com/wagmi-dev/viem/commit/c1b81dc36ad787b632099a98ba2b4bd5e03ddafa) Thanks [@jxom](https://github.com/jxom)! - Optimized `getTransaction` strategy in `waitForTransactionReceipt`.
1155
+
1156
+ ## 0.3.26
1157
+
1158
+ ### Patch Changes
1159
+
1160
+ - [#500](https://github.com/wagmi-dev/viem/pull/500) [`1da5831`](https://github.com/wagmi-dev/viem/commit/1da583137a32f381a2e2e5f260105ce8542bbaee) Thanks [@jxom](https://github.com/jxom)! - refactor: lax log types
1161
+
1162
+ ## 0.3.25
1163
+
1164
+ ### Patch Changes
1165
+
1166
+ - [#506](https://github.com/wagmi-dev/viem/pull/506) [`f396e5d`](https://github.com/wagmi-dev/viem/commit/f396e5d242bbf68a4b34596db6943d52fee19e79) Thanks [@jxom](https://github.com/jxom)! - Support suffixed data in `decodeAbiParameters`.
1167
+
1168
+ ## 0.3.24
1169
+
1170
+ ### Patch Changes
1171
+
1172
+ - [`9852bcd`](https://github.com/wagmi-dev/viem/commit/9852bcdfb83bfdda43fb276b3a1266b30592d56e) Thanks [@jxom](https://github.com/jxom)! - Fixed custom solidity errors with no args.
1173
+
1174
+ ## 0.3.23
1175
+
1176
+ ### Patch Changes
1177
+
1178
+ - [#489](https://github.com/wagmi-dev/viem/pull/489) [`d130c72`](https://github.com/wagmi-dev/viem/commit/d130c7277bbb175b7ce82fe2c32ad9f65b3ae63f) Thanks [@tmm](https://github.com/tmm)! - Improved RpcError code types.
1179
+
1180
+ - [`670d825`](https://github.com/wagmi-dev/viem/commit/670d825aa8105a6fc5e4fedc540d055d28ec91e1) Thanks [@jxom](https://github.com/jxom)! - Fixed \`call\` revert data for node clients that have nested error data.
1181
+
1182
+ - [#487](https://github.com/wagmi-dev/viem/pull/487) [`566e77d`](https://github.com/wagmi-dev/viem/commit/566e77dfafcd5b5486260e492d8db890b788b264) Thanks [@kdembler](https://github.com/kdembler)! - fix encodeEventTopics for leading non-indexed args
1183
+
1184
+ ## 0.3.22
1185
+
1186
+ ### Patch Changes
1187
+
1188
+ - [`9ae5eaa`](https://github.com/wagmi-dev/viem/commit/9ae5eaa1465240d07577d380e7387f1a065707e3) Thanks [@jxom](https://github.com/jxom)! - Fixed `functionName` type inference in `SimulateContractReturnType`.
1189
+
1190
+ ## 0.3.21
1191
+
1192
+ ### Patch Changes
1193
+
1194
+ - [#475](https://github.com/wagmi-dev/viem/pull/475) [`64a2f51`](https://github.com/wagmi-dev/viem/commit/64a2f51799431faf28946127a3d62373051d8553) Thanks [@jxom](https://github.com/jxom)! - Fixed \`hashMessage\` string conversion for messages that have same format as hex bytes.
1195
+
1196
+ - [#474](https://github.com/wagmi-dev/viem/pull/474) [`1886095`](https://github.com/wagmi-dev/viem/commit/18860951b7276c5b67632113f96a09cda3a48d25) Thanks [@jxom](https://github.com/jxom)! - Exported `assertCurrentChain` util.
1197
+
1198
+ ## 0.3.20
1199
+
1200
+ ### Patch Changes
1201
+
1202
+ - [#470](https://github.com/wagmi-dev/viem/pull/470) [`be9501e`](https://github.com/wagmi-dev/viem/commit/be9501eb3b509a0fe09dd087ee46d11642a9c408) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where `waitForTransactionReceipt` would throw immediately for RPC Providers which may be slow to sync mined transactions.
1203
+
1204
+ ## 0.3.19
1205
+
1206
+ ### Patch Changes
1207
+
1208
+ - [#320](https://github.com/wagmi-dev/viem/pull/320) [`6d6d092`](https://github.com/wagmi-dev/viem/commit/6d6d092c6cacb229bb2696261ae9dbe742c26647) Thanks [@janek26](https://github.com/janek26)! - Added support for Contract Wallet signature verification (EIP-6492) via `publicClient.verifyMessage` & `publicClient.verifyTypedData`.
1209
+
1210
+ ## 0.3.18
1211
+
1212
+ ### Patch Changes
1213
+
1214
+ - [#445](https://github.com/wagmi-dev/viem/pull/445) [`9e096a9`](https://github.com/wagmi-dev/viem/commit/9e096a92e2722e0dd0acd5ab79d5907e7d9bc82f) Thanks [@jxom](https://github.com/jxom)! - Refactored contract decoding utility types.
1215
+
1216
+ - [#448](https://github.com/wagmi-dev/viem/pull/448) [`29cf036`](https://github.com/wagmi-dev/viem/commit/29cf0363f0bfe89f0d63a281272151c6bba47ce1) Thanks [@jxom](https://github.com/jxom)! - Refactored inferred types on `Log` (eventName, args, topics), `getLogs`, `getFilterLogs` & `getFilterChanges`.
1217
+
1218
+ - [#435](https://github.com/wagmi-dev/viem/pull/435) [`711cf94`](https://github.com/wagmi-dev/viem/commit/711cf9460a262fb12c520d7860f22915fb4c58f6) Thanks [@Raiden1411](https://github.com/Raiden1411)! - Updated `abitype` to `0.8.2` and exported abitype errors.
1219
+
1220
+ - [#445](https://github.com/wagmi-dev/viem/pull/445) [`9e096a9`](https://github.com/wagmi-dev/viem/commit/9e096a92e2722e0dd0acd5ab79d5907e7d9bc82f) Thanks [@jxom](https://github.com/jxom)! - Made "name" parameter (`eventName`, `functionName`, etc) optional on contract encoding/decoding utilities when only one ABI item is provided.
1221
+
1222
+ ## 0.3.17
1223
+
1224
+ ### Patch Changes
1225
+
1226
+ - [#443](https://github.com/wagmi-dev/viem/pull/443) [`ca0cb85`](https://github.com/wagmi-dev/viem/commit/ca0cb852999dd90aebdb938d8bf4dbbec504a173) Thanks [@jxom](https://github.com/jxom)! - Fixed eth_call & eth_estimateGas calls for nodes that conform to the older JSON-RPC spec.
1227
+
1228
+ ## 0.3.16
1229
+
1230
+ ### Patch Changes
1231
+
1232
+ - [`482aaa1`](https://github.com/wagmi-dev/viem/commit/482aaa1651ff06575860c6d9d38bcde05e5b136e) Thanks [@jxom](https://github.com/jxom)! - Wrapped slice offset out-of-bounds error in a `BaseError`.
1233
+
1234
+ ## 0.3.15
1235
+
1236
+ ### Patch Changes
1237
+
1238
+ - [#436](https://github.com/wagmi-dev/viem/pull/436) [`72ed656`](https://github.com/wagmi-dev/viem/commit/72ed6567897ee87939d33e89a7d6599ec8db321e) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `multicall`'s return type was incorrectly flattening when `allowFailure: false`.
1239
+
1240
+ ## 0.3.14
1241
+
1242
+ ### Patch Changes
1243
+
1244
+ - [#426](https://github.com/wagmi-dev/viem/pull/426) [`840d19d`](https://github.com/wagmi-dev/viem/commit/840d19d652819001addfe9c47267d9e7c71841bd) Thanks [@izayl](https://github.com/izayl)! - Added constants zeroAddress.
1245
+
1246
+ - [#424](https://github.com/wagmi-dev/viem/pull/424) [`2eb73f6`](https://github.com/wagmi-dev/viem/commit/2eb73f6f449be7f00790c992202816d5eccf5232) Thanks [@fubhy](https://github.com/fubhy)! - Removed the `defineChain` export from `viem/chains`.
1247
+
1248
+ - [#427](https://github.com/wagmi-dev/viem/pull/427) [`41bc9e3`](https://github.com/wagmi-dev/viem/commit/41bc9e38dcbd71d10ea28edaaad48fb81d40f61b) Thanks [@jxom](https://github.com/jxom)! - Added support for EIP-3668 CCIP Read.
1249
+
1250
+ - [#431](https://github.com/wagmi-dev/viem/pull/431) [`31aafb3`](https://github.com/wagmi-dev/viem/commit/31aafb3514adff65bc4c27b78dad90057ee97421) Thanks [@jxom](https://github.com/jxom)! - Added a `dataSuffix` argument to `writeContract` and `simulateContract`
1251
+
1252
+ ## 0.3.13
1253
+
1254
+ ### Patch Changes
1255
+
1256
+ - [`eb32e6c`](https://github.com/wagmi-dev/viem/commit/eb32e6c8a412aa4d16339236d4a14d820a26fdc1) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `mine()` to resolve to `undefined` instead of `null`.
1257
+
1258
+ ## 0.3.12
1259
+
1260
+ ### Patch Changes
1261
+
1262
+ - [`6f8151c`](https://github.com/wagmi-dev/viem/commit/6f8151c58fcb5e14b7a954df6e941fe3cca4054c) Thanks [@jxom](https://github.com/jxom)! - Flagged 403 as non-deterministic error for `fallback` Transport.
1263
+
1264
+ ## 0.3.11
1265
+
1266
+ ### Patch Changes
1267
+
1268
+ - [#404](https://github.com/wagmi-dev/viem/pull/404) [`2c380cf`](https://github.com/wagmi-dev/viem/commit/2c380cf0f0e528d6ff9e9c354e4fcec28df5329b) Thanks [@izayl](https://github.com/izayl)! - Added support for EIP-1191 address checksum.
1269
+
1270
+ - [#398](https://github.com/wagmi-dev/viem/pull/398) [`cbb4f1f`](https://github.com/wagmi-dev/viem/commit/cbb4f1f66b80914313e54bf7022e59a1b0bee2d3) Thanks [@jxom](https://github.com/jxom)! - Added a new `batchSize` parameter to `multicall` which limits the size of each calldata chunk.
1271
+
1272
+ ## 0.3.10
1273
+
1274
+ ### Patch Changes
1275
+
1276
+ - [`777fa34`](https://github.com/wagmi-dev/viem/commit/777fa34c9ce5630696e554127e39e5e9386ad74e) Thanks [@jxom](https://github.com/jxom)! - Fixed wallet_watchAsset type.
1277
+
1278
+ ## 0.3.9
1279
+
1280
+ ### Patch Changes
1281
+
1282
+ - [`b4d6623`](https://github.com/wagmi-dev/viem/commit/b4d662360f55d5963e015f7080538a167e89b1f6) Thanks [@jxom](https://github.com/jxom)! - Fixed multicall return type.
1283
+
1284
+ ## 0.3.8
1285
+
1286
+ ### Patch Changes
1287
+
1288
+ - [`8371ad9`](https://github.com/wagmi-dev/viem/commit/8371ad9cb6987b5876a679ba502a80573c92ec64) Thanks [@jxom](https://github.com/jxom)! - Fixed WebSocket import on Vite environments.
1289
+
1290
+ ## 0.3.7
1291
+
1292
+ ### Patch Changes
1293
+
1294
+ - [#399](https://github.com/wagmi-dev/viem/pull/399) [`eefd839`](https://github.com/wagmi-dev/viem/commit/eefd83997a98113b81d5ba21a8b5492a1de2284c) Thanks [@jxom](https://github.com/jxom)! - Fixed async imports in Vite environments.
1295
+
1296
+ - [#397](https://github.com/wagmi-dev/viem/pull/397) [`69b95ed`](https://github.com/wagmi-dev/viem/commit/69b95ed5991c712d11ff4de1bb873c9a2af152b3) Thanks [@tmm](https://github.com/tmm)! - Made `value` required for payable functions.
1297
+
1298
+ ## 0.3.6
1299
+
1300
+ ### Patch Changes
1301
+
1302
+ - [`ae6d388`](https://github.com/wagmi-dev/viem/commit/ae6d3883ec41dfdd3750a5f7473495d011df5802) Thanks [@jxom](https://github.com/jxom)! - Fixed unpublished type declarations.
1303
+
1304
+ ## 0.3.5
1305
+
1306
+ ### Patch Changes
1307
+
1308
+ - [`0d38807`](https://github.com/wagmi-dev/viem/commit/0d38807bcd61fae5c5d4736aed6c59277c9b4bf4) Thanks [@jxom](https://github.com/jxom)! - Fixed `batch` config in `createPublicClient`.
1309
+
1310
+ ## 0.3.4
1311
+
1312
+ ### Patch Changes
1313
+
1314
+ - [#387](https://github.com/wagmi-dev/viem/pull/387) [`230fcfd`](https://github.com/wagmi-dev/viem/commit/230fcfd97bb4937502e604630bb97695198e7b7e) Thanks [@jxom](https://github.com/jxom)! - Added support for `eth_call` batch aggregation via multicall `aggregate3`.
1315
+
1316
+ - [#388](https://github.com/wagmi-dev/viem/pull/388) [`bc254d8`](https://github.com/wagmi-dev/viem/commit/bc254d882bed6216daa72d5820526e6573a34e85) Thanks [@jxom](https://github.com/jxom)! - Added `size` as an argument to hex/bytes encoding/decoding utilities.
1317
+
1318
+ - [`03816ec`](https://github.com/wagmi-dev/viem/commit/03816ec421eb8adbcb17bd44c5dc344407acba2d) Thanks [@jxom](https://github.com/jxom)! - Disabled `fallback` transport ranking by default.
1319
+
1320
+ ## 0.3.3
1321
+
1322
+ ### Patch Changes
1323
+
1324
+ - [#383](https://github.com/wagmi-dev/viem/pull/383) [`7e9731c`](https://github.com/wagmi-dev/viem/commit/7e9731cf315ddcd10f35c81c63a15af6aa78350d) Thanks [@Raiden1411](https://github.com/Raiden1411)! - Fixed an issue where `serializeTransaction` was incorrectly encoding zero-ish properties.
1325
+
1326
+ ## 0.3.2
1327
+
1328
+ ### Patch Changes
1329
+
1330
+ - [#375](https://github.com/wagmi-dev/viem/pull/375) [`f9bedc9`](https://github.com/wagmi-dev/viem/commit/f9bedc94ecd41fdcb2f0fed1d90162567c2a31ea) Thanks [@fubhy](https://github.com/fubhy)! - Support edge runtime
1331
+
1332
+ ## 0.3.1
1333
+
1334
+ ### Patch Changes
1335
+
1336
+ - [`6856443`](https://github.com/wagmi-dev/viem/commit/6856443fb75421639c9622343d5958791028874c) Thanks [@jxom](https://github.com/jxom)! - Added `recoverPublicKey`.
1337
+
1338
+ - [#363](https://github.com/wagmi-dev/viem/pull/363) [`ee1cb7f`](https://github.com/wagmi-dev/viem/commit/ee1cb7ff546236041b1ca115bb2a252520e8ef7f) Thanks [@tmm](https://github.com/tmm)! - Added inference to `getLogs` `event` type.
1339
+
1340
+ - [#365](https://github.com/wagmi-dev/viem/pull/365) [`f4dcc33`](https://github.com/wagmi-dev/viem/commit/f4dcc33739a339c286f852a377f71fbf2fb7ab97) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `getAbiItem` to not use a generic type variable for the return type
1341
+
1342
+ ## 0.3.0
1343
+
1344
+ ### Minor Changes
1345
+
1346
+ - [#355](https://github.com/wagmi-dev/viem/pull/355) [`b1acfc9`](https://github.com/wagmi-dev/viem/commit/b1acfc9198bfbed8c3de6e769c5ff06d7124881c) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `RequestError` to `RpcError`.
1347
+ **Breaking:** Removed `RpcRequestError` – use `RpcError` instead.
1348
+ **Breaking:** Renamed `RpcError` to `RpcRequestError`.
1349
+
1350
+ ### Patch Changes
1351
+
1352
+ - [#355](https://github.com/wagmi-dev/viem/pull/355) [`b1acfc9`](https://github.com/wagmi-dev/viem/commit/b1acfc9198bfbed8c3de6e769c5ff06d7124881c) Thanks [@jxom](https://github.com/jxom)! - Added `ProviderRpcError` subclass.
1353
+
1354
+ Added EIP-1193 `UnauthorizedProviderError`, `UnsupportedProviderMethodError`, `ProviderDisconnectedError`, and `ChainDisconnectedError`.
1355
+
1356
+ - [#349](https://github.com/wagmi-dev/viem/pull/349) [`b275811`](https://github.com/wagmi-dev/viem/commit/b2758116623567a07e9c2cae7e2471e3c6bf2ecf) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where Filter querying (`eth_getFilterChanges`, etc) was not being scoped to the Transport that created the Filter.
1357
+
1358
+ ## 0.2.14
1359
+
1360
+ ### Patch Changes
1361
+
1362
+ - [#344](https://github.com/wagmi-dev/viem/pull/344) [`bb9c2a4`](https://github.com/wagmi-dev/viem/commit/bb9c2a4b769655f230b8af22efb871393e78a80d) Thanks [@jxom](https://github.com/jxom)! - Added `EIP1193Provider` type.
1363
+
1364
+ ## 0.2.13
1365
+
1366
+ ### Patch Changes
1367
+
1368
+ - [#331](https://github.com/wagmi-dev/viem/pull/331) [`cd7b642`](https://github.com/wagmi-dev/viem/commit/cd7b64242643247c3c04896dacdd95b2a335ba52) Thanks [@jxom](https://github.com/jxom)! - Migrated to TypeScript 5.
1369
+ Migrated build process from `tsup` to `tsc`.
1370
+
1371
+ - [#343](https://github.com/wagmi-dev/viem/pull/343) [`579171d`](https://github.com/wagmi-dev/viem/commit/579171dbc691f9c352688455f21b6c4187dbf422) Thanks [@fubhy](https://github.com/fubhy)! - Fixed conditional types for poll options on `watchBlocks` & `watchPendingTransactions`.
1372
+
1373
+ ## 0.2.12
1374
+
1375
+ ### Patch Changes
1376
+
1377
+ - [#328](https://github.com/wagmi-dev/viem/pull/328) [`ee87fe7`](https://github.com/wagmi-dev/viem/commit/ee87fe73884297db1c3957453efd7c326924c269) Thanks [@jxom](https://github.com/jxom)! - Tweaked error inheritence for `UserRejectedRequestError` & `SwitchChainError` to be more friendly with custom errors.
1378
+
1379
+ ## 0.2.11
1380
+
1381
+ ### Patch Changes
1382
+
1383
+ - [#326](https://github.com/wagmi-dev/viem/pull/326) [`c83616a`](https://github.com/wagmi-dev/viem/commit/c83616ad33aa06054342a3bf72bcb51c09ee0ada) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where filtered logs that do not conform to the provided ABI would cause `getLogs`, `getFilterLogs` or `getFilterChanges` to throw – these logs are now skipped. See [#323](https://github.com/wagmi-dev/viem/issues/323#issuecomment-1499654052) for more info.
1384
+
1385
+ ## 0.2.10
1386
+
1387
+ ### Patch Changes
1388
+
1389
+ - [#322](https://github.com/wagmi-dev/viem/pull/322) [`ea019d7`](https://github.com/wagmi-dev/viem/commit/ea019d75c5243d8ae2b8ca1686b34026b170d903) Thanks [@tmm](https://github.com/tmm)! - Fixed properties passed to ethers adapter `signTransaction`
1390
+
1391
+ ## 0.2.9
1392
+
1393
+ ### Patch Changes
1394
+
1395
+ - [#317](https://github.com/wagmi-dev/viem/pull/317) [`2720ba5`](https://github.com/wagmi-dev/viem/commit/2720ba566d02fdb2c6ddc8d016ec252606a9cb95) Thanks [@jxom](https://github.com/jxom)! - Fixed `transports` property type on `FallbackTransport`.
1396
+
1397
+ ## 0.2.8
1398
+
1399
+ ### Patch Changes
1400
+
1401
+ - [#313](https://github.com/wagmi-dev/viem/pull/313) [`eb2280c`](https://github.com/wagmi-dev/viem/commit/eb2280cbc65b3e509b4b3871fe75b236101da442) Thanks [@jxom](https://github.com/jxom)! - Migrated from `idna-uts46-hx` to `@adraffy/ens-normalize` for `normalize`.
1402
+
1403
+ ## 0.2.7
1404
+
1405
+ ### Patch Changes
1406
+
1407
+ - [#310](https://github.com/wagmi-dev/viem/pull/310) [`6dfc225`](https://github.com/wagmi-dev/viem/commit/6dfc22537b9dd5740911b8677bba01cc477b9b23) Thanks [@jxom](https://github.com/jxom)! - Made `GetValue` return `{ value?: never }` instead of `unknown` for contract functions that are not payable.
1408
+
1409
+ ## 0.2.6
1410
+
1411
+ ### Patch Changes
1412
+
1413
+ - [#295](https://github.com/wagmi-dev/viem/pull/295) [`9a15a61`](https://github.com/wagmi-dev/viem/commit/9a15a612dd4a416f932c99519416665c0ffac214) Thanks [@fubhy](https://github.com/fubhy)! - Return discrimated union type from `decodeFunctionData`
1414
+
1415
+ - [#304](https://github.com/wagmi-dev/viem/pull/304) [`8e1b712`](https://github.com/wagmi-dev/viem/commit/8e1b712efc256c16a98408d10557d5f55d8927d7) Thanks [@fubhy](https://github.com/fubhy)! - Fixed `getTransactionType` to honor `undefined` EIP-1559, EIP-2930 or Legacy attributes.
1416
+
1417
+ - [#302](https://github.com/wagmi-dev/viem/pull/302) [`c00a459`](https://github.com/wagmi-dev/viem/commit/c00a459490ff283812e6847547149a8104a5c4d0) Thanks [@fubhy](https://github.com/fubhy)! - Fixed forwarding of options to transport for wallet client
1418
+
1419
+ ## 0.2.5
1420
+
1421
+ ### Patch Changes
1422
+
1423
+ - [#297](https://github.com/wagmi-dev/viem/pull/297) [`96d072c`](https://github.com/wagmi-dev/viem/commit/96d072cac1ae09f85afcbbca63c99f10a80f1722) Thanks [@fubhy](https://github.com/fubhy)! - Fixed wordlists exports.
1424
+
1425
+ ## 0.2.4
1426
+
1427
+ ### Patch Changes
1428
+
1429
+ - [#293](https://github.com/wagmi-dev/viem/pull/293) [`859352c`](https://github.com/wagmi-dev/viem/commit/859352c38333ec22924b24242db8f583fc73d9fb) Thanks [@TateB](https://github.com/TateB)! - Fixed ENS address resolution for when resolver returns with a null address, or resolvers that do not support `addr`. `getEnsAddress` returns `null` for these cases.
1430
+
1431
+ ## 0.2.3
1432
+
1433
+ ### Patch Changes
1434
+
1435
+ - [#290](https://github.com/wagmi-dev/viem/pull/290) [`ef2bbaf`](https://github.com/wagmi-dev/viem/commit/ef2bbafa2b372bfa8fa1b29ffabea75ca3ea1122) Thanks [@holic](https://github.com/holic)! - Fixed ENS address resolution for "0x"-prefixed names.
1436
+
1437
+ ## 0.2.2
1438
+
1439
+ ### Patch Changes
1440
+
1441
+ - [#289](https://github.com/wagmi-dev/viem/pull/289) [`8c51f93`](https://github.com/wagmi-dev/viem/commit/8c51f93cfbe304c88b018c679c4413e8874692e7) Thanks [@jxom](https://github.com/jxom)! - Pinned dependencies.
1442
+
1443
+ - [#289](https://github.com/wagmi-dev/viem/pull/289) [`8c51f93`](https://github.com/wagmi-dev/viem/commit/8c51f93cfbe304c88b018c679c4413e8874692e7) Thanks [@jxom](https://github.com/jxom)! - Made `@scure/bip39/wordlists/*` & `idna-uts46-hx` exports ESM friendly.
1444
+
1445
+ ## 0.2.1
1446
+
1447
+ ### Patch Changes
1448
+
1449
+ - [#285](https://github.com/wagmi-dev/viem/pull/285) [`ab9fd12`](https://github.com/wagmi-dev/viem/commit/ab9fd121fbe271ba9bee43aea2d7bba122dc4f03) Thanks [@tmm](https://github.com/tmm)! - Exported `hdKeyToAccount` and `mnemonicToAccount`.
1450
+
1451
+ ## 0.2.0 – [Migration Guide](https://viem.sh/docs/migration-guide.html)
1452
+
1453
+ ### Minor Changes
1454
+
1455
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed the `getAccount` function.
1456
+
1457
+ **For JSON-RPC Accounts, use the address itself.**
1458
+
1459
+ ```diff
1460
+ import { createWalletClient, custom } from 'viem'
1461
+ import { mainnet } from 'viem/chains'
1462
+
1463
+ const address = '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2'
1464
+
1465
+ const client = createWalletClient({
1466
+ - account: getAccount(address),
1467
+ + account: address,
1468
+ chain: mainnet,
1469
+ transport: custom(window.ethereum)
1470
+ })
1471
+ ```
1472
+
1473
+ **For Ethers Wallet Adapter, use `ethersWalletToAccount`.**
1474
+
1475
+ If you were using the Ethers Wallet adapter, you can use the `ethersWalletToAccount` function.
1476
+
1477
+ > Note: viem 0.2.0 now has a [Private Key](/docs/accounts/privateKey.html) & [Mnemonic Account](/docs/accounts/mnemonic.html) implementation. You probably do not need this adapter anymore. This adapter may be removed in a future version.
1478
+
1479
+ ```diff
1480
+ import { createWalletClient, custom } from 'viem'
1481
+ import { mainnet } from 'viem/chains'
1482
+ - import { getAccount } from 'viem/ethers'
1483
+ + import { ethersWalletToAccount } from 'viem/ethers'
1484
+ import { Wallet } from 'ethers'
1485
+
1486
+ - const account = getAccount(new Wallet('0x...'))
1487
+ + const account = ethersWalletToAccount(new Wallet('0x...'))
1488
+
1489
+ const client = createWalletClient({
1490
+ account,
1491
+ chain: mainnet,
1492
+ transport: custom(window.ethereum)
1493
+ })
1494
+ ```
1495
+
1496
+ **For Local Accounts, use `toAccount`.**
1497
+
1498
+ ```diff
1499
+ - import { createWalletClient, http, getAccount } from 'viem'
1500
+ + import { createWalletClient, http } from 'viem'
1501
+ + import { toAccount } from 'viem/accounts'
1502
+ import { mainnet } from 'viem/chains'
1503
+ import { getAddress, signMessage, signTransaction } from './sign-utils'
1504
+
1505
+ const privateKey = '0x...'
1506
+ - const account = getAccount({
1507
+ + const account = toAccount({
1508
+ address: getAddress(privateKey),
1509
+ signMessage(message) {
1510
+ return signMessage(message, privateKey)
1511
+ },
1512
+ signTransaction(transaction) {
1513
+ return signTransaction(transaction, privateKey)
1514
+ },
1515
+ signTypedData(typedData) {
1516
+ return signTypedData(typedData, privateKey)
1517
+ }
1518
+ })
1519
+
1520
+ const client = createWalletClient({
1521
+ account,
1522
+ chain: mainnet,
1523
+ transport: http()
1524
+ })
1525
+ ```
1526
+
1527
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed `assertChain` argument on `sendTransaction`, `writeContract` & `deployContract`. If you wish to bypass the chain check (not recommended unless for testing purposes), you can pass `chain: null`.
1528
+
1529
+ ```diff
1530
+ await walletClient.sendTransaction({
1531
+ - assertChain: false,
1532
+ + chain: null,
1533
+ ...
1534
+ })
1535
+ ```
1536
+
1537
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** A chain is now required for the `sendTransaction`, `writeContract`, `deployContract` Actions.
1538
+
1539
+ You can hoist the Chain on the Client:
1540
+
1541
+ ```diff
1542
+ import { createWalletClient, custom, getAccount } from 'viem'
1543
+ import { mainnet } from 'viem/chains'
1544
+
1545
+ export const walletClient = createWalletClient({
1546
+ + chain: mainnet,
1547
+ transport: custom(window.ethereum)
1548
+ })
1549
+
1550
+ const account = getAccount('0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266')
1551
+
1552
+ const hash = await walletClient.sendTransaction({
1553
+ account,
1554
+ to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
1555
+ value: 1000000000000000000n
1556
+ })
1557
+ ```
1558
+
1559
+ Alternatively, you can pass the Chain directly to the Action:
1560
+
1561
+ ```diff
1562
+ import { createWalletClient, custom, getAccount } from 'viem'
1563
+ import { mainnet } from 'viem/chains'
1564
+
1565
+ export const walletClient = createWalletClient({
1566
+ - chain: mainnet,
1567
+ transport: custom(window.ethereum)
1568
+ })
1569
+
1570
+ const account = getAccount('0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266')
1571
+
1572
+ const hash = await walletClient.sendTransaction({
1573
+ account,
1574
+ + chain: mainnet,
1575
+ to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
1576
+ value: 1000000000000000000n
1577
+ })
1578
+ ```
1579
+
1580
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Updated utility type names to reflect their purposes:
1581
+
1582
+ - `ExtractErrorNameFromAbi` is now `InferErrorName`
1583
+ - `ExtractEventNameFromAbi` is now `InferEventName`
1584
+ - `ExtractFunctionNameFromAbi` is now `InferFunctionName`
1585
+ - `ExtractItemNameFromAbi` is now `InferItemName`
1586
+ - `ExtractConstructorArgsFromAbi` is now `GetConstructorArgs`
1587
+ - `ExtractErrorArgsFromAbi` is now `GetErrorArgs`
1588
+ - `ExtractEventArgsFromAbi` is now `GetEventArgs`
1589
+ - `ExtractEventArgsFromTopics` is now `GetEventArgsFromTopics`
1590
+ - `ExtractArgsFromAbi` is now `GetFunctionArgs`
1591
+
1592
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** The following functions are now `async` functions instead of synchronous functions:
1593
+
1594
+ - `recoverAddress`
1595
+ - `recoverMessageAddress`
1596
+ - `verifyMessage`
1597
+
1598
+ ```diff
1599
+ import { recoverMessageAddress } from 'viem'
1600
+
1601
+ - recoverMessageAddress({ message: 'hello world', signature: '0x...' })
1602
+ + await recoverMessageAddress({ message: 'hello world', signature: '0x...' })
1603
+ ```
1604
+
1605
+ ### Patch Changes
1606
+
1607
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added `getEnsText` & `getEnsAvatar`
1608
+
1609
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added Local Account implementations:
1610
+
1611
+ - `privateKeyToAccount`
1612
+ - `mnemonicToAccount`
1613
+ - `hdKeyToAccount`
1614
+
1615
+ If you were previously relying on the `viem/ethers` wallet adapter, you no longer need to use this.
1616
+
1617
+ ```diff
1618
+ - import { Wallet } from 'ethers'
1619
+ - import { getAccount } from 'viem/ethers'
1620
+ + import { privateKeyToAccount } from 'viem/accounts'
1621
+
1622
+ const privateKey = '0x...'
1623
+ - const account = getAccount(new Wallet(privateKey))
1624
+ + const account = privateKeyToAccount(privateKey)
1625
+
1626
+ const client = createWalletClient({
1627
+ account,
1628
+ chain: mainnet,
1629
+ transport: http()
1630
+ })
1631
+ ```
1632
+
1633
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added WebSocket `eth_subscribe` support `watchBlocks`, `watchBlockNumber`, and `watchPendingTransactions`.
1634
+
1635
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Updated Client types.
1636
+
1637
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added `verifyTypedData`, `hashTypedData`, `recoverTypedDataMessage`
1638
+
1639
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added the ability to hoist an Account to the Wallet Client.
1640
+
1641
+ ```diff
1642
+ import { createWalletClient, http } from 'viem'
1643
+ import { mainnnet } from 'viem/chains'
1644
+
1645
+ const [account] = await window.ethereum.request({ method: 'eth_requestAccounts' })
1646
+
1647
+ const client = createWalletClient({
1648
+ + account,
1649
+ chain: mainnet,
1650
+ transport: http()
1651
+ })
1652
+
1653
+ const hash = await client.sendTransaction({
1654
+ - account,
1655
+ to: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
1656
+ value: parseEther('0.001')
1657
+ })
1658
+ ```
1659
+
1660
+ - [#229](https://github.com/wagmi-dev/viem/pull/229) [`098f342`](https://github.com/wagmi-dev/viem/commit/098f3423ee84f9deb09c2c7d30e950a046c07ea9) Thanks [@jxom](https://github.com/jxom)! - Added getEnsResolver
1661
+
1662
+ ## 0.1.26
1663
+
1664
+ ### Patch Changes
1665
+
1666
+ - [`93e402d`](https://github.com/wagmi-dev/viem/commit/93e402d6fddabcb6966fd8f81d7176d71241e193) Thanks [@jxom](https://github.com/jxom)! - Fixed a `decodeAbiParameters` case where static arrays with a dynamic child would consume the size of the child instead of 32 bytes.
1667
+
1668
+ ## 0.1.25
1669
+
1670
+ ### Patch Changes
1671
+
1672
+ - [#263](https://github.com/wagmi-dev/viem/pull/263) [`53fda1a`](https://github.com/wagmi-dev/viem/commit/53fda1a5366ff1122b951d8148c1a9f74f280578) Thanks [@fubhy](https://github.com/fubhy)! - Fixed issue where ABIs with constructors would throw for `decodeFunctionData`.
1673
+
1674
+ ## 0.1.24
1675
+
1676
+ ### Patch Changes
1677
+
1678
+ - [#237](https://github.com/wagmi-dev/viem/pull/237) [`a92c4fa`](https://github.com/wagmi-dev/viem/commit/a92c4fa31eb4a71cb68edf6d50a58cf653419f86) Thanks [@jxom](https://github.com/jxom)! - Added automatic ranking to `fallback` Transport.
1679
+
1680
+ ## 0.1.23
1681
+
1682
+ ### Patch Changes
1683
+
1684
+ - [#251](https://github.com/wagmi-dev/viem/pull/251) [`153e97e`](https://github.com/wagmi-dev/viem/commit/153e97ed0461c34fd75fa7cad3820e9960f6810a) Thanks [@tmm](https://github.com/tmm)! - Fixed `signTypedData` inference for `primaryType` field.
1685
+
1686
+ ## 0.1.22
1687
+
1688
+ ### Patch Changes
1689
+
1690
+ - [`07000b6`](https://github.com/wagmi-dev/viem/commit/07000b650b6cce41c99a4ccf609f5fccce818244) Thanks [@jxom](https://github.com/jxom)! - Removed unnecessary trimming of decoded RLP hex value
1691
+
1692
+ ## 0.1.21
1693
+
1694
+ ### Patch Changes
1695
+
1696
+ - [#223](https://github.com/wagmi-dev/viem/pull/223) [`2e9c000`](https://github.com/wagmi-dev/viem/commit/2e9c0008c76939e54902569f8f8581a943914e4f) Thanks [@jxom](https://github.com/jxom)! - Added an assertion in `sendTransaction` & `writeContract` to check that the client chain matches the wallet's current chain.
1697
+
1698
+ ## 0.1.20
1699
+
1700
+ ### Patch Changes
1701
+
1702
+ - [#220](https://github.com/wagmi-dev/viem/pull/220) [`9a80fca`](https://github.com/wagmi-dev/viem/commit/9a80fca116417f77d4a305a59ec0c3ecf3e0fdfa) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `watchEvent` would not emit events on missed blocks for the `getLogs` fallback.
1703
+
1704
+ ## 0.1.19
1705
+
1706
+ ### Patch Changes
1707
+
1708
+ - [`74f8e1d`](https://github.com/wagmi-dev/viem/commit/74f8e1dfe1b86eba9453ede0b20babf8e150423a) Thanks [@jxom](https://github.com/jxom)! - Added missing `recoverMessageAddress` and `verifyMessage` exports.
1709
+
1710
+ ## 0.1.18
1711
+
1712
+ ### Patch Changes
1713
+
1714
+ - [`9c45397`](https://github.com/wagmi-dev/viem/commit/9c4539756d138f196b368fd1ac8e1a926d9bace0) Thanks [@jxom](https://github.com/jxom)! - Fixed `signTypedData` support for Ethers.js v5 wallets
1715
+
1716
+ ## 0.1.17
1717
+
1718
+ ### Patch Changes
1719
+
1720
+ - [#213](https://github.com/wagmi-dev/viem/pull/213) [`46f823a`](https://github.com/wagmi-dev/viem/commit/46f823afd017b1421c66162d832080f8dc7711e1) Thanks [@jxom](https://github.com/jxom)! - Fixed return type for `allowFailure: false` on `multicall`
1721
+
1722
+ - [`1339b20`](https://github.com/wagmi-dev/viem/commit/1339b20f735cb18b397aa1910cdb288609612f14) Thanks [@jxom](https://github.com/jxom)! - Exported `Extract*FromAbi` types
1723
+
1724
+ - [`c3d932a`](https://github.com/wagmi-dev/viem/commit/c3d932ad69a0c54fb204d7878a1a96916d1193df) Thanks [@jxom](https://github.com/jxom)! - Fixed `signTypedData` support for Ethers.js v5 Wallets
1725
+
1726
+ ## 0.1.16
1727
+
1728
+ ### Patch Changes
1729
+
1730
+ - [#207](https://github.com/wagmi-dev/viem/pull/207) [`8e5768f`](https://github.com/wagmi-dev/viem/commit/8e5768ffa1d813810b99f5ed06a00bfe830b2a35) Thanks [@jxom](https://github.com/jxom)! - Added assertion in `watchBlocks` and `watchBlockNumber` to check that the next block number is higher than the previously seen block number.
1731
+
1732
+ - [#209](https://github.com/wagmi-dev/viem/pull/209) [`ae3e0b6`](https://github.com/wagmi-dev/viem/commit/ae3e0b62a21671bd749e20ec5d65d80fa7475adc) Thanks [@jxom](https://github.com/jxom)! - Added `verifyMessage`, `recoverAddress`, `recoverMessageAddress`, and `hashMessage`.
1733
+
1734
+ ## 0.1.15
1735
+
1736
+ ### Patch Changes
1737
+
1738
+ - [#205](https://github.com/wagmi-dev/viem/pull/205) [`36fa97a`](https://github.com/wagmi-dev/viem/commit/36fa97a595670825f1dee008ebf44abbc1402f2e) Thanks [@jxom](https://github.com/jxom)! - Added an assertion to check for existence of an event signature on `topics` for `decodeEventLog`
1739
+
1740
+ ## 0.1.14
1741
+
1742
+ ### Patch Changes
1743
+
1744
+ - [#198](https://github.com/wagmi-dev/viem/pull/198) [`e805e7e`](https://github.com/wagmi-dev/viem/commit/e805e7ebaa7c15ea21a49ac0759bf4ebe5284f72) Thanks [@wighawag](https://github.com/wighawag)! - Added an assertion in `decodeEventLog` to check for a mismatch between topics + indexed event parameters.
1745
+
1746
+ ## 0.1.13
1747
+
1748
+ ### Patch Changes
1749
+
1750
+ - [`56f2e03`](https://github.com/wagmi-dev/viem/commit/56f2e03837d64a9156766f0ef785ac50ba27380f) Thanks [@jxom](https://github.com/jxom)! - Added export for `concat`.
1751
+
1752
+ ## 0.1.12
1753
+
1754
+ ### Patch Changes
1755
+
1756
+ - [`c0e3617`](https://github.com/wagmi-dev/viem/commit/c0e3617b639ba84c03011430d69d72173da00466) Thanks [@jxom](https://github.com/jxom)! - Fixed `viem/ethers` entrypoint.
1757
+
1758
+ ## 0.1.11
1759
+
1760
+ ### Patch Changes
1761
+
1762
+ - [#88](https://github.com/wagmi-dev/viem/pull/88) [`5456490`](https://github.com/wagmi-dev/viem/commit/545649093422fb14a39418a7199766d033c9e175) Thanks [@jxom](https://github.com/jxom)! - Added `signTypedData`.
1763
+
1764
+ ## 0.1.10
1765
+
1766
+ ### Patch Changes
1767
+
1768
+ - [#178](https://github.com/wagmi-dev/viem/pull/178) [`eda1827`](https://github.com/wagmi-dev/viem/commit/eda182754ed2727bc652225e327760ab0a14a962) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed type of `topics` field on the `Log` type.
1769
+
1770
+ - [#181](https://github.com/wagmi-dev/viem/pull/181) [`8213be3`](https://github.com/wagmi-dev/viem/commit/8213be3676283ec80d0d5cbcee4864fe4d9c6b6e) Thanks [@tmm](https://github.com/tmm)! - Bumped abitype version.
1771
+
1772
+ ## 0.1.9
1773
+
1774
+ ### Patch Changes
1775
+
1776
+ - [#170](https://github.com/wagmi-dev/viem/pull/170) [`35a7508`](https://github.com/wagmi-dev/viem/commit/35a750839ae5ac41427e84922315ce3e360ee58a) Thanks [@jxom](https://github.com/jxom)! - Added inference for multicall address from client chain.
1777
+
1778
+ ## 0.1.8
1779
+
1780
+ ### Patch Changes
1781
+
1782
+ - [`36c908c`](https://github.com/wagmi-dev/viem/commit/36c908c65dcbca1a68841dfa8eb89963561431b1) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where empty strings were not being decoded properly in `decodeAbiParameters`.
1783
+
1784
+ ## 0.1.7
1785
+
1786
+ ### Patch Changes
1787
+
1788
+ - [#159](https://github.com/wagmi-dev/viem/pull/159) [`574ae22`](https://github.com/wagmi-dev/viem/commit/574ae2244c755519bda02b46d8767a365e1f4217) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where decoding error logs would break if constructor was in ABI.
1789
+
1790
+ ## 0.1.6
1791
+
1792
+ ### Patch Changes
1793
+
1794
+ - [#153](https://github.com/wagmi-dev/viem/pull/153) [`bbb998a`](https://github.com/wagmi-dev/viem/commit/bbb998a6a1c2ce97a76e6275e1f07b6e2767b248) Thanks [@jxom](https://github.com/jxom)! - Formatted `undefined` values from RPC as `null` to conform to EIP-1474.
1795
+
1796
+ ## 0.1.5
1797
+
1798
+ ### Patch Changes
1799
+
1800
+ - [#141](https://github.com/wagmi-dev/viem/pull/141) [`450b612`](https://github.com/wagmi-dev/viem/commit/450b612289b832559ce11a9e2eba7dda68a7a981) Thanks [@unholypanda](https://github.com/unholypanda)! - Fixed `createPublicClient` to include `getTransactionCount`
1801
+
1802
+ ## 0.1.4
1803
+
1804
+ ### Patch Changes
1805
+
1806
+ - [#139](https://github.com/wagmi-dev/viem/pull/139) [`304a436`](https://github.com/wagmi-dev/viem/commit/304a4365dba9aa7be191ae4436b952eea9cfe79e) Thanks [@jxom](https://github.com/jxom)! - Added the following chains:
1807
+
1808
+ - `baseGoerli`
1809
+ - `boba`
1810
+ - `filecoinCalibration`
1811
+ - `flare`
1812
+ - `flareTestnet`
1813
+ - `harmonyOne`
1814
+ - `moonbaseAlpha`
1815
+ - `moonbeam`
1816
+ - `moonriver`
1817
+ - `okc`
1818
+ - `polygonZkEvmTestnet`
1819
+ - `shardeumSphinx`
1820
+ - `songbird`
1821
+ - `songbirdTestnet`
1822
+ - `telos`
1823
+ - `telosTestnet`
1824
+ - `zhejiang`
1825
+
1826
+ ## 0.1.3
1827
+
1828
+ ### Patch Changes
1829
+
1830
+ - [#136](https://github.com/wagmi-dev/viem/pull/136) [`dcca090`](https://github.com/wagmi-dev/viem/commit/dcca0900556d45a5795af4f60ef070a54a6f0306) Thanks [@jxom](https://github.com/jxom)! - Fixed ABI encoding for strings larger than 32 bytes.
1831
+
1832
+ - [#136](https://github.com/wagmi-dev/viem/pull/136) [`dcca090`](https://github.com/wagmi-dev/viem/commit/dcca0900556d45a5795af4f60ef070a54a6f0306) Thanks [@jxom](https://github.com/jxom)! - Fixed emoji string encoding.
1833
+
1834
+ ## 0.1.2
1835
+
1836
+ ### Patch Changes
1837
+
1838
+ - [`637d252`](https://github.com/wagmi-dev/viem/commit/637d2523e3e259deb9538a0089c0c80bb37abf22) Thanks [@jxom](https://github.com/jxom)! - Bumped abitype to 0.6.7
1839
+
1840
+ ## 0.1.1
1841
+
1842
+ ### Patch Changes
1843
+
1844
+ - [#128](https://github.com/wagmi-dev/viem/pull/128) [`ef51936`](https://github.com/wagmi-dev/viem/commit/ef519364c28a2ec6571b5e8d13aced0c9123dc46) Thanks [@tmm](https://github.com/tmm)! - Fixed internal type compilation error.
1845
+
1846
+ ## 0.1.0
1847
+
1848
+ ### Minor Changes
1849
+
1850
+ - [`fec4460`](https://github.com/wagmi-dev/viem/commit/fec4460f63ac2c367722554cf910f1ee78b2795d) Thanks [@jxom](https://github.com/jxom)! - Initial release.
1851
+
1852
+ ## 0.0.1-alpha.39
1853
+
1854
+ ### Patch Changes
1855
+
1856
+ - [`68c3816`](https://github.com/wagmi-dev/viem/commit/68c3816c8c492aa0943b63438a13109e9ac682df) Thanks [@jxom](https://github.com/jxom)! - Added `encodePacked`.
1857
+
1858
+ - [`68c3816`](https://github.com/wagmi-dev/viem/commit/68c3816c8c492aa0943b63438a13109e9ac682df) Thanks [@jxom](https://github.com/jxom)! - Made `keccak256` accept a hex value (as well as byte array).
1859
+
1860
+ ## 0.0.1-alpha.38
1861
+
1862
+ ### Patch Changes
1863
+
1864
+ - [`59a60cb`](https://github.com/wagmi-dev/viem/commit/59a60cb8cc7d0109c08fa5906a24c6eb8e48b183) Thanks [@jxom](https://github.com/jxom)! - Fixed decoding zero data bytes
1865
+
1866
+ ## 0.0.1-alpha.37
1867
+
1868
+ ### Patch Changes
1869
+
1870
+ - [`e07f212`](https://github.com/wagmi-dev/viem/commit/e07f212af5ef94b938939f0205056c29747bb919) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `formatUnit` and `parseUnit` to `formatUnits` and `parseUnits`.
1871
+
1872
+ ## 0.0.1-alpha.36
1873
+
1874
+ ### Patch Changes
1875
+
1876
+ - [#100](https://github.com/wagmi-dev/viem/pull/100) [`6bb8ce4`](https://github.com/wagmi-dev/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `requestAccounts` Wallet Action to `requestAddresses`
1877
+
1878
+ **Breaking:** Renamed `getAccounts` Wallet Action to `getAddresses`
1879
+
1880
+ - [#100](https://github.com/wagmi-dev/viem/pull/100) [`6bb8ce4`](https://github.com/wagmi-dev/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - Added support for Externally Owned Accounts.
1881
+
1882
+ - [#100](https://github.com/wagmi-dev/viem/pull/100) [`6bb8ce4`](https://github.com/wagmi-dev/viem/commit/6bb8ce4eafff68989281f19fb315c0ea2f22b01a) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** The `from` argument has been removed from Actions in favour of `account` to distinguish between [Account types](https://viem.sh/docs/clients/wallet):
1883
+
1884
+ ```diff
1885
+ + import { getAccount } from 'viem'
1886
+
1887
+ const [address] = await walletClient.requestAddresses()
1888
+ + const account = getAccount(address)
1889
+
1890
+ const hash = await walletClient.sendTransaction({
1891
+ - from: address,
1892
+ + account,
1893
+ to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
1894
+ value: 1000000000000000000n
1895
+ })
1896
+ ```
1897
+
1898
+ Affected actions:
1899
+
1900
+ - `call`
1901
+ - `estimateGas`
1902
+ - `sendTransaction`
1903
+ - `signMessage`
1904
+ - `estimateContractGas`
1905
+ - `multicall`
1906
+ - `readContract`
1907
+ - `simulateContract`
1908
+ - `writeContract`
1909
+
1910
+ ## 0.0.1-alpha.35
1911
+
1912
+ ### Patch Changes
1913
+
1914
+ - [`057e01e`](https://github.com/wagmi-dev/viem/commit/057e01e9fff7346304e787d93053d84a09278335) Thanks [@jxom](https://github.com/jxom)! - - `testClient.getTxPoolContent` → `testClient.getTxpoolContent`
1915
+
1916
+ - `testClient.getTxPoolStatus` → `testClient.getTxpoolStatus`
1917
+
1918
+ - [#85](https://github.com/wagmi-dev/viem/pull/85) [`2350d1a`](https://github.com/wagmi-dev/viem/commit/2350d1af1ff67d725ff3563538b9886a405ab8bd) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `encodeAbi` & `decodeAbi` to `encodeAbiParameters` & `decodeAbiParameters`, and modified API from named arguments to inplace arguments:
1919
+
1920
+ ```diff
1921
+ import {
1922
+ - encodeAbi,
1923
+ - decodeAbi,
1924
+ + encodeAbiParameters,
1925
+ + decodeAbiParameters,
1926
+ } from 'viem'
1927
+
1928
+ -const result = encodeAbi({ params, values })
1929
+ +const result = encodeAbiParameters(params, values)
1930
+
1931
+ -const result = decodeAbi({ params, data })
1932
+ +const result = decodeAbiParameters(params, data)
1933
+ ```
1934
+
1935
+ ## 0.0.1-alpha.34
1936
+
1937
+ ### Patch Changes
1938
+
1939
+ - [`e1634b5`](https://github.com/wagmi-dev/viem/commit/e1634b5d110b1a39032eab9813f93244b04123ad) Thanks [@jxom](https://github.com/jxom)! - Fixed ABI encoding dynamic tuple child derivation
1940
+
1941
+ ## 0.0.1-alpha.33
1942
+
1943
+ ### Patch Changes
1944
+
1945
+ - [`1971e6a`](https://github.com/wagmi-dev/viem/commit/1971e6ad74df802bdbd988ddc5e6fc06fad66091) Thanks [@jxom](https://github.com/jxom)! - Added assertion to check if addresses are valid for `sendTransaction`, `estimateGas` & `call`.
1946
+
1947
+ ## 0.0.1-alpha.32
1948
+
1949
+ ### Patch Changes
1950
+
1951
+ - [`7243744`](https://github.com/wagmi-dev/viem/commit/7243744ecd230532b8f11d1766318a75760229e5) Thanks [@jxom](https://github.com/jxom)! - Added support for `4001` & `4902` RPC error codes.
1952
+
1953
+ ## 0.0.1-alpha.31
1954
+
1955
+ ### Patch Changes
1956
+
1957
+ - [#89](https://github.com/wagmi-dev/viem/pull/89) [`3e45853`](https://github.com/wagmi-dev/viem/commit/3e45853a2252e6a5496acae65c3cebecbdb4260f) Thanks [@jxom](https://github.com/jxom)! - Added `fetchOptions` to the `http` transport.
1958
+
1959
+ - [#91](https://github.com/wagmi-dev/viem/pull/91) [`0ac32c2`](https://github.com/wagmi-dev/viem/commit/0ac32c2852dc470aaba560623a2e169927a546d5) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Renamed `getFunctionSignature` and `getEventSignature` to `getFunctionSelector` and `getEventSelector`.
1960
+
1961
+ ## 0.0.1-alpha.30
1962
+
1963
+ ### Patch Changes
1964
+
1965
+ - [#81](https://github.com/wagmi-dev/viem/pull/81) [`eb572b0`](https://github.com/wagmi-dev/viem/commit/eb572b0a431606f8c31abb011cef08ad36d0836c) Thanks [@jxom](https://github.com/jxom)! - Improved transaction & contract error messaging & coalesce error messages from nodes.
1966
+
1967
+ ## 0.0.1-alpha.29
1968
+
1969
+ ### Patch Changes
1970
+
1971
+ - [`6bdee9c`](https://github.com/wagmi-dev/viem/commit/6bdee9c8dde1c06ebde769c50c1002b2cca0a0f9) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where fallback transport was not falling back on timeouts
1972
+
1973
+ ## 0.0.1-alpha.28
1974
+
1975
+ ### Patch Changes
1976
+
1977
+ - [`8ef068b`](https://github.com/wagmi-dev/viem/commit/8ef068b024d90b1a62e34b6556268d6a38514eb3) Thanks [@jxom](https://github.com/jxom)! - Added `502`, `503` and `504` error codes as "non-deterministic" errors for `fallback` transport & retries.
1978
+
1979
+ - [#79](https://github.com/wagmi-dev/viem/pull/79) [`db9caa9`](https://github.com/wagmi-dev/viem/commit/db9caa98fb7cf8592940c1c2e4d41b678b70240c) Thanks [@jxom](https://github.com/jxom)! - Added `timeout` as a config option to the `http` and `webSocket` Transports.
1980
+
1981
+ - [#77](https://github.com/wagmi-dev/viem/pull/77) [`d6a29f5`](https://github.com/wagmi-dev/viem/commit/d6a29f5223324660cd98c2a6aaf345c207b2cd97) Thanks [@jxom](https://github.com/jxom)! - Decorated Clients with their respective Actions.
1982
+
1983
+ Example:
1984
+
1985
+ ```diff
1986
+ import { createPublicClient, http } from 'viem'
1987
+ import { mainnet } from 'viem/chains'
1988
+ -import { getBlockNumber } from 'viem/public'
1989
+
1990
+ const client = createPublicClient({
1991
+ chain: mainnet,
1992
+ transport: http(),
1993
+ })
1994
+
1995
+ - const blockNumber = await getBlockNumber(client)
1996
+ + const blockNumber = await client.getBlockNumber()
1997
+ ```
1998
+
1999
+ ## 0.0.1-alpha.26
2000
+
2001
+ ### Patch Changes
2002
+
2003
+ **Breaking**: Renamed encoding utils.
2004
+
2005
+ - `encodeBytes`/`decodeBytes` → `toBytes`/`fromBytes`
2006
+ - `encodeHex`/`decodeHex` → `toHex`/`fromHex`
2007
+ - `encodeRlp`/`decodeRlp` → `toRlp`/`fromRlp`
2008
+
2009
+ ## 0.0.1-alpha.26
2010
+
2011
+ ### Patch Changes
2012
+
2013
+ - [`7d9a241`](https://github.com/wagmi-dev/viem/commit/7d9a2413805b142611d29d7e5faddd44ae3c047c) Thanks [@jxom](https://github.com/jxom)! - Added `estimateContractGas`.
2014
+
2015
+ - [`7d9a241`](https://github.com/wagmi-dev/viem/commit/7d9a2413805b142611d29d7e5faddd44ae3c047c) Thanks [@jxom](https://github.com/jxom)! - Added `retryCount` and `retryDelay` config to Transports.
2016
+
2017
+ ## 0.0.1-alpha.25
2018
+
2019
+ ### Patch Changes
2020
+
2021
+ - [`6c902f8`](https://github.com/wagmi-dev/viem/commit/6c902f86e2067dcd366434722429fe873c8d6089) Thanks [@jxom](https://github.com/jxom)! - Added `decodeEventLog`.
2022
+
2023
+ - [#68](https://github.com/wagmi-dev/viem/pull/68) [`1be77b3`](https://github.com/wagmi-dev/viem/commit/1be77b3e7f454ae6085daefe1f24ca9f757334f8) Thanks [@jxom](https://github.com/jxom)! - **Breaking:** Removed all public/wallet/test actions & utils from the `viem` entrypoint to their respective entrypoints:
2024
+
2025
+ - `viem` = Clients & Transport exports
2026
+ - `viem/chains` = Chains exports
2027
+ - `viem/contract` = Contract Actions & Utils exports
2028
+ - `viem/ens` = ENS Actions & Utils exports
2029
+ - `viem/public` = Public Actions exports
2030
+ - `viem/test` = Test Actions exports
2031
+ - `viem/utils` = Utils exports
2032
+ - `viem/wallet` = Wallet Actions exports
2033
+
2034
+ - [#66](https://github.com/wagmi-dev/viem/pull/66) [`f19fc32`](https://github.com/wagmi-dev/viem/commit/f19fc329bd7bad7639824fcf65387be542facc83) Thanks [@tmm](https://github.com/tmm)! - Added ENS actions `getEnsAddress` and `getEnsName`.
2035
+
2036
+ ## 0.0.1-alpha.24
2037
+
2038
+ ### Patch Changes
2039
+
2040
+ - [#63](https://github.com/wagmi-dev/viem/pull/63) [`7473582`](https://github.com/wagmi-dev/viem/commit/7473582aff91c6c717ee112743c45dc4cf5dd543) Thanks [@tmm](https://github.com/tmm)! - Exported missing `watchContractEvent` and `watchEvent` actions.
2041
+
2042
+ ## 0.0.1-alpha.23
2043
+
2044
+ ### Patch Changes
2045
+
2046
+ - [#61](https://github.com/wagmi-dev/viem/pull/61) [`e4b2dbb`](https://github.com/wagmi-dev/viem/commit/e4b2dbb67e5b9f7f8d703191207931042127ebce) Thanks [@tmm](https://github.com/tmm)! - Exported multicall action
2047
+
2048
+ ## 0.0.1-alpha.22
2049
+
2050
+ ### Patch Changes
2051
+
2052
+ - [#57](https://github.com/wagmi-dev/viem/pull/57) [`40c76e3`](https://github.com/wagmi-dev/viem/commit/40c76e3ac4478ee1e5c739d8162eb2006e3679e0) Thanks [@jxom](https://github.com/jxom)! - support `Panic` & custom contract errors
2053
+
2054
+ - [#56](https://github.com/wagmi-dev/viem/pull/56) [`3e90197`](https://github.com/wagmi-dev/viem/commit/3e90197bbac1ea571876d316a8667f4a00e84e9f) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `humanMessage` to `shortMessage` in `BaseError`.
2055
+ - Added `multicall`.
2056
+ - Support overloaded contract functions.
2057
+
2058
+ ## 0.0.1-alpha.21
2059
+
2060
+ ### Patch Changes
2061
+
2062
+ - [`5a6bdf8`](https://github.com/wagmi-dev/viem/commit/5a6bdf8ea034b7edf6b2207b525764cee43bdb4b) Thanks [@jxom](https://github.com/jxom)! - Fixed an issue where `encodeAbi` couldn't encode dynamic bytes larger than 32 bytes"
2063
+
2064
+ ## 0.0.1-alpha.20
2065
+
2066
+ ### Patch Changes
2067
+
2068
+ - [`ebf1dc8`](https://github.com/wagmi-dev/viem/commit/ebf1dc8e4785fd8115687995916882caa94f7ecd) Thanks [@jxom](https://github.com/jxom)! - Added `watchEvent`
2069
+
2070
+ - [`ebf1dc8`](https://github.com/wagmi-dev/viem/commit/ebf1dc8e4785fd8115687995916882caa94f7ecd) Thanks [@jxom](https://github.com/jxom)! - Added `watchContractEvent`
2071
+
2072
+ - [`ae90357`](https://github.com/wagmi-dev/viem/commit/ae9035735590b09e375dd4f773dd8b5e6c953fab) Thanks [@jxom](https://github.com/jxom)! - Made `watchBlocks` more type safe with the `includeTransactions` arg.
2073
+
2074
+ ## 0.0.1-alpha.19
2075
+
2076
+ ### Patch Changes
2077
+
2078
+ - [`2028985`](https://github.com/wagmi-dev/viem/commit/202898521d4c211d73f8194c642c62a9baa57a46) Thanks [@jxom](https://github.com/jxom)! - Added `getStorageAt`
2079
+
2080
+ ## 0.0.1-alpha.18
2081
+
2082
+ ### Patch Changes
2083
+
2084
+ - [`7afdee8`](https://github.com/wagmi-dev/viem/commit/7afdee87cda6cebeeb9446773b6373ab680f7207) Thanks [@jxom](https://github.com/jxom)! - Added `readContract`
2085
+
2086
+ ## 0.0.1-alpha.17
2087
+
2088
+ ### Patch Changes
2089
+
2090
+ - [`ac69d16`](https://github.com/wagmi-dev/viem/commit/ac69d1675e70624919dc564f73ab91064c683a52) Thanks [@jxom](https://github.com/jxom)! - Added `writeContract`.
2091
+
2092
+ - [`ac69d16`](https://github.com/wagmi-dev/viem/commit/ac69d1675e70624919dc564f73ab91064c683a52) Thanks [@jxom](https://github.com/jxom)! - **Breaking**: Replaced `callContract` with `simulateContract`.
2093
+
2094
+ - [#44](https://github.com/wagmi-dev/viem/pull/44) [`f908190`](https://github.com/wagmi-dev/viem/commit/f90819098e11a2415d1220a6e857c45b09450885) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `getLogs` action.
2095
+
2096
+ ## 0.0.1-alpha.16
2097
+
2098
+ ### Patch Changes
2099
+
2100
+ - [`9f386f5`](https://github.com/wagmi-dev/viem/commit/9f386f5737a228a57d1376992cd5a1374ed69262) Thanks [@jxom](https://github.com/jxom)! - Added sourcemaps
2101
+
2102
+ ## 0.0.1-alpha.15
2103
+
2104
+ ### Patch Changes
2105
+
2106
+ - [`a74d643`](https://github.com/wagmi-dev/viem/commit/a74d6438d3a1263b3b6616e0b7ec80791945c870) Thanks [@jxom](https://github.com/jxom)! - **Breaking**: Removed the `viem/actions` export in favor of `viem/public`, `viem/test` & `viem/wallet` exports.
2107
+
2108
+ ## 0.0.1-alpha.14
2109
+
2110
+ ### Patch Changes
2111
+
2112
+ - [`257c8f3`](https://github.com/wagmi-dev/viem/commit/257c8f34c83a05da7226fd84565535ffe4dc4a6a) Thanks [@jxom](https://github.com/jxom)! - Added `getBytecode`.
2113
+
2114
+ ## 0.0.1-alpha.13
2115
+
2116
+ ### Patch Changes
2117
+
2118
+ - [`8799a49`](https://github.com/wagmi-dev/viem/commit/8799a490b8b08fb90cd6edcdc1551f6b6e96bc64) Thanks [@jxom](https://github.com/jxom)! - Added `deployContract`
2119
+
2120
+ ## 0.0.1-alpha.12
2121
+
2122
+ ### Patch Changes
2123
+
2124
+ - [`6a47671`](https://github.com/wagmi-dev/viem/commit/6a47671ce9fe01f01cb744d85ac4e12674ef5b36) Thanks [@jxom](https://github.com/jxom)! - Fixed published `package.json`.
2125
+
2126
+ ## 0.0.1-alpha.11
2127
+
2128
+ ### Patch Changes
2129
+
2130
+ - [#37](https://github.com/wagmi-dev/viem/pull/37) [`32e2b76`](https://github.com/wagmi-dev/viem/commit/32e2b7649697a8143e1e6f2c2080570fb6b1a80b) Thanks [@jxom](https://github.com/jxom)! - Support CJS
2131
+
2132
+ - [`43700d9`](https://github.com/wagmi-dev/viem/commit/43700d94660ee2478d867fcf4abcc0dac64f90d0) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where preinstall/postinstall scripts were being published to NPM.
2133
+
2134
+ ## 0.0.1-alpha.10
2135
+
2136
+ ### Patch Changes
2137
+
2138
+ - [#31](https://github.com/wagmi-dev/viem/pull/31) [`1f65640`](https://github.com/wagmi-dev/viem/commit/1f65640caa44957f38f68971e9b56d8e9229031d) Thanks [@jxom](https://github.com/jxom)! - Added initial `callContract` implementation
2139
+
2140
+ ## 0.0.1-alpha.9
2141
+
2142
+ ### Patch Changes
2143
+
2144
+ - [`976fd86`](https://github.com/wagmi-dev/viem/commit/976fd86ed55cb1931ba619c116db2753cf72a10b) Thanks [@jxom](https://github.com/jxom)! - Added `decodeDeployData`.
2145
+
2146
+ ## 0.0.1-alpha.8
2147
+
2148
+ ### Patch Changes
2149
+
2150
+ - [`9120e26`](https://github.com/wagmi-dev/viem/commit/9120e26fabe5d70ef13be7bc6eabfc966e3c4a29) Thanks [@jxom](https://github.com/jxom)! - Added `encodeErrorResult`.
2151
+
2152
+ ## 0.0.1-alpha.7
2153
+
2154
+ ### Patch Changes
2155
+
2156
+ - [`c52ce66`](https://github.com/wagmi-dev/viem/commit/c52ce660d62f3d44499ea13b88a883b76dd5fe08) Thanks [@jxom](https://github.com/jxom)! - Added `decodeErrorResult`.
2157
+
2158
+ - [`497b0b1`](https://github.com/wagmi-dev/viem/commit/497b0b1ce4c3585092fda1b6a9fd0526a0414c4d) Thanks [@jxom](https://github.com/jxom)! - Added `encodeEventTopics`.
2159
+
2160
+ ## 0.0.1-alpha.6
2161
+
2162
+ ### Patch Changes
2163
+
2164
+ - [`94b32ab`](https://github.com/wagmi-dev/viem/commit/94b32ab85be156bf25fd64056532edc1d4441c70) Thanks [@jxom](https://github.com/jxom)! - Added `encodeDeployData`.
2165
+
2166
+ ## 0.0.1-alpha.5
2167
+
2168
+ ### Patch Changes
2169
+
2170
+ - [`ee4d256`](https://github.com/wagmi-dev/viem/commit/ee4d256a50e4312614501b15c6b5f9b7b3220be3) Thanks [@jxom](https://github.com/jxom)! - Added `encodeFunctionResult`.
2171
+
2172
+ ## 0.0.1-alpha.4
2173
+
2174
+ ### Patch Changes
2175
+
2176
+ - [`f2e6bb1`](https://github.com/wagmi-dev/viem/commit/f2e6bb1fee06ccd51c7b3a22accd01259daece0f) Thanks [@jxom](https://github.com/jxom)! - Added `decodeFunctionResult`.
2177
+
2178
+ ## 0.0.1-alpha.3
2179
+
2180
+ ### Patch Changes
2181
+
2182
+ - [`849653f`](https://github.com/wagmi-dev/viem/commit/849653f246422c75487c141e94509920563f6706) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `encodeFunctionParams` to `encodeFunctionData`.
2183
+ - Added `decodeFunctionData`.
2184
+
2185
+ ## 0.0.1-alpha.2
2186
+
2187
+ ### Patch Changes
2188
+
2189
+ - [#18](https://github.com/wagmi-dev/viem/pull/18) [`bb9e88a`](https://github.com/wagmi-dev/viem/commit/bb9e88a7fd1156550fe69a37d82fc67f2f63439b) Thanks [@jxom](https://github.com/jxom)! - Added `encodeFunctionParams`.
2190
+
2191
+ ## 0.0.1-alpha.1
2192
+
2193
+ ### Patch Changes
2194
+
2195
+ - [`d722728`](https://github.com/wagmi-dev/viem/commit/d722728e8d54065b5f9882ec6146c194de4b3c62) Thanks [@jxom](https://github.com/jxom)! - - **Breaking**: Renamed `ethereumProvider` Transport to `custom`.
2196
+ - **Breaking**: Refactored Transport APIs.
2197
+ - **Breaking**: Flattened `sendTransaction`, `call` & `estimateGas` APIs.
2198
+ - Added `encodeAbi` & `decodeAbi`.
2199
+ - Added `fallback` Transport.
2200
+ - Added `getFilterLogs`.