viem 2.35.1 → 2.36.0

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 (626) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
  3. package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js +1 -1
  4. package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
  5. package/_cjs/account-abstraction/clients/createBundlerClient.js.map +1 -1
  6. package/_cjs/account-abstraction/index.js +9 -9
  7. package/_cjs/account-abstraction/index.js.map +1 -1
  8. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  9. package/_cjs/accounts/index.js +24 -24
  10. package/_cjs/accounts/index.js.map +1 -1
  11. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  12. package/_cjs/accounts/toAccount.js.map +1 -1
  13. package/_cjs/accounts/utils/signTypedData.js.map +1 -1
  14. package/_cjs/actions/getContract.js.map +1 -1
  15. package/_cjs/actions/index.js +76 -76
  16. package/_cjs/actions/index.js.map +1 -1
  17. package/_cjs/actions/public/call.js +24 -14
  18. package/_cjs/actions/public/call.js.map +1 -1
  19. package/_cjs/actions/public/createAccessList.js.map +1 -1
  20. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  21. package/_cjs/actions/public/multicall.js +20 -16
  22. package/_cjs/actions/public/multicall.js.map +1 -1
  23. package/_cjs/actions/public/simulateBlocks.js +1 -1
  24. package/_cjs/actions/public/simulateBlocks.js.map +1 -1
  25. package/_cjs/actions/public/simulateContract.js.map +1 -1
  26. package/_cjs/actions/public/verifyMessage.js.map +1 -1
  27. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  28. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  29. package/_cjs/actions/public/watchEvent.js +4 -4
  30. package/_cjs/actions/public/watchEvent.js.map +1 -1
  31. package/_cjs/actions/siwe/verifySiweMessage.js.map +1 -1
  32. package/_cjs/actions/wallet/deployContract.js.map +1 -1
  33. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  34. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  35. package/_cjs/actions/wallet/waitForCallsStatus.js +1 -1
  36. package/_cjs/actions/wallet/waitForCallsStatus.js.map +1 -1
  37. package/_cjs/celo/parsers.js +1 -1
  38. package/_cjs/celo/parsers.js.map +1 -1
  39. package/_cjs/chains/index.js +45 -45
  40. package/_cjs/chains/index.js.map +1 -1
  41. package/_cjs/clients/createClient.js.map +1 -1
  42. package/_cjs/clients/decorators/test.js.map +1 -1
  43. package/_cjs/constants/contracts.js +2 -1
  44. package/_cjs/constants/contracts.js.map +1 -1
  45. package/_cjs/ens/index.js +7 -7
  46. package/_cjs/ens/index.js.map +1 -1
  47. package/_cjs/errors/contract.js +1 -1
  48. package/_cjs/errors/contract.js.map +1 -1
  49. package/_cjs/errors/version.js +1 -1
  50. package/_cjs/experimental/erc7739/actions/signMessage.js +1 -1
  51. package/_cjs/experimental/erc7739/actions/signMessage.js.map +1 -1
  52. package/_cjs/experimental/erc7739/utils/hashMessage.js +1 -1
  53. package/_cjs/experimental/erc7739/utils/hashMessage.js.map +1 -1
  54. package/_cjs/experimental/erc7821/index.js +3 -3
  55. package/_cjs/experimental/erc7821/index.js.map +1 -1
  56. package/_cjs/experimental/index.js +13 -13
  57. package/_cjs/experimental/index.js.map +1 -1
  58. package/_cjs/index.js +262 -262
  59. package/_cjs/index.js.map +1 -1
  60. package/_cjs/linea/index.js.map +1 -1
  61. package/_cjs/node/index.js +3 -3
  62. package/_cjs/node/index.js.map +1 -1
  63. package/_cjs/nonce/index.js.map +1 -1
  64. package/_cjs/op-stack/index.js +14 -14
  65. package/_cjs/op-stack/index.js.map +1 -1
  66. package/_cjs/siwe/index.js +3 -3
  67. package/_cjs/siwe/index.js.map +1 -1
  68. package/_cjs/utils/abi/decodeAbiParameters.js +2 -2
  69. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  70. package/_cjs/utils/abi/decodeDeployData.js.map +1 -1
  71. package/_cjs/utils/abi/decodeEventLog.js +1 -1
  72. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  73. package/_cjs/utils/abi/decodeFunctionResult.js.map +1 -1
  74. package/_cjs/utils/abi/encodeAbiParameters.js +2 -2
  75. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  76. package/_cjs/utils/abi/encodeErrorResult.js.map +1 -1
  77. package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
  78. package/_cjs/utils/abi/encodeFunctionData.js.map +1 -1
  79. package/_cjs/utils/abi/encodeFunctionResult.js.map +1 -1
  80. package/_cjs/utils/abi/encodePacked.js +3 -3
  81. package/_cjs/utils/abi/encodePacked.js.map +1 -1
  82. package/_cjs/utils/abi/getAbiItem.js +1 -1
  83. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  84. package/_cjs/utils/abi/prepareEncodeFunctionData.js.map +1 -1
  85. package/_cjs/utils/address/getContractAddress.js.map +1 -1
  86. package/_cjs/utils/buildRequest.js +1 -1
  87. package/_cjs/utils/buildRequest.js.map +1 -1
  88. package/_cjs/utils/ccip.js.map +1 -1
  89. package/_cjs/utils/ens/avatar/utils.js +3 -3
  90. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  91. package/_cjs/utils/filters/createFilterRequestScope.js.map +1 -1
  92. package/_cjs/utils/hash/hashSignature.js.map +1 -1
  93. package/_cjs/utils/index.js +134 -134
  94. package/_cjs/utils/index.js.map +1 -1
  95. package/_cjs/utils/poll.js +1 -1
  96. package/_cjs/utils/poll.js.map +1 -1
  97. package/_cjs/utils/promise/withCache.js +1 -1
  98. package/_cjs/utils/promise/withCache.js.map +1 -1
  99. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  100. package/_cjs/utils/rpc/socket.js.map +1 -1
  101. package/_cjs/utils/signature/recoverAddress.js.map +1 -1
  102. package/_cjs/utils/signature/recoverMessageAddress.js.map +1 -1
  103. package/_cjs/utils/signature/recoverTypedDataAddress.js.map +1 -1
  104. package/_cjs/utils/signature/verifyHash.js.map +1 -1
  105. package/_cjs/utils/signature/verifyMessage.js.map +1 -1
  106. package/_cjs/utils/signature/verifyTypedData.js.map +1 -1
  107. package/_cjs/utils/siwe/createSiweMessage.js +1 -1
  108. package/_cjs/utils/siwe/createSiweMessage.js.map +1 -1
  109. package/_cjs/utils/siwe/utils.js +3 -3
  110. package/_cjs/utils/siwe/utils.js.map +1 -1
  111. package/_cjs/utils/typedData.js +3 -3
  112. package/_cjs/utils/typedData.js.map +1 -1
  113. package/_cjs/zksync/actions/claimFailedDeposit.js.map +1 -1
  114. package/_cjs/zksync/actions/sendTransaction.js.map +1 -1
  115. package/_cjs/zksync/actions/signTransaction.js.map +1 -1
  116. package/_cjs/zksync/decorators/publicL2.js.map +1 -1
  117. package/_cjs/zksync/index.js +28 -28
  118. package/_cjs/zksync/index.js.map +1 -1
  119. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  120. package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
  121. package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js +1 -1
  122. package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
  123. package/_esm/account-abstraction/clients/createBundlerClient.js.map +1 -1
  124. package/_esm/account-abstraction/index.js +4 -4
  125. package/_esm/account-abstraction/index.js.map +1 -1
  126. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  127. package/_esm/accounts/index.js +8 -8
  128. package/_esm/accounts/index.js.map +1 -1
  129. package/_esm/accounts/privateKeyToAccount.js.map +1 -1
  130. package/_esm/accounts/toAccount.js.map +1 -1
  131. package/_esm/accounts/utils/signTypedData.js.map +1 -1
  132. package/_esm/accounts/wordlists.js +1 -1
  133. package/_esm/accounts/wordlists.js.map +1 -1
  134. package/_esm/actions/getContract.js.map +1 -1
  135. package/_esm/actions/index.js +36 -36
  136. package/_esm/actions/index.js.map +1 -1
  137. package/_esm/actions/public/call.js +25 -15
  138. package/_esm/actions/public/call.js.map +1 -1
  139. package/_esm/actions/public/createAccessList.js.map +1 -1
  140. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  141. package/_esm/actions/public/multicall.js +20 -16
  142. package/_esm/actions/public/multicall.js.map +1 -1
  143. package/_esm/actions/public/simulateBlocks.js +1 -1
  144. package/_esm/actions/public/simulateBlocks.js.map +1 -1
  145. package/_esm/actions/public/simulateContract.js.map +1 -1
  146. package/_esm/actions/public/verifyHash.js.map +1 -1
  147. package/_esm/actions/public/verifyMessage.js.map +1 -1
  148. package/_esm/actions/public/waitForTransactionReceipt.js +0 -1
  149. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  150. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  151. package/_esm/actions/public/watchEvent.js +4 -4
  152. package/_esm/actions/public/watchEvent.js.map +1 -1
  153. package/_esm/actions/siwe/verifySiweMessage.js.map +1 -1
  154. package/_esm/actions/wallet/deployContract.js.map +1 -1
  155. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  156. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  157. package/_esm/actions/wallet/signMessage.js.map +1 -1
  158. package/_esm/actions/wallet/signTransaction.js.map +1 -1
  159. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  160. package/_esm/actions/wallet/waitForCallsStatus.js +1 -1
  161. package/_esm/actions/wallet/waitForCallsStatus.js.map +1 -1
  162. package/_esm/celo/parsers.js +1 -1
  163. package/_esm/celo/parsers.js.map +1 -1
  164. package/_esm/chains/index.js +17 -17
  165. package/_esm/chains/index.js.map +1 -1
  166. package/_esm/clients/createClient.js.map +1 -1
  167. package/_esm/clients/decorators/test.js.map +1 -1
  168. package/_esm/clients/transports/custom.js.map +1 -1
  169. package/_esm/clients/transports/fallback.js.map +1 -1
  170. package/_esm/clients/transports/http.js.map +1 -1
  171. package/_esm/clients/transports/ipc.js.map +1 -1
  172. package/_esm/clients/transports/webSocket.js.map +1 -1
  173. package/_esm/constants/contracts.js +1 -0
  174. package/_esm/constants/contracts.js.map +1 -1
  175. package/_esm/ens/index.js +3 -3
  176. package/_esm/ens/index.js.map +1 -1
  177. package/_esm/errors/contract.js +1 -1
  178. package/_esm/errors/contract.js.map +1 -1
  179. package/_esm/errors/version.js +1 -1
  180. package/_esm/experimental/erc7739/actions/signMessage.js +1 -1
  181. package/_esm/experimental/erc7739/actions/signMessage.js.map +1 -1
  182. package/_esm/experimental/erc7739/utils/hashMessage.js +1 -1
  183. package/_esm/experimental/erc7739/utils/hashMessage.js.map +1 -1
  184. package/_esm/experimental/erc7821/index.js +1 -1
  185. package/_esm/experimental/erc7821/index.js.map +1 -1
  186. package/_esm/experimental/index.js +16 -16
  187. package/_esm/experimental/index.js.map +1 -1
  188. package/_esm/index.js +100 -100
  189. package/_esm/index.js.map +1 -1
  190. package/_esm/linea/index.js.map +1 -1
  191. package/_esm/node/index.js +1 -1
  192. package/_esm/node/index.js.map +1 -1
  193. package/_esm/node/trustedSetups.js +1 -0
  194. package/_esm/node/trustedSetups.js.map +1 -1
  195. package/_esm/nonce/index.js.map +1 -1
  196. package/_esm/op-stack/actions/estimateDepositTransactionGas.js +1 -1
  197. package/_esm/op-stack/actions/estimateDepositTransactionGas.js.map +1 -1
  198. package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js +1 -1
  199. package/_esm/op-stack/actions/estimateFinalizeWithdrawalGas.js.map +1 -1
  200. package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js +1 -1
  201. package/_esm/op-stack/actions/estimateInitiateWithdrawalGas.js.map +1 -1
  202. package/_esm/op-stack/actions/estimateProveWithdrawalGas.js +1 -1
  203. package/_esm/op-stack/actions/estimateProveWithdrawalGas.js.map +1 -1
  204. package/_esm/op-stack/index.js +7 -7
  205. package/_esm/op-stack/index.js.map +1 -1
  206. package/_esm/siwe/index.js +1 -1
  207. package/_esm/siwe/index.js.map +1 -1
  208. package/_esm/utils/abi/decodeAbiParameters.js +2 -2
  209. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  210. package/_esm/utils/abi/decodeDeployData.js.map +1 -1
  211. package/_esm/utils/abi/decodeEventLog.js +1 -1
  212. package/_esm/utils/abi/decodeEventLog.js.map +1 -1
  213. package/_esm/utils/abi/decodeFunctionResult.js.map +1 -1
  214. package/_esm/utils/abi/encodeAbiParameters.js +2 -2
  215. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  216. package/_esm/utils/abi/encodeErrorResult.js.map +1 -1
  217. package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
  218. package/_esm/utils/abi/encodeFunctionData.js.map +1 -1
  219. package/_esm/utils/abi/encodeFunctionResult.js.map +1 -1
  220. package/_esm/utils/abi/encodePacked.js +3 -3
  221. package/_esm/utils/abi/encodePacked.js.map +1 -1
  222. package/_esm/utils/abi/getAbiItem.js +1 -1
  223. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  224. package/_esm/utils/abi/prepareEncodeFunctionData.js.map +1 -1
  225. package/_esm/utils/address/getContractAddress.js.map +1 -1
  226. package/_esm/utils/buildRequest.js +2 -2
  227. package/_esm/utils/buildRequest.js.map +1 -1
  228. package/_esm/utils/ccip.js.map +1 -1
  229. package/_esm/utils/encoding/fromBytes.js.map +1 -1
  230. package/_esm/utils/ens/avatar/parseAvatarRecord.js.map +1 -1
  231. package/_esm/utils/ens/avatar/utils.js +3 -4
  232. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  233. package/_esm/utils/ens/namehash.js.map +1 -1
  234. package/_esm/utils/filters/createFilterRequestScope.js.map +1 -1
  235. package/_esm/utils/hash/hashSignature.js.map +1 -1
  236. package/_esm/utils/index.js +55 -55
  237. package/_esm/utils/index.js.map +1 -1
  238. package/_esm/utils/poll.js +1 -1
  239. package/_esm/utils/poll.js.map +1 -1
  240. package/_esm/utils/promise/withCache.js +1 -1
  241. package/_esm/utils/promise/withCache.js.map +1 -1
  242. package/_esm/utils/promise/withTimeout.js.map +1 -1
  243. package/_esm/utils/rpc/compat.js.map +1 -1
  244. package/_esm/utils/rpc/ipc.js.map +1 -1
  245. package/_esm/utils/rpc/socket.js +1 -0
  246. package/_esm/utils/rpc/socket.js.map +1 -1
  247. package/_esm/utils/rpc/webSocket.js.map +1 -1
  248. package/_esm/utils/signature/hashTypedData.js.map +1 -1
  249. package/_esm/utils/signature/recoverAddress.js.map +1 -1
  250. package/_esm/utils/signature/recoverMessageAddress.js.map +1 -1
  251. package/_esm/utils/signature/recoverTypedDataAddress.js.map +1 -1
  252. package/_esm/utils/signature/toPrefixedMessage.js.map +1 -1
  253. package/_esm/utils/signature/verifyHash.js.map +1 -1
  254. package/_esm/utils/signature/verifyMessage.js.map +1 -1
  255. package/_esm/utils/signature/verifyTypedData.js.map +1 -1
  256. package/_esm/utils/siwe/createSiweMessage.js +1 -1
  257. package/_esm/utils/siwe/createSiweMessage.js.map +1 -1
  258. package/_esm/utils/siwe/utils.js +3 -3
  259. package/_esm/utils/siwe/utils.js.map +1 -1
  260. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  261. package/_esm/utils/typedData.js +3 -3
  262. package/_esm/utils/typedData.js.map +1 -1
  263. package/_esm/zksync/actions/claimFailedDeposit.js.map +1 -1
  264. package/_esm/zksync/actions/deposit.js.map +1 -1
  265. package/_esm/zksync/actions/requestExecute.js.map +1 -1
  266. package/_esm/zksync/actions/sendTransaction.js.map +1 -1
  267. package/_esm/zksync/actions/signTransaction.js.map +1 -1
  268. package/_esm/zksync/decorators/publicL2.js.map +1 -1
  269. package/_esm/zksync/index.js +13 -13
  270. package/_esm/zksync/index.js.map +1 -1
  271. package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
  272. package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts.map +1 -1
  273. package/_types/account-abstraction/accounts/types.d.ts.map +1 -1
  274. package/_types/account-abstraction/clients/createBundlerClient.d.ts +1 -2
  275. package/_types/account-abstraction/clients/createBundlerClient.d.ts.map +1 -1
  276. package/_types/account-abstraction/index.d.ts +11 -11
  277. package/_types/account-abstraction/index.d.ts.map +1 -1
  278. package/_types/accounts/hdKeyToAccount.d.ts +1 -1
  279. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  280. package/_types/accounts/index.d.ts +15 -15
  281. package/_types/accounts/index.d.ts.map +1 -1
  282. package/_types/accounts/privateKeyToAccount.d.ts +1 -1
  283. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
  284. package/_types/accounts/toAccount.d.ts +1 -1
  285. package/_types/accounts/toAccount.d.ts.map +1 -1
  286. package/_types/accounts/utils/signTypedData.d.ts +1 -1
  287. package/_types/accounts/utils/signTypedData.d.ts.map +1 -1
  288. package/_types/actions/getContract.d.ts +1 -1
  289. package/_types/actions/getContract.d.ts.map +1 -1
  290. package/_types/actions/index.d.ts +44 -44
  291. package/_types/actions/index.d.ts.map +1 -1
  292. package/_types/actions/public/call.d.ts.map +1 -1
  293. package/_types/actions/public/createAccessList.d.ts.map +1 -1
  294. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +1 -2
  295. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  296. package/_types/actions/public/multicall.d.ts +8 -1
  297. package/_types/actions/public/multicall.d.ts.map +1 -1
  298. package/_types/actions/public/simulateContract.d.ts +1 -1
  299. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  300. package/_types/actions/public/verifyHash.d.ts.map +1 -1
  301. package/_types/actions/public/verifyMessage.d.ts.map +1 -1
  302. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  303. package/_types/actions/public/watchContractEvent.d.ts +2 -2
  304. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  305. package/_types/actions/public/watchEvent.d.ts +2 -2
  306. package/_types/actions/public/watchEvent.d.ts.map +1 -1
  307. package/_types/actions/siwe/verifySiweMessage.d.ts.map +1 -1
  308. package/_types/actions/wallet/deployContract.d.ts +2 -3
  309. package/_types/actions/wallet/deployContract.d.ts.map +1 -1
  310. package/_types/actions/wallet/prepareTransactionRequest.d.ts +1 -2
  311. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  312. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  313. package/_types/actions/wallet/signMessage.d.ts.map +1 -1
  314. package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
  315. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  316. package/_types/celo/chainConfig.d.ts +20 -20
  317. package/_types/celo/formatters.d.ts +10 -10
  318. package/_types/celo/parsers.d.ts.map +1 -1
  319. package/_types/celo/types.d.ts +3 -3
  320. package/_types/celo/types.d.ts.map +1 -1
  321. package/_types/chains/definitions/abstract.d.ts +13 -13
  322. package/_types/chains/definitions/abstractTestnet.d.ts +13 -13
  323. package/_types/chains/definitions/ancient8.d.ts +3 -3
  324. package/_types/chains/definitions/ancient8Sepolia.d.ts +3 -3
  325. package/_types/chains/definitions/base.d.ts +6 -6
  326. package/_types/chains/definitions/baseGoerli.d.ts +3 -3
  327. package/_types/chains/definitions/baseSepolia.d.ts +6 -6
  328. package/_types/chains/definitions/blast.d.ts +3 -3
  329. package/_types/chains/definitions/bob.d.ts +3 -3
  330. package/_types/chains/definitions/bobSepolia.d.ts +3 -3
  331. package/_types/chains/definitions/celo.d.ts +20 -20
  332. package/_types/chains/definitions/celoAlfajores.d.ts +20 -20
  333. package/_types/chains/definitions/celoSepolia.d.ts +20 -20
  334. package/_types/chains/definitions/dchain.d.ts +3 -3
  335. package/_types/chains/definitions/dchainTestnet.d.ts +3 -3
  336. package/_types/chains/definitions/elysiumTestnet.d.ts +3 -3
  337. package/_types/chains/definitions/fraxtal.d.ts +3 -3
  338. package/_types/chains/definitions/fraxtalTestnet.d.ts +3 -3
  339. package/_types/chains/definitions/funkiMainnet.d.ts +3 -3
  340. package/_types/chains/definitions/funkiSepolia.d.ts +3 -3
  341. package/_types/chains/definitions/garnet.d.ts +3 -3
  342. package/_types/chains/definitions/ink.d.ts +3 -3
  343. package/_types/chains/definitions/inkSepolia.d.ts +3 -3
  344. package/_types/chains/definitions/lisk.d.ts +3 -3
  345. package/_types/chains/definitions/liskSepolia.d.ts +3 -3
  346. package/_types/chains/definitions/metalL2.d.ts +3 -3
  347. package/_types/chains/definitions/mode.d.ts +3 -3
  348. package/_types/chains/definitions/modeTestnet.d.ts +3 -3
  349. package/_types/chains/definitions/optimism.d.ts +3 -3
  350. package/_types/chains/definitions/optimismGoerli.d.ts +3 -3
  351. package/_types/chains/definitions/optimismSepolia.d.ts +3 -3
  352. package/_types/chains/definitions/pgn.d.ts +3 -3
  353. package/_types/chains/definitions/pgnTestnet.d.ts +3 -3
  354. package/_types/chains/definitions/playfiAlbireo.d.ts +13 -13
  355. package/_types/chains/definitions/pyrope.d.ts +3 -3
  356. package/_types/chains/definitions/redstone.d.ts +3 -3
  357. package/_types/chains/definitions/rss3.d.ts +3 -3
  358. package/_types/chains/definitions/rss3Sepolia.d.ts +3 -3
  359. package/_types/chains/definitions/shape.d.ts +3 -3
  360. package/_types/chains/definitions/shapeSepolia.d.ts +3 -3
  361. package/_types/chains/definitions/snax.d.ts +3 -3
  362. package/_types/chains/definitions/snaxTestnet.d.ts +3 -3
  363. package/_types/chains/definitions/soneium.d.ts +3 -3
  364. package/_types/chains/definitions/soneiumMinato.d.ts +3 -3
  365. package/_types/chains/definitions/sophon.d.ts +13 -13
  366. package/_types/chains/definitions/sophonTestnet.d.ts +13 -13
  367. package/_types/chains/definitions/superseed.d.ts +3 -3
  368. package/_types/chains/definitions/superseedSepolia.d.ts +3 -3
  369. package/_types/chains/definitions/swellchain.d.ts +3 -3
  370. package/_types/chains/definitions/swellchainTestnet.d.ts +3 -3
  371. package/_types/chains/definitions/treasure.d.ts +13 -13
  372. package/_types/chains/definitions/treasureTopaz.d.ts +13 -13
  373. package/_types/chains/definitions/unichain.d.ts +3 -3
  374. package/_types/chains/definitions/unichainSepolia.d.ts +3 -3
  375. package/_types/chains/definitions/worldchain.d.ts +3 -3
  376. package/_types/chains/definitions/worldchainSepolia.d.ts +3 -3
  377. package/_types/chains/definitions/zircuit.d.ts +3 -3
  378. package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts +3 -3
  379. package/_types/chains/definitions/zircuitTestnet.d.ts +3 -3
  380. package/_types/chains/definitions/zksync.d.ts +13 -13
  381. package/_types/chains/definitions/zksyncInMemoryNode.d.ts +13 -13
  382. package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +13 -13
  383. package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +13 -13
  384. package/_types/chains/definitions/zksyncLocalNode.d.ts +13 -13
  385. package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +13 -13
  386. package/_types/chains/definitions/zora.d.ts +3 -3
  387. package/_types/chains/definitions/zoraSepolia.d.ts +3 -3
  388. package/_types/chains/definitions/zoraTestnet.d.ts +3 -3
  389. package/_types/chains/index.d.ts +49 -49
  390. package/_types/chains/index.d.ts.map +1 -1
  391. package/_types/clients/createClient.d.ts +2 -0
  392. package/_types/clients/createClient.d.ts.map +1 -1
  393. package/_types/clients/decorators/test.d.ts.map +1 -1
  394. package/_types/clients/transports/custom.d.ts.map +1 -1
  395. package/_types/clients/transports/fallback.d.ts.map +1 -1
  396. package/_types/clients/transports/http.d.ts.map +1 -1
  397. package/_types/clients/transports/ipc.d.ts.map +1 -1
  398. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  399. package/_types/constants/contracts.d.ts +1 -0
  400. package/_types/constants/contracts.d.ts.map +1 -1
  401. package/_types/ens/index.d.ts +4 -4
  402. package/_types/ens/index.d.ts.map +1 -1
  403. package/_types/errors/version.d.ts +1 -1
  404. package/_types/experimental/erc7821/index.d.ts +1 -1
  405. package/_types/experimental/erc7821/index.d.ts.map +1 -1
  406. package/_types/experimental/index.d.ts +62 -62
  407. package/_types/experimental/index.d.ts.map +1 -1
  408. package/_types/index.d.ts +196 -196
  409. package/_types/index.d.ts.map +1 -1
  410. package/_types/linea/index.d.ts +1 -1
  411. package/_types/linea/index.d.ts.map +1 -1
  412. package/_types/node/index.d.ts +1 -1
  413. package/_types/node/index.d.ts.map +1 -1
  414. package/_types/node/trustedSetups.d.ts.map +1 -1
  415. package/_types/nonce/index.d.ts +1 -1
  416. package/_types/nonce/index.d.ts.map +1 -1
  417. package/_types/op-stack/chainConfig.d.ts +3 -3
  418. package/_types/op-stack/formatters.d.ts +3 -3
  419. package/_types/op-stack/index.d.ts +43 -43
  420. package/_types/op-stack/index.d.ts.map +1 -1
  421. package/_types/op-stack/types/transaction.d.ts +2 -2
  422. package/_types/op-stack/types/transaction.d.ts.map +1 -1
  423. package/_types/siwe/index.d.ts +4 -4
  424. package/_types/siwe/index.d.ts.map +1 -1
  425. package/_types/types/account.d.ts +1 -1
  426. package/_types/types/account.d.ts.map +1 -1
  427. package/_types/types/contract.d.ts +1 -1
  428. package/_types/types/contract.d.ts.map +1 -1
  429. package/_types/types/eip1193.d.ts +1 -2
  430. package/_types/types/eip1193.d.ts.map +1 -1
  431. package/_types/utils/abi/decodeAbiParameters.d.ts +1 -1
  432. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  433. package/_types/utils/abi/decodeDeployData.d.ts +1 -1
  434. package/_types/utils/abi/decodeDeployData.d.ts.map +1 -1
  435. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  436. package/_types/utils/abi/decodeFunctionResult.d.ts +1 -1
  437. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
  438. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  439. package/_types/utils/abi/encodeErrorResult.d.ts +2 -2
  440. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
  441. package/_types/utils/abi/encodeFunctionData.d.ts +3 -3
  442. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
  443. package/_types/utils/abi/encodeFunctionResult.d.ts +1 -1
  444. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
  445. package/_types/utils/abi/encodePacked.d.ts.map +1 -1
  446. package/_types/utils/abi/prepareEncodeFunctionData.d.ts +3 -3
  447. package/_types/utils/abi/prepareEncodeFunctionData.d.ts.map +1 -1
  448. package/_types/utils/address/getContractAddress.d.ts +1 -1
  449. package/_types/utils/address/getContractAddress.d.ts.map +1 -1
  450. package/_types/utils/buildRequest.d.ts +1 -1
  451. package/_types/utils/buildRequest.d.ts.map +1 -1
  452. package/_types/utils/ccip.d.ts +2 -2
  453. package/_types/utils/ccip.d.ts.map +1 -1
  454. package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
  455. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  456. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  457. package/_types/utils/ens/namehash.d.ts.map +1 -1
  458. package/_types/utils/filters/createFilterRequestScope.d.ts +1 -2
  459. package/_types/utils/filters/createFilterRequestScope.d.ts.map +1 -1
  460. package/_types/utils/formatters/block.d.ts +1 -2
  461. package/_types/utils/formatters/block.d.ts.map +1 -1
  462. package/_types/utils/formatters/transaction.d.ts +2 -3
  463. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  464. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  465. package/_types/utils/hash/hashSignature.d.ts +1 -1
  466. package/_types/utils/hash/hashSignature.d.ts.map +1 -1
  467. package/_types/utils/index.d.ts +64 -64
  468. package/_types/utils/index.d.ts.map +1 -1
  469. package/_types/utils/promise/withTimeout.d.ts.map +1 -1
  470. package/_types/utils/rpc/compat.d.ts.map +1 -1
  471. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  472. package/_types/utils/rpc/socket.d.ts.map +1 -1
  473. package/_types/utils/rpc/webSocket.d.ts.map +1 -1
  474. package/_types/utils/signature/hashTypedData.d.ts.map +1 -1
  475. package/_types/utils/signature/recoverAddress.d.ts +1 -1
  476. package/_types/utils/signature/recoverAddress.d.ts.map +1 -1
  477. package/_types/utils/signature/recoverMessageAddress.d.ts +1 -1
  478. package/_types/utils/signature/recoverMessageAddress.d.ts.map +1 -1
  479. package/_types/utils/signature/recoverTypedDataAddress.d.ts +1 -1
  480. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +1 -1
  481. package/_types/utils/signature/toPrefixedMessage.d.ts.map +1 -1
  482. package/_types/utils/signature/verifyHash.d.ts +1 -1
  483. package/_types/utils/signature/verifyHash.d.ts.map +1 -1
  484. package/_types/utils/signature/verifyMessage.d.ts +1 -1
  485. package/_types/utils/signature/verifyMessage.d.ts.map +1 -1
  486. package/_types/utils/signature/verifyTypedData.d.ts +1 -1
  487. package/_types/utils/signature/verifyTypedData.d.ts.map +1 -1
  488. package/_types/utils/siwe/utils.d.ts.map +1 -1
  489. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  490. package/_types/utils/typedData.d.ts.map +1 -1
  491. package/_types/zksync/actions/claimFailedDeposit.d.ts.map +1 -1
  492. package/_types/zksync/actions/deposit.d.ts.map +1 -1
  493. package/_types/zksync/actions/requestExecute.d.ts.map +1 -1
  494. package/_types/zksync/actions/sendTransaction.d.ts +1 -1
  495. package/_types/zksync/actions/sendTransaction.d.ts.map +1 -1
  496. package/_types/zksync/actions/signTransaction.d.ts.map +1 -1
  497. package/_types/zksync/chainConfig.d.ts +13 -13
  498. package/_types/zksync/decorators/publicL2.d.ts.map +1 -1
  499. package/_types/zksync/formatters.d.ts +13 -13
  500. package/_types/zksync/index.d.ts +36 -36
  501. package/_types/zksync/index.d.ts.map +1 -1
  502. package/_types/zksync/types/chain.d.ts +1 -2
  503. package/_types/zksync/types/chain.d.ts.map +1 -1
  504. package/_types/zksync/types/transaction.d.ts +1 -1
  505. package/_types/zksync/types/transaction.d.ts.map +1 -1
  506. package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
  507. package/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts +9 -2
  508. package/account-abstraction/accounts/types.ts +3 -1
  509. package/account-abstraction/actions/bundler/prepareUserOperation.ts +1 -1
  510. package/account-abstraction/clients/createBundlerClient.ts +1 -2
  511. package/account-abstraction/index.ts +28 -29
  512. package/accounts/hdKeyToAccount.ts +1 -2
  513. package/accounts/index.ts +42 -46
  514. package/accounts/privateKeyToAccount.ts +1 -3
  515. package/accounts/toAccount.ts +1 -2
  516. package/accounts/utils/signTypedData.ts +1 -3
  517. package/accounts/wordlists.ts +1 -1
  518. package/actions/getContract.ts +1 -2
  519. package/actions/index.ts +212 -212
  520. package/actions/public/call.ts +28 -20
  521. package/actions/public/createAccessList.ts +1 -1
  522. package/actions/public/estimateMaxPriorityFeePerGas.ts +5 -2
  523. package/actions/public/multicall.ts +30 -23
  524. package/actions/public/simulateBlocks.ts +1 -1
  525. package/actions/public/simulateContract.ts +2 -3
  526. package/actions/public/verifyHash.ts +1 -1
  527. package/actions/public/verifyMessage.ts +1 -1
  528. package/actions/public/waitForTransactionReceipt.ts +0 -1
  529. package/actions/public/watchContractEvent.ts +3 -4
  530. package/actions/public/watchEvent.ts +10 -11
  531. package/actions/siwe/verifySiweMessage.ts +1 -1
  532. package/actions/wallet/deployContract.ts +2 -4
  533. package/actions/wallet/prepareTransactionRequest.ts +5 -2
  534. package/actions/wallet/sendTransaction.ts +1 -1
  535. package/actions/wallet/signMessage.ts +1 -1
  536. package/actions/wallet/signTransaction.ts +1 -1
  537. package/actions/wallet/signTypedData.ts +2 -2
  538. package/actions/wallet/waitForCallsStatus.ts +1 -1
  539. package/celo/parsers.ts +1 -2
  540. package/celo/types.ts +10 -12
  541. package/chains/index.ts +48 -49
  542. package/clients/createClient.ts +2 -0
  543. package/clients/decorators/test.ts +3 -1
  544. package/clients/transports/custom.ts +1 -1
  545. package/clients/transports/fallback.ts +4 -4
  546. package/clients/transports/http.ts +2 -2
  547. package/clients/transports/ipc.ts +2 -2
  548. package/clients/transports/webSocket.ts +1 -1
  549. package/constants/contracts.ts +3 -0
  550. package/ens/index.ts +9 -9
  551. package/errors/contract.ts +1 -1
  552. package/errors/version.ts +1 -1
  553. package/experimental/erc7739/actions/signMessage.ts +1 -1
  554. package/experimental/erc7739/utils/hashMessage.ts +1 -1
  555. package/experimental/erc7821/index.ts +1 -3
  556. package/experimental/index.ts +68 -71
  557. package/index.ts +991 -992
  558. package/linea/index.ts +1 -1
  559. package/node/index.ts +2 -4
  560. package/node/trustedSetups.ts +1 -0
  561. package/nonce/index.ts +2 -2
  562. package/op-stack/actions/estimateDepositTransactionGas.ts +1 -1
  563. package/op-stack/actions/estimateFinalizeWithdrawalGas.ts +1 -1
  564. package/op-stack/actions/estimateInitiateWithdrawalGas.ts +1 -1
  565. package/op-stack/actions/estimateProveWithdrawalGas.ts +1 -1
  566. package/op-stack/index.ts +73 -81
  567. package/op-stack/types/transaction.ts +2 -2
  568. package/package.json +2 -2
  569. package/siwe/index.ts +10 -14
  570. package/types/account.ts +1 -1
  571. package/types/contract.ts +1 -1
  572. package/types/eip1193.ts +1 -1
  573. package/types/register.ts +1 -1
  574. package/utils/abi/decodeAbiParameters.ts +3 -5
  575. package/utils/abi/decodeDeployData.ts +1 -2
  576. package/utils/abi/decodeEventLog.ts +1 -2
  577. package/utils/abi/decodeFunctionResult.ts +1 -2
  578. package/utils/abi/encodeAbiParameters.ts +5 -5
  579. package/utils/abi/encodeErrorResult.ts +2 -3
  580. package/utils/abi/encodeEventTopics.ts +4 -1
  581. package/utils/abi/encodeFunctionData.ts +3 -4
  582. package/utils/abi/encodeFunctionResult.ts +1 -2
  583. package/utils/abi/encodePacked.ts +5 -5
  584. package/utils/abi/getAbiItem.ts +1 -1
  585. package/utils/abi/prepareEncodeFunctionData.ts +3 -4
  586. package/utils/address/getContractAddress.ts +1 -3
  587. package/utils/buildRequest.ts +3 -3
  588. package/utils/ccip.ts +2 -3
  589. package/utils/encoding/fromBytes.ts +1 -1
  590. package/utils/ens/avatar/parseAvatarRecord.ts +3 -3
  591. package/utils/ens/avatar/utils.ts +3 -4
  592. package/utils/ens/namehash.ts +1 -1
  593. package/utils/filters/createFilterRequestScope.ts +1 -2
  594. package/utils/formatters/block.ts +1 -1
  595. package/utils/formatters/transaction.ts +1 -1
  596. package/utils/hash/hashSignature.ts +1 -2
  597. package/utils/index.ts +256 -260
  598. package/utils/poll.ts +1 -1
  599. package/utils/promise/withCache.ts +1 -1
  600. package/utils/promise/withTimeout.ts +3 -1
  601. package/utils/rpc/compat.ts +1 -1
  602. package/utils/rpc/ipc.ts +2 -2
  603. package/utils/rpc/socket.ts +1 -0
  604. package/utils/rpc/webSocket.ts +1 -1
  605. package/utils/signature/hashTypedData.ts +1 -1
  606. package/utils/signature/recoverAddress.ts +1 -2
  607. package/utils/signature/recoverMessageAddress.ts +1 -3
  608. package/utils/signature/recoverTypedDataAddress.ts +1 -3
  609. package/utils/signature/toPrefixedMessage.ts +1 -1
  610. package/utils/signature/verifyHash.ts +1 -3
  611. package/utils/signature/verifyMessage.ts +1 -3
  612. package/utils/signature/verifyTypedData.ts +1 -3
  613. package/utils/siwe/createSiweMessage.ts +1 -1
  614. package/utils/siwe/utils.ts +3 -4
  615. package/utils/transaction/serializeTransaction.ts +1 -1
  616. package/utils/typedData.ts +6 -4
  617. package/zksync/actions/claimFailedDeposit.ts +2 -3
  618. package/zksync/actions/deposit.ts +1 -1
  619. package/zksync/actions/requestExecute.ts +1 -1
  620. package/zksync/actions/sendTransaction.ts +2 -2
  621. package/zksync/actions/signTransaction.ts +1 -1
  622. package/zksync/decorators/publicL2.ts +1 -1
  623. package/zksync/index.ts +72 -84
  624. package/zksync/types/chain.ts +5 -2
  625. package/zksync/types/transaction.ts +2 -2
  626. package/zksync/utils/abi/encodeDeployData.ts +1 -2
package/index.ts CHANGED
@@ -1,25 +1,17 @@
1
1
  // biome-ignore lint/performance/noBarrelFile: entrypoint module
2
2
  export {
3
3
  type Abi,
4
+ type AbiEvent,
4
5
  type AbiFunction,
5
6
  type AbiParameter,
6
- type AbiEvent,
7
- type AbiStateMutability,
8
7
  type AbiParameterKind,
9
8
  type AbiParameterToPrimitiveType,
9
+ type AbiStateMutability,
10
10
  type Address,
11
- type Narrow,
12
- type ParseAbi,
13
- type ParseAbiItem,
14
- type ParseAbiParameter,
15
- type ParseAbiParameters,
16
- type TypedData,
17
- type TypedDataDomain,
18
- type TypedDataParameter,
19
11
  CircularReferenceError,
12
+ InvalidAbiItemError,
20
13
  InvalidAbiParameterError,
21
14
  InvalidAbiParametersError,
22
- InvalidAbiItemError,
23
15
  InvalidAbiTypeParameterError,
24
16
  InvalidFunctionModifierError,
25
17
  InvalidModifierError,
@@ -27,48 +19,83 @@ export {
27
19
  InvalidParenthesisError,
28
20
  InvalidSignatureError,
29
21
  InvalidStructSignatureError,
30
- SolidityProtectedKeywordError,
31
- UnknownTypeError,
32
- UnknownSignatureError,
22
+ type Narrow,
23
+ type ParseAbi,
24
+ type ParseAbiItem,
25
+ type ParseAbiParameter,
26
+ type ParseAbiParameters,
33
27
  parseAbi,
34
28
  parseAbiItem,
35
29
  parseAbiParameter,
36
30
  parseAbiParameters,
31
+ SolidityProtectedKeywordError,
32
+ type TypedData,
33
+ type TypedDataDomain,
34
+ type TypedDataParameter,
35
+ UnknownSignatureError,
36
+ UnknownTypeError,
37
37
  } from 'abitype'
38
38
  export type {
39
39
  BlockOverrides,
40
40
  Rpc as RpcBlockOverrides,
41
41
  } from 'ox/BlockOverrides'
42
-
42
+ export type {
43
+ RpcEstimateUserOperationGasReturnType,
44
+ RpcGetUserOperationByHashReturnType,
45
+ RpcUserOperation,
46
+ RpcUserOperationReceipt,
47
+ RpcUserOperationRequest,
48
+ } from './account-abstraction/types/rpc.js'
49
+ export type {
50
+ Account,
51
+ AccountSource,
52
+ CustomSource,
53
+ HDAccount,
54
+ HDOptions,
55
+ JsonRpcAccount,
56
+ LocalAccount,
57
+ PrivateKeyAccount,
58
+ } from './accounts/types.js'
59
+ export type {
60
+ GetEnsAddressErrorType,
61
+ GetEnsAddressParameters,
62
+ GetEnsAddressReturnType,
63
+ } from './actions/ens/getEnsAddress.js'
64
+ export type {
65
+ GetEnsAvatarErrorType,
66
+ GetEnsAvatarParameters,
67
+ GetEnsAvatarReturnType,
68
+ } from './actions/ens/getEnsAvatar.js'
69
+ export type {
70
+ GetEnsNameErrorType,
71
+ GetEnsNameParameters,
72
+ GetEnsNameReturnType,
73
+ } from './actions/ens/getEnsName.js'
74
+ export type {
75
+ GetEnsResolverErrorType,
76
+ GetEnsResolverParameters,
77
+ GetEnsResolverReturnType,
78
+ } from './actions/ens/getEnsResolver.js'
79
+ export type {
80
+ GetEnsTextErrorType,
81
+ GetEnsTextParameters,
82
+ GetEnsTextReturnType,
83
+ } from './actions/ens/getEnsText.js'
43
84
  export {
44
- getContract,
45
85
  type GetContractErrorType,
46
86
  type GetContractParameters,
47
87
  type GetContractReturnType,
88
+ getContract,
48
89
  } from './actions/getContract.js'
49
- export type {
50
- GetContractEventsErrorType,
51
- GetContractEventsParameters,
52
- GetContractEventsReturnType,
53
- } from './actions/public/getContractEvents.js'
54
- export type {
55
- GetEip712DomainErrorType,
56
- GetEip712DomainParameters,
57
- GetEip712DomainReturnType,
58
- } from './actions/public/getEip712Domain.js'
59
- export type {
60
- AddChainErrorType,
61
- AddChainParameters,
62
- } from './actions/wallet/addChain.js'
63
90
  export type {
64
91
  CallErrorType,
65
92
  CallParameters,
66
93
  CallReturnType,
67
94
  } from './actions/public/call.js'
68
95
  export type {
96
+ CreateAccessListErrorType,
69
97
  CreateAccessListParameters,
70
98
  CreateAccessListReturnType,
71
- CreateAccessListErrorType,
72
99
  } from './actions/public/createAccessList.js'
73
100
  export type {
74
101
  CreateBlockFilterErrorType,
@@ -88,47 +115,26 @@ export type {
88
115
  CreatePendingTransactionFilterErrorType,
89
116
  CreatePendingTransactionFilterReturnType,
90
117
  } from './actions/public/createPendingTransactionFilter.js'
91
- export type {
92
- DeployContractErrorType,
93
- DeployContractParameters,
94
- DeployContractReturnType,
95
- } from './actions/wallet/deployContract.js'
96
- export type {
97
- DropTransactionErrorType,
98
- DropTransactionParameters,
99
- } from './actions/test/dropTransaction.js'
100
- export type {
101
- DumpStateErrorType,
102
- DumpStateReturnType,
103
- } from './actions/test/dumpState.js'
104
- export type {
105
- GetAutomineErrorType,
106
- GetAutomineReturnType,
107
- } from './actions/test/getAutomine.js'
108
118
  export type {
109
119
  EstimateContractGasErrorType,
110
120
  EstimateContractGasParameters,
111
121
  EstimateContractGasReturnType,
112
122
  } from './actions/public/estimateContractGas.js'
113
- export type {
114
- EstimateGasErrorType,
115
- EstimateGasParameters,
116
- EstimateGasReturnType,
117
- } from './actions/public/estimateGas.js'
118
123
  export type {
119
124
  EstimateFeesPerGasErrorType,
120
125
  EstimateFeesPerGasParameters,
121
126
  EstimateFeesPerGasReturnType,
122
127
  } from './actions/public/estimateFeesPerGas.js'
128
+ export type {
129
+ EstimateGasErrorType,
130
+ EstimateGasParameters,
131
+ EstimateGasReturnType,
132
+ } from './actions/public/estimateGas.js'
123
133
  export type {
124
134
  EstimateMaxPriorityFeePerGasErrorType,
125
135
  EstimateMaxPriorityFeePerGasParameters,
126
136
  EstimateMaxPriorityFeePerGasReturnType,
127
137
  } from './actions/public/estimateMaxPriorityFeePerGas.js'
128
- export type {
129
- GetAddressesErrorType,
130
- GetAddressesReturnType,
131
- } from './actions/wallet/getAddresses.js'
132
138
  export type {
133
139
  GetBalanceErrorType,
134
140
  GetBalanceParameters,
@@ -138,61 +144,46 @@ export type {
138
144
  GetBlobBaseFeeErrorType,
139
145
  GetBlobBaseFeeReturnType,
140
146
  } from './actions/public/getBlobBaseFee.js'
141
- export type {
142
- GetBlockNumberErrorType,
143
- GetBlockNumberParameters,
144
- GetBlockNumberReturnType,
145
- } from './actions/public/getBlockNumber.js'
146
147
  export type {
147
148
  GetBlockErrorType,
148
149
  GetBlockParameters,
149
150
  GetBlockReturnType,
150
151
  } from './actions/public/getBlock.js'
152
+ export type {
153
+ GetBlockNumberErrorType,
154
+ GetBlockNumberParameters,
155
+ GetBlockNumberReturnType,
156
+ } from './actions/public/getBlockNumber.js'
151
157
  export type {
152
158
  GetBlockTransactionCountErrorType,
153
159
  GetBlockTransactionCountParameters,
154
160
  GetBlockTransactionCountReturnType,
155
161
  } from './actions/public/getBlockTransactionCount.js'
162
+ export type {
163
+ GetChainIdErrorType,
164
+ GetChainIdReturnType,
165
+ } from './actions/public/getChainId.js'
156
166
  export type {
157
167
  /** @deprecated Use `GetCodeErrorType` instead */
158
168
  GetCodeErrorType as GetBytecodeErrorType,
169
+ GetCodeErrorType,
159
170
  /** @deprecated Use `GetCodeParameters` instead */
160
171
  GetCodeParameters as GetBytecodeParameters,
172
+ GetCodeParameters,
161
173
  /** @deprecated Use `GetCodeReturnType` instead */
162
174
  GetCodeReturnType as GetBytecodeReturnType,
163
- GetCodeErrorType,
164
- GetCodeParameters,
165
175
  GetCodeReturnType,
166
176
  } from './actions/public/getCode.js'
167
177
  export type {
168
- GetChainIdErrorType,
169
- GetChainIdReturnType,
170
- } from './actions/public/getChainId.js'
171
- export type {
172
- GetEnsAddressErrorType,
173
- GetEnsAddressParameters,
174
- GetEnsAddressReturnType,
175
- } from './actions/ens/getEnsAddress.js'
176
- export type {
177
- GetEnsAvatarErrorType,
178
- GetEnsAvatarParameters,
179
- GetEnsAvatarReturnType,
180
- } from './actions/ens/getEnsAvatar.js'
181
- export type {
182
- GetEnsNameErrorType,
183
- GetEnsNameParameters,
184
- GetEnsNameReturnType,
185
- } from './actions/ens/getEnsName.js'
186
- export type {
187
- GetEnsResolverErrorType,
188
- GetEnsResolverParameters,
189
- GetEnsResolverReturnType,
190
- } from './actions/ens/getEnsResolver.js'
178
+ GetContractEventsErrorType,
179
+ GetContractEventsParameters,
180
+ GetContractEventsReturnType,
181
+ } from './actions/public/getContractEvents.js'
191
182
  export type {
192
- GetEnsTextErrorType,
193
- GetEnsTextParameters,
194
- GetEnsTextReturnType,
195
- } from './actions/ens/getEnsText.js'
183
+ GetEip712DomainErrorType,
184
+ GetEip712DomainParameters,
185
+ GetEip712DomainReturnType,
186
+ } from './actions/public/getEip712Domain.js'
196
187
  export type {
197
188
  GetFeeHistoryErrorType,
198
189
  GetFeeHistoryParameters,
@@ -217,10 +208,6 @@ export type {
217
208
  GetLogsParameters,
218
209
  GetLogsReturnType,
219
210
  } from './actions/public/getLogs.js'
220
- export type {
221
- GetPermissionsErrorType,
222
- GetPermissionsReturnType,
223
- } from './actions/wallet/getPermissions.js'
224
211
  export type {
225
212
  GetProofErrorType,
226
213
  GetProofParameters,
@@ -231,6 +218,11 @@ export type {
231
218
  GetStorageAtParameters,
232
219
  GetStorageAtReturnType,
233
220
  } from './actions/public/getStorageAt.js'
221
+ export type {
222
+ GetTransactionErrorType,
223
+ GetTransactionParameters,
224
+ GetTransactionReturnType,
225
+ } from './actions/public/getTransaction.js'
234
226
  export type {
235
227
  GetTransactionConfirmationsErrorType,
236
228
  GetTransactionConfirmationsParameters,
@@ -241,59 +233,64 @@ export type {
241
233
  GetTransactionCountParameters,
242
234
  GetTransactionCountReturnType,
243
235
  } from './actions/public/getTransactionCount.js'
244
- export type {
245
- GetTransactionErrorType,
246
- GetTransactionParameters,
247
- GetTransactionReturnType,
248
- } from './actions/public/getTransaction.js'
249
236
  export type {
250
237
  GetTransactionReceiptErrorType,
251
238
  GetTransactionReceiptParameters,
252
239
  GetTransactionReceiptReturnType,
253
240
  } from './actions/public/getTransactionReceipt.js'
254
- export type {
255
- ImpersonateAccountErrorType,
256
- ImpersonateAccountParameters,
257
- } from './actions/test/impersonateAccount.js'
258
- export type {
259
- IncreaseTimeErrorType,
260
- IncreaseTimeParameters,
261
- } from './actions/test/increaseTime.js'
262
- export type {
263
- LoadStateErrorType,
264
- LoadStateParameters,
265
- LoadStateReturnType,
266
- } from './actions/test/loadState.js'
267
- export type { MineErrorType, MineParameters } from './actions/test/mine.js'
268
241
  export type {
269
242
  MulticallErrorType,
270
243
  MulticallParameters,
271
244
  MulticallReturnType,
272
245
  } from './actions/public/multicall.js'
273
- export type { SnapshotErrorType } from './actions/test/snapshot.js'
274
246
  export type {
247
+ ReadContractErrorType,
248
+ ReadContractParameters,
249
+ ReadContractReturnType,
250
+ } from './actions/public/readContract.js'
251
+ export type {
252
+ SimulateBlocksErrorType,
275
253
  SimulateBlocksParameters,
276
254
  SimulateBlocksReturnType,
277
- SimulateBlocksErrorType,
278
255
  } from './actions/public/simulateBlocks.js'
279
256
  export type {
257
+ SimulateCallsErrorType,
280
258
  SimulateCallsParameters,
281
259
  SimulateCallsReturnType,
282
- SimulateCallsErrorType,
283
260
  } from './actions/public/simulateCalls.js'
284
261
  export type {
285
262
  GetMutabilityAwareValue,
263
+ SimulateContractErrorType,
286
264
  SimulateContractParameters,
287
265
  SimulateContractReturnType,
288
- SimulateContractErrorType,
289
266
  } from './actions/public/simulateContract.js'
290
267
  export type {
291
- OnBlock,
292
- OnBlockParameter,
293
- WatchBlocksErrorType,
294
- WatchBlocksParameters,
295
- WatchBlocksReturnType,
296
- } from './actions/public/watchBlocks.js'
268
+ UninstallFilterErrorType,
269
+ UninstallFilterParameters,
270
+ UninstallFilterReturnType,
271
+ } from './actions/public/uninstallFilter.js'
272
+ export type {
273
+ VerifyHashErrorType as VerifyHashActionErrorType,
274
+ VerifyHashParameters as VerifyHashActionParameters,
275
+ VerifyHashReturnType as VerifyHashActionReturnType,
276
+ } from './actions/public/verifyHash.js'
277
+ export type {
278
+ VerifyMessageErrorType as VerifyMessageActionErrorType,
279
+ VerifyMessageParameters as VerifyMessageActionParameters,
280
+ VerifyMessageReturnType as VerifyMessageActionReturnType,
281
+ } from './actions/public/verifyMessage.js'
282
+ export type {
283
+ VerifyTypedDataErrorType as VerifyTypedDataActionErrorType,
284
+ VerifyTypedDataParameters as VerifyTypedDataActionParameters,
285
+ VerifyTypedDataReturnType as VerifyTypedDataActionReturnType,
286
+ } from './actions/public/verifyTypedData.js'
287
+ export type {
288
+ ReplacementReason,
289
+ ReplacementReturnType,
290
+ WaitForTransactionReceiptErrorType,
291
+ WaitForTransactionReceiptParameters,
292
+ WaitForTransactionReceiptReturnType,
293
+ } from './actions/public/waitForTransactionReceipt.js'
297
294
  export type {
298
295
  OnBlockNumberFn,
299
296
  OnBlockNumberParameter,
@@ -302,12 +299,26 @@ export type {
302
299
  WatchBlockNumberReturnType,
303
300
  } from './actions/public/watchBlockNumber.js'
304
301
  export type {
305
- WatchEventOnLogsFn,
306
- WatchEventOnLogsParameter,
307
- WatchEventErrorType,
308
- WatchEventParameters,
309
- WatchEventReturnType,
310
- } from './actions/public/watchEvent.js'
302
+ OnBlock,
303
+ OnBlockParameter,
304
+ WatchBlocksErrorType,
305
+ WatchBlocksParameters,
306
+ WatchBlocksReturnType,
307
+ } from './actions/public/watchBlocks.js'
308
+ export type {
309
+ WatchContractEventErrorType,
310
+ WatchContractEventOnLogsFn,
311
+ WatchContractEventOnLogsParameter,
312
+ WatchContractEventParameters,
313
+ WatchContractEventReturnType,
314
+ } from './actions/public/watchContractEvent.js'
315
+ export type {
316
+ WatchEventErrorType,
317
+ WatchEventOnLogsFn,
318
+ WatchEventOnLogsParameter,
319
+ WatchEventParameters,
320
+ WatchEventReturnType,
321
+ } from './actions/public/watchEvent.js'
311
322
  export type {
312
323
  OnTransactionsFn,
313
324
  OnTransactionsParameter,
@@ -316,26 +327,17 @@ export type {
316
327
  WatchPendingTransactionsReturnType,
317
328
  } from './actions/public/watchPendingTransactions.js'
318
329
  export type {
319
- ReadContractErrorType,
320
- ReadContractParameters,
321
- ReadContractReturnType,
322
- } from './actions/public/readContract.js'
323
- export type {
324
- ReplacementReason,
325
- ReplacementReturnType,
326
- WaitForTransactionReceiptErrorType,
327
- WaitForTransactionReceiptParameters,
328
- WaitForTransactionReceiptReturnType,
329
- } from './actions/public/waitForTransactionReceipt.js'
330
+ DropTransactionErrorType,
331
+ DropTransactionParameters,
332
+ } from './actions/test/dropTransaction.js'
330
333
  export type {
331
- RequestAddressesErrorType,
332
- RequestAddressesReturnType,
333
- } from './actions/wallet/requestAddresses.js'
334
+ DumpStateErrorType,
335
+ DumpStateReturnType,
336
+ } from './actions/test/dumpState.js'
334
337
  export type {
335
- RequestPermissionsErrorType,
336
- RequestPermissionsReturnType,
337
- RequestPermissionsParameters,
338
- } from './actions/wallet/requestPermissions.js'
338
+ GetAutomineErrorType,
339
+ GetAutomineReturnType,
340
+ } from './actions/test/getAutomine.js'
339
341
  export type {
340
342
  GetTxpoolContentErrorType,
341
343
  GetTxpoolContentReturnType,
@@ -344,76 +346,30 @@ export type {
344
346
  GetTxpoolStatusErrorType,
345
347
  GetTxpoolStatusReturnType,
346
348
  } from './actions/test/getTxpoolStatus.js'
349
+ export type {
350
+ ImpersonateAccountErrorType,
351
+ ImpersonateAccountParameters,
352
+ } from './actions/test/impersonateAccount.js'
353
+ export type {
354
+ IncreaseTimeErrorType,
355
+ IncreaseTimeParameters,
356
+ } from './actions/test/increaseTime.js'
347
357
  export type {
348
358
  InspectTxpoolErrorType,
349
359
  InspectTxpoolReturnType,
350
360
  } from './actions/test/inspectTxpool.js'
361
+ export type {
362
+ LoadStateErrorType,
363
+ LoadStateParameters,
364
+ LoadStateReturnType,
365
+ } from './actions/test/loadState.js'
366
+ export type { MineErrorType, MineParameters } from './actions/test/mine.js'
351
367
  export type { RemoveBlockTimestampIntervalErrorType } from './actions/test/removeBlockTimestampInterval.js'
352
368
  export type { ResetErrorType, ResetParameters } from './actions/test/reset.js'
353
369
  export type {
354
370
  RevertErrorType,
355
371
  RevertParameters,
356
372
  } from './actions/test/revert.js'
357
- export type {
358
- SendRawTransactionErrorType,
359
- SendRawTransactionParameters,
360
- SendRawTransactionReturnType,
361
- } from './actions/wallet/sendRawTransaction.js'
362
- export type {
363
- SendTransactionErrorType,
364
- SendTransactionParameters,
365
- SendTransactionRequest,
366
- SendTransactionReturnType,
367
- } from './actions/wallet/sendTransaction.js'
368
- export type {
369
- SignTransactionErrorType,
370
- SignTransactionParameters,
371
- SignTransactionReturnType,
372
- } from './actions/wallet/signTransaction.js'
373
- export type {
374
- PrepareAuthorizationErrorType,
375
- PrepareAuthorizationParameters,
376
- PrepareAuthorizationReturnType,
377
- } from './actions/wallet/prepareAuthorization.js'
378
- export type {
379
- PrepareTransactionRequestErrorType,
380
- PrepareTransactionRequestParameters,
381
- PrepareTransactionRequestParameterType,
382
- PrepareTransactionRequestRequest,
383
- PrepareTransactionRequestReturnType,
384
- } from './actions/wallet/prepareTransactionRequest.js'
385
- export type {
386
- GetCapabilitiesParameters,
387
- GetCapabilitiesErrorType,
388
- GetCapabilitiesReturnType,
389
- } from './actions/wallet/getCapabilities.js'
390
- export type {
391
- SignAuthorizationErrorType,
392
- SignAuthorizationParameters,
393
- SignAuthorizationReturnType,
394
- } from './actions/wallet/signAuthorization.js'
395
- export type {
396
- SendCallsErrorType,
397
- SendCallsParameters,
398
- SendCallsReturnType,
399
- } from './actions/wallet/sendCalls.js'
400
- export type {
401
- GetCallsStatusErrorType,
402
- GetCallsStatusParameters,
403
- GetCallsStatusReturnType,
404
- } from './actions/wallet/getCallsStatus.js'
405
- export type {
406
- ShowCallsStatusErrorType,
407
- ShowCallsStatusParameters,
408
- ShowCallsStatusReturnType,
409
- } from './actions/wallet/showCallsStatus.js'
410
- export { WaitForCallsStatusTimeoutError } from './actions/wallet/waitForCallsStatus.js'
411
- export type {
412
- WaitForCallsStatusErrorType,
413
- WaitForCallsStatusParameters,
414
- WaitForCallsStatusReturnType,
415
- WaitForCallsStatusTimeoutErrorType,
416
- } from './actions/wallet/waitForCallsStatus.js'
417
373
  export type {
418
374
  SendUnsignedTransactionErrorType,
419
375
  SendUnsignedTransactionParameters,
@@ -466,120 +422,147 @@ export type {
466
422
  SetStorageAtErrorType,
467
423
  SetStorageAtParameters,
468
424
  } from './actions/test/setStorageAt.js'
425
+ export type { SnapshotErrorType } from './actions/test/snapshot.js'
426
+ export type {
427
+ StopImpersonatingAccountErrorType,
428
+ StopImpersonatingAccountParameters,
429
+ } from './actions/test/stopImpersonatingAccount.js'
430
+ export type {
431
+ AddChainErrorType,
432
+ AddChainParameters,
433
+ } from './actions/wallet/addChain.js'
434
+ export type {
435
+ DeployContractErrorType,
436
+ DeployContractParameters,
437
+ DeployContractReturnType,
438
+ } from './actions/wallet/deployContract.js'
439
+ export type {
440
+ GetAddressesErrorType,
441
+ GetAddressesReturnType,
442
+ } from './actions/wallet/getAddresses.js'
443
+ export type {
444
+ GetCallsStatusErrorType,
445
+ GetCallsStatusParameters,
446
+ GetCallsStatusReturnType,
447
+ } from './actions/wallet/getCallsStatus.js'
448
+ export type {
449
+ GetCapabilitiesErrorType,
450
+ GetCapabilitiesParameters,
451
+ GetCapabilitiesReturnType,
452
+ } from './actions/wallet/getCapabilities.js'
453
+ export type {
454
+ GetPermissionsErrorType,
455
+ GetPermissionsReturnType,
456
+ } from './actions/wallet/getPermissions.js'
457
+ export type {
458
+ PrepareAuthorizationErrorType,
459
+ PrepareAuthorizationParameters,
460
+ PrepareAuthorizationReturnType,
461
+ } from './actions/wallet/prepareAuthorization.js'
462
+ export type {
463
+ PrepareTransactionRequestErrorType,
464
+ PrepareTransactionRequestParameters,
465
+ PrepareTransactionRequestParameterType,
466
+ PrepareTransactionRequestRequest,
467
+ PrepareTransactionRequestReturnType,
468
+ } from './actions/wallet/prepareTransactionRequest.js'
469
+ export type {
470
+ RequestAddressesErrorType,
471
+ RequestAddressesReturnType,
472
+ } from './actions/wallet/requestAddresses.js'
473
+ export type {
474
+ RequestPermissionsErrorType,
475
+ RequestPermissionsParameters,
476
+ RequestPermissionsReturnType,
477
+ } from './actions/wallet/requestPermissions.js'
478
+ export type {
479
+ SendCallsErrorType,
480
+ SendCallsParameters,
481
+ SendCallsReturnType,
482
+ } from './actions/wallet/sendCalls.js'
483
+ export type {
484
+ SendRawTransactionErrorType,
485
+ SendRawTransactionParameters,
486
+ SendRawTransactionReturnType,
487
+ } from './actions/wallet/sendRawTransaction.js'
488
+ export type {
489
+ SendTransactionErrorType,
490
+ SendTransactionParameters,
491
+ SendTransactionRequest,
492
+ SendTransactionReturnType,
493
+ } from './actions/wallet/sendTransaction.js'
494
+ export type {
495
+ ShowCallsStatusErrorType,
496
+ ShowCallsStatusParameters,
497
+ ShowCallsStatusReturnType,
498
+ } from './actions/wallet/showCallsStatus.js'
499
+ export type {
500
+ SignAuthorizationErrorType,
501
+ SignAuthorizationParameters,
502
+ SignAuthorizationReturnType,
503
+ } from './actions/wallet/signAuthorization.js'
469
504
  export type {
470
505
  SignMessageErrorType,
471
506
  SignMessageParameters,
472
507
  SignMessageReturnType,
473
508
  } from './actions/wallet/signMessage.js'
509
+ export type {
510
+ SignTransactionErrorType,
511
+ SignTransactionParameters,
512
+ SignTransactionReturnType,
513
+ } from './actions/wallet/signTransaction.js'
474
514
  export type {
475
515
  SignTypedDataErrorType,
476
516
  SignTypedDataParameters,
477
517
  SignTypedDataReturnType,
478
518
  } from './actions/wallet/signTypedData.js'
479
- export type {
480
- StopImpersonatingAccountErrorType,
481
- StopImpersonatingAccountParameters,
482
- } from './actions/test/stopImpersonatingAccount.js'
483
519
  export type {
484
520
  SwitchChainErrorType,
485
521
  SwitchChainParameters,
486
522
  } from './actions/wallet/switchChain.js'
487
523
  export type {
488
- UninstallFilterErrorType,
489
- UninstallFilterParameters,
490
- UninstallFilterReturnType,
491
- } from './actions/public/uninstallFilter.js'
524
+ WaitForCallsStatusErrorType,
525
+ WaitForCallsStatusParameters,
526
+ WaitForCallsStatusReturnType,
527
+ WaitForCallsStatusTimeoutErrorType,
528
+ } from './actions/wallet/waitForCallsStatus.js'
529
+ export { WaitForCallsStatusTimeoutError } from './actions/wallet/waitForCallsStatus.js'
492
530
  export type {
493
531
  WatchAssetErrorType,
494
532
  WatchAssetParameters,
495
533
  WatchAssetReturnType,
496
534
  } from './actions/wallet/watchAsset.js'
497
- export type {
498
- VerifyHashErrorType as VerifyHashActionErrorType,
499
- VerifyHashParameters as VerifyHashActionParameters,
500
- VerifyHashReturnType as VerifyHashActionReturnType,
501
- } from './actions/public/verifyHash.js'
502
- export type {
503
- VerifyTypedDataErrorType as VerifyTypedDataActionErrorType,
504
- VerifyTypedDataParameters as VerifyTypedDataActionParameters,
505
- VerifyTypedDataReturnType as VerifyTypedDataActionReturnType,
506
- } from './actions/public/verifyTypedData.js'
507
- export type {
508
- VerifyMessageErrorType as VerifyMessageActionErrorType,
509
- VerifyMessageParameters as VerifyMessageActionParameters,
510
- VerifyMessageReturnType as VerifyMessageActionReturnType,
511
- } from './actions/public/verifyMessage.js'
512
- export type {
513
- WatchContractEventOnLogsFn,
514
- WatchContractEventOnLogsParameter,
515
- WatchContractEventErrorType,
516
- WatchContractEventParameters,
517
- WatchContractEventReturnType,
518
- } from './actions/public/watchContractEvent.js'
519
535
  export type {
520
536
  WriteContractErrorType,
521
537
  WriteContractParameters,
522
538
  WriteContractReturnType,
523
539
  } from './actions/wallet/writeContract.js'
524
- export type { Call, Calls } from './types/calls.js'
525
- export type {
526
- Chain,
527
- ChainConfig,
528
- ChainContract,
529
- ChainEstimateFeesPerGasFn,
530
- ChainFees,
531
- ChainFeesFnParameters,
532
- ChainFormatter,
533
- ChainEstimateFeesPerGasFnParameters,
534
- ChainMaxPriorityFeePerGasFn,
535
- DeriveChain,
536
- GetChainParameter,
537
- ChainFormatters,
538
- ChainSerializers,
539
- ExtractChainFormatterExclude,
540
- ExtractChainFormatterParameters,
541
- ExtractChainFormatterReturnType,
542
- } from './types/chain.js'
543
- export type { GetTransactionRequestKzgParameter, Kzg } from './types/kzg.js'
544
540
  export {
545
541
  type Client,
546
542
  type ClientConfig,
547
543
  type CreateClientErrorType,
548
- type MulticallBatchOptions,
549
544
  createClient,
545
+ type MulticallBatchOptions,
550
546
  rpcSchema,
551
547
  } from './clients/createClient.js'
552
548
  export {
553
- type CustomTransport,
554
- type CustomTransportConfig,
555
- type CustomTransportErrorType,
556
- custom,
557
- } from './clients/transports/custom.js'
558
- export {
559
- type FallbackTransport,
560
- type FallbackTransportConfig,
561
- type FallbackTransportErrorType,
562
- fallback,
563
- shouldThrow,
564
- } from './clients/transports/fallback.js'
565
- export {
566
- type HttpTransport,
567
- type HttpTransportConfig,
568
- type HttpTransportErrorType,
569
- http,
570
- } from './clients/transports/http.js'
571
- export {
572
- type PublicClient,
573
- type PublicClientConfig,
574
549
  type CreatePublicClientErrorType,
575
550
  createPublicClient,
551
+ type PublicClient,
552
+ type PublicClientConfig,
576
553
  } from './clients/createPublicClient.js'
577
554
  export {
578
- type TestClient,
579
- type TestClientConfig,
580
555
  type CreateTestClientErrorType,
581
556
  createTestClient,
557
+ type TestClient,
558
+ type TestClientConfig,
582
559
  } from './clients/createTestClient.js'
560
+ export {
561
+ type CreateWalletClientErrorType,
562
+ createWalletClient,
563
+ type WalletClient,
564
+ type WalletClientConfig,
565
+ } from './clients/createWalletClient.js'
583
566
  export {
584
567
  type PublicActions,
585
568
  publicActions,
@@ -593,17 +576,30 @@ export {
593
576
  walletActions,
594
577
  } from './clients/decorators/wallet.js'
595
578
  export {
596
- type Transport,
597
- type TransportConfig,
598
579
  type CreateTransportErrorType,
599
580
  createTransport,
581
+ type Transport,
582
+ type TransportConfig,
600
583
  } from './clients/transports/createTransport.js'
601
584
  export {
602
- type WalletClient,
603
- type WalletClientConfig,
604
- type CreateWalletClientErrorType,
605
- createWalletClient,
606
- } from './clients/createWalletClient.js'
585
+ type CustomTransport,
586
+ type CustomTransportConfig,
587
+ type CustomTransportErrorType,
588
+ custom,
589
+ } from './clients/transports/custom.js'
590
+ export {
591
+ type FallbackTransport,
592
+ type FallbackTransportConfig,
593
+ type FallbackTransportErrorType,
594
+ fallback,
595
+ shouldThrow,
596
+ } from './clients/transports/fallback.js'
597
+ export {
598
+ type HttpTransport,
599
+ type HttpTransportConfig,
600
+ type HttpTransportErrorType,
601
+ http,
602
+ } from './clients/transports/http.js'
607
603
  export {
608
604
  type WebSocketTransport,
609
605
  type WebSocketTransportConfig,
@@ -611,21 +607,21 @@ export {
611
607
  webSocket,
612
608
  } from './clients/transports/webSocket.js'
613
609
  export {
614
- multicall3Abi,
615
610
  erc20Abi,
616
611
  erc20Abi_bytes32,
617
612
  erc721Abi,
618
613
  erc1155Abi,
619
614
  erc4626Abi,
615
+ multicall3Abi,
620
616
  universalSignatureValidatorAbi,
621
617
  } from './constants/abis.js'
622
618
  export { ethAddress, zeroAddress } from './constants/address.js'
619
+ export { zeroHash } from './constants/bytes.js'
623
620
  export {
624
621
  deploylessCallViaBytecodeBytecode,
625
622
  deploylessCallViaFactoryBytecode,
626
623
  universalSignatureValidatorByteCode,
627
624
  } from './constants/contracts.js'
628
- export { etherUnits, gweiUnits, weiUnits } from './constants/unit.js'
629
625
  export {
630
626
  maxInt8,
631
627
  maxInt16,
@@ -724,8 +720,8 @@ export {
724
720
  minInt248,
725
721
  minInt256,
726
722
  } from './constants/number.js'
727
- export { zeroHash } from './constants/bytes.js'
728
723
  export { presignMessagePrefix } from './constants/strings.js'
724
+ export { etherUnits, gweiUnits, weiUnits } from './constants/unit.js'
729
725
  export {
730
726
  AbiConstructorNotFoundError,
731
727
  type AbiConstructorNotFoundErrorType,
@@ -739,10 +735,10 @@ export {
739
735
  type AbiDecodingZeroDataErrorType,
740
736
  AbiEncodingArrayLengthMismatchError,
741
737
  type AbiEncodingArrayLengthMismatchErrorType,
742
- AbiEncodingLengthMismatchError,
743
- type AbiEncodingLengthMismatchErrorType,
744
738
  AbiEncodingBytesSizeMismatchError,
745
739
  type AbiEncodingBytesSizeMismatchErrorType,
740
+ AbiEncodingLengthMismatchError,
741
+ type AbiEncodingLengthMismatchErrorType,
746
742
  AbiErrorInputsNotFoundError,
747
743
  type AbiErrorInputsNotFoundErrorType,
748
744
  AbiErrorNotFoundError,
@@ -778,15 +774,31 @@ export {
778
774
  UnsupportedPackedAbiType,
779
775
  type UnsupportedPackedAbiTypeErrorType,
780
776
  } from './errors/abi.js'
777
+ export {
778
+ InvalidAddressError,
779
+ type InvalidAddressErrorType,
780
+ } from './errors/address.js'
781
781
  export { BaseError, type BaseErrorType, setErrorConfig } from './errors/base.js'
782
+ export {
783
+ BlockNotFoundError,
784
+ type BlockNotFoundErrorType,
785
+ } from './errors/block.js'
782
786
  export {
783
787
  BundleFailedError,
784
788
  type BundleFailedErrorType,
785
789
  } from './errors/calls.js'
786
790
  export {
787
- BlockNotFoundError,
788
- type BlockNotFoundErrorType,
789
- } from './errors/block.js'
791
+ ChainDoesNotSupportContract,
792
+ type ChainDoesNotSupportContractErrorType,
793
+ ChainMismatchError,
794
+ type ChainMismatchErrorType,
795
+ ChainNotFoundError,
796
+ type ChainNotFoundErrorType,
797
+ ClientChainNotConfiguredError,
798
+ type ClientChainNotConfiguredErrorType,
799
+ InvalidChainIdError,
800
+ type InvalidChainIdErrorType,
801
+ } from './errors/chain.js'
790
802
  export {
791
803
  CallExecutionError,
792
804
  type CallExecutionErrorType,
@@ -796,11 +808,45 @@ export {
796
808
  type ContractFunctionRevertedErrorType,
797
809
  ContractFunctionZeroDataError,
798
810
  type ContractFunctionZeroDataErrorType,
799
- RawContractError,
800
- type RawContractErrorType,
801
811
  CounterfactualDeploymentFailedError,
802
812
  type CounterfactualDeploymentFailedErrorType,
813
+ RawContractError,
814
+ type RawContractErrorType,
803
815
  } from './errors/contract.js'
816
+ export {
817
+ SizeExceedsPaddingSizeError,
818
+ type SizeExceedsPaddingSizeErrorType,
819
+ SliceOffsetOutOfBoundsError,
820
+ type SliceOffsetOutOfBoundsErrorType,
821
+ } from './errors/data.js'
822
+ export {
823
+ IntegerOutOfRangeError,
824
+ type IntegerOutOfRangeErrorType,
825
+ InvalidBytesBooleanError,
826
+ type InvalidBytesBooleanErrorType,
827
+ InvalidHexBooleanError,
828
+ type InvalidHexBooleanErrorType,
829
+ InvalidHexValueError,
830
+ type InvalidHexValueErrorType,
831
+ SizeOverflowError,
832
+ type SizeOverflowErrorType,
833
+ } from './errors/encoding.js'
834
+ export {
835
+ type EnsAvatarInvalidMetadataError,
836
+ type EnsAvatarInvalidMetadataErrorType,
837
+ EnsAvatarInvalidNftUriError,
838
+ type EnsAvatarInvalidNftUriErrorType,
839
+ EnsAvatarUnsupportedNamespaceError,
840
+ type EnsAvatarUnsupportedNamespaceErrorType,
841
+ EnsAvatarUriResolutionError,
842
+ type EnsAvatarUriResolutionErrorType,
843
+ EnsInvalidChainIdError,
844
+ type EnsInvalidChainIdErrorType,
845
+ } from './errors/ens.js'
846
+ export {
847
+ EstimateGasExecutionError,
848
+ type EstimateGasExecutionErrorType,
849
+ } from './errors/estimateGas.js'
804
850
  export {
805
851
  BaseFeeScalarError,
806
852
  type BaseFeeScalarErrorType,
@@ -810,10 +856,52 @@ export {
810
856
  type MaxFeePerGasTooLowErrorType,
811
857
  } from './errors/fee.js'
812
858
  export {
813
- AtomicReadyWalletRejectedUpgradeError,
814
- type AtomicReadyWalletRejectedUpgradeErrorType,
859
+ FilterTypeNotSupportedError,
860
+ type FilterTypeNotSupportedErrorType,
861
+ } from './errors/log.js'
862
+ export {
863
+ ExecutionRevertedError,
864
+ type ExecutionRevertedErrorType,
865
+ FeeCapTooHighError,
866
+ type FeeCapTooHighErrorType,
867
+ FeeCapTooLowError,
868
+ type FeeCapTooLowErrorType,
869
+ InsufficientFundsError,
870
+ type InsufficientFundsErrorType,
871
+ IntrinsicGasTooHighError,
872
+ type IntrinsicGasTooHighErrorType,
873
+ IntrinsicGasTooLowError,
874
+ type IntrinsicGasTooLowErrorType,
875
+ NonceMaxValueError,
876
+ type NonceMaxValueErrorType,
877
+ NonceTooHighError,
878
+ type NonceTooHighErrorType,
879
+ NonceTooLowError,
880
+ type NonceTooLowErrorType,
881
+ TipAboveFeeCapError,
882
+ type TipAboveFeeCapErrorType,
883
+ TransactionTypeNotSupportedError,
884
+ type TransactionTypeNotSupportedErrorType,
885
+ UnknownNodeError,
886
+ type UnknownNodeErrorType,
887
+ } from './errors/node.js'
888
+ export {
889
+ HttpRequestError,
890
+ type HttpRequestErrorType,
891
+ RpcRequestError,
892
+ type RpcRequestErrorType,
893
+ SocketClosedError,
894
+ type SocketClosedErrorType,
895
+ TimeoutError,
896
+ type TimeoutErrorType,
897
+ WebSocketRequestError,
898
+ type WebSocketRequestErrorType,
899
+ } from './errors/request.js'
900
+ export {
815
901
  AtomicityNotSupportedError,
816
902
  type AtomicityNotSupportedErrorType,
903
+ AtomicReadyWalletRejectedUpgradeError,
904
+ type AtomicReadyWalletRejectedUpgradeErrorType,
817
905
  BundleTooLargeError,
818
906
  type BundleTooLargeErrorType,
819
907
  ChainDisconnectedError,
@@ -848,8 +936,8 @@ export {
848
936
  ResourceUnavailableRpcError,
849
937
  type ResourceUnavailableRpcErrorType,
850
938
  RpcError,
851
- type RpcErrorType,
852
939
  type RpcErrorCode,
940
+ type RpcErrorType,
853
941
  SwitchChainError,
854
942
  TransactionRejectedRpcError,
855
943
  type TransactionRejectedRpcErrorType,
@@ -869,163 +957,121 @@ export {
869
957
  type UserRejectedRequestErrorType,
870
958
  } from './errors/rpc.js'
871
959
  export {
872
- ChainDoesNotSupportContract,
873
- type ChainDoesNotSupportContractErrorType,
874
- ChainMismatchError,
875
- type ChainMismatchErrorType,
876
- ChainNotFoundError,
877
- type ChainNotFoundErrorType,
878
- ClientChainNotConfiguredError,
879
- type ClientChainNotConfiguredErrorType,
880
- InvalidChainIdError,
881
- type InvalidChainIdErrorType,
882
- } from './errors/chain.js'
960
+ AccountStateConflictError,
961
+ type AccountStateConflictErrorType,
962
+ StateAssignmentConflictError,
963
+ type StateAssignmentConflictErrorType,
964
+ } from './errors/stateOverride.js'
883
965
  export {
884
- InvalidBytesBooleanError,
885
- type InvalidBytesBooleanErrorType,
886
- IntegerOutOfRangeError,
887
- type IntegerOutOfRangeErrorType,
888
- InvalidHexBooleanError,
889
- type InvalidHexBooleanErrorType,
890
- InvalidHexValueError,
891
- type InvalidHexValueErrorType,
892
- SizeOverflowError,
893
- type SizeOverflowErrorType,
894
- } from './errors/encoding.js'
966
+ FeeConflictError,
967
+ type FeeConflictErrorType,
968
+ InvalidLegacyVError,
969
+ type InvalidLegacyVErrorType,
970
+ InvalidSerializableTransactionError,
971
+ type InvalidSerializableTransactionErrorType,
972
+ InvalidSerializedTransactionError,
973
+ type InvalidSerializedTransactionErrorType,
974
+ InvalidSerializedTransactionTypeError,
975
+ type InvalidSerializedTransactionTypeErrorType,
976
+ InvalidStorageKeySizeError,
977
+ type InvalidStorageKeySizeErrorType,
978
+ TransactionExecutionError,
979
+ type TransactionExecutionErrorType,
980
+ TransactionNotFoundError,
981
+ type TransactionNotFoundErrorType,
982
+ TransactionReceiptNotFoundError,
983
+ type TransactionReceiptNotFoundErrorType,
984
+ WaitForTransactionReceiptTimeoutError,
985
+ type WaitForTransactionReceiptTimeoutErrorType,
986
+ } from './errors/transaction.js'
895
987
  export {
896
- type EnsAvatarInvalidMetadataError,
897
- EnsAvatarUriResolutionError,
898
- type EnsAvatarInvalidMetadataErrorType,
899
- EnsAvatarInvalidNftUriError,
900
- type EnsAvatarInvalidNftUriErrorType,
901
- EnsAvatarUnsupportedNamespaceError,
902
- type EnsAvatarUnsupportedNamespaceErrorType,
903
- type EnsAvatarUriResolutionErrorType,
904
- EnsInvalidChainIdError,
905
- type EnsInvalidChainIdErrorType,
906
- } from './errors/ens.js'
988
+ UrlRequiredError,
989
+ type UrlRequiredErrorType,
990
+ } from './errors/transport.js'
991
+ export {
992
+ InvalidDomainError,
993
+ type InvalidDomainErrorType,
994
+ InvalidPrimaryTypeError,
995
+ type InvalidPrimaryTypeErrorType,
996
+ InvalidStructTypeError,
997
+ type InvalidStructTypeErrorType,
998
+ } from './errors/typedData.js'
907
999
  export {
908
- type InvalidDecimalNumberErrorType,
909
1000
  InvalidDecimalNumberError,
1001
+ type InvalidDecimalNumberErrorType,
910
1002
  } from './errors/unit.js'
911
- export {
912
- EstimateGasExecutionError,
913
- type EstimateGasExecutionErrorType,
914
- } from './errors/estimateGas.js'
915
- export {
916
- ExecutionRevertedError,
917
- type ExecutionRevertedErrorType,
918
- FeeCapTooHighError,
919
- type FeeCapTooHighErrorType,
920
- FeeCapTooLowError,
921
- type FeeCapTooLowErrorType,
922
- InsufficientFundsError,
923
- type InsufficientFundsErrorType,
924
- IntrinsicGasTooHighError,
925
- type IntrinsicGasTooHighErrorType,
926
- IntrinsicGasTooLowError,
927
- type IntrinsicGasTooLowErrorType,
928
- NonceMaxValueError,
929
- type NonceMaxValueErrorType,
930
- NonceTooHighError,
931
- type NonceTooHighErrorType,
932
- NonceTooLowError,
933
- type NonceTooLowErrorType,
934
- TipAboveFeeCapError,
935
- type TipAboveFeeCapErrorType,
936
- TransactionTypeNotSupportedError,
937
- type TransactionTypeNotSupportedErrorType,
938
- UnknownNodeError,
939
- type UnknownNodeErrorType,
940
- } from './errors/node.js'
941
- export {
942
- FilterTypeNotSupportedError,
943
- type FilterTypeNotSupportedErrorType,
944
- } from './errors/log.js'
945
- export {
946
- HttpRequestError,
947
- type HttpRequestErrorType,
948
- RpcRequestError,
949
- type RpcRequestErrorType,
950
- TimeoutError,
951
- type TimeoutErrorType,
952
- SocketClosedError,
953
- type SocketClosedErrorType,
954
- WebSocketRequestError,
955
- type WebSocketRequestErrorType,
956
- } from './errors/request.js'
957
- export {
958
- InvalidAddressError,
959
- type InvalidAddressErrorType,
960
- } from './errors/address.js'
961
- export {
962
- FeeConflictError,
963
- type FeeConflictErrorType,
964
- InvalidLegacyVError,
965
- type InvalidLegacyVErrorType,
966
- InvalidSerializableTransactionError,
967
- type InvalidSerializableTransactionErrorType,
968
- InvalidSerializedTransactionError,
969
- type InvalidSerializedTransactionErrorType,
970
- InvalidSerializedTransactionTypeError,
971
- type InvalidSerializedTransactionTypeErrorType,
972
- InvalidStorageKeySizeError,
973
- type InvalidStorageKeySizeErrorType,
974
- TransactionExecutionError,
975
- type TransactionExecutionErrorType,
976
- TransactionNotFoundError,
977
- type TransactionNotFoundErrorType,
978
- TransactionReceiptNotFoundError,
979
- type TransactionReceiptNotFoundErrorType,
980
- WaitForTransactionReceiptTimeoutError,
981
- type WaitForTransactionReceiptTimeoutErrorType,
982
- } from './errors/transaction.js'
983
- export {
984
- SizeExceedsPaddingSizeError,
985
- type SizeExceedsPaddingSizeErrorType,
986
- SliceOffsetOutOfBoundsError,
987
- type SliceOffsetOutOfBoundsErrorType,
988
- } from './errors/data.js'
989
- export {
990
- UrlRequiredError,
991
- type UrlRequiredErrorType,
992
- } from './errors/transport.js'
993
- export {
994
- AccountStateConflictError,
995
- type AccountStateConflictErrorType,
996
- StateAssignmentConflictError,
997
- type StateAssignmentConflictErrorType,
998
- } from './errors/stateOverride.js'
999
- export {
1000
- InvalidDomainError,
1001
- type InvalidDomainErrorType,
1002
- InvalidPrimaryTypeError,
1003
- type InvalidPrimaryTypeErrorType,
1004
- InvalidStructTypeError,
1005
- type InvalidStructTypeErrorType,
1006
- } from './errors/typedData.js'
1007
1003
  export type {
1008
- AbiEventParameterToPrimitiveType,
1004
+ DeriveAccount,
1005
+ HDKey,
1006
+ ParseAccount,
1007
+ } from './types/account.js'
1008
+ export type {
1009
+ Authorization,
1010
+ AuthorizationList,
1011
+ AuthorizationRequest,
1012
+ SerializedAuthorization,
1013
+ SerializedAuthorizationList,
1014
+ SignedAuthorization,
1015
+ SignedAuthorizationList,
1016
+ } from './types/authorization.js'
1017
+ export type {
1018
+ Block,
1019
+ BlockIdentifier,
1020
+ BlockNumber,
1021
+ BlockTag,
1022
+ Uncle,
1023
+ } from './types/block.js'
1024
+ export type { Call, Calls } from './types/calls.js'
1025
+ export type {
1026
+ Capabilities,
1027
+ /** @deprecated Use `Capabilities` instead. */
1028
+ Capabilities as WalletCapabilities,
1029
+ CapabilitiesSchema,
1030
+ /** @deprecated Use `ChainIdToCapabilities` instead. */
1031
+ ChainIdToCapabilities as WalletCapabilitiesRecord,
1032
+ ChainIdToCapabilities,
1033
+ ExtractCapabilities,
1034
+ } from './types/capabilities.js'
1035
+ export type {
1036
+ Chain,
1037
+ ChainConfig,
1038
+ ChainContract,
1039
+ ChainEstimateFeesPerGasFn,
1040
+ ChainEstimateFeesPerGasFnParameters,
1041
+ ChainFees,
1042
+ ChainFeesFnParameters,
1043
+ ChainFormatter,
1044
+ ChainFormatters,
1045
+ ChainMaxPriorityFeePerGasFn,
1046
+ ChainSerializers,
1047
+ DeriveChain,
1048
+ ExtractChainFormatterExclude,
1049
+ ExtractChainFormatterParameters,
1050
+ ExtractChainFormatterReturnType,
1051
+ GetChainParameter,
1052
+ } from './types/chain.js'
1053
+ export type {
1009
1054
  AbiEventParametersToPrimitiveTypes,
1055
+ AbiEventParameterToPrimitiveType,
1010
1056
  AbiEventTopicToPrimitiveType,
1011
1057
  AbiItem,
1012
1058
  AbiItemArgs,
1013
1059
  AbiItemName,
1014
1060
  ContractConstructorArgs,
1015
- ContractEventArgsFromTopics,
1016
- EventDefinition,
1017
- ExtractAbiFunctionForArgs,
1018
- ExtractAbiItem,
1019
- ExtractAbiItemForArgs,
1020
- ExtractAbiItemNames,
1021
1061
  ContractErrorArgs,
1022
1062
  ContractErrorName,
1023
1063
  ContractEventArgs,
1064
+ ContractEventArgsFromTopics,
1024
1065
  ContractEventName,
1025
- ContractFunctionParameters,
1026
- ContractFunctionReturnType,
1027
1066
  ContractFunctionArgs,
1028
1067
  ContractFunctionName,
1068
+ ContractFunctionParameters,
1069
+ ContractFunctionReturnType,
1070
+ EventDefinition,
1071
+ ExtractAbiFunctionForArgs,
1072
+ ExtractAbiItem,
1073
+ ExtractAbiItemForArgs,
1074
+ ExtractAbiItemNames,
1029
1075
  GetEventArgs,
1030
1076
  GetValue,
1031
1077
  LogTopicType,
@@ -1034,6 +1080,92 @@ export type {
1034
1080
  UnionWiden,
1035
1081
  Widen,
1036
1082
  } from './types/contract.js'
1083
+ export type {
1084
+ AddEthereumChainParameter,
1085
+ BundlerRpcSchema,
1086
+ DebugBundlerRpcSchema,
1087
+ EIP1193EventMap,
1088
+ EIP1193Events,
1089
+ EIP1193Parameters,
1090
+ EIP1193Provider,
1091
+ EIP1193RequestFn,
1092
+ EIP1474Methods,
1093
+ NetworkSync,
1094
+ PaymasterRpcSchema,
1095
+ ProviderConnectInfo,
1096
+ ProviderMessage,
1097
+ ProviderRpcErrorType as EIP1193ProviderRpcErrorType,
1098
+ PublicRpcSchema,
1099
+ RpcSchema,
1100
+ RpcSchemaOverride,
1101
+ TestRpcSchema,
1102
+ WalletCallReceipt,
1103
+ WalletGetAssetsParameters,
1104
+ WalletGetAssetsReturnType,
1105
+ WalletGetCallsStatusReturnType,
1106
+ WalletGrantPermissionsParameters,
1107
+ WalletGrantPermissionsReturnType,
1108
+ WalletPermission,
1109
+ WalletPermissionCaveat,
1110
+ WalletRpcSchema,
1111
+ WalletSendCallsParameters,
1112
+ WalletSendCallsReturnType,
1113
+ WatchAssetParams,
1114
+ } from './types/eip1193.js'
1115
+ export { ProviderRpcError as EIP1193ProviderRpcError } from './types/eip1193.js'
1116
+ export type { BlobSidecar, BlobSidecars } from './types/eip4844.js'
1117
+ export type { AssetGateway, AssetGatewayUrls } from './types/ens.js'
1118
+ export type {
1119
+ FeeHistory,
1120
+ FeeValues,
1121
+ FeeValuesEIP1559,
1122
+ FeeValuesEIP4844,
1123
+ FeeValuesLegacy,
1124
+ FeeValuesType,
1125
+ } from './types/fee.js'
1126
+ export type { Filter, FilterType } from './types/filter.js'
1127
+ export type { GetTransactionRequestKzgParameter, Kzg } from './types/kzg.js'
1128
+ export type { Log } from './types/log.js'
1129
+ export type {
1130
+ ByteArray,
1131
+ CompactSignature,
1132
+ Hash,
1133
+ Hex,
1134
+ LogTopic,
1135
+ SignableMessage,
1136
+ Signature,
1137
+ } from './types/misc.js'
1138
+ export type {
1139
+ MulticallContracts,
1140
+ MulticallResponse,
1141
+ MulticallResults,
1142
+ } from './types/multicall.js'
1143
+ export type { Register, ResolvedRegister } from './types/register.js'
1144
+ export type {
1145
+ Index,
1146
+ Quantity,
1147
+ RpcAccountStateOverride,
1148
+ RpcAuthorization,
1149
+ RpcAuthorizationList,
1150
+ RpcBlock,
1151
+ RpcBlockIdentifier,
1152
+ RpcBlockNumber,
1153
+ RpcFeeHistory,
1154
+ RpcFeeValues,
1155
+ RpcLog,
1156
+ RpcProof,
1157
+ RpcStateMapping,
1158
+ RpcStateOverride,
1159
+ RpcTransaction,
1160
+ RpcTransactionReceipt,
1161
+ RpcTransactionRequest,
1162
+ RpcUncle,
1163
+ Status,
1164
+ } from './types/rpc.js'
1165
+ export type {
1166
+ StateMapping,
1167
+ StateOverride,
1168
+ } from './types/stateOverride.js'
1037
1169
  export type {
1038
1170
  AccessList,
1039
1171
  Transaction,
@@ -1069,11 +1201,16 @@ export type {
1069
1201
  TransactionSerializedLegacy,
1070
1202
  TransactionType,
1071
1203
  } from './types/transaction.js'
1204
+ export type { GetPollOptions, GetTransportConfig } from './types/transport.js'
1205
+ export type { TypedDataDefinition } from './types/typedData.js'
1072
1206
  export type {
1073
1207
  Assign,
1074
1208
  Branded,
1075
1209
  Evaluate,
1210
+ ExactPartial,
1211
+ ExactRequired,
1076
1212
  IsNarrowable,
1213
+ IsNever,
1077
1214
  IsUndefined,
1078
1215
  IsUnion,
1079
1216
  LooseOmit,
@@ -1084,167 +1221,22 @@ export type {
1084
1221
  NoInfer,
1085
1222
  NoUndefined,
1086
1223
  Omit,
1224
+ OneOf,
1087
1225
  Or,
1088
1226
  PartialBy,
1227
+ Prettify,
1089
1228
  RequiredBy,
1090
1229
  Some,
1091
1230
  UnionEvaluate,
1092
1231
  UnionLooseOmit,
1232
+ UnionOmit,
1233
+ UnionPartialBy,
1234
+ UnionPick,
1235
+ UnionRequiredBy,
1236
+ UnionToTuple,
1093
1237
  ValueOf,
1094
- Prettify,
1095
- ExactPartial,
1096
- ExactRequired,
1097
- IsNever,
1098
- OneOf,
1099
- UnionOmit,
1100
- UnionPartialBy,
1101
- UnionPick,
1102
- UnionRequiredBy,
1103
- UnionToTuple,
1104
1238
  } from './types/utils.js'
1105
- export type {
1106
- Account,
1107
- AccountSource,
1108
- CustomSource,
1109
- HDAccount,
1110
- HDOptions,
1111
- JsonRpcAccount,
1112
- LocalAccount,
1113
- PrivateKeyAccount,
1114
- } from './accounts/types.js'
1115
- export type { AssetGateway, AssetGatewayUrls } from './types/ens.js'
1116
- export type {
1117
- Block,
1118
- BlockIdentifier,
1119
- BlockNumber,
1120
- BlockTag,
1121
- Uncle,
1122
- } from './types/block.js'
1123
- export type {
1124
- Capabilities,
1125
- /** @deprecated Use `Capabilities` instead. */
1126
- Capabilities as WalletCapabilities,
1127
- CapabilitiesSchema,
1128
- /** @deprecated Use `ChainIdToCapabilities` instead. */
1129
- ChainIdToCapabilities as WalletCapabilitiesRecord,
1130
- ChainIdToCapabilities,
1131
- ExtractCapabilities,
1132
- } from './types/capabilities.js'
1133
- export type {
1134
- ByteArray,
1135
- Hash,
1136
- Hex,
1137
- LogTopic,
1138
- Signature,
1139
- CompactSignature,
1140
- SignableMessage,
1141
- } from './types/misc.js'
1142
- export type {
1143
- AddEthereumChainParameter,
1144
- BundlerRpcSchema,
1145
- DebugBundlerRpcSchema,
1146
- EIP1193EventMap,
1147
- EIP1193Events,
1148
- EIP1193Parameters,
1149
- EIP1193Provider,
1150
- EIP1193RequestFn,
1151
- EIP1474Methods,
1152
- ProviderRpcErrorType as EIP1193ProviderRpcErrorType,
1153
- ProviderConnectInfo,
1154
- ProviderMessage,
1155
- PublicRpcSchema,
1156
- PaymasterRpcSchema,
1157
- NetworkSync,
1158
- RpcSchema,
1159
- RpcSchemaOverride,
1160
- TestRpcSchema,
1161
- WalletGetAssetsParameters,
1162
- WalletGetAssetsReturnType,
1163
- WalletCallReceipt,
1164
- WalletGetCallsStatusReturnType,
1165
- WalletGrantPermissionsParameters,
1166
- WalletGrantPermissionsReturnType,
1167
- WalletSendCallsParameters,
1168
- WalletSendCallsReturnType,
1169
- WalletPermissionCaveat,
1170
- WalletPermission,
1171
- WalletRpcSchema,
1172
- WatchAssetParams,
1173
- } from './types/eip1193.js'
1174
- export { ProviderRpcError as EIP1193ProviderRpcError } from './types/eip1193.js'
1175
- export type { BlobSidecar, BlobSidecars } from './types/eip4844.js'
1176
- export type {
1177
- FeeHistory,
1178
- FeeValues,
1179
- FeeValuesEIP1559,
1180
- FeeValuesEIP4844,
1181
- FeeValuesLegacy,
1182
- FeeValuesType,
1183
- } from './types/fee.js'
1184
- export type { Filter, FilterType } from './types/filter.js'
1185
- export type { TypedDataDefinition } from './types/typedData.js'
1186
- export type { GetTransportConfig, GetPollOptions } from './types/transport.js'
1187
- export type { Log } from './types/log.js'
1188
- export type {
1189
- MulticallContracts,
1190
- MulticallResponse,
1191
- MulticallResults,
1192
- } from './types/multicall.js'
1193
- export type {
1194
- ParseAccount,
1195
- DeriveAccount,
1196
- HDKey,
1197
- } from './types/account.js'
1198
- export type {
1199
- Authorization,
1200
- AuthorizationList,
1201
- AuthorizationRequest,
1202
- SerializedAuthorization,
1203
- SerializedAuthorizationList,
1204
- SignedAuthorization,
1205
- SignedAuthorizationList,
1206
- } from './types/authorization.js'
1207
- export type { Register, ResolvedRegister } from './types/register.js'
1208
- export type {
1209
- Index,
1210
- Quantity,
1211
- RpcAuthorization,
1212
- RpcAuthorizationList,
1213
- RpcBlock,
1214
- RpcBlockIdentifier,
1215
- RpcBlockNumber,
1216
- RpcFeeHistory,
1217
- RpcFeeValues,
1218
- RpcLog,
1219
- RpcTransaction,
1220
- RpcTransactionReceipt,
1221
- RpcTransactionRequest,
1222
- RpcUncle,
1223
- Status,
1224
- RpcProof,
1225
- RpcAccountStateOverride,
1226
- RpcStateOverride,
1227
- RpcStateMapping,
1228
- } from './types/rpc.js'
1229
1239
  export type { Withdrawal } from './types/withdrawal.js'
1230
- export type {
1231
- StateMapping,
1232
- StateOverride,
1233
- } from './types/stateOverride.js'
1234
- export {
1235
- toCoinType,
1236
- type ToCoinTypeError,
1237
- } from './utils/ens/toCoinType.js'
1238
- export { labelhash, type LabelhashErrorType } from './utils/ens/labelhash.js'
1239
- export { namehash, type NamehashErrorType } from './utils/ens/namehash.js'
1240
- export {
1241
- type FormattedBlock,
1242
- defineBlock,
1243
- type DefineBlockErrorType,
1244
- formatBlock,
1245
- type FormatBlockErrorType,
1246
- } from './utils/formatters/block.js'
1247
- export { formatLog, type FormatLogErrorType } from './utils/formatters/log.js'
1248
1240
  export {
1249
1241
  type DecodeAbiParametersErrorType,
1250
1242
  type DecodeAbiParametersReturnType,
@@ -1309,18 +1301,22 @@ export {
1309
1301
  type EncodeFunctionDataReturnType,
1310
1302
  encodeFunctionData,
1311
1303
  } from './utils/abi/encodeFunctionData.js'
1312
- export {
1313
- type PrepareEncodeFunctionDataErrorType,
1314
- type PrepareEncodeFunctionDataParameters,
1315
- type PrepareEncodeFunctionDataReturnType,
1316
- prepareEncodeFunctionData,
1317
- } from './utils/abi/prepareEncodeFunctionData.js'
1318
1304
  export {
1319
1305
  type EncodeFunctionResultErrorType,
1320
1306
  type EncodeFunctionResultParameters,
1321
1307
  type EncodeFunctionResultReturnType,
1322
1308
  encodeFunctionResult,
1323
1309
  } from './utils/abi/encodeFunctionResult.js'
1310
+ export {
1311
+ type EncodePackedErrorType,
1312
+ encodePacked,
1313
+ } from './utils/abi/encodePacked.js'
1314
+ export {
1315
+ type GetAbiItemErrorType,
1316
+ type GetAbiItemParameters,
1317
+ type GetAbiItemReturnType,
1318
+ getAbiItem,
1319
+ } from './utils/abi/getAbiItem.js'
1324
1320
  export {
1325
1321
  type ParseEventLogsErrorType,
1326
1322
  type ParseEventLogsParameters,
@@ -1328,193 +1324,180 @@ export {
1328
1324
  parseEventLogs,
1329
1325
  } from './utils/abi/parseEventLogs.js'
1330
1326
  export {
1331
- type FormattedTransaction,
1332
- defineTransaction,
1333
- type DefineTransactionErrorType,
1334
- formatTransaction,
1335
- type FormatTransactionErrorType,
1336
- transactionType,
1337
- } from './utils/formatters/transaction.js'
1338
- export {
1339
- type FormattedTransactionReceipt,
1340
- defineTransactionReceipt,
1341
- type DefineTransactionReceiptErrorType,
1342
- formatTransactionReceipt,
1343
- type FormatTransactionReceiptErrorType,
1344
- } from './utils/formatters/transactionReceipt.js'
1345
- export {
1346
- type FormattedTransactionRequest,
1347
- defineTransactionRequest,
1348
- type DefineTransactionRequestErrorType,
1349
- formatTransactionRequest,
1350
- type FormatTransactionRequestErrorType,
1351
- rpcTransactionType,
1352
- } from './utils/formatters/transactionRequest.js'
1327
+ type PrepareEncodeFunctionDataErrorType,
1328
+ type PrepareEncodeFunctionDataParameters,
1329
+ type PrepareEncodeFunctionDataReturnType,
1330
+ prepareEncodeFunctionData,
1331
+ } from './utils/abi/prepareEncodeFunctionData.js'
1353
1332
  export {
1354
- type GetAbiItemErrorType,
1355
- type GetAbiItemParameters,
1356
- type GetAbiItemReturnType,
1357
- getAbiItem,
1358
- } from './utils/abi/getAbiItem.js'
1333
+ type ChecksumAddressErrorType,
1334
+ checksumAddress,
1335
+ type GetAddressErrorType,
1336
+ getAddress,
1337
+ } from './utils/address/getAddress.js'
1359
1338
  export {
1360
1339
  type GetContractAddressOptions,
1361
- type GetCreate2AddressOptions,
1362
1340
  type GetCreate2AddressErrorType,
1363
- type GetCreateAddressOptions,
1341
+ type GetCreate2AddressOptions,
1364
1342
  type GetCreateAddressErrorType,
1343
+ type GetCreateAddressOptions,
1365
1344
  getContractAddress,
1366
1345
  getCreate2Address,
1367
1346
  getCreateAddress,
1368
1347
  } from './utils/address/getContractAddress.js'
1369
1348
  export {
1370
- type GetSerializedTransactionType,
1371
- type GetSerializedTransactionTypeErrorType,
1372
- getSerializedTransactionType,
1373
- } from './utils/transaction/getSerializedTransactionType.js'
1349
+ type IsAddressErrorType,
1350
+ type IsAddressOptions,
1351
+ isAddress,
1352
+ } from './utils/address/isAddress.js'
1374
1353
  export {
1375
- type GetTransactionType,
1376
- type GetTransactionTypeErrorType,
1377
- getTransactionType,
1378
- } from './utils/transaction/getTransactionType.js'
1354
+ type IsAddressEqualErrorType,
1355
+ type IsAddressEqualReturnType,
1356
+ isAddressEqual,
1357
+ } from './utils/address/isAddressEqual.js'
1379
1358
  export {
1380
- type HashDomainErrorType,
1381
- type HashStructErrorType,
1382
- type HashTypedDataErrorType,
1383
- type HashTypedDataParameters,
1384
- type HashTypedDataReturnType,
1385
- hashDomain,
1386
- hashStruct,
1387
- hashTypedData,
1388
- } from './utils/signature/hashTypedData.js'
1359
+ type BlobsToCommitmentsErrorType,
1360
+ type BlobsToCommitmentsParameters,
1361
+ type BlobsToCommitmentsReturnType,
1362
+ blobsToCommitments,
1363
+ } from './utils/blob/blobsToCommitments.js'
1389
1364
  export {
1390
- type CompactSignatureToSignatureErrorType,
1391
- compactSignatureToSignature,
1392
- } from './utils/signature/compactSignatureToSignature.js'
1365
+ blobsToProofs,
1366
+ type blobsToProofsErrorType,
1367
+ type blobsToProofsParameters,
1368
+ type blobsToProofsReturnType,
1369
+ } from './utils/blob/blobsToProofs.js'
1393
1370
  export {
1394
- /** @deprecated Use `ParseCompactSignatureErrorType`. */
1395
- type ParseCompactSignatureErrorType as HexToCompactSignatureErrorType,
1396
- /** @deprecated Use `parseCompactSignature`. */
1397
- parseCompactSignature as hexToCompactSignature,
1398
- type ParseCompactSignatureErrorType,
1399
- parseCompactSignature,
1400
- } from './utils/signature/parseCompactSignature.js'
1371
+ type CommitmentsToVersionedHashesErrorType,
1372
+ type CommitmentsToVersionedHashesParameters,
1373
+ type CommitmentsToVersionedHashesReturnType,
1374
+ commitmentsToVersionedHashes,
1375
+ } from './utils/blob/commitmentsToVersionedHashes.js'
1401
1376
  export {
1402
- /** @deprecated Use `ParseSignatureErrorType`. */
1403
- type ParseSignatureErrorType as HexToSignatureErrorType,
1404
- /** @deprecated Use `parseSignature`. */
1405
- parseSignature as hexToSignature,
1406
- type ParseSignatureErrorType,
1407
- parseSignature,
1408
- } from './utils/signature/parseSignature.js'
1409
- export {
1410
- type RecoverAddressErrorType,
1411
- type RecoverAddressParameters,
1412
- type RecoverAddressReturnType,
1413
- recoverAddress,
1414
- } from './utils/signature/recoverAddress.js'
1415
- export {
1416
- type RecoverMessageAddressErrorType,
1417
- type RecoverMessageAddressParameters,
1418
- type RecoverMessageAddressReturnType,
1419
- recoverMessageAddress,
1420
- } from './utils/signature/recoverMessageAddress.js'
1377
+ type CommitmentToVersionedHashErrorType,
1378
+ type CommitmentToVersionedHashParameters,
1379
+ type CommitmentToVersionedHashReturnType,
1380
+ commitmentToVersionedHash,
1381
+ } from './utils/blob/commitmentToVersionedHash.js'
1421
1382
  export {
1422
- type RecoverPublicKeyErrorType,
1423
- type RecoverPublicKeyParameters,
1424
- type RecoverPublicKeyReturnType,
1425
- recoverPublicKey,
1426
- } from './utils/signature/recoverPublicKey.js'
1383
+ type FromBlobsErrorType,
1384
+ type FromBlobsParameters,
1385
+ type FromBlobsReturnType,
1386
+ fromBlobs,
1387
+ } from './utils/blob/fromBlobs.js'
1427
1388
  export {
1428
- type RecoverTransactionAddressErrorType,
1429
- type RecoverTransactionAddressParameters,
1430
- type RecoverTransactionAddressReturnType,
1431
- recoverTransactionAddress,
1432
- } from './utils/signature/recoverTransactionAddress.js'
1389
+ type SidecarsToVersionedHashesErrorType,
1390
+ type SidecarsToVersionedHashesParameters,
1391
+ type SidecarsToVersionedHashesReturnType,
1392
+ sidecarsToVersionedHashes,
1393
+ } from './utils/blob/sidecarsToVersionedHashes.js'
1433
1394
  export {
1434
- type RecoverTypedDataAddressErrorType,
1435
- type RecoverTypedDataAddressParameters,
1436
- type RecoverTypedDataAddressReturnType,
1437
- recoverTypedDataAddress,
1438
- } from './utils/signature/recoverTypedDataAddress.js'
1395
+ type ToBlobSidecarsErrorType,
1396
+ type ToBlobSidecarsParameters,
1397
+ type ToBlobSidecarsReturnType,
1398
+ toBlobSidecars,
1399
+ } from './utils/blob/toBlobSidecars.js'
1439
1400
  export {
1440
- type SignatureToCompactSignatureErrorType,
1441
- signatureToCompactSignature,
1442
- } from './utils/signature/signatureToCompactSignature.js'
1401
+ type ToBlobsErrorType,
1402
+ type ToBlobsParameters,
1403
+ type ToBlobsReturnType,
1404
+ toBlobs,
1405
+ } from './utils/blob/toBlobs.js'
1443
1406
  export {
1444
- /** @deprecated Use `SignatureToHexErrorType` instead. */
1445
- type SerializeCompactSignatureErrorType as CompactSignatureToHexErrorType,
1446
- /** @deprecated Use `serializeCompactSignature` instead. */
1447
- serializeCompactSignature as compactSignatureToHex,
1448
- type SerializeCompactSignatureErrorType,
1449
- serializeCompactSignature,
1450
- } from './utils/signature/serializeCompactSignature.js'
1407
+ type CcipRequestErrorType,
1408
+ type CcipRequestParameters,
1409
+ ccipRequest,
1410
+ /** @deprecated Use `ccipRequest`. */
1411
+ ccipRequest as ccipFetch,
1412
+ type OffchainLookupErrorType,
1413
+ offchainLookup,
1414
+ offchainLookupAbiItem,
1415
+ offchainLookupSignature,
1416
+ } from './utils/ccip.js'
1451
1417
  export {
1452
- /** @deprecated Use `SignatureToHexErrorType` instead. */
1453
- type SerializeSignatureErrorType as SignatureToHexErrorType,
1454
- /** @deprecated Use `serializeSignature` instead. */
1455
- serializeSignature as signatureToHex,
1456
- type SerializeSignatureParameters,
1457
- type SerializeSignatureReturnType,
1458
- type SerializeSignatureErrorType,
1459
- serializeSignature,
1460
- } from './utils/signature/serializeSignature.js'
1418
+ type AssertCurrentChainErrorType,
1419
+ type AssertCurrentChainParameters,
1420
+ assertCurrentChain,
1421
+ } from './utils/chain/assertCurrentChain.js'
1422
+ export { defineChain } from './utils/chain/defineChain.js'
1461
1423
  export {
1462
- bytesToRlp,
1463
- type BytesToRlpErrorType,
1464
- hexToRlp,
1465
- type HexToRlpErrorType,
1466
- toRlp,
1467
- type ToRlpErrorType,
1468
- type ToRlpReturnType,
1469
- } from './utils/encoding/toRlp.js'
1424
+ type ExtractChainErrorType,
1425
+ type ExtractChainParameters,
1426
+ type ExtractChainReturnType,
1427
+ extractChain,
1428
+ } from './utils/chain/extractChain.js'
1470
1429
  export {
1471
- type VerifyHashErrorType,
1472
- type VerifyHashParameters,
1473
- type VerifyHashReturnType,
1474
- verifyHash,
1475
- } from './utils/signature/verifyHash.js'
1430
+ type GetChainContractAddressErrorType,
1431
+ getChainContractAddress,
1432
+ } from './utils/chain/getChainContractAddress.js'
1476
1433
  export {
1477
- type VerifyMessageErrorType,
1478
- type VerifyMessageParameters,
1479
- type VerifyMessageReturnType,
1480
- verifyMessage,
1481
- } from './utils/signature/verifyMessage.js'
1434
+ type ConcatBytesErrorType,
1435
+ type ConcatErrorType,
1436
+ type ConcatHexErrorType,
1437
+ type ConcatReturnType,
1438
+ concat,
1439
+ concatBytes,
1440
+ concatHex,
1441
+ } from './utils/data/concat.js'
1442
+ export { type IsBytesErrorType, isBytes } from './utils/data/isBytes.js'
1443
+ export { type IsHexErrorType, isHex } from './utils/data/isHex.js'
1482
1444
  export {
1483
- type VerifyTypedDataErrorType,
1484
- type VerifyTypedDataParameters,
1485
- type VerifyTypedDataReturnType,
1486
- verifyTypedData,
1487
- } from './utils/signature/verifyTypedData.js'
1445
+ type PadBytesErrorType,
1446
+ type PadErrorType,
1447
+ type PadHexErrorType,
1448
+ type PadReturnType,
1449
+ pad,
1450
+ padBytes,
1451
+ padHex,
1452
+ } from './utils/data/pad.js'
1453
+ export { type SizeErrorType, size } from './utils/data/size.js'
1488
1454
  export {
1489
- type ParseErc6492SignatureErrorType,
1490
- type ParseErc6492SignatureParameters,
1491
- type ParseErc6492SignatureReturnType,
1492
- parseErc6492Signature,
1493
- } from './utils/signature/parseErc6492Signature.js'
1455
+ type SliceBytesErrorType,
1456
+ type SliceErrorType,
1457
+ type SliceHexErrorType,
1458
+ slice,
1459
+ sliceBytes,
1460
+ sliceHex,
1461
+ } from './utils/data/slice.js'
1494
1462
  export {
1495
- type IsErc6492SignatureErrorType,
1496
- type IsErc6492SignatureParameters,
1497
- type IsErc6492SignatureReturnType,
1498
- isErc6492Signature,
1499
- } from './utils/signature/isErc6492Signature.js'
1463
+ type TrimErrorType,
1464
+ type TrimReturnType,
1465
+ trim,
1466
+ } from './utils/data/trim.js'
1500
1467
  export {
1501
- type SerializeErc6492SignatureErrorType,
1502
- type SerializeErc6492SignatureParameters,
1503
- type SerializeErc6492SignatureReturnType,
1504
- serializeErc6492Signature,
1505
- } from './utils/signature/serializeErc6492Signature.js'
1468
+ type BytesToBigIntErrorType,
1469
+ type BytesToBigIntOpts,
1470
+ type BytesToBoolErrorType,
1471
+ type BytesToBoolOpts,
1472
+ type BytesToNumberErrorType,
1473
+ type BytesToNumberOpts,
1474
+ type BytesToStringErrorType,
1475
+ type BytesToStringOpts,
1476
+ bytesToBigInt,
1477
+ bytesToBool,
1478
+ bytesToNumber,
1479
+ bytesToString,
1480
+ type FromBytesErrorType,
1481
+ type FromBytesParameters,
1482
+ fromBytes,
1483
+ } from './utils/encoding/fromBytes.js'
1506
1484
  export {
1507
- type AssertRequestErrorType,
1508
- assertRequest,
1509
- } from './utils/transaction/assertRequest.js'
1485
+ type FromHexErrorType,
1486
+ fromHex,
1487
+ type HexToBigIntErrorType,
1488
+ type HexToBoolErrorType,
1489
+ type HexToNumberErrorType,
1490
+ type HexToStringErrorType,
1491
+ hexToBigInt,
1492
+ hexToBool,
1493
+ hexToNumber,
1494
+ hexToString,
1495
+ } from './utils/encoding/fromHex.js'
1510
1496
  export {
1511
- type AssertTransactionEIP1559ErrorType,
1512
- assertTransactionEIP1559,
1513
- type AssertTransactionEIP2930ErrorType,
1514
- assertTransactionEIP2930,
1515
- type AssertTransactionLegacyErrorType,
1516
- assertTransactionLegacy,
1517
- } from './utils/transaction/assertTransaction.js'
1497
+ type FromRlpErrorType,
1498
+ type FromRlpReturnType,
1499
+ fromRlp,
1500
+ } from './utils/encoding/fromRlp.js'
1518
1501
  export {
1519
1502
  type BoolToBytesErrorType,
1520
1503
  type BoolToBytesOpts,
@@ -1534,9 +1517,9 @@ export {
1534
1517
  export {
1535
1518
  type BoolToHexErrorType,
1536
1519
  type BoolToHexOpts,
1537
- boolToHex,
1538
1520
  type BytesToHexErrorType,
1539
1521
  type BytesToHexOpts,
1522
+ boolToHex,
1540
1523
  bytesToHex,
1541
1524
  type NumberToHexErrorType,
1542
1525
  type NumberToHexOpts,
@@ -1549,81 +1532,111 @@ export {
1549
1532
  toHex,
1550
1533
  } from './utils/encoding/toHex.js'
1551
1534
  export {
1552
- type BytesToBigIntErrorType,
1553
- type BytesToBigIntOpts,
1554
- bytesToBigInt,
1555
- type BytesToBoolErrorType,
1556
- type BytesToBoolOpts,
1557
- bytesToBool,
1558
- type BytesToNumberErrorType,
1559
- type BytesToNumberOpts,
1560
- bytesToNumber,
1561
- type BytesToStringErrorType,
1562
- type BytesToStringOpts,
1563
- bytesToString,
1564
- type FromBytesErrorType,
1565
- type FromBytesParameters,
1566
- fromBytes,
1567
- } from './utils/encoding/fromBytes.js'
1535
+ type BytesToRlpErrorType,
1536
+ bytesToRlp,
1537
+ type HexToRlpErrorType,
1538
+ hexToRlp,
1539
+ type ToRlpErrorType,
1540
+ type ToRlpReturnType,
1541
+ toRlp,
1542
+ } from './utils/encoding/toRlp.js'
1543
+ export { type LabelhashErrorType, labelhash } from './utils/ens/labelhash.js'
1544
+ export { type NamehashErrorType, namehash } from './utils/ens/namehash.js'
1568
1545
  export {
1569
- type CcipRequestParameters,
1570
- type CcipRequestErrorType,
1571
- ccipRequest,
1572
- /** @deprecated Use `ccipRequest`. */
1573
- ccipRequest as ccipFetch,
1574
- type OffchainLookupErrorType,
1575
- offchainLookup,
1576
- offchainLookupAbiItem,
1577
- offchainLookupSignature,
1578
- } from './utils/ccip.js'
1546
+ type ToCoinTypeError,
1547
+ toCoinType,
1548
+ } from './utils/ens/toCoinType.js'
1579
1549
  export {
1580
- type BlobsToCommitmentsErrorType,
1581
- type BlobsToCommitmentsParameters,
1582
- type BlobsToCommitmentsReturnType,
1583
- blobsToCommitments,
1584
- } from './utils/blob/blobsToCommitments.js'
1550
+ type GetContractErrorReturnType,
1551
+ getContractError,
1552
+ } from './utils/errors/getContractError.js'
1585
1553
  export {
1586
- type CommitmentToVersionedHashErrorType,
1587
- type CommitmentToVersionedHashParameters,
1588
- type CommitmentToVersionedHashReturnType,
1589
- commitmentToVersionedHash,
1590
- } from './utils/blob/commitmentToVersionedHash.js'
1554
+ type DefineBlockErrorType,
1555
+ defineBlock,
1556
+ type FormatBlockErrorType,
1557
+ type FormattedBlock,
1558
+ formatBlock,
1559
+ } from './utils/formatters/block.js'
1560
+ export { type FormatLogErrorType, formatLog } from './utils/formatters/log.js'
1591
1561
  export {
1592
- type CommitmentsToVersionedHashesErrorType,
1593
- type CommitmentsToVersionedHashesParameters,
1594
- type CommitmentsToVersionedHashesReturnType,
1595
- commitmentsToVersionedHashes,
1596
- } from './utils/blob/commitmentsToVersionedHashes.js'
1562
+ type DefineTransactionErrorType,
1563
+ defineTransaction,
1564
+ type FormatTransactionErrorType,
1565
+ type FormattedTransaction,
1566
+ formatTransaction,
1567
+ transactionType,
1568
+ } from './utils/formatters/transaction.js'
1597
1569
  export {
1598
- type SidecarsToVersionedHashesErrorType,
1599
- type SidecarsToVersionedHashesParameters,
1600
- type SidecarsToVersionedHashesReturnType,
1601
- sidecarsToVersionedHashes,
1602
- } from './utils/blob/sidecarsToVersionedHashes.js'
1570
+ type DefineTransactionReceiptErrorType,
1571
+ defineTransactionReceipt,
1572
+ type FormatTransactionReceiptErrorType,
1573
+ type FormattedTransactionReceipt,
1574
+ formatTransactionReceipt,
1575
+ } from './utils/formatters/transactionReceipt.js'
1603
1576
  export {
1604
- type blobsToProofsErrorType,
1605
- type blobsToProofsParameters,
1606
- type blobsToProofsReturnType,
1607
- blobsToProofs,
1608
- } from './utils/blob/blobsToProofs.js'
1577
+ type DefineTransactionRequestErrorType,
1578
+ defineTransactionRequest,
1579
+ type FormatTransactionRequestErrorType,
1580
+ type FormattedTransactionRequest,
1581
+ formatTransactionRequest,
1582
+ rpcTransactionType,
1583
+ } from './utils/formatters/transactionRequest.js'
1584
+ export { type IsHashErrorType, isHash } from './utils/hash/isHash.js'
1609
1585
  export {
1610
- type FromBlobsErrorType,
1611
- type FromBlobsParameters,
1612
- type FromBlobsReturnType,
1613
- fromBlobs,
1614
- } from './utils/blob/fromBlobs.js'
1586
+ type Keccak256ErrorType,
1587
+ type Keccak256Hash,
1588
+ keccak256,
1589
+ } from './utils/hash/keccak256.js'
1615
1590
  export {
1616
- type ToBlobSidecarsErrorType,
1617
- type ToBlobSidecarsParameters,
1618
- type ToBlobSidecarsReturnType,
1619
- toBlobSidecars,
1620
- } from './utils/blob/toBlobSidecars.js'
1591
+ type Ripemd160ErrorType,
1592
+ type Ripemd160Hash,
1593
+ ripemd160,
1594
+ } from './utils/hash/ripemd160.js'
1621
1595
  export {
1622
- type ToBlobsErrorType,
1623
- type ToBlobsParameters,
1624
- type ToBlobsReturnType,
1625
- toBlobs,
1626
- } from './utils/blob/toBlobs.js'
1596
+ type Sha256ErrorType,
1597
+ type Sha256Hash,
1598
+ sha256,
1599
+ } from './utils/hash/sha256.js'
1600
+ export {
1601
+ type ToEventHashErrorType,
1602
+ toEventHash,
1603
+ } from './utils/hash/toEventHash.js'
1604
+ export {
1605
+ type ToEventSelectorErrorType,
1606
+ /** @deprecated use `ToEventSelectorErrorType`. */
1607
+ type ToEventSelectorErrorType as GetEventSelectorErrorType,
1608
+ toEventSelector,
1609
+ /** @deprecated use `toEventSelector`. */
1610
+ toEventSelector as getEventSelector,
1611
+ } from './utils/hash/toEventSelector.js'
1612
+ export {
1613
+ type ToEventSignatureErrorType,
1614
+ /** @deprecated use `ToEventSignatureErrorType`. */
1615
+ type ToEventSignatureErrorType as GetEventSignatureErrorType,
1616
+ toEventSignature,
1617
+ /** @deprecated use `toEventSignature`. */
1618
+ toEventSignature as getEventSignature,
1619
+ } from './utils/hash/toEventSignature.js'
1620
+ export {
1621
+ type ToFunctionHashErrorType,
1622
+ toFunctionHash,
1623
+ } from './utils/hash/toFunctionHash.js'
1624
+ export {
1625
+ type ToFunctionSelectorErrorType,
1626
+ /** @deprecated use `ToFunctionSelectorErrorType`. */
1627
+ type ToFunctionSelectorErrorType as GetFunctionSelectorErrorType,
1628
+ toFunctionSelector,
1629
+ /** @deprecated use `toFunctionSelector`. */
1630
+ toFunctionSelector as getFunctionSelector,
1631
+ } from './utils/hash/toFunctionSelector.js'
1632
+ export {
1633
+ type ToFunctionSignatureErrorType,
1634
+ /** @deprecated use `ToFunctionSignatureErrorType`. */
1635
+ type ToFunctionSignatureErrorType as GetFunctionSignatureErrorType,
1636
+ toFunctionSignature,
1637
+ /** @deprecated use `toFunctionSignature`. */
1638
+ toFunctionSignature as getFunctionSignature,
1639
+ } from './utils/hash/toFunctionSignature.js'
1627
1640
  export {
1628
1641
  type DefineKzgErrorType,
1629
1642
  type DefineKzgParameters,
@@ -1637,34 +1650,12 @@ export {
1637
1650
  setupKzg,
1638
1651
  } from './utils/kzg/setupKzg.js'
1639
1652
  export {
1640
- type ConcatBytesErrorType,
1641
- type ConcatErrorType,
1642
- type ConcatHexErrorType,
1643
- type ConcatReturnType,
1644
- concat,
1645
- concatBytes,
1646
- concatHex,
1647
- } from './utils/data/concat.js'
1648
- export {
1649
- type AssertCurrentChainErrorType,
1650
- type AssertCurrentChainParameters,
1651
- assertCurrentChain,
1652
- } from './utils/chain/assertCurrentChain.js'
1653
- export { defineChain } from './utils/chain/defineChain.js'
1654
- export {
1655
- type ExtractChainErrorType,
1656
- type ExtractChainParameters,
1657
- type ExtractChainReturnType,
1658
- extractChain,
1659
- } from './utils/chain/extractChain.js'
1660
- export {
1661
- type GetChainContractAddressErrorType,
1662
- getChainContractAddress,
1663
- } from './utils/chain/getChainContractAddress.js'
1664
- export {
1665
- type EncodePackedErrorType,
1666
- encodePacked,
1667
- } from './utils/abi/encodePacked.js'
1653
+ type CreateNonceManagerParameters,
1654
+ createNonceManager,
1655
+ type NonceManager,
1656
+ type NonceManagerSource,
1657
+ nonceManager,
1658
+ } from './utils/nonceManager.js'
1668
1659
  export { withCache } from './utils/promise/withCache.js'
1669
1660
  export {
1670
1661
  type WithRetryErrorType,
@@ -1675,189 +1666,197 @@ export {
1675
1666
  withTimeout,
1676
1667
  } from './utils/promise/withTimeout.js'
1677
1668
  export {
1678
- type FormatEtherErrorType,
1679
- formatEther,
1680
- } from './utils/unit/formatEther.js'
1669
+ type CompactSignatureToSignatureErrorType,
1670
+ compactSignatureToSignature,
1671
+ } from './utils/signature/compactSignatureToSignature.js'
1681
1672
  export {
1682
- type FormatGweiErrorType,
1683
- formatGwei,
1684
- } from './utils/unit/formatGwei.js'
1673
+ type HashMessageErrorType,
1674
+ hashMessage,
1675
+ } from './utils/signature/hashMessage.js'
1685
1676
  export {
1686
- type FormatUnitsErrorType,
1687
- formatUnits,
1688
- } from './utils/unit/formatUnits.js'
1677
+ type HashDomainErrorType,
1678
+ type HashStructErrorType,
1679
+ type HashTypedDataErrorType,
1680
+ type HashTypedDataParameters,
1681
+ type HashTypedDataReturnType,
1682
+ hashDomain,
1683
+ hashStruct,
1684
+ hashTypedData,
1685
+ } from './utils/signature/hashTypedData.js'
1689
1686
  export {
1690
- type FromHexErrorType,
1691
- fromHex,
1692
- type HexToBigIntErrorType,
1693
- hexToBigInt,
1694
- type HexToBoolErrorType,
1695
- hexToBool,
1696
- type HexToNumberErrorType,
1697
- hexToNumber,
1698
- type HexToStringErrorType,
1699
- hexToString,
1700
- } from './utils/encoding/fromHex.js'
1687
+ type IsErc6492SignatureErrorType,
1688
+ type IsErc6492SignatureParameters,
1689
+ type IsErc6492SignatureReturnType,
1690
+ isErc6492Signature,
1691
+ } from './utils/signature/isErc6492Signature.js'
1701
1692
  export {
1702
- type FromRlpErrorType,
1703
- type FromRlpReturnType,
1704
- fromRlp,
1705
- } from './utils/encoding/fromRlp.js'
1693
+ /** @deprecated Use `ParseCompactSignatureErrorType`. */
1694
+ type ParseCompactSignatureErrorType as HexToCompactSignatureErrorType,
1695
+ type ParseCompactSignatureErrorType,
1696
+ /** @deprecated Use `parseCompactSignature`. */
1697
+ parseCompactSignature as hexToCompactSignature,
1698
+ parseCompactSignature,
1699
+ } from './utils/signature/parseCompactSignature.js'
1706
1700
  export {
1707
- type ChecksumAddressErrorType,
1708
- type GetAddressErrorType,
1709
- checksumAddress,
1710
- getAddress,
1711
- } from './utils/address/getAddress.js'
1701
+ type ParseErc6492SignatureErrorType,
1702
+ type ParseErc6492SignatureParameters,
1703
+ type ParseErc6492SignatureReturnType,
1704
+ parseErc6492Signature,
1705
+ } from './utils/signature/parseErc6492Signature.js'
1712
1706
  export {
1713
- type GetContractErrorReturnType,
1714
- getContractError,
1715
- } from './utils/errors/getContractError.js'
1707
+ /** @deprecated Use `ParseSignatureErrorType`. */
1708
+ type ParseSignatureErrorType as HexToSignatureErrorType,
1709
+ type ParseSignatureErrorType,
1710
+ /** @deprecated Use `parseSignature`. */
1711
+ parseSignature as hexToSignature,
1712
+ parseSignature,
1713
+ } from './utils/signature/parseSignature.js'
1716
1714
  export {
1717
- type ToEventSelectorErrorType,
1718
- toEventSelector,
1719
- /** @deprecated use `ToEventSelectorErrorType`. */
1720
- type ToEventSelectorErrorType as GetEventSelectorErrorType,
1721
- /** @deprecated use `toEventSelector`. */
1722
- toEventSelector as getEventSelector,
1723
- } from './utils/hash/toEventSelector.js'
1715
+ type RecoverAddressErrorType,
1716
+ type RecoverAddressParameters,
1717
+ type RecoverAddressReturnType,
1718
+ recoverAddress,
1719
+ } from './utils/signature/recoverAddress.js'
1724
1720
  export {
1725
- type ToFunctionSelectorErrorType,
1726
- toFunctionSelector,
1727
- /** @deprecated use `ToFunctionSelectorErrorType`. */
1728
- type ToFunctionSelectorErrorType as GetFunctionSelectorErrorType,
1729
- /** @deprecated use `toFunctionSelector`. */
1730
- toFunctionSelector as getFunctionSelector,
1731
- } from './utils/hash/toFunctionSelector.js'
1721
+ type RecoverMessageAddressErrorType,
1722
+ type RecoverMessageAddressParameters,
1723
+ type RecoverMessageAddressReturnType,
1724
+ recoverMessageAddress,
1725
+ } from './utils/signature/recoverMessageAddress.js'
1732
1726
  export {
1733
- type ToEventSignatureErrorType,
1734
- toEventSignature,
1735
- /** @deprecated use `ToEventSignatureErrorType`. */
1736
- type ToEventSignatureErrorType as GetEventSignatureErrorType,
1737
- /** @deprecated use `toEventSignature`. */
1738
- toEventSignature as getEventSignature,
1739
- } from './utils/hash/toEventSignature.js'
1727
+ type RecoverPublicKeyErrorType,
1728
+ type RecoverPublicKeyParameters,
1729
+ type RecoverPublicKeyReturnType,
1730
+ recoverPublicKey,
1731
+ } from './utils/signature/recoverPublicKey.js'
1740
1732
  export {
1741
- type ToFunctionSignatureErrorType,
1742
- toFunctionSignature,
1743
- /** @deprecated use `ToFunctionSignatureErrorType`. */
1744
- type ToFunctionSignatureErrorType as GetFunctionSignatureErrorType,
1745
- /** @deprecated use `toFunctionSignature`. */
1746
- toFunctionSignature as getFunctionSignature,
1747
- } from './utils/hash/toFunctionSignature.js'
1733
+ type RecoverTransactionAddressErrorType,
1734
+ type RecoverTransactionAddressParameters,
1735
+ type RecoverTransactionAddressReturnType,
1736
+ recoverTransactionAddress,
1737
+ } from './utils/signature/recoverTransactionAddress.js'
1748
1738
  export {
1749
- type ToEventHashErrorType,
1750
- toEventHash,
1751
- } from './utils/hash/toEventHash.js'
1739
+ type RecoverTypedDataAddressErrorType,
1740
+ type RecoverTypedDataAddressParameters,
1741
+ type RecoverTypedDataAddressReturnType,
1742
+ recoverTypedDataAddress,
1743
+ } from './utils/signature/recoverTypedDataAddress.js'
1752
1744
  export {
1753
- type ToFunctionHashErrorType,
1754
- toFunctionHash,
1755
- } from './utils/hash/toFunctionHash.js'
1745
+ /** @deprecated Use `SignatureToHexErrorType` instead. */
1746
+ type SerializeCompactSignatureErrorType as CompactSignatureToHexErrorType,
1747
+ type SerializeCompactSignatureErrorType,
1748
+ /** @deprecated Use `serializeCompactSignature` instead. */
1749
+ serializeCompactSignature as compactSignatureToHex,
1750
+ serializeCompactSignature,
1751
+ } from './utils/signature/serializeCompactSignature.js'
1756
1752
  export {
1757
- type HashMessageErrorType,
1758
- hashMessage,
1759
- } from './utils/signature/hashMessage.js'
1753
+ type SerializeErc6492SignatureErrorType,
1754
+ type SerializeErc6492SignatureParameters,
1755
+ type SerializeErc6492SignatureReturnType,
1756
+ serializeErc6492Signature,
1757
+ } from './utils/signature/serializeErc6492Signature.js'
1758
+ export {
1759
+ /** @deprecated Use `SignatureToHexErrorType` instead. */
1760
+ type SerializeSignatureErrorType as SignatureToHexErrorType,
1761
+ type SerializeSignatureErrorType,
1762
+ type SerializeSignatureParameters,
1763
+ type SerializeSignatureReturnType,
1764
+ /** @deprecated Use `serializeSignature` instead. */
1765
+ serializeSignature as signatureToHex,
1766
+ serializeSignature,
1767
+ } from './utils/signature/serializeSignature.js'
1768
+ export {
1769
+ type SignatureToCompactSignatureErrorType,
1770
+ signatureToCompactSignature,
1771
+ } from './utils/signature/signatureToCompactSignature.js'
1760
1772
  export {
1761
1773
  type ToPrefixedMessageErrorType,
1762
1774
  toPrefixedMessage,
1763
1775
  } from './utils/signature/toPrefixedMessage.js'
1764
1776
  export {
1765
- type IsAddressOptions,
1766
- type IsAddressErrorType,
1767
- isAddress,
1768
- } from './utils/address/isAddress.js'
1777
+ type VerifyHashErrorType,
1778
+ type VerifyHashParameters,
1779
+ type VerifyHashReturnType,
1780
+ verifyHash,
1781
+ } from './utils/signature/verifyHash.js'
1769
1782
  export {
1770
- type IsAddressEqualReturnType,
1771
- type IsAddressEqualErrorType,
1772
- isAddressEqual,
1773
- } from './utils/address/isAddressEqual.js'
1774
- export { type IsBytesErrorType, isBytes } from './utils/data/isBytes.js'
1775
- export { type IsHashErrorType, isHash } from './utils/hash/isHash.js'
1776
- export { type IsHexErrorType, isHex } from './utils/data/isHex.js'
1783
+ type VerifyMessageErrorType,
1784
+ type VerifyMessageParameters,
1785
+ type VerifyMessageReturnType,
1786
+ verifyMessage,
1787
+ } from './utils/signature/verifyMessage.js'
1777
1788
  export {
1778
- type Keccak256Hash,
1779
- type Keccak256ErrorType,
1780
- keccak256,
1781
- } from './utils/hash/keccak256.js'
1789
+ type VerifyTypedDataErrorType,
1790
+ type VerifyTypedDataParameters,
1791
+ type VerifyTypedDataReturnType,
1792
+ verifyTypedData,
1793
+ } from './utils/signature/verifyTypedData.js'
1794
+ export { type StringifyErrorType, stringify } from './utils/stringify.js'
1782
1795
  export {
1783
- type Sha256Hash,
1784
- type Sha256ErrorType,
1785
- sha256,
1786
- } from './utils/hash/sha256.js'
1796
+ type AssertRequestErrorType,
1797
+ assertRequest,
1798
+ } from './utils/transaction/assertRequest.js'
1787
1799
  export {
1788
- type Ripemd160Hash,
1789
- type Ripemd160ErrorType,
1790
- ripemd160,
1791
- } from './utils/hash/ripemd160.js'
1800
+ type AssertTransactionEIP1559ErrorType,
1801
+ type AssertTransactionEIP2930ErrorType,
1802
+ type AssertTransactionLegacyErrorType,
1803
+ assertTransactionEIP1559,
1804
+ assertTransactionEIP2930,
1805
+ assertTransactionLegacy,
1806
+ } from './utils/transaction/assertTransaction.js'
1792
1807
  export {
1793
- type PadBytesErrorType,
1794
- type PadErrorType,
1795
- type PadHexErrorType,
1796
- type PadReturnType,
1797
- pad,
1798
- padBytes,
1799
- padHex,
1800
- } from './utils/data/pad.js'
1808
+ type GetSerializedTransactionType,
1809
+ type GetSerializedTransactionTypeErrorType,
1810
+ getSerializedTransactionType,
1811
+ } from './utils/transaction/getSerializedTransactionType.js'
1801
1812
  export {
1802
- type ParseEtherErrorType,
1803
- parseEther,
1804
- } from './utils/unit/parseEther.js'
1805
- export { type ParseGweiErrorType, parseGwei } from './utils/unit/parseGwei.js'
1813
+ type GetTransactionType,
1814
+ type GetTransactionTypeErrorType,
1815
+ getTransactionType,
1816
+ } from './utils/transaction/getTransactionType.js'
1806
1817
  export {
1807
1818
  type ParseTransactionErrorType,
1808
1819
  type ParseTransactionReturnType,
1809
1820
  parseTransaction,
1810
1821
  } from './utils/transaction/parseTransaction.js'
1811
- export {
1812
- type ParseUnitsErrorType,
1813
- parseUnits,
1814
- } from './utils/unit/parseUnits.js'
1815
1822
  export {
1816
1823
  type SerializeAccessListErrorType,
1817
1824
  serializeAccessList,
1818
1825
  } from './utils/transaction/serializeAccessList.js'
1819
1826
  export {
1820
- serializeTransaction,
1821
- type SerializeTransactionErrorType,
1822
1827
  type SerializedTransactionReturnType,
1828
+ type SerializeTransactionErrorType,
1823
1829
  type SerializeTransactionFn,
1830
+ serializeTransaction,
1824
1831
  } from './utils/transaction/serializeTransaction.js'
1825
- export { type SizeErrorType, size } from './utils/data/size.js'
1826
- export {
1827
- type SliceBytesErrorType,
1828
- type SliceErrorType,
1829
- type SliceHexErrorType,
1830
- slice,
1831
- sliceBytes,
1832
- sliceHex,
1833
- } from './utils/data/slice.js'
1834
- export { type StringifyErrorType, stringify } from './utils/stringify.js'
1835
- export {
1836
- type TrimErrorType,
1837
- type TrimReturnType,
1838
- trim,
1839
- } from './utils/data/trim.js'
1840
1832
  export {
1841
1833
  type DomainSeparatorErrorType,
1834
+ domainSeparator,
1842
1835
  type GetTypesForEIP712DomainErrorType,
1836
+ getTypesForEIP712Domain,
1843
1837
  type SerializeTypedDataErrorType,
1844
- type ValidateTypedDataErrorType,
1845
1838
  serializeTypedData,
1839
+ type ValidateTypedDataErrorType,
1846
1840
  validateTypedData,
1847
- domainSeparator,
1848
- getTypesForEIP712Domain,
1849
1841
  } from './utils/typedData.js'
1850
1842
  export {
1851
- type CreateNonceManagerParameters,
1852
- type NonceManager,
1853
- type NonceManagerSource,
1854
- createNonceManager,
1855
- nonceManager,
1856
- } from './utils/nonceManager.js'
1857
- export type {
1858
- RpcEstimateUserOperationGasReturnType,
1859
- RpcGetUserOperationByHashReturnType,
1860
- RpcUserOperation,
1861
- RpcUserOperationReceipt,
1862
- RpcUserOperationRequest,
1863
- } from './account-abstraction/types/rpc.js'
1843
+ type FormatEtherErrorType,
1844
+ formatEther,
1845
+ } from './utils/unit/formatEther.js'
1846
+ export {
1847
+ type FormatGweiErrorType,
1848
+ formatGwei,
1849
+ } from './utils/unit/formatGwei.js'
1850
+ export {
1851
+ type FormatUnitsErrorType,
1852
+ formatUnits,
1853
+ } from './utils/unit/formatUnits.js'
1854
+ export {
1855
+ type ParseEtherErrorType,
1856
+ parseEther,
1857
+ } from './utils/unit/parseEther.js'
1858
+ export { type ParseGweiErrorType, parseGwei } from './utils/unit/parseGwei.js'
1859
+ export {
1860
+ type ParseUnitsErrorType,
1861
+ parseUnits,
1862
+ } from './utils/unit/parseUnits.js'