viem 2.8.9 → 2.8.11

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 (705) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/_cjs/accounts/generateMnemonic.js.map +1 -1
  3. package/_cjs/actions/getContract.js.map +1 -1
  4. package/_cjs/actions/public/call.js +5 -1
  5. package/_cjs/actions/public/call.js.map +1 -1
  6. package/_cjs/actions/public/createContractEventFilter.js.map +1 -1
  7. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  8. package/_cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  9. package/_cjs/actions/public/watchBlockNumber.js +1 -1
  10. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  11. package/_cjs/actions/public/watchBlocks.js +1 -1
  12. package/_cjs/actions/public/watchBlocks.js.map +1 -1
  13. package/_cjs/actions/public/watchContractEvent.js +73 -58
  14. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  15. package/_cjs/actions/public/watchEvent.js +1 -1
  16. package/_cjs/actions/public/watchEvent.js.map +1 -1
  17. package/_cjs/actions/public/watchPendingTransactions.js +1 -1
  18. package/_cjs/actions/public/watchPendingTransactions.js.map +1 -1
  19. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  20. package/_cjs/chains/celo/parsers.js.map +1 -1
  21. package/_cjs/chains/celo/serializers.js.map +1 -1
  22. package/_cjs/chains/definitions/arbitrumSepolia.js +1 -1
  23. package/_cjs/chains/definitions/arbitrumSepolia.js.map +1 -1
  24. package/_cjs/chains/definitions/lukso.js +6 -0
  25. package/_cjs/chains/definitions/lukso.js.map +1 -1
  26. package/_cjs/chains/definitions/luksoTestnet.js +34 -0
  27. package/_cjs/chains/definitions/luksoTestnet.js.map +1 -0
  28. package/_cjs/chains/definitions/zkSyncInMemoryNode.js +17 -0
  29. package/_cjs/chains/definitions/zkSyncInMemoryNode.js.map +1 -0
  30. package/_cjs/chains/definitions/zkSyncLocalNode.js +17 -0
  31. package/_cjs/chains/definitions/zkSyncLocalNode.js.map +1 -0
  32. package/_cjs/chains/index.js +19 -13
  33. package/_cjs/chains/index.js.map +1 -1
  34. package/_cjs/chains/opStack/actions/getL1BaseFee.js.map +1 -1
  35. package/_cjs/chains/opStack/actions/getTimeToProve.js.map +1 -1
  36. package/_cjs/chains/opStack/actions/waitForNextL2Output.js.map +1 -1
  37. package/_cjs/chains/zksync/formatters.js.map +1 -1
  38. package/_cjs/chains/zksync/serializers.js.map +1 -1
  39. package/_cjs/chains/zksync/utils/assertEip712Request.js.map +1 -1
  40. package/_cjs/chains/zksync/utils/assertEip712Transaction.js.map +1 -1
  41. package/_cjs/chains/zksync/utils/isEip712Transaction.js.map +1 -1
  42. package/_cjs/clients/createClient.js.map +1 -1
  43. package/_cjs/clients/decorators/public.js.map +1 -1
  44. package/_cjs/clients/transports/createTransport.js.map +1 -1
  45. package/_cjs/clients/transports/fallback.js.map +1 -1
  46. package/_cjs/clients/transports/http.js.map +1 -1
  47. package/_cjs/errors/abi.js.map +1 -1
  48. package/_cjs/errors/account.js.map +1 -1
  49. package/_cjs/errors/base.js.map +1 -1
  50. package/_cjs/errors/chain.js.map +1 -1
  51. package/_cjs/errors/contract.js.map +1 -1
  52. package/_cjs/errors/node.js +5 -5
  53. package/_cjs/errors/node.js.map +1 -1
  54. package/_cjs/errors/request.js.map +1 -1
  55. package/_cjs/errors/rpc.js.map +1 -1
  56. package/_cjs/errors/version.js +1 -1
  57. package/_cjs/errors/version.js.map +1 -1
  58. package/_cjs/index.js.map +1 -1
  59. package/_cjs/utils/abi/encodeAbiParameters.js +3 -0
  60. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  61. package/_cjs/utils/abi/formatAbiItem.js.map +1 -1
  62. package/_cjs/utils/address/getAddress.js.map +1 -1
  63. package/_cjs/utils/data/isHex.js.map +1 -1
  64. package/_cjs/utils/data/slice.js.map +1 -1
  65. package/_cjs/utils/encoding/toBytes.js.map +1 -1
  66. package/_cjs/utils/errors/getNodeError.js.map +1 -1
  67. package/_cjs/utils/formatters/block.js.map +1 -1
  68. package/_cjs/utils/formatters/extract.js.map +1 -1
  69. package/_cjs/utils/formatters/log.js +1 -1
  70. package/_cjs/utils/formatters/log.js.map +1 -1
  71. package/_cjs/utils/formatters/proof.js.map +1 -1
  72. package/_cjs/utils/formatters/transaction.js.map +1 -1
  73. package/_cjs/utils/formatters/transactionReceipt.js.map +1 -1
  74. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  75. package/_cjs/utils/hash/keccak256.js.map +1 -1
  76. package/_cjs/utils/hash/ripemd160.js.map +1 -1
  77. package/_cjs/utils/hash/sha256.js.map +1 -1
  78. package/_cjs/utils/promise/withRetry.js.map +1 -1
  79. package/_cjs/utils/promise/withTimeout.js +1 -1
  80. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  81. package/_cjs/utils/rpc/http.js +1 -1
  82. package/_cjs/utils/rpc/http.js.map +1 -1
  83. package/_cjs/utils/signature/hashMessage.js.map +1 -1
  84. package/_cjs/utils/transaction/assertRequest.js.map +1 -1
  85. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  86. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  87. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  88. package/_cjs/utils/typedData.js.map +1 -1
  89. package/_esm/accounts/generateMnemonic.js.map +1 -1
  90. package/_esm/actions/getContract.js.map +1 -1
  91. package/_esm/actions/public/call.js +5 -1
  92. package/_esm/actions/public/call.js.map +1 -1
  93. package/_esm/actions/public/createContractEventFilter.js.map +1 -1
  94. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  95. package/_esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -1
  96. package/_esm/actions/public/watchBlockNumber.js +1 -1
  97. package/_esm/actions/public/watchBlockNumber.js.map +1 -1
  98. package/_esm/actions/public/watchBlocks.js +1 -1
  99. package/_esm/actions/public/watchBlocks.js.map +1 -1
  100. package/_esm/actions/public/watchContractEvent.js +75 -60
  101. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  102. package/_esm/actions/public/watchEvent.js +1 -1
  103. package/_esm/actions/public/watchEvent.js.map +1 -1
  104. package/_esm/actions/public/watchPendingTransactions.js +1 -1
  105. package/_esm/actions/public/watchPendingTransactions.js.map +1 -1
  106. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  107. package/_esm/chains/celo/parsers.js.map +1 -1
  108. package/_esm/chains/celo/serializers.js.map +1 -1
  109. package/_esm/chains/definitions/arbitrumSepolia.js +1 -1
  110. package/_esm/chains/definitions/arbitrumSepolia.js.map +1 -1
  111. package/_esm/chains/definitions/lukso.js +6 -0
  112. package/_esm/chains/definitions/lukso.js.map +1 -1
  113. package/_esm/chains/definitions/luksoTestnet.js +31 -0
  114. package/_esm/chains/definitions/luksoTestnet.js.map +1 -0
  115. package/_esm/chains/definitions/zkSyncInMemoryNode.js +14 -0
  116. package/_esm/chains/definitions/zkSyncInMemoryNode.js.map +1 -0
  117. package/_esm/chains/definitions/zkSyncLocalNode.js +14 -0
  118. package/_esm/chains/definitions/zkSyncLocalNode.js.map +1 -0
  119. package/_esm/chains/index.js +8 -5
  120. package/_esm/chains/index.js.map +1 -1
  121. package/_esm/chains/opStack/actions/getL1BaseFee.js.map +1 -1
  122. package/_esm/chains/opStack/actions/getTimeToProve.js.map +1 -1
  123. package/_esm/chains/opStack/actions/waitForNextL2Output.js.map +1 -1
  124. package/_esm/chains/opStack/decorators/publicL2.js +2 -2
  125. package/_esm/chains/zksync/formatters.js.map +1 -1
  126. package/_esm/chains/zksync/serializers.js.map +1 -1
  127. package/_esm/chains/zksync/utils/assertEip712Request.js.map +1 -1
  128. package/_esm/chains/zksync/utils/assertEip712Transaction.js.map +1 -1
  129. package/_esm/chains/zksync/utils/isEip712Transaction.js.map +1 -1
  130. package/_esm/clients/createClient.js.map +1 -1
  131. package/_esm/clients/decorators/public.js.map +1 -1
  132. package/_esm/clients/transports/createTransport.js.map +1 -1
  133. package/_esm/clients/transports/fallback.js.map +1 -1
  134. package/_esm/clients/transports/http.js.map +1 -1
  135. package/_esm/errors/abi.js.map +1 -1
  136. package/_esm/errors/account.js.map +1 -1
  137. package/_esm/errors/base.js.map +1 -1
  138. package/_esm/errors/chain.js.map +1 -1
  139. package/_esm/errors/contract.js.map +1 -1
  140. package/_esm/errors/node.js +5 -5
  141. package/_esm/errors/node.js.map +1 -1
  142. package/_esm/errors/request.js.map +1 -1
  143. package/_esm/errors/rpc.js.map +1 -1
  144. package/_esm/errors/version.js +1 -1
  145. package/_esm/errors/version.js.map +1 -1
  146. package/_esm/index.js.map +1 -1
  147. package/_esm/utils/abi/encodeAbiParameters.js +3 -0
  148. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  149. package/_esm/utils/abi/formatAbiItem.js.map +1 -1
  150. package/_esm/utils/address/getAddress.js.map +1 -1
  151. package/_esm/utils/data/isHex.js.map +1 -1
  152. package/_esm/utils/data/slice.js.map +1 -1
  153. package/_esm/utils/encoding/toBytes.js.map +1 -1
  154. package/_esm/utils/errors/getNodeError.js.map +1 -1
  155. package/_esm/utils/formatters/block.js.map +1 -1
  156. package/_esm/utils/formatters/extract.js.map +1 -1
  157. package/_esm/utils/formatters/log.js +1 -1
  158. package/_esm/utils/formatters/log.js.map +1 -1
  159. package/_esm/utils/formatters/proof.js.map +1 -1
  160. package/_esm/utils/formatters/transaction.js.map +1 -1
  161. package/_esm/utils/formatters/transactionReceipt.js.map +1 -1
  162. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  163. package/_esm/utils/hash/keccak256.js.map +1 -1
  164. package/_esm/utils/hash/ripemd160.js.map +1 -1
  165. package/_esm/utils/hash/sha256.js.map +1 -1
  166. package/_esm/utils/promise/withRetry.js.map +1 -1
  167. package/_esm/utils/promise/withTimeout.js +1 -1
  168. package/_esm/utils/promise/withTimeout.js.map +1 -1
  169. package/_esm/utils/rpc/http.js +1 -1
  170. package/_esm/utils/rpc/http.js.map +1 -1
  171. package/_esm/utils/signature/hashMessage.js.map +1 -1
  172. package/_esm/utils/transaction/assertRequest.js.map +1 -1
  173. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  174. package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
  175. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  176. package/_esm/utils/typedData.js.map +1 -1
  177. package/_types/accounts/generateMnemonic.d.ts +1 -1
  178. package/_types/accounts/generateMnemonic.d.ts.map +1 -1
  179. package/_types/accounts/types.d.ts +9 -9
  180. package/_types/accounts/types.d.ts.map +1 -1
  181. package/_types/accounts/utils/signTransaction.d.ts +1 -1
  182. package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
  183. package/_types/actions/ens/getEnsAddress.d.ts +4 -4
  184. package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
  185. package/_types/actions/ens/getEnsAvatar.d.ts +1 -1
  186. package/_types/actions/ens/getEnsAvatar.d.ts.map +1 -1
  187. package/_types/actions/ens/getEnsName.d.ts +3 -3
  188. package/_types/actions/ens/getEnsName.d.ts.map +1 -1
  189. package/_types/actions/ens/getEnsResolver.d.ts +1 -1
  190. package/_types/actions/ens/getEnsResolver.d.ts.map +1 -1
  191. package/_types/actions/ens/getEnsText.d.ts +3 -3
  192. package/_types/actions/ens/getEnsText.d.ts.map +1 -1
  193. package/_types/actions/getContract.d.ts +3 -3
  194. package/_types/actions/getContract.d.ts.map +1 -1
  195. package/_types/actions/public/call.d.ts +8 -8
  196. package/_types/actions/public/call.d.ts.map +1 -1
  197. package/_types/actions/public/createContractEventFilter.d.ts +6 -6
  198. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
  199. package/_types/actions/public/createEventFilter.d.ts +21 -21
  200. package/_types/actions/public/createEventFilter.d.ts.map +1 -1
  201. package/_types/actions/public/estimateFeesPerGas.d.ts +4 -4
  202. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  203. package/_types/actions/public/estimateGas.d.ts +5 -5
  204. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  205. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +3 -3
  206. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
  207. package/_types/actions/public/getBalance.d.ts +4 -4
  208. package/_types/actions/public/getBalance.d.ts.map +1 -1
  209. package/_types/actions/public/getBlock.d.ts +10 -10
  210. package/_types/actions/public/getBlock.d.ts.map +1 -1
  211. package/_types/actions/public/getBlockNumber.d.ts +1 -1
  212. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  213. package/_types/actions/public/getBlockTransactionCount.d.ts +9 -9
  214. package/_types/actions/public/getBlockTransactionCount.d.ts.map +1 -1
  215. package/_types/actions/public/getBytecode.d.ts +4 -4
  216. package/_types/actions/public/getBytecode.d.ts.map +1 -1
  217. package/_types/actions/public/getContractEvents.d.ts +4 -4
  218. package/_types/actions/public/getContractEvents.d.ts.map +1 -1
  219. package/_types/actions/public/getFeeHistory.d.ts +4 -4
  220. package/_types/actions/public/getFeeHistory.d.ts.map +1 -1
  221. package/_types/actions/public/getLogs.d.ts +17 -17
  222. package/_types/actions/public/getLogs.d.ts.map +1 -1
  223. package/_types/actions/public/getProof.d.ts +4 -4
  224. package/_types/actions/public/getProof.d.ts.map +1 -1
  225. package/_types/actions/public/getStorageAt.d.ts +4 -4
  226. package/_types/actions/public/getStorageAt.d.ts.map +1 -1
  227. package/_types/actions/public/getTransaction.d.ts +13 -13
  228. package/_types/actions/public/getTransaction.d.ts.map +1 -1
  229. package/_types/actions/public/getTransactionConfirmations.d.ts +2 -2
  230. package/_types/actions/public/getTransactionConfirmations.d.ts.map +1 -1
  231. package/_types/actions/public/getTransactionCount.d.ts +4 -4
  232. package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
  233. package/_types/actions/public/simulateContract.d.ts +3 -3
  234. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  235. package/_types/actions/public/waitForTransactionReceipt.d.ts +6 -6
  236. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  237. package/_types/actions/public/watchBlockNumber.d.ts +1 -1
  238. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
  239. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  240. package/_types/actions/public/watchEvent.d.ts +13 -13
  241. package/_types/actions/public/watchEvent.d.ts.map +1 -1
  242. package/_types/actions/public/watchPendingTransactions.d.ts +1 -1
  243. package/_types/actions/public/watchPendingTransactions.d.ts.map +1 -1
  244. package/_types/actions/test/mine.d.ts +1 -1
  245. package/_types/actions/test/mine.d.ts.map +1 -1
  246. package/_types/actions/test/reset.d.ts +2 -2
  247. package/_types/actions/test/reset.d.ts.map +1 -1
  248. package/_types/actions/wallet/prepareTransactionRequest.d.ts +5 -5
  249. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  250. package/_types/actions/wallet/writeContract.d.ts +1 -1
  251. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  252. package/_types/chains/celo/chainConfig.d.ts +312 -312
  253. package/_types/chains/celo/formatters.d.ts +312 -312
  254. package/_types/chains/celo/parsers.d.ts.map +1 -1
  255. package/_types/chains/celo/serializers.d.ts +1 -1
  256. package/_types/chains/celo/serializers.d.ts.map +1 -1
  257. package/_types/chains/celo/types.d.ts +39 -39
  258. package/_types/chains/celo/types.d.ts.map +1 -1
  259. package/_types/chains/definitions/ancient8.d.ts +217 -217
  260. package/_types/chains/definitions/ancient8Sepolia.d.ts +217 -217
  261. package/_types/chains/definitions/arbitrumSepolia.d.ts +1 -1
  262. package/_types/chains/definitions/base.d.ts +217 -217
  263. package/_types/chains/definitions/baseGoerli.d.ts +217 -217
  264. package/_types/chains/definitions/baseSepolia.d.ts +217 -217
  265. package/_types/chains/definitions/celo.d.ts +312 -312
  266. package/_types/chains/definitions/celoAlfajores.d.ts +312 -312
  267. package/_types/chains/definitions/fraxtal.d.ts +217 -217
  268. package/_types/chains/definitions/fraxtalTestnet.d.ts +217 -217
  269. package/_types/chains/definitions/liskSepolia.d.ts +217 -217
  270. package/_types/chains/definitions/lukso.d.ts +6 -8
  271. package/_types/chains/definitions/lukso.d.ts.map +1 -1
  272. package/_types/chains/definitions/luksoTestnet.d.ts +35 -0
  273. package/_types/chains/definitions/luksoTestnet.d.ts.map +1 -0
  274. package/_types/chains/definitions/optimism.d.ts +217 -217
  275. package/_types/chains/definitions/optimismGoerli.d.ts +217 -217
  276. package/_types/chains/definitions/optimismSepolia.d.ts +217 -217
  277. package/_types/chains/definitions/pgn.d.ts +217 -217
  278. package/_types/chains/definitions/pgnTestnet.d.ts +217 -217
  279. package/_types/chains/definitions/rss3.d.ts +217 -217
  280. package/_types/chains/definitions/rss3Sepolia.d.ts +217 -217
  281. package/_types/chains/definitions/zkSync.d.ts +33 -33
  282. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +42 -0
  283. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts.map +1 -0
  284. package/_types/chains/definitions/zkSyncLocalNode.d.ts +42 -0
  285. package/_types/chains/definitions/zkSyncLocalNode.d.ts.map +1 -0
  286. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +33 -33
  287. package/_types/chains/definitions/zkSyncTestnet.d.ts +33 -33
  288. package/_types/chains/definitions/zora.d.ts +217 -217
  289. package/_types/chains/definitions/zoraSepolia.d.ts +217 -217
  290. package/_types/chains/definitions/zoraTestnet.d.ts +217 -217
  291. package/_types/chains/index.d.ts +8 -5
  292. package/_types/chains/index.d.ts.map +1 -1
  293. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +7 -7
  294. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +1 -1
  295. package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts +3 -3
  296. package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts.map +1 -1
  297. package/_types/chains/opStack/actions/depositTransaction.d.ts +1 -1
  298. package/_types/chains/opStack/actions/depositTransaction.d.ts.map +1 -1
  299. package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts +1 -1
  300. package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts.map +1 -1
  301. package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts +1 -1
  302. package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts.map +1 -1
  303. package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts +1 -1
  304. package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts.map +1 -1
  305. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +1 -1
  306. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -1
  307. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +1 -1
  308. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -1
  309. package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts +1 -1
  310. package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts.map +1 -1
  311. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts +1 -1
  312. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -1
  313. package/_types/chains/opStack/actions/getL1BaseFee.d.ts +2 -2
  314. package/_types/chains/opStack/actions/getL1BaseFee.d.ts.map +1 -1
  315. package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts +2 -2
  316. package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts.map +1 -1
  317. package/_types/chains/opStack/actions/getTimeToProve.d.ts +1 -1
  318. package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +1 -1
  319. package/_types/chains/opStack/actions/proveWithdrawal.d.ts +1 -1
  320. package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -1
  321. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts +2 -2
  322. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +1 -1
  323. package/_types/chains/opStack/actions/waitToProve.d.ts +1 -1
  324. package/_types/chains/opStack/actions/waitToProve.d.ts.map +1 -1
  325. package/_types/chains/opStack/chainConfig.d.ts +217 -217
  326. package/_types/chains/opStack/decorators/publicL2.d.ts +3 -3
  327. package/_types/chains/opStack/decorators/publicL2.d.ts.map +1 -1
  328. package/_types/chains/opStack/formatters.d.ts +217 -217
  329. package/_types/chains/opStack/types/deposit.d.ts +6 -6
  330. package/_types/chains/opStack/types/deposit.d.ts.map +1 -1
  331. package/_types/chains/opStack/types/transaction.d.ts +4 -4
  332. package/_types/chains/opStack/types/transaction.d.ts.map +1 -1
  333. package/_types/chains/opStack/types/withdrawal.d.ts +2 -2
  334. package/_types/chains/opStack/types/withdrawal.d.ts.map +1 -1
  335. package/_types/chains/zksync/chainConfig.d.ts +33 -33
  336. package/_types/chains/zksync/formatters.d.ts +33 -33
  337. package/_types/chains/zksync/serializers.d.ts +1 -1
  338. package/_types/chains/zksync/serializers.d.ts.map +1 -1
  339. package/_types/chains/zksync/types/eip712.d.ts +4 -4
  340. package/_types/chains/zksync/types/eip712.d.ts.map +1 -1
  341. package/_types/chains/zksync/types/transaction.d.ts +21 -21
  342. package/_types/chains/zksync/types/transaction.d.ts.map +1 -1
  343. package/_types/chains/zksync/utils/assertEip712Request.d.ts +2 -1
  344. package/_types/chains/zksync/utils/assertEip712Request.d.ts.map +1 -1
  345. package/_types/chains/zksync/utils/assertEip712Transaction.d.ts +2 -1
  346. package/_types/chains/zksync/utils/assertEip712Transaction.d.ts.map +1 -1
  347. package/_types/chains/zksync/utils/isEip712Transaction.d.ts +2 -1
  348. package/_types/chains/zksync/utils/isEip712Transaction.d.ts.map +1 -1
  349. package/_types/clients/createClient.d.ts +2 -2
  350. package/_types/clients/createClient.d.ts.map +1 -1
  351. package/_types/clients/decorators/public.d.ts +7 -7
  352. package/_types/clients/decorators/public.d.ts.map +1 -1
  353. package/_types/clients/decorators/test.d.ts +1 -1
  354. package/_types/clients/decorators/test.d.ts.map +1 -1
  355. package/_types/clients/transports/createTransport.d.ts +9 -9
  356. package/_types/clients/transports/createTransport.d.ts.map +1 -1
  357. package/_types/clients/transports/custom.d.ts +4 -4
  358. package/_types/clients/transports/custom.d.ts.map +1 -1
  359. package/_types/clients/transports/fallback.d.ts +17 -17
  360. package/_types/clients/transports/fallback.d.ts.map +1 -1
  361. package/_types/clients/transports/http.d.ts +13 -13
  362. package/_types/clients/transports/http.d.ts.map +1 -1
  363. package/_types/clients/transports/ipc.d.ts +6 -6
  364. package/_types/clients/transports/ipc.d.ts.map +1 -1
  365. package/_types/clients/transports/webSocket.d.ts +6 -6
  366. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  367. package/_types/errors/abi.d.ts +6 -6
  368. package/_types/errors/abi.d.ts.map +1 -1
  369. package/_types/errors/account.d.ts +1 -1
  370. package/_types/errors/account.d.ts.map +1 -1
  371. package/_types/errors/base.d.ts +9 -9
  372. package/_types/errors/base.d.ts.map +1 -1
  373. package/_types/errors/block.d.ts +2 -2
  374. package/_types/errors/block.d.ts.map +1 -1
  375. package/_types/errors/chain.d.ts +3 -3
  376. package/_types/errors/chain.d.ts.map +1 -1
  377. package/_types/errors/contract.d.ts +20 -20
  378. package/_types/errors/contract.d.ts.map +1 -1
  379. package/_types/errors/encoding.d.ts +3 -3
  380. package/_types/errors/encoding.d.ts.map +1 -1
  381. package/_types/errors/estimateGas.d.ts +3 -3
  382. package/_types/errors/estimateGas.d.ts.map +1 -1
  383. package/_types/errors/node.d.ts +27 -27
  384. package/_types/errors/node.d.ts.map +1 -1
  385. package/_types/errors/request.d.ts +7 -7
  386. package/_types/errors/request.d.ts.map +1 -1
  387. package/_types/errors/rpc.d.ts +5 -5
  388. package/_types/errors/rpc.d.ts.map +1 -1
  389. package/_types/errors/transaction.d.ts +7 -7
  390. package/_types/errors/transaction.d.ts.map +1 -1
  391. package/_types/errors/version.d.ts +1 -1
  392. package/_types/errors/version.d.ts.map +1 -1
  393. package/_types/index.d.ts +1 -1
  394. package/_types/index.d.ts.map +1 -1
  395. package/_types/types/block.d.ts +3 -3
  396. package/_types/types/block.d.ts.map +1 -1
  397. package/_types/types/chain.d.ts +1 -1
  398. package/_types/types/chain.d.ts.map +1 -1
  399. package/_types/types/contract.d.ts +5 -5
  400. package/_types/types/contract.d.ts.map +1 -1
  401. package/_types/types/eip1193.d.ts +29 -29
  402. package/_types/types/eip1193.d.ts.map +1 -1
  403. package/_types/types/ens.d.ts +1 -1
  404. package/_types/types/ens.d.ts.map +1 -1
  405. package/_types/types/fee.d.ts +6 -6
  406. package/_types/types/fee.d.ts.map +1 -1
  407. package/_types/types/filter.d.ts +9 -9
  408. package/_types/types/filter.d.ts.map +1 -1
  409. package/_types/types/kzg.d.ts +1 -1
  410. package/_types/types/kzg.d.ts.map +1 -1
  411. package/_types/types/misc.d.ts +2 -2
  412. package/_types/types/misc.d.ts.map +1 -1
  413. package/_types/types/rpc.d.ts +16 -16
  414. package/_types/types/rpc.d.ts.map +1 -1
  415. package/_types/types/stateOverride.d.ts +5 -5
  416. package/_types/types/stateOverride.d.ts.map +1 -1
  417. package/_types/types/transaction.d.ts +56 -56
  418. package/_types/types/transaction.d.ts.map +1 -1
  419. package/_types/types/typedData.d.ts +1 -1
  420. package/_types/types/typedData.d.ts.map +1 -1
  421. package/_types/types/utils.d.ts +6 -3
  422. package/_types/types/utils.d.ts.map +1 -1
  423. package/_types/types/window.d.ts +1 -1
  424. package/_types/types/window.d.ts.map +1 -1
  425. package/_types/utils/abi/decodeEventLog.d.ts +1 -1
  426. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  427. package/_types/utils/abi/decodeFunctionResult.d.ts +2 -2
  428. package/_types/utils/abi/decodeFunctionResult.d.ts.map +1 -1
  429. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  430. package/_types/utils/abi/encodeErrorResult.d.ts +2 -2
  431. package/_types/utils/abi/encodeErrorResult.d.ts.map +1 -1
  432. package/_types/utils/abi/encodeEventTopics.d.ts +2 -2
  433. package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
  434. package/_types/utils/abi/encodeFunctionData.d.ts +2 -2
  435. package/_types/utils/abi/encodeFunctionData.d.ts.map +1 -1
  436. package/_types/utils/abi/encodeFunctionResult.d.ts +2 -2
  437. package/_types/utils/abi/encodeFunctionResult.d.ts.map +1 -1
  438. package/_types/utils/abi/formatAbiItem.d.ts +2 -2
  439. package/_types/utils/abi/formatAbiItem.d.ts.map +1 -1
  440. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +2 -2
  441. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +1 -1
  442. package/_types/utils/address/getAddress.d.ts +1 -1
  443. package/_types/utils/address/getAddress.d.ts.map +1 -1
  444. package/_types/utils/address/getContractAddress.d.ts +1 -1
  445. package/_types/utils/address/getContractAddress.d.ts.map +1 -1
  446. package/_types/utils/address/isAddress.d.ts +1 -1
  447. package/_types/utils/address/isAddress.d.ts.map +1 -1
  448. package/_types/utils/blob/commitmentToVersionedHash.d.ts +1 -1
  449. package/_types/utils/blob/commitmentToVersionedHash.d.ts.map +1 -1
  450. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts +1 -1
  451. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts.map +1 -1
  452. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts +1 -1
  453. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts.map +1 -1
  454. package/_types/utils/chain/assertCurrentChain.d.ts +1 -1
  455. package/_types/utils/chain/assertCurrentChain.d.ts.map +1 -1
  456. package/_types/utils/chain/getChainContractAddress.d.ts +1 -1
  457. package/_types/utils/chain/getChainContractAddress.d.ts.map +1 -1
  458. package/_types/utils/cursor.d.ts +1 -1
  459. package/_types/utils/cursor.d.ts.map +1 -1
  460. package/_types/utils/data/isHex.d.ts +1 -1
  461. package/_types/utils/data/isHex.d.ts.map +1 -1
  462. package/_types/utils/data/pad.d.ts +2 -2
  463. package/_types/utils/data/pad.d.ts.map +1 -1
  464. package/_types/utils/data/slice.d.ts +6 -6
  465. package/_types/utils/data/slice.d.ts.map +1 -1
  466. package/_types/utils/data/trim.d.ts +1 -1
  467. package/_types/utils/data/trim.d.ts.map +1 -1
  468. package/_types/utils/encoding/fromBytes.d.ts +5 -5
  469. package/_types/utils/encoding/fromBytes.d.ts.map +1 -1
  470. package/_types/utils/encoding/fromHex.d.ts +5 -5
  471. package/_types/utils/encoding/fromHex.d.ts.map +1 -1
  472. package/_types/utils/encoding/toBytes.d.ts +5 -5
  473. package/_types/utils/encoding/toBytes.d.ts.map +1 -1
  474. package/_types/utils/encoding/toHex.d.ts +7 -7
  475. package/_types/utils/encoding/toHex.d.ts.map +1 -1
  476. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +1 -1
  477. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  478. package/_types/utils/errors/getCallError.d.ts +2 -2
  479. package/_types/utils/errors/getCallError.d.ts.map +1 -1
  480. package/_types/utils/errors/getContractError.d.ts +3 -3
  481. package/_types/utils/errors/getContractError.d.ts.map +1 -1
  482. package/_types/utils/errors/getEstimateGasError.d.ts +3 -3
  483. package/_types/utils/errors/getEstimateGasError.d.ts.map +1 -1
  484. package/_types/utils/errors/getNodeError.d.ts +2 -1
  485. package/_types/utils/errors/getNodeError.d.ts.map +1 -1
  486. package/_types/utils/errors/getTransactionError.d.ts +2 -2
  487. package/_types/utils/errors/getTransactionError.d.ts.map +1 -1
  488. package/_types/utils/formatters/block.d.ts +3 -3
  489. package/_types/utils/formatters/block.d.ts.map +1 -1
  490. package/_types/utils/formatters/extract.d.ts +1 -1
  491. package/_types/utils/formatters/extract.d.ts.map +1 -1
  492. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  493. package/_types/utils/formatters/log.d.ts +4 -3
  494. package/_types/utils/formatters/log.d.ts.map +1 -1
  495. package/_types/utils/formatters/proof.d.ts +2 -1
  496. package/_types/utils/formatters/proof.d.ts.map +1 -1
  497. package/_types/utils/formatters/transaction.d.ts +3 -3
  498. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  499. package/_types/utils/formatters/transactionReceipt.d.ts +3 -2
  500. package/_types/utils/formatters/transactionReceipt.d.ts.map +1 -1
  501. package/_types/utils/formatters/transactionRequest.d.ts +3 -2
  502. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  503. package/_types/utils/hash/keccak256.d.ts +1 -1
  504. package/_types/utils/hash/keccak256.d.ts.map +1 -1
  505. package/_types/utils/hash/ripemd160.d.ts +1 -1
  506. package/_types/utils/hash/ripemd160.d.ts.map +1 -1
  507. package/_types/utils/hash/sha256.d.ts +1 -1
  508. package/_types/utils/hash/sha256.d.ts.map +1 -1
  509. package/_types/utils/poll.d.ts +2 -2
  510. package/_types/utils/poll.d.ts.map +1 -1
  511. package/_types/utils/promise/createBatchScheduler.d.ts +4 -4
  512. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  513. package/_types/utils/promise/withCache.d.ts +1 -1
  514. package/_types/utils/promise/withCache.d.ts.map +1 -1
  515. package/_types/utils/promise/withRetry.d.ts +4 -4
  516. package/_types/utils/promise/withRetry.d.ts.map +1 -1
  517. package/_types/utils/promise/withTimeout.d.ts +4 -4
  518. package/_types/utils/promise/withTimeout.d.ts.map +1 -1
  519. package/_types/utils/rpc/http.d.ts +6 -6
  520. package/_types/utils/rpc/http.d.ts.map +1 -1
  521. package/_types/utils/rpc/socket.d.ts +2 -2
  522. package/_types/utils/rpc/socket.d.ts.map +1 -1
  523. package/_types/utils/signature/hashMessage.d.ts +1 -1
  524. package/_types/utils/signature/hashMessage.d.ts.map +1 -1
  525. package/_types/utils/transaction/assertRequest.d.ts +2 -1
  526. package/_types/utils/transaction/assertRequest.d.ts.map +1 -1
  527. package/_types/utils/transaction/getTransactionType.d.ts +4 -4
  528. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  529. package/_types/utils/transaction/serializeAccessList.d.ts +1 -1
  530. package/_types/utils/transaction/serializeAccessList.d.ts.map +1 -1
  531. package/_types/utils/transaction/serializeTransaction.d.ts +2 -2
  532. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  533. package/_types/utils/typedData.d.ts +1 -1
  534. package/_types/utils/typedData.d.ts.map +1 -1
  535. package/accounts/generateMnemonic.ts +1 -1
  536. package/accounts/types.ts +12 -10
  537. package/accounts/utils/signTransaction.ts +1 -1
  538. package/actions/ens/getEnsAddress.ts +4 -4
  539. package/actions/ens/getEnsAvatar.ts +1 -1
  540. package/actions/ens/getEnsName.ts +3 -3
  541. package/actions/ens/getEnsResolver.ts +1 -1
  542. package/actions/ens/getEnsText.ts +3 -3
  543. package/actions/getContract.ts +3 -3
  544. package/actions/public/call.ts +16 -12
  545. package/actions/public/createContractEventFilter.ts +9 -6
  546. package/actions/public/createEventFilter.ts +21 -21
  547. package/actions/public/estimateFeesPerGas.ts +4 -4
  548. package/actions/public/estimateGas.ts +5 -5
  549. package/actions/public/estimateMaxPriorityFeePerGas.ts +11 -7
  550. package/actions/public/getBalance.ts +4 -4
  551. package/actions/public/getBlock.ts +10 -10
  552. package/actions/public/getBlockNumber.ts +1 -1
  553. package/actions/public/getBlockTransactionCount.ts +9 -9
  554. package/actions/public/getBytecode.ts +4 -4
  555. package/actions/public/getContractEvents.ts +4 -4
  556. package/actions/public/getFeeHistory.ts +4 -4
  557. package/actions/public/getLogs.ts +17 -17
  558. package/actions/public/getProof.ts +4 -4
  559. package/actions/public/getStorageAt.ts +4 -4
  560. package/actions/public/getTransaction.ts +13 -13
  561. package/actions/public/getTransactionConfirmations.ts +2 -2
  562. package/actions/public/getTransactionCount.ts +4 -4
  563. package/actions/public/simulateContract.ts +3 -3
  564. package/actions/public/waitForTransactionReceipt.ts +6 -6
  565. package/actions/public/watchBlockNumber.ts +2 -2
  566. package/actions/public/watchBlocks.ts +1 -1
  567. package/actions/public/watchContractEvent.ts +75 -59
  568. package/actions/public/watchEvent.ts +14 -14
  569. package/actions/public/watchPendingTransactions.ts +2 -2
  570. package/actions/test/mine.ts +1 -1
  571. package/actions/test/reset.ts +2 -2
  572. package/actions/wallet/prepareTransactionRequest.ts +5 -4
  573. package/actions/wallet/writeContract.ts +1 -1
  574. package/chains/celo/parsers.ts +3 -2
  575. package/chains/celo/serializers.ts +3 -3
  576. package/chains/celo/types.ts +37 -37
  577. package/chains/definitions/arbitrumSepolia.ts +1 -1
  578. package/chains/definitions/lukso.ts +6 -0
  579. package/chains/definitions/luksoTestnet.ts +31 -0
  580. package/chains/definitions/zkSyncInMemoryNode.ts +14 -0
  581. package/chains/definitions/zkSyncLocalNode.ts +14 -0
  582. package/chains/index.ts +8 -5
  583. package/chains/opStack/actions/buildDepositTransaction.ts +7 -7
  584. package/chains/opStack/actions/buildInitiateWithdrawal.ts +3 -3
  585. package/chains/opStack/actions/depositTransaction.ts +1 -1
  586. package/chains/opStack/actions/estimateDepositTransactionGas.ts +1 -1
  587. package/chains/opStack/actions/estimateFinalizeWithdrawalGas.ts +1 -1
  588. package/chains/opStack/actions/estimateInitiateWithdrawalGas.ts +1 -1
  589. package/chains/opStack/actions/estimateL1Fee.ts +1 -1
  590. package/chains/opStack/actions/estimateL1Gas.ts +1 -1
  591. package/chains/opStack/actions/estimateProveWithdrawalGas.ts +1 -1
  592. package/chains/opStack/actions/finalizeWithdrawal.ts +1 -1
  593. package/chains/opStack/actions/getL1BaseFee.ts +2 -2
  594. package/chains/opStack/actions/getTimeToNextL2Output.ts +2 -2
  595. package/chains/opStack/actions/getTimeToProve.ts +3 -1
  596. package/chains/opStack/actions/proveWithdrawal.ts +1 -1
  597. package/chains/opStack/actions/waitForNextL2Output.ts +4 -2
  598. package/chains/opStack/actions/waitToProve.ts +1 -1
  599. package/chains/opStack/decorators/publicL2.ts +3 -3
  600. package/chains/opStack/types/deposit.ts +6 -6
  601. package/chains/opStack/types/transaction.ts +4 -4
  602. package/chains/opStack/types/withdrawal.ts +2 -2
  603. package/chains/zksync/formatters.ts +1 -1
  604. package/chains/zksync/serializers.ts +1 -1
  605. package/chains/zksync/types/eip712.ts +4 -4
  606. package/chains/zksync/types/transaction.ts +21 -21
  607. package/chains/zksync/utils/assertEip712Request.ts +2 -1
  608. package/chains/zksync/utils/assertEip712Transaction.ts +2 -1
  609. package/chains/zksync/utils/isEip712Transaction.ts +2 -1
  610. package/clients/createClient.ts +3 -3
  611. package/clients/decorators/public.ts +23 -21
  612. package/clients/decorators/test.ts +1 -1
  613. package/clients/transports/createTransport.ts +9 -9
  614. package/clients/transports/custom.ts +4 -4
  615. package/clients/transports/fallback.ts +28 -26
  616. package/clients/transports/http.ts +13 -13
  617. package/clients/transports/ipc.ts +6 -6
  618. package/clients/transports/webSocket.ts +6 -6
  619. package/errors/abi.ts +12 -3
  620. package/errors/account.ts +1 -1
  621. package/errors/base.ts +13 -10
  622. package/errors/block.ts +2 -2
  623. package/errors/chain.ts +3 -3
  624. package/errors/contract.ts +26 -15
  625. package/errors/encoding.ts +3 -3
  626. package/errors/estimateGas.ts +3 -3
  627. package/errors/node.ts +35 -14
  628. package/errors/request.ts +7 -7
  629. package/errors/rpc.ts +5 -5
  630. package/errors/transaction.ts +7 -7
  631. package/errors/version.ts +1 -1
  632. package/index.ts +2 -0
  633. package/package.json +1 -1
  634. package/types/block.ts +3 -3
  635. package/types/chain.ts +1 -1
  636. package/types/contract.ts +7 -5
  637. package/types/eip1193.ts +42 -38
  638. package/types/ens.ts +1 -1
  639. package/types/fee.ts +6 -6
  640. package/types/filter.ts +9 -9
  641. package/types/kzg.ts +1 -1
  642. package/types/misc.ts +2 -2
  643. package/types/rpc.ts +16 -16
  644. package/types/stateOverride.ts +5 -5
  645. package/types/transaction.ts +63 -56
  646. package/types/typedData.ts +1 -1
  647. package/types/utils.ts +9 -3
  648. package/types/window.ts +1 -1
  649. package/utils/abi/decodeEventLog.ts +1 -1
  650. package/utils/abi/decodeFunctionResult.ts +2 -2
  651. package/utils/abi/encodeAbiParameters.ts +5 -0
  652. package/utils/abi/encodeErrorResult.ts +2 -2
  653. package/utils/abi/encodeEventTopics.ts +2 -2
  654. package/utils/abi/encodeFunctionData.ts +2 -2
  655. package/utils/abi/encodeFunctionResult.ts +2 -2
  656. package/utils/abi/formatAbiItem.ts +2 -2
  657. package/utils/abi/formatAbiItemWithArgs.ts +2 -2
  658. package/utils/address/getAddress.ts +4 -1
  659. package/utils/address/getContractAddress.ts +1 -1
  660. package/utils/address/isAddress.ts +1 -1
  661. package/utils/blob/commitmentToVersionedHash.ts +1 -1
  662. package/utils/blob/commitmentsToVersionedHashes.ts +1 -1
  663. package/utils/blob/sidecarsToVersionedHashes.ts +1 -1
  664. package/utils/chain/assertCurrentChain.ts +1 -1
  665. package/utils/chain/getChainContractAddress.ts +1 -1
  666. package/utils/cursor.ts +1 -1
  667. package/utils/data/isHex.ts +1 -1
  668. package/utils/data/pad.ts +2 -2
  669. package/utils/data/slice.ts +15 -11
  670. package/utils/data/trim.ts +1 -1
  671. package/utils/encoding/fromBytes.ts +5 -5
  672. package/utils/encoding/fromHex.ts +5 -5
  673. package/utils/encoding/toBytes.ts +8 -5
  674. package/utils/encoding/toHex.ts +7 -7
  675. package/utils/ens/avatar/parseAvatarRecord.ts +2 -2
  676. package/utils/errors/getCallError.ts +2 -2
  677. package/utils/errors/getContractError.ts +3 -3
  678. package/utils/errors/getEstimateGasError.ts +3 -3
  679. package/utils/errors/getNodeError.ts +4 -1
  680. package/utils/errors/getTransactionError.ts +2 -2
  681. package/utils/formatters/block.ts +2 -2
  682. package/utils/formatters/extract.ts +1 -1
  683. package/utils/formatters/formatter.ts +1 -1
  684. package/utils/formatters/log.ts +6 -2
  685. package/utils/formatters/proof.ts +2 -1
  686. package/utils/formatters/transaction.ts +2 -2
  687. package/utils/formatters/transactionReceipt.ts +2 -1
  688. package/utils/formatters/transactionRequest.ts +4 -1
  689. package/utils/hash/keccak256.ts +1 -1
  690. package/utils/hash/ripemd160.ts +1 -1
  691. package/utils/hash/sha256.ts +1 -1
  692. package/utils/poll.ts +2 -2
  693. package/utils/promise/createBatchScheduler.ts +6 -6
  694. package/utils/promise/withCache.ts +1 -1
  695. package/utils/promise/withRetry.ts +14 -9
  696. package/utils/promise/withTimeout.ts +6 -4
  697. package/utils/rpc/http.ts +7 -7
  698. package/utils/rpc/socket.ts +2 -2
  699. package/utils/signature/hashMessage.ts +1 -1
  700. package/utils/transaction/assertRequest.ts +4 -1
  701. package/utils/transaction/getTransactionType.ts +10 -4
  702. package/utils/transaction/parseTransaction.ts +1 -1
  703. package/utils/transaction/serializeAccessList.ts +1 -1
  704. package/utils/transaction/serializeTransaction.ts +6 -6
  705. package/utils/typedData.ts +1 -1
@@ -4,22 +4,22 @@ export type DepositRequest = {
4
4
  /** Gas limit for transaction execution on the L2. */
5
5
  gas: bigint;
6
6
  /** Value in wei to mint (deposit) on the L2. Debited from the caller's L1 balance. */
7
- mint?: bigint;
7
+ mint?: bigint | undefined;
8
8
  /** Value in wei sent with this transaction on the L2. Debited from the caller's L2 balance. */
9
- value?: bigint;
9
+ value?: bigint | undefined;
10
10
  } & ({
11
11
  /** Encoded contract method & arguments. */
12
- data?: Hex;
12
+ data?: Hex | undefined;
13
13
  /** Whether or not this is a contract deployment transaction. */
14
- isCreation?: false;
14
+ isCreation?: false | undefined;
15
15
  /** L2 Transaction recipient. */
16
- to?: Address;
16
+ to?: Address | undefined;
17
17
  } | {
18
18
  /** Contract deployment bytecode. Required for contract deployment transactions. */
19
19
  data: Hex;
20
20
  /** Whether or not this is a contract deployment transaction. */
21
21
  isCreation: true;
22
22
  /** L2 Transaction recipient. Cannot exist for contract deployment transactions. */
23
- to?: never;
23
+ to?: never | undefined;
24
24
  });
25
25
  //# sourceMappingURL=deposit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../../../chains/opStack/types/deposit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAA;AAEjD,MAAM,MAAM,cAAc,GAAG;IAC3B,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+FAA+F;IAC/F,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,CACA;IACE,2CAA2C;IAC3C,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,gEAAgE;IAChE,UAAU,CAAC,EAAE,KAAK,CAAA;IAClB,gCAAgC;IAChC,EAAE,CAAC,EAAE,OAAO,CAAA;CACb,GACD;IACE,mFAAmF;IACnF,IAAI,EAAE,GAAG,CAAA;IACT,gEAAgE;IAChE,UAAU,EAAE,IAAI,CAAA;IAChB,mFAAmF;IACnF,EAAE,CAAC,EAAE,KAAK,CAAA;CACX,CACJ,CAAA"}
1
+ {"version":3,"file":"deposit.d.ts","sourceRoot":"","sources":["../../../../chains/opStack/types/deposit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAA;AAEjD,MAAM,MAAM,cAAc,GAAG;IAC3B,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,+FAA+F;IAC/F,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,GAAG,CACA;IACE,2CAA2C;IAC3C,IAAI,CAAC,EAAE,GAAG,GAAG,SAAS,CAAA;IACtB,gEAAgE;IAChE,UAAU,CAAC,EAAE,KAAK,GAAG,SAAS,CAAA;IAC9B,gCAAgC;IAChC,EAAE,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CACzB,GACD;IACE,mFAAmF;IACnF,IAAI,EAAE,GAAG,CAAA;IACT,gEAAgE;IAChE,UAAU,EAAE,IAAI,CAAA;IAChB,mFAAmF;IACnF,EAAE,CAAC,EAAE,KAAK,GAAG,SAAS,CAAA;CACvB,CACJ,CAAA"}
@@ -9,8 +9,8 @@ type RpcTransaction<TPending extends boolean = boolean> = RpcTransaction_<TPendi
9
9
  sourceHash?: undefined;
10
10
  };
11
11
  export type OpStackRpcDepositTransaction<TPending extends boolean = boolean> = Omit<TransactionBase<Quantity, Index, TPending>, 'typeHex'> & FeeValuesEIP1559<Quantity> & {
12
- isSystemTx?: boolean;
13
- mint?: Hex;
12
+ isSystemTx?: boolean | undefined;
13
+ mint?: Hex | undefined;
14
14
  sourceHash: Hex;
15
15
  type: '0x7e';
16
16
  };
@@ -29,7 +29,7 @@ type Transaction<TPending extends boolean = boolean> = Transaction_<bigint, numb
29
29
  };
30
30
  export type OpStackDepositTransaction<TPending extends boolean = boolean> = TransactionBase<bigint, number, TPending> & FeeValuesEIP1559 & {
31
31
  isSystemTx?: boolean;
32
- mint?: bigint;
32
+ mint?: bigint | undefined;
33
33
  sourceHash: Hex;
34
34
  type: 'deposit';
35
35
  };
@@ -47,7 +47,7 @@ export type OpStackTransactionType = TransactionType | 'deposit';
47
47
  export type TransactionSerializableDeposit<TQuantity = bigint, TIndex = number> = Omit<TransactionSerializableBase<TQuantity, TIndex>, 'nonce' | 'r' | 's' | 'v'> & {
48
48
  from: Hex;
49
49
  isSystemTx?: boolean;
50
- mint?: bigint;
50
+ mint?: bigint | undefined;
51
51
  sourceHash: Hex;
52
52
  type: 'deposit';
53
53
  };
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../chains/opStack/types/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAA;AACjD,OAAO,KAAK,EACV,KAAK,EACL,QAAQ,EACR,cAAc,IAAI,eAAe,EACjC,qBAAqB,EACtB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EACV,WAAW,IAAI,YAAY,EAC3B,eAAe,EACf,kBAAkB,EAClB,uBAAuB,E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/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,GACxD,kCAAkC,CAAA;AAEpC,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAChD,8BAA8B,GAAG,uBAAuB,CACzD,CAAA;AAED,MAAM,MAAM,4BAA4B,CACtC,KAAK,SAAS,sBAAsB,GAAG,sBAAsB,IAC3D,KAAK,SAAS,SAAS,GACvB,4BAA4B,GAC5B,qBAAqB,CAAC,KAAK,CAAC,CAAA;AAEhC,MAAM,MAAM,sBAAsB,GAAG,eAAe,GAAG,SAAS,CAAA;AAEhE,MAAM,MAAM,8BAA8B,CACxC,SAAS,GAAG,MAAM,EAClB,MAAM,GAAG,MAAM,IACb,IAAI,CACN,2BAA2B,CAAC,SAAS,EAAE,MAAM,CAAC,EAC9C,OAAO,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAC1B,GAAG;IACF,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,UAAU,EAAE,GAAG,CAAA;IACf,IAAI,EAAE,SAAS,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,OAAO,MAAM,EAAE,CAAA"}
@@ -2,13 +2,13 @@ import type { Address } from 'abitype';
2
2
  import type { Hex } from '../../../types/misc.js';
3
3
  export type WithdrawalRequest = {
4
4
  /** Encoded contract method & arguments. */
5
- data?: Hex;
5
+ data?: Hex | undefined;
6
6
  /** Gas limit for transaction execution on the L1. */
7
7
  gas: bigint;
8
8
  /** L1 Transaction recipient. */
9
9
  to: Address;
10
10
  /** Value in wei to withdrawal to the L1. Debited from the caller's L2 balance. */
11
- value?: bigint;
11
+ value?: bigint | undefined;
12
12
  };
13
13
  export type Withdrawal = {
14
14
  nonce: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"withdrawal.d.ts","sourceRoot":"","sources":["../../../../chains/opStack/types/withdrawal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAA;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,2CAA2C;IAC3C,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAA;IACX,gCAAgC;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,GAAG,CAAA;IACX,MAAM,EAAE,GAAG,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,GAAG,CAAA;IACT,cAAc,EAAE,GAAG,CAAA;CACpB,CAAA"}
1
+ {"version":3,"file":"withdrawal.d.ts","sourceRoot":"","sources":["../../../../chains/opStack/types/withdrawal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAA;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,2CAA2C;IAC3C,IAAI,CAAC,EAAE,GAAG,GAAG,SAAS,CAAA;IACtB,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAA;IACX,gCAAgC;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,GAAG,CAAA;IACX,MAAM,EAAE,GAAG,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,GAAG,CAAA;IACT,cAAc,EAAE,GAAG,CAAA;CACpB,CAAA"}
@@ -2,7 +2,7 @@ export declare const chainConfig: {
2
2
  readonly formatters: {
3
3
  readonly block: {
4
4
  exclude: [] | undefined;
5
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("./index.js").ZkSyncRpcBlockOverrides & {
5
+ format: (args: import("../index.js").Assign<import("../../index.js").ExactPartial<import("../../index.js").RpcBlock>, import("./index.js").ZkSyncRpcBlockOverrides & {
6
6
  transactions: `0x${string}`[] | import("./index.js").ZkSyncRpcTransaction[];
7
7
  }>) => {
8
8
  baseFeePerGas: bigint | null;
@@ -38,7 +38,7 @@ export declare const chainConfig: {
38
38
  };
39
39
  readonly transaction: {
40
40
  exclude: [] | undefined;
41
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("./index.js").ZkSyncRpcTransaction>) => ({
41
+ format: (args: import("../index.js").Assign<import("../../index.js").ExactPartial<import("../../index.js").RpcTransaction>, import("./index.js").ZkSyncRpcTransaction>) => ({
42
42
  r: `0x${string}`;
43
43
  s: `0x${string}`;
44
44
  v: bigint;
@@ -407,12 +407,12 @@ export declare const chainConfig: {
407
407
  };
408
408
  readonly transactionReceipt: {
409
409
  exclude: [] | undefined;
410
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("./index.js").ZkSyncRpcTransactionReceiptOverrides>) => {
410
+ format: (args: import("../index.js").Assign<import("../../index.js").ExactPartial<import("../../index.js").RpcTransactionReceipt>, import("./index.js").ZkSyncRpcTransactionReceiptOverrides>) => {
411
411
  blobGasPrice?: bigint | undefined;
412
412
  blobGasUsed?: bigint | undefined;
413
413
  blockHash: `0x${string}`;
414
414
  blockNumber: bigint;
415
- contractAddress: `0x${string}` | null;
415
+ contractAddress: `0x${string}` | null | undefined;
416
416
  cumulativeGasUsed: bigint;
417
417
  effectiveGasPrice: bigint;
418
418
  from: `0x${string}`;
@@ -435,7 +435,7 @@ export declare const chainConfig: {
435
435
  exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
436
436
  format: (args: ({
437
437
  data?: `0x${string}` | undefined;
438
- from?: `0x${string}` | undefined;
438
+ from?: `0x${string}`;
439
439
  gas?: bigint | undefined;
440
440
  nonce?: number | undefined;
441
441
  to?: `0x${string}` | null | undefined;
@@ -469,7 +469,7 @@ export declare const chainConfig: {
469
469
  factoryDeps?: undefined;
470
470
  }) | ({
471
471
  data?: `0x${string}` | undefined;
472
- from?: `0x${string}` | undefined;
472
+ from?: `0x${string}`;
473
473
  gas?: bigint | undefined;
474
474
  nonce?: number | undefined;
475
475
  to?: `0x${string}` | null | undefined;
@@ -503,7 +503,7 @@ export declare const chainConfig: {
503
503
  factoryDeps?: undefined;
504
504
  }) | ({
505
505
  data?: `0x${string}` | undefined;
506
- from?: `0x${string}` | undefined;
506
+ from?: `0x${string}`;
507
507
  gas?: bigint | undefined;
508
508
  nonce?: number | undefined;
509
509
  to?: `0x${string}` | null | undefined;
@@ -537,7 +537,7 @@ export declare const chainConfig: {
537
537
  factoryDeps?: undefined;
538
538
  }) | ({
539
539
  data?: `0x${string}` | undefined;
540
- from?: `0x${string}` | undefined;
540
+ from?: `0x${string}`;
541
541
  gas?: bigint | undefined;
542
542
  nonce?: number | undefined;
543
543
  to?: `0x${string}` | null | undefined;
@@ -549,7 +549,7 @@ export declare const chainConfig: {
549
549
  accessList?: undefined;
550
550
  blobs?: undefined;
551
551
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
552
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
552
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
553
553
  gasPerPubdata?: bigint | undefined;
554
554
  customSignature?: `0x${string}` | undefined;
555
555
  factoryDeps?: `0x${string}`[] | undefined;
@@ -559,7 +559,7 @@ export declare const chainConfig: {
559
559
  paymasterInput: `0x${string}`;
560
560
  }) | ({
561
561
  data?: `0x${string}` | undefined;
562
- from?: `0x${string}` | undefined;
562
+ from?: `0x${string}`;
563
563
  gas?: bigint | undefined;
564
564
  nonce?: number | undefined;
565
565
  to?: `0x${string}` | null | undefined;
@@ -571,7 +571,7 @@ export declare const chainConfig: {
571
571
  accessList?: undefined;
572
572
  blobs?: undefined;
573
573
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
574
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
574
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
575
575
  gasPerPubdata?: bigint | undefined;
576
576
  customSignature?: `0x${string}` | undefined;
577
577
  factoryDeps?: `0x${string}`[] | undefined;
@@ -581,7 +581,7 @@ export declare const chainConfig: {
581
581
  paymasterInput?: undefined;
582
582
  }) | ({
583
583
  data?: `0x${string}` | undefined;
584
- from?: `0x${string}` | undefined;
584
+ from?: `0x${string}`;
585
585
  gas?: bigint | undefined;
586
586
  nonce?: number | undefined;
587
587
  to?: `0x${string}` | null | undefined;
@@ -615,7 +615,7 @@ export declare const chainConfig: {
615
615
  factoryDeps?: undefined;
616
616
  }) | ({
617
617
  data?: `0x${string}` | undefined;
618
- from?: `0x${string}` | undefined;
618
+ from?: `0x${string}`;
619
619
  gas?: bigint | undefined;
620
620
  nonce?: number | undefined;
621
621
  to?: `0x${string}` | null | undefined;
@@ -649,7 +649,7 @@ export declare const chainConfig: {
649
649
  factoryDeps?: undefined;
650
650
  }) | ({
651
651
  data?: `0x${string}` | undefined;
652
- from?: `0x${string}` | undefined;
652
+ from?: `0x${string}`;
653
653
  gas?: bigint | undefined;
654
654
  nonce?: number | undefined;
655
655
  to?: `0x${string}` | null | undefined;
@@ -683,7 +683,7 @@ export declare const chainConfig: {
683
683
  factoryDeps?: undefined;
684
684
  }) | ({
685
685
  data?: `0x${string}` | undefined;
686
- from?: `0x${string}` | undefined;
686
+ from?: `0x${string}`;
687
687
  gas?: bigint | undefined;
688
688
  nonce?: number | undefined;
689
689
  to?: `0x${string}` | null | undefined;
@@ -695,7 +695,7 @@ export declare const chainConfig: {
695
695
  accessList?: import("../../index.js").AccessList | undefined;
696
696
  blobs?: undefined;
697
697
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
698
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
698
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
699
699
  gasPerPubdata?: bigint | undefined;
700
700
  customSignature?: `0x${string}` | undefined;
701
701
  factoryDeps?: `0x${string}`[] | undefined;
@@ -705,7 +705,7 @@ export declare const chainConfig: {
705
705
  paymasterInput: `0x${string}`;
706
706
  }) | ({
707
707
  data?: `0x${string}` | undefined;
708
- from?: `0x${string}` | undefined;
708
+ from?: `0x${string}`;
709
709
  gas?: bigint | undefined;
710
710
  nonce?: number | undefined;
711
711
  to?: `0x${string}` | null | undefined;
@@ -717,7 +717,7 @@ export declare const chainConfig: {
717
717
  accessList?: import("../../index.js").AccessList | undefined;
718
718
  blobs?: undefined;
719
719
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
720
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
720
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
721
721
  gasPerPubdata?: bigint | undefined;
722
722
  customSignature?: `0x${string}` | undefined;
723
723
  factoryDeps?: `0x${string}`[] | undefined;
@@ -727,7 +727,7 @@ export declare const chainConfig: {
727
727
  paymasterInput?: undefined;
728
728
  }) | ({
729
729
  data?: `0x${string}` | undefined;
730
- from?: `0x${string}` | undefined;
730
+ from?: `0x${string}`;
731
731
  gas?: bigint | undefined;
732
732
  nonce?: number | undefined;
733
733
  to?: `0x${string}` | null | undefined;
@@ -761,7 +761,7 @@ export declare const chainConfig: {
761
761
  factoryDeps?: undefined;
762
762
  }) | ({
763
763
  data?: `0x${string}` | undefined;
764
- from?: `0x${string}` | undefined;
764
+ from?: `0x${string}`;
765
765
  gas?: bigint | undefined;
766
766
  nonce?: number | undefined;
767
767
  to?: `0x${string}` | null | undefined;
@@ -795,7 +795,7 @@ export declare const chainConfig: {
795
795
  factoryDeps?: undefined;
796
796
  }) | ({
797
797
  data?: `0x${string}` | undefined;
798
- from?: `0x${string}` | undefined;
798
+ from?: `0x${string}`;
799
799
  gas?: bigint | undefined;
800
800
  nonce?: number | undefined;
801
801
  to?: `0x${string}` | null | undefined;
@@ -829,7 +829,7 @@ export declare const chainConfig: {
829
829
  factoryDeps?: undefined;
830
830
  }) | ({
831
831
  data?: `0x${string}` | undefined;
832
- from?: `0x${string}` | undefined;
832
+ from?: `0x${string}`;
833
833
  gas?: bigint | undefined;
834
834
  nonce?: number | undefined;
835
835
  to?: `0x${string}` | null | undefined;
@@ -841,7 +841,7 @@ export declare const chainConfig: {
841
841
  accessList?: import("../../index.js").AccessList | undefined;
842
842
  blobs?: undefined;
843
843
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
844
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
844
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
845
845
  gasPerPubdata?: bigint | undefined;
846
846
  customSignature?: `0x${string}` | undefined;
847
847
  factoryDeps?: `0x${string}`[] | undefined;
@@ -851,7 +851,7 @@ export declare const chainConfig: {
851
851
  paymasterInput: `0x${string}`;
852
852
  }) | ({
853
853
  data?: `0x${string}` | undefined;
854
- from?: `0x${string}` | undefined;
854
+ from?: `0x${string}`;
855
855
  gas?: bigint | undefined;
856
856
  nonce?: number | undefined;
857
857
  to?: `0x${string}` | null | undefined;
@@ -863,7 +863,7 @@ export declare const chainConfig: {
863
863
  accessList?: import("../../index.js").AccessList | undefined;
864
864
  blobs?: undefined;
865
865
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
866
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
866
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
867
867
  gasPerPubdata?: bigint | undefined;
868
868
  customSignature?: `0x${string}` | undefined;
869
869
  factoryDeps?: `0x${string}`[] | undefined;
@@ -873,7 +873,7 @@ export declare const chainConfig: {
873
873
  paymasterInput?: undefined;
874
874
  }) | ({
875
875
  data?: `0x${string}` | undefined;
876
- from?: `0x${string}` | undefined;
876
+ from?: `0x${string}`;
877
877
  gas?: bigint | undefined;
878
878
  nonce?: number | undefined;
879
879
  value?: bigint | undefined;
@@ -907,7 +907,7 @@ export declare const chainConfig: {
907
907
  factoryDeps?: undefined;
908
908
  }) | ({
909
909
  data?: `0x${string}` | undefined;
910
- from?: `0x${string}` | undefined;
910
+ from?: `0x${string}`;
911
911
  gas?: bigint | undefined;
912
912
  nonce?: number | undefined;
913
913
  value?: bigint | undefined;
@@ -941,7 +941,7 @@ export declare const chainConfig: {
941
941
  factoryDeps?: undefined;
942
942
  }) | ({
943
943
  data?: `0x${string}` | undefined;
944
- from?: `0x${string}` | undefined;
944
+ from?: `0x${string}`;
945
945
  gas?: bigint | undefined;
946
946
  nonce?: number | undefined;
947
947
  value?: bigint | undefined;
@@ -975,7 +975,7 @@ export declare const chainConfig: {
975
975
  factoryDeps?: undefined;
976
976
  }) | ({
977
977
  data?: `0x${string}` | undefined;
978
- from?: `0x${string}` | undefined;
978
+ from?: `0x${string}`;
979
979
  gas?: bigint | undefined;
980
980
  nonce?: number | undefined;
981
981
  value?: bigint | undefined;
@@ -1009,7 +1009,7 @@ export declare const chainConfig: {
1009
1009
  factoryDeps?: undefined;
1010
1010
  }) | ({
1011
1011
  data?: `0x${string}` | undefined;
1012
- from?: `0x${string}` | undefined;
1012
+ from?: `0x${string}`;
1013
1013
  gas?: bigint | undefined;
1014
1014
  nonce?: number | undefined;
1015
1015
  value?: bigint | undefined;
@@ -1021,7 +1021,7 @@ export declare const chainConfig: {
1021
1021
  accessList?: import("../../index.js").AccessList | undefined;
1022
1022
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1023
1023
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1024
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1024
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
1025
1025
  gasPerPubdata?: bigint | undefined;
1026
1026
  customSignature?: `0x${string}` | undefined;
1027
1027
  factoryDeps?: `0x${string}`[] | undefined;
@@ -1031,7 +1031,7 @@ export declare const chainConfig: {
1031
1031
  paymasterInput: `0x${string}`;
1032
1032
  }) | ({
1033
1033
  data?: `0x${string}` | undefined;
1034
- from?: `0x${string}` | undefined;
1034
+ from?: `0x${string}`;
1035
1035
  gas?: bigint | undefined;
1036
1036
  nonce?: number | undefined;
1037
1037
  value?: bigint | undefined;
@@ -1043,7 +1043,7 @@ export declare const chainConfig: {
1043
1043
  accessList?: import("../../index.js").AccessList | undefined;
1044
1044
  blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1045
1045
  type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1046
- } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1046
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & import("../../index.js").ExactPartial<import("../../index.js").FeeValuesEIP1559> & {
1047
1047
  gasPerPubdata?: bigint | undefined;
1048
1048
  customSignature?: `0x${string}` | undefined;
1049
1049
  factoryDeps?: `0x${string}`[] | undefined;