viem 2.13.7 → 2.13.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/_cjs/accounts/hdKeyToAccount.js.map +1 -1
  3. package/_cjs/actions/public/call.js.map +1 -1
  4. package/_cjs/actions/public/estimateGas.js.map +1 -1
  5. package/_cjs/actions/public/getBlockNumber.js.map +1 -1
  6. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  7. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  8. package/_cjs/celo/index.js.map +1 -1
  9. package/_cjs/celo/utils.js.map +1 -1
  10. package/_cjs/chains/definitions/optimism.js +5 -0
  11. package/_cjs/chains/definitions/optimism.js.map +1 -1
  12. package/_cjs/chains/definitions/sei.js +1 -0
  13. package/_cjs/chains/definitions/sei.js.map +1 -1
  14. package/_cjs/clients/createClient.js +2 -2
  15. package/_cjs/clients/createClient.js.map +1 -1
  16. package/_cjs/clients/transports/fallback.js.map +1 -1
  17. package/_cjs/clients/transports/http.js.map +1 -1
  18. package/_cjs/constants/abis.js.map +1 -1
  19. package/_cjs/constants/blob.js +4 -4
  20. package/_cjs/constants/blob.js.map +1 -1
  21. package/_cjs/constants/kzg.js +1 -3
  22. package/_cjs/constants/kzg.js.map +1 -1
  23. package/_cjs/errors/abi.js +1 -13
  24. package/_cjs/errors/abi.js.map +1 -1
  25. package/_cjs/errors/ccip.js.map +1 -1
  26. package/_cjs/errors/stateOverride.js.map +1 -1
  27. package/_cjs/errors/version.js +1 -1
  28. package/_cjs/experimental/eip5792/actions/getCapabilities.js +2 -2
  29. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  30. package/_cjs/experimental/eip5792/actions/sendCalls.js +2 -2
  31. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -1
  32. package/_cjs/index.js +6 -4
  33. package/_cjs/index.js.map +1 -1
  34. package/_cjs/node/trustedSetups.js +1 -2
  35. package/_cjs/node/trustedSetups.js.map +1 -1
  36. package/_cjs/op-stack/abis.js +1 -458
  37. package/_cjs/op-stack/abis.js.map +1 -1
  38. package/_cjs/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  39. package/_cjs/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  40. package/_cjs/op-stack/index.js +15 -2
  41. package/_cjs/op-stack/index.js.map +1 -1
  42. package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
  43. package/_cjs/utils/abi/encodeAbiParameters.js.map +1 -1
  44. package/_cjs/utils/abi/getAbiItem.js.map +1 -1
  45. package/_cjs/utils/address/getAddress.js +5 -5
  46. package/_cjs/utils/address/getAddress.js.map +1 -1
  47. package/_cjs/utils/address/isAddress.js.map +1 -1
  48. package/_cjs/utils/blob/toBlobs.js.map +1 -1
  49. package/_cjs/utils/buildRequest.js.map +1 -1
  50. package/_cjs/utils/ccip.js.map +1 -1
  51. package/_cjs/utils/cursor.js.map +1 -1
  52. package/_cjs/utils/encoding/fromRlp.js +1 -9
  53. package/_cjs/utils/encoding/fromRlp.js.map +1 -1
  54. package/_cjs/utils/ens/avatar/utils.js.map +1 -1
  55. package/_cjs/utils/ens/errors.js.map +1 -1
  56. package/_cjs/utils/observe.js.map +1 -1
  57. package/_cjs/utils/promise/createBatchScheduler.js.map +1 -1
  58. package/_cjs/utils/promise/withCache.js.map +1 -1
  59. package/_cjs/utils/promise/withTimeout.js.map +1 -1
  60. package/_cjs/utils/rpc/id.js +1 -2
  61. package/_cjs/utils/rpc/id.js.map +1 -1
  62. package/_cjs/utils/rpc/ipc.js.map +1 -1
  63. package/_cjs/utils/stateOverride.js.map +1 -1
  64. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  65. package/_cjs/zksync/actions/deployContract.js.map +1 -1
  66. package/_cjs/zksync/actions/estimateGasL1ToL2.js +2 -2
  67. package/_cjs/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  68. package/_cjs/zksync/actions/getAllBalances.js +2 -2
  69. package/_cjs/zksync/actions/getAllBalances.js.map +1 -1
  70. package/_cjs/zksync/actions/getL1Allowance.js +2 -2
  71. package/_cjs/zksync/actions/getL1Allowance.js.map +1 -1
  72. package/_cjs/zksync/actions/getL1Balance.js +2 -2
  73. package/_cjs/zksync/actions/getL1Balance.js.map +1 -1
  74. package/_cjs/zksync/actions/getL1TokenBalance.js +2 -2
  75. package/_cjs/zksync/actions/getL1TokenBalance.js.map +1 -1
  76. package/_cjs/zksync/constants/contract.js +1 -2
  77. package/_cjs/zksync/constants/contract.js.map +1 -1
  78. package/_cjs/zksync/index.js.map +1 -1
  79. package/_cjs/zksync/serializers.js.map +1 -1
  80. package/_cjs/zksync/utils/abi/encodeDeployData.js.map +1 -1
  81. package/_cjs/zksync/utils/assertEip712Request.js.map +1 -1
  82. package/_cjs/zksync/utils/hashBytecode.js.map +1 -1
  83. package/_esm/accounts/hdKeyToAccount.js.map +1 -1
  84. package/_esm/actions/public/call.js +1 -0
  85. package/_esm/actions/public/call.js.map +1 -1
  86. package/_esm/actions/public/estimateGas.js.map +1 -1
  87. package/_esm/actions/public/getBlockNumber.js +2 -1
  88. package/_esm/actions/public/getBlockNumber.js.map +1 -1
  89. package/_esm/actions/test/sendUnsignedTransaction.js +2 -2
  90. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  91. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  92. package/_esm/celo/index.js +1 -1
  93. package/_esm/celo/index.js.map +1 -1
  94. package/_esm/celo/utils.js +1 -0
  95. package/_esm/celo/utils.js.map +1 -1
  96. package/_esm/chains/definitions/optimism.js +5 -0
  97. package/_esm/chains/definitions/optimism.js.map +1 -1
  98. package/_esm/chains/definitions/sei.js +1 -0
  99. package/_esm/chains/definitions/sei.js.map +1 -1
  100. package/_esm/clients/createClient.js +1 -1
  101. package/_esm/clients/createClient.js.map +1 -1
  102. package/_esm/clients/transports/fallback.js +1 -0
  103. package/_esm/clients/transports/fallback.js.map +1 -1
  104. package/_esm/clients/transports/http.js.map +1 -1
  105. package/_esm/constants/abis.js +1 -0
  106. package/_esm/constants/abis.js.map +1 -1
  107. package/_esm/constants/blob.js +1 -1
  108. package/_esm/constants/blob.js.map +1 -1
  109. package/_esm/constants/kzg.js +0 -4
  110. package/_esm/constants/kzg.js.map +1 -1
  111. package/_esm/errors/abi.js +0 -11
  112. package/_esm/errors/abi.js.map +1 -1
  113. package/_esm/errors/ccip.js.map +1 -1
  114. package/_esm/errors/stateOverride.js +1 -0
  115. package/_esm/errors/stateOverride.js.map +1 -1
  116. package/_esm/errors/version.js +1 -1
  117. package/_esm/experimental/eip5792/actions/getCapabilities.js +1 -1
  118. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -1
  119. package/_esm/experimental/eip5792/actions/sendCalls.js +1 -1
  120. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -1
  121. package/_esm/index.js +4 -3
  122. package/_esm/index.js.map +1 -1
  123. package/_esm/node/trustedSetups.js +0 -1
  124. package/_esm/node/trustedSetups.js.map +1 -1
  125. package/_esm/node/trustedSetups_cjs.js +0 -1
  126. package/_esm/node/trustedSetups_cjs.js.map +1 -1
  127. package/_esm/op-stack/abis.js +0 -457
  128. package/_esm/op-stack/abis.js.map +1 -1
  129. package/_esm/op-stack/actions/buildProveWithdrawal.js +1 -0
  130. package/_esm/op-stack/actions/buildProveWithdrawal.js.map +1 -1
  131. package/_esm/op-stack/actions/getWithdrawalStatus.js +1 -1
  132. package/_esm/op-stack/actions/getWithdrawalStatus.js.map +1 -1
  133. package/_esm/op-stack/index.js +0 -1
  134. package/_esm/op-stack/index.js.map +1 -1
  135. package/_esm/utils/abi/decodeAbiParameters.js +1 -1
  136. package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
  137. package/_esm/utils/abi/encodeAbiParameters.js.map +1 -1
  138. package/_esm/utils/abi/getAbiItem.js +3 -1
  139. package/_esm/utils/abi/getAbiItem.js.map +1 -1
  140. package/_esm/utils/address/getAddress.js +1 -1
  141. package/_esm/utils/address/getAddress.js.map +1 -1
  142. package/_esm/utils/address/isAddress.js +1 -0
  143. package/_esm/utils/address/isAddress.js.map +1 -1
  144. package/_esm/utils/blob/toBlobs.js.map +1 -1
  145. package/_esm/utils/buildRequest.js +1 -0
  146. package/_esm/utils/buildRequest.js.map +1 -1
  147. package/_esm/utils/ccip.js +1 -1
  148. package/_esm/utils/ccip.js.map +1 -1
  149. package/_esm/utils/cursor.js.map +1 -1
  150. package/_esm/utils/encoding/fromRlp.js +0 -6
  151. package/_esm/utils/encoding/fromRlp.js.map +1 -1
  152. package/_esm/utils/ens/avatar/utils.js +2 -0
  153. package/_esm/utils/ens/avatar/utils.js.map +1 -1
  154. package/_esm/utils/ens/errors.js.map +1 -1
  155. package/_esm/utils/observe.js +2 -0
  156. package/_esm/utils/observe.js.map +1 -1
  157. package/_esm/utils/promise/createBatchScheduler.js +1 -0
  158. package/_esm/utils/promise/createBatchScheduler.js.map +1 -1
  159. package/_esm/utils/promise/withCache.js +2 -0
  160. package/_esm/utils/promise/withCache.js.map +1 -1
  161. package/_esm/utils/promise/withTimeout.js +1 -1
  162. package/_esm/utils/promise/withTimeout.js.map +1 -1
  163. package/_esm/utils/rpc/id.js +1 -1
  164. package/_esm/utils/rpc/id.js.map +1 -1
  165. package/_esm/utils/rpc/ipc.js +1 -0
  166. package/_esm/utils/rpc/ipc.js.map +1 -1
  167. package/_esm/utils/stateOverride.js +3 -0
  168. package/_esm/utils/stateOverride.js.map +1 -1
  169. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  170. package/_esm/utils/unit/parseUnits.js +1 -1
  171. package/_esm/utils/unit/parseUnits.js.map +1 -1
  172. package/_esm/zksync/actions/deployContract.js +1 -1
  173. package/_esm/zksync/actions/deployContract.js.map +1 -1
  174. package/_esm/zksync/actions/estimateGasL1ToL2.js +1 -1
  175. package/_esm/zksync/actions/estimateGasL1ToL2.js.map +1 -1
  176. package/_esm/zksync/actions/getAllBalances.js +1 -1
  177. package/_esm/zksync/actions/getAllBalances.js.map +1 -1
  178. package/_esm/zksync/actions/getL1Allowance.js +1 -1
  179. package/_esm/zksync/actions/getL1Allowance.js.map +1 -1
  180. package/_esm/zksync/actions/getL1Balance.js +1 -1
  181. package/_esm/zksync/actions/getL1Balance.js.map +1 -1
  182. package/_esm/zksync/actions/getL1TokenBalance.js +2 -2
  183. package/_esm/zksync/actions/getL1TokenBalance.js.map +1 -1
  184. package/_esm/zksync/constants/contract.js +0 -1
  185. package/_esm/zksync/constants/contract.js.map +1 -1
  186. package/_esm/zksync/index.js.map +1 -1
  187. package/_esm/zksync/serializers.js.map +1 -1
  188. package/_esm/zksync/utils/abi/encodeDeployData.js +1 -1
  189. package/_esm/zksync/utils/abi/encodeDeployData.js.map +1 -1
  190. package/_esm/zksync/utils/assertEip712Request.js +1 -1
  191. package/_esm/zksync/utils/assertEip712Request.js.map +1 -1
  192. package/_esm/zksync/utils/hashBytecode.js.map +1 -1
  193. package/_types/accounts/hdKeyToAccount.d.ts +1 -1
  194. package/_types/accounts/hdKeyToAccount.d.ts.map +1 -1
  195. package/_types/accounts/types.d.ts +1 -1
  196. package/_types/accounts/types.d.ts.map +1 -1
  197. package/_types/actions/public/call.d.ts +5 -2
  198. package/_types/actions/public/call.d.ts.map +1 -1
  199. package/_types/actions/public/estimateGas.d.ts +2 -1
  200. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  201. package/_types/actions/public/getBlockNumber.d.ts +4 -0
  202. package/_types/actions/public/getBlockNumber.d.ts.map +1 -1
  203. package/_types/actions/test/sendUnsignedTransaction.d.ts +2 -2
  204. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -7
  205. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  206. package/_types/actions/wallet/signTypedData.d.ts +2 -2
  207. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  208. package/_types/celo/chainConfig.d.ts +60 -60
  209. package/_types/celo/formatters.d.ts +30 -30
  210. package/_types/celo/index.d.ts +2 -2
  211. package/_types/celo/index.d.ts.map +1 -1
  212. package/_types/celo/utils.d.ts +1 -0
  213. package/_types/celo/utils.d.ts.map +1 -1
  214. package/_types/chains/definitions/ancient8.d.ts +26 -26
  215. package/_types/chains/definitions/ancient8Sepolia.d.ts +26 -26
  216. package/_types/chains/definitions/base.d.ts +26 -26
  217. package/_types/chains/definitions/baseGoerli.d.ts +26 -26
  218. package/_types/chains/definitions/baseSepolia.d.ts +26 -26
  219. package/_types/chains/definitions/celo.d.ts +60 -60
  220. package/_types/chains/definitions/celoAlfajores.d.ts +60 -60
  221. package/_types/chains/definitions/fraxtal.d.ts +26 -26
  222. package/_types/chains/definitions/fraxtalTestnet.d.ts +26 -26
  223. package/_types/chains/definitions/funkiSepolia.d.ts +26 -26
  224. package/_types/chains/definitions/liskSepolia.d.ts +26 -26
  225. package/_types/chains/definitions/metalL2.d.ts +26 -26
  226. package/_types/chains/definitions/optimism.d.ts +31 -26
  227. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  228. package/_types/chains/definitions/optimismGoerli.d.ts +26 -26
  229. package/_types/chains/definitions/optimismSepolia.d.ts +26 -26
  230. package/_types/chains/definitions/pgn.d.ts +26 -26
  231. package/_types/chains/definitions/pgnTestnet.d.ts +26 -26
  232. package/_types/chains/definitions/rss3.d.ts +26 -26
  233. package/_types/chains/definitions/rss3Sepolia.d.ts +26 -26
  234. package/_types/chains/definitions/sei.d.ts +1 -0
  235. package/_types/chains/definitions/sei.d.ts.map +1 -1
  236. package/_types/chains/definitions/zora.d.ts +26 -26
  237. package/_types/chains/definitions/zoraSepolia.d.ts +26 -26
  238. package/_types/chains/definitions/zoraTestnet.d.ts +26 -26
  239. package/_types/clients/createClient.d.ts +1 -1
  240. package/_types/clients/createClient.d.ts.map +1 -1
  241. package/_types/clients/transports/fallback.d.ts +1 -0
  242. package/_types/clients/transports/fallback.d.ts.map +1 -1
  243. package/_types/clients/transports/http.d.ts +6 -7
  244. package/_types/clients/transports/http.d.ts.map +1 -1
  245. package/_types/constants/abis.d.ts +1 -0
  246. package/_types/constants/abis.d.ts.map +1 -1
  247. package/_types/constants/blob.d.ts +0 -2
  248. package/_types/constants/blob.d.ts.map +1 -1
  249. package/_types/constants/kzg.d.ts +0 -4
  250. package/_types/constants/kzg.d.ts.map +1 -1
  251. package/_types/errors/abi.d.ts +0 -10
  252. package/_types/errors/abi.d.ts.map +1 -1
  253. package/_types/errors/ccip.d.ts +1 -0
  254. package/_types/errors/ccip.d.ts.map +1 -1
  255. package/_types/errors/stateOverride.d.ts +1 -0
  256. package/_types/errors/stateOverride.d.ts.map +1 -1
  257. package/_types/errors/version.d.ts +1 -1
  258. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -1
  259. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -1
  260. package/_types/experimental/erc7715/types/permission.d.ts +5 -0
  261. package/_types/experimental/erc7715/types/permission.d.ts.map +1 -1
  262. package/_types/experimental/erc7715/types/signer.d.ts +3 -0
  263. package/_types/experimental/erc7715/types/signer.d.ts.map +1 -1
  264. package/_types/index.d.ts +9 -9
  265. package/_types/index.d.ts.map +1 -1
  266. package/_types/node/trustedSetups.d.ts +0 -1
  267. package/_types/node/trustedSetups.d.ts.map +1 -1
  268. package/_types/node/trustedSetups_cjs.d.ts +0 -1
  269. package/_types/node/trustedSetups_cjs.d.ts.map +1 -1
  270. package/_types/op-stack/abis.d.ts +0 -626
  271. package/_types/op-stack/abis.d.ts.map +1 -1
  272. package/_types/op-stack/actions/buildProveWithdrawal.d.ts +1 -0
  273. package/_types/op-stack/actions/buildProveWithdrawal.d.ts.map +1 -1
  274. package/_types/op-stack/actions/getWithdrawalStatus.d.ts +2 -1
  275. package/_types/op-stack/actions/getWithdrawalStatus.d.ts.map +1 -1
  276. package/_types/op-stack/chainConfig.d.ts +26 -26
  277. package/_types/op-stack/formatters.d.ts +26 -26
  278. package/_types/op-stack/index.d.ts.map +1 -1
  279. package/_types/types/account.d.ts +1 -1
  280. package/_types/types/account.d.ts.map +1 -1
  281. package/_types/types/kzg.d.ts +1 -1
  282. package/_types/types/kzg.d.ts.map +1 -1
  283. package/_types/types/proof.d.ts +3 -2
  284. package/_types/types/proof.d.ts.map +1 -1
  285. package/_types/types/utils.d.ts +11 -3
  286. package/_types/types/utils.d.ts.map +1 -1
  287. package/_types/utils/abi/decodeAbiParameters.d.ts +2 -1
  288. package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
  289. package/_types/utils/abi/encodeAbiParameters.d.ts +12 -11
  290. package/_types/utils/abi/encodeAbiParameters.d.ts.map +1 -1
  291. package/_types/utils/abi/getAbiItem.d.ts +6 -2
  292. package/_types/utils/abi/getAbiItem.d.ts.map +1 -1
  293. package/_types/utils/address/getAddress.d.ts +0 -2
  294. package/_types/utils/address/getAddress.d.ts.map +1 -1
  295. package/_types/utils/address/isAddress.d.ts +1 -0
  296. package/_types/utils/address/isAddress.d.ts.map +1 -1
  297. package/_types/utils/blob/toBlobs.d.ts +2 -1
  298. package/_types/utils/blob/toBlobs.d.ts.map +1 -1
  299. package/_types/utils/buildRequest.d.ts +1 -0
  300. package/_types/utils/buildRequest.d.ts.map +1 -1
  301. package/_types/utils/ccip.d.ts +4 -2
  302. package/_types/utils/ccip.d.ts.map +1 -1
  303. package/_types/utils/cursor.d.ts +7 -6
  304. package/_types/utils/cursor.d.ts.map +1 -1
  305. package/_types/utils/encoding/fromRlp.d.ts +3 -7
  306. package/_types/utils/encoding/fromRlp.d.ts.map +1 -1
  307. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +2 -1
  308. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +1 -1
  309. package/_types/utils/ens/avatar/utils.d.ts +4 -2
  310. package/_types/utils/ens/avatar/utils.d.ts.map +1 -1
  311. package/_types/utils/ens/errors.d.ts +1 -0
  312. package/_types/utils/ens/errors.d.ts.map +1 -1
  313. package/_types/utils/formatters/transaction.d.ts +1 -1
  314. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  315. package/_types/utils/hash/normalizeSignature.d.ts +3 -2
  316. package/_types/utils/hash/normalizeSignature.d.ts.map +1 -1
  317. package/_types/utils/observe.d.ts +2 -0
  318. package/_types/utils/observe.d.ts.map +1 -1
  319. package/_types/utils/promise/createBatchScheduler.d.ts +3 -2
  320. package/_types/utils/promise/createBatchScheduler.d.ts.map +1 -1
  321. package/_types/utils/promise/withCache.d.ts +4 -1
  322. package/_types/utils/promise/withCache.d.ts.map +1 -1
  323. package/_types/utils/rpc/id.d.ts +0 -5
  324. package/_types/utils/rpc/id.d.ts.map +1 -1
  325. package/_types/utils/rpc/ipc.d.ts +1 -0
  326. package/_types/utils/rpc/ipc.d.ts.map +1 -1
  327. package/_types/utils/stateOverride.d.ts +9 -5
  328. package/_types/utils/stateOverride.d.ts.map +1 -1
  329. package/_types/utils/transaction/parseTransaction.d.ts +5 -5
  330. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  331. package/_types/zksync/actions/deployContract.d.ts +2 -1
  332. package/_types/zksync/actions/deployContract.d.ts.map +1 -1
  333. package/_types/zksync/actions/estimateGasL1ToL2.d.ts.map +1 -1
  334. package/_types/zksync/actions/getAllBalances.d.ts.map +1 -1
  335. package/_types/zksync/actions/getL1Allowance.d.ts.map +1 -1
  336. package/_types/zksync/actions/getL1Balance.d.ts.map +1 -1
  337. package/_types/zksync/actions/getL1TokenBalance.d.ts +4 -4
  338. package/_types/zksync/actions/getL1TokenBalance.d.ts.map +1 -1
  339. package/_types/zksync/constants/contract.d.ts +0 -1
  340. package/_types/zksync/constants/contract.d.ts.map +1 -1
  341. package/_types/zksync/index.d.ts +1 -0
  342. package/_types/zksync/index.d.ts.map +1 -1
  343. package/_types/zksync/serializers.d.ts +1 -2
  344. package/_types/zksync/serializers.d.ts.map +1 -1
  345. package/_types/zksync/types/eip1193.d.ts +5 -5
  346. package/_types/zksync/types/eip1193.d.ts.map +1 -1
  347. package/_types/zksync/utils/abi/encodeDeployData.d.ts +5 -0
  348. package/_types/zksync/utils/abi/encodeDeployData.d.ts.map +1 -1
  349. package/_types/zksync/utils/assertEip712Request.d.ts +3 -1
  350. package/_types/zksync/utils/assertEip712Request.d.ts.map +1 -1
  351. package/_types/zksync/utils/hashBytecode.d.ts +5 -0
  352. package/_types/zksync/utils/hashBytecode.d.ts.map +1 -1
  353. package/accounts/hdKeyToAccount.ts +1 -2
  354. package/accounts/types.ts +1 -1
  355. package/actions/public/call.ts +5 -5
  356. package/actions/public/estimateGas.ts +3 -4
  357. package/actions/public/getBlockNumber.ts +9 -1
  358. package/actions/test/sendUnsignedTransaction.ts +2 -2
  359. package/actions/wallet/prepareTransactionRequest.ts +0 -20
  360. package/actions/wallet/signTypedData.ts +2 -0
  361. package/celo/index.ts +5 -2
  362. package/celo/utils.ts +1 -0
  363. package/chains/definitions/optimism.ts +5 -0
  364. package/chains/definitions/sei.ts +1 -0
  365. package/clients/createClient.ts +4 -2
  366. package/clients/transports/fallback.ts +1 -0
  367. package/clients/transports/http.ts +9 -8
  368. package/constants/abis.ts +1 -0
  369. package/constants/blob.ts +1 -1
  370. package/constants/kzg.ts +0 -6
  371. package/errors/abi.ts +0 -13
  372. package/errors/ccip.ts +1 -0
  373. package/errors/stateOverride.ts +1 -0
  374. package/errors/version.ts +1 -1
  375. package/experimental/eip5792/actions/getCapabilities.ts +1 -1
  376. package/experimental/eip5792/actions/sendCalls.ts +1 -1
  377. package/experimental/erc7715/types/permission.ts +5 -0
  378. package/experimental/erc7715/types/signer.ts +3 -0
  379. package/index.ts +21 -5
  380. package/node/trustedSetups.ts +0 -5
  381. package/node/trustedSetups_cjs.ts +0 -5
  382. package/op-stack/abis.ts +0 -458
  383. package/op-stack/actions/buildProveWithdrawal.ts +1 -0
  384. package/op-stack/actions/getWithdrawalStatus.ts +6 -1
  385. package/op-stack/index.ts +0 -1
  386. package/package.json +1 -1
  387. package/types/account.ts +1 -11
  388. package/types/kzg.ts +2 -1
  389. package/types/proof.ts +2 -2
  390. package/types/utils.ts +11 -3
  391. package/utils/abi/decodeAbiParameters.ts +6 -1
  392. package/utils/abi/encodeAbiParameters.ts +22 -19
  393. package/utils/abi/getAbiItem.ts +8 -2
  394. package/utils/address/getAddress.ts +1 -1
  395. package/utils/address/isAddress.ts +1 -0
  396. package/utils/blob/toBlobs.ts +2 -1
  397. package/utils/buildRequest.ts +1 -0
  398. package/utils/ccip.ts +11 -3
  399. package/utils/cursor.ts +16 -6
  400. package/utils/encoding/fromRlp.ts +3 -21
  401. package/utils/ens/avatar/parseAvatarRecord.ts +1 -1
  402. package/utils/ens/avatar/utils.ts +4 -2
  403. package/utils/ens/errors.ts +1 -0
  404. package/utils/hash/normalizeSignature.ts +2 -2
  405. package/utils/observe.ts +2 -0
  406. package/utils/promise/createBatchScheduler.ts +3 -2
  407. package/utils/promise/withCache.ts +3 -1
  408. package/utils/promise/withTimeout.ts +2 -2
  409. package/utils/rpc/id.ts +1 -1
  410. package/utils/rpc/ipc.ts +1 -0
  411. package/utils/stateOverride.ts +8 -5
  412. package/utils/transaction/parseTransaction.ts +7 -2
  413. package/utils/unit/parseUnits.ts +1 -1
  414. package/zksync/actions/deployContract.ts +8 -2
  415. package/zksync/actions/estimateGasL1ToL2.ts +1 -1
  416. package/zksync/actions/getAllBalances.ts +1 -1
  417. package/zksync/actions/getL1Allowance.ts +1 -1
  418. package/zksync/actions/getL1Balance.ts +1 -1
  419. package/zksync/actions/getL1TokenBalance.ts +10 -7
  420. package/zksync/constants/contract.ts +0 -1
  421. package/zksync/index.ts +5 -0
  422. package/zksync/serializers.ts +1 -2
  423. package/zksync/types/eip1193.ts +32 -26
  424. package/zksync/utils/abi/encodeDeployData.ts +12 -2
  425. package/zksync/utils/assertEip712Request.ts +9 -2
  426. package/zksync/utils/hashBytecode.ts +14 -2
  427. package/_cjs/utils/accounts.js +0 -8
  428. package/_cjs/utils/accounts.js.map +0 -1
  429. package/_esm/utils/accounts.js +0 -7
  430. package/_esm/utils/accounts.js.map +0 -1
  431. package/_types/utils/accounts.d.ts +0 -3
  432. package/_types/utils/accounts.d.ts.map +0 -1
  433. package/utils/accounts.ts +0 -7
@@ -101,6 +101,7 @@ export declare const base: {
101
101
  readonly transaction: {
102
102
  exclude: [] | undefined;
103
103
  format: (args: ({
104
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
104
105
  r?: `0x${string}`;
105
106
  s?: `0x${string}`;
106
107
  v?: `0x${string}`;
@@ -109,7 +110,6 @@ export declare const base: {
109
110
  maxFeePerBlobGas?: `0x${string}` | undefined;
110
111
  maxFeePerGas?: `0x${string}` | undefined;
111
112
  maxPriorityFeePerGas?: `0x${string}` | undefined;
112
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
113
113
  to?: `0x${string}` | null;
114
114
  from?: `0x${string}`;
115
115
  gas?: `0x${string}`;
@@ -124,6 +124,7 @@ export declare const base: {
124
124
  transactionIndex?: `0x${string}` | null;
125
125
  chainId?: `0x${string}` | undefined;
126
126
  } & {
127
+ type: "0x0";
127
128
  r: `0x${string}`;
128
129
  s: `0x${string}`;
129
130
  v: `0x${string}`;
@@ -132,7 +133,6 @@ export declare const base: {
132
133
  maxFeePerBlobGas?: undefined;
133
134
  maxFeePerGas?: undefined;
134
135
  maxPriorityFeePerGas?: undefined;
135
- type: "0x0";
136
136
  to: `0x${string}` | null;
137
137
  from: `0x${string}`;
138
138
  gas: `0x${string}`;
@@ -151,6 +151,7 @@ export declare const base: {
151
151
  mint?: undefined;
152
152
  sourceHash?: undefined;
153
153
  }) | ({
154
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
154
155
  r?: `0x${string}`;
155
156
  s?: `0x${string}`;
156
157
  v?: `0x${string}`;
@@ -159,7 +160,6 @@ export declare const base: {
159
160
  maxFeePerBlobGas?: `0x${string}` | undefined;
160
161
  maxFeePerGas?: `0x${string}` | undefined;
161
162
  maxPriorityFeePerGas?: `0x${string}` | undefined;
162
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
163
163
  to?: `0x${string}` | null;
164
164
  from?: `0x${string}`;
165
165
  gas?: `0x${string}`;
@@ -179,6 +179,7 @@ export declare const base: {
179
179
  sourceHash: `0x${string}`;
180
180
  type: "0x7e";
181
181
  }) | ({
182
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
182
183
  r?: `0x${string}`;
183
184
  s?: `0x${string}`;
184
185
  v?: `0x${string}`;
@@ -186,7 +187,6 @@ export declare const base: {
186
187
  maxFeePerBlobGas?: `0x${string}` | undefined;
187
188
  maxFeePerGas?: `0x${string}` | undefined;
188
189
  maxPriorityFeePerGas?: `0x${string}` | undefined;
189
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
190
190
  to?: `0x${string}` | null;
191
191
  from?: `0x${string}`;
192
192
  gas?: `0x${string}`;
@@ -202,6 +202,7 @@ export declare const base: {
202
202
  chainId?: `0x${string}` | undefined;
203
203
  yParity?: `0x${string}` | undefined;
204
204
  } & {
205
+ type: "0x0";
205
206
  r: `0x${string}`;
206
207
  s: `0x${string}`;
207
208
  v: `0x${string}`;
@@ -210,7 +211,6 @@ export declare const base: {
210
211
  maxFeePerBlobGas?: undefined;
211
212
  maxFeePerGas?: undefined;
212
213
  maxPriorityFeePerGas?: undefined;
213
- type: "0x0";
214
214
  to: `0x${string}` | null;
215
215
  from: `0x${string}`;
216
216
  gas: `0x${string}`;
@@ -229,6 +229,7 @@ export declare const base: {
229
229
  mint?: undefined;
230
230
  sourceHash?: undefined;
231
231
  }) | ({
232
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
232
233
  r?: `0x${string}`;
233
234
  s?: `0x${string}`;
234
235
  v?: `0x${string}`;
@@ -236,7 +237,6 @@ export declare const base: {
236
237
  maxFeePerBlobGas?: `0x${string}` | undefined;
237
238
  maxFeePerGas?: `0x${string}` | undefined;
238
239
  maxPriorityFeePerGas?: `0x${string}` | undefined;
239
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
240
240
  to?: `0x${string}` | null;
241
241
  from?: `0x${string}`;
242
242
  gas?: `0x${string}`;
@@ -252,6 +252,7 @@ export declare const base: {
252
252
  chainId?: `0x${string}` | undefined;
253
253
  yParity?: `0x${string}` | undefined;
254
254
  } & {
255
+ type: "0x1";
255
256
  r: `0x${string}`;
256
257
  s: `0x${string}`;
257
258
  v: `0x${string}`;
@@ -259,7 +260,6 @@ export declare const base: {
259
260
  maxFeePerBlobGas?: undefined;
260
261
  maxFeePerGas?: undefined;
261
262
  maxPriorityFeePerGas?: undefined;
262
- type: "0x1";
263
263
  to: `0x${string}` | null;
264
264
  from: `0x${string}`;
265
265
  gas: `0x${string}`;
@@ -279,6 +279,7 @@ export declare const base: {
279
279
  mint?: undefined;
280
280
  sourceHash?: undefined;
281
281
  }) | ({
282
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
282
283
  r?: `0x${string}`;
283
284
  s?: `0x${string}`;
284
285
  v?: `0x${string}`;
@@ -286,7 +287,6 @@ export declare const base: {
286
287
  maxFeePerBlobGas?: `0x${string}` | undefined;
287
288
  maxFeePerGas?: `0x${string}` | undefined;
288
289
  maxPriorityFeePerGas?: `0x${string}` | undefined;
289
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
290
290
  to?: `0x${string}` | null;
291
291
  from?: `0x${string}`;
292
292
  gas?: `0x${string}`;
@@ -302,6 +302,7 @@ export declare const base: {
302
302
  chainId?: `0x${string}` | undefined;
303
303
  yParity?: `0x${string}` | undefined;
304
304
  } & {
305
+ type: "0x2";
305
306
  r: `0x${string}`;
306
307
  s: `0x${string}`;
307
308
  v: `0x${string}`;
@@ -309,7 +310,6 @@ export declare const base: {
309
310
  maxFeePerBlobGas?: undefined;
310
311
  maxFeePerGas: `0x${string}`;
311
312
  maxPriorityFeePerGas: `0x${string}`;
312
- type: "0x2";
313
313
  to: `0x${string}` | null;
314
314
  from: `0x${string}`;
315
315
  gas: `0x${string}`;
@@ -329,6 +329,7 @@ export declare const base: {
329
329
  mint?: undefined;
330
330
  sourceHash?: undefined;
331
331
  }) | ({
332
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
332
333
  r?: `0x${string}`;
333
334
  s?: `0x${string}`;
334
335
  v?: `0x${string}`;
@@ -336,7 +337,6 @@ export declare const base: {
336
337
  maxFeePerBlobGas?: `0x${string}` | undefined;
337
338
  maxFeePerGas?: `0x${string}` | undefined;
338
339
  maxPriorityFeePerGas?: `0x${string}` | undefined;
339
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
340
340
  to?: `0x${string}` | null;
341
341
  from?: `0x${string}`;
342
342
  gas?: `0x${string}`;
@@ -357,6 +357,7 @@ export declare const base: {
357
357
  sourceHash: `0x${string}`;
358
358
  type: "0x7e";
359
359
  }) | ({
360
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
360
361
  r?: `0x${string}`;
361
362
  s?: `0x${string}`;
362
363
  v?: `0x${string}`;
@@ -364,7 +365,6 @@ export declare const base: {
364
365
  maxFeePerBlobGas?: `0x${string}` | undefined;
365
366
  maxFeePerGas?: `0x${string}` | undefined;
366
367
  maxPriorityFeePerGas?: `0x${string}` | undefined;
367
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
368
368
  to?: `0x${string}` | null;
369
369
  from?: `0x${string}`;
370
370
  gas?: `0x${string}`;
@@ -380,6 +380,7 @@ export declare const base: {
380
380
  chainId?: `0x${string}` | undefined;
381
381
  yParity?: `0x${string}` | undefined;
382
382
  } & {
383
+ type: "0x0";
383
384
  r: `0x${string}`;
384
385
  s: `0x${string}`;
385
386
  v: `0x${string}`;
@@ -388,7 +389,6 @@ export declare const base: {
388
389
  maxFeePerBlobGas?: undefined;
389
390
  maxFeePerGas?: undefined;
390
391
  maxPriorityFeePerGas?: undefined;
391
- type: "0x0";
392
392
  to: `0x${string}` | null;
393
393
  from: `0x${string}`;
394
394
  gas: `0x${string}`;
@@ -407,6 +407,7 @@ export declare const base: {
407
407
  mint?: undefined;
408
408
  sourceHash?: undefined;
409
409
  }) | ({
410
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
410
411
  r?: `0x${string}`;
411
412
  s?: `0x${string}`;
412
413
  v?: `0x${string}`;
@@ -414,7 +415,6 @@ export declare const base: {
414
415
  maxFeePerBlobGas?: `0x${string}` | undefined;
415
416
  maxFeePerGas?: `0x${string}` | undefined;
416
417
  maxPriorityFeePerGas?: `0x${string}` | undefined;
417
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
418
418
  to?: `0x${string}` | null;
419
419
  from?: `0x${string}`;
420
420
  gas?: `0x${string}`;
@@ -430,6 +430,7 @@ export declare const base: {
430
430
  chainId?: `0x${string}` | undefined;
431
431
  yParity?: `0x${string}` | undefined;
432
432
  } & {
433
+ type: "0x1";
433
434
  r: `0x${string}`;
434
435
  s: `0x${string}`;
435
436
  v: `0x${string}`;
@@ -437,7 +438,6 @@ export declare const base: {
437
438
  maxFeePerBlobGas?: undefined;
438
439
  maxFeePerGas?: undefined;
439
440
  maxPriorityFeePerGas?: undefined;
440
- type: "0x1";
441
441
  to: `0x${string}` | null;
442
442
  from: `0x${string}`;
443
443
  gas: `0x${string}`;
@@ -457,6 +457,7 @@ export declare const base: {
457
457
  mint?: undefined;
458
458
  sourceHash?: undefined;
459
459
  }) | ({
460
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
460
461
  r?: `0x${string}`;
461
462
  s?: `0x${string}`;
462
463
  v?: `0x${string}`;
@@ -464,7 +465,6 @@ export declare const base: {
464
465
  maxFeePerBlobGas?: `0x${string}` | undefined;
465
466
  maxFeePerGas?: `0x${string}` | undefined;
466
467
  maxPriorityFeePerGas?: `0x${string}` | undefined;
467
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
468
468
  to?: `0x${string}` | null;
469
469
  from?: `0x${string}`;
470
470
  gas?: `0x${string}`;
@@ -480,6 +480,7 @@ export declare const base: {
480
480
  chainId?: `0x${string}` | undefined;
481
481
  yParity?: `0x${string}` | undefined;
482
482
  } & {
483
+ type: "0x2";
483
484
  r: `0x${string}`;
484
485
  s: `0x${string}`;
485
486
  v: `0x${string}`;
@@ -487,7 +488,6 @@ export declare const base: {
487
488
  maxFeePerBlobGas?: undefined;
488
489
  maxFeePerGas: `0x${string}`;
489
490
  maxPriorityFeePerGas: `0x${string}`;
490
- type: "0x2";
491
491
  to: `0x${string}` | null;
492
492
  from: `0x${string}`;
493
493
  gas: `0x${string}`;
@@ -507,6 +507,7 @@ export declare const base: {
507
507
  mint?: undefined;
508
508
  sourceHash?: undefined;
509
509
  }) | ({
510
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
510
511
  r?: `0x${string}`;
511
512
  s?: `0x${string}`;
512
513
  v?: `0x${string}`;
@@ -514,7 +515,6 @@ export declare const base: {
514
515
  maxFeePerBlobGas?: `0x${string}` | undefined;
515
516
  maxFeePerGas?: `0x${string}` | undefined;
516
517
  maxPriorityFeePerGas?: `0x${string}` | undefined;
517
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
518
518
  to?: `0x${string}` | null;
519
519
  from?: `0x${string}`;
520
520
  gas?: `0x${string}`;
@@ -535,6 +535,7 @@ export declare const base: {
535
535
  sourceHash: `0x${string}`;
536
536
  type: "0x7e";
537
537
  }) | ({
538
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
538
539
  r?: `0x${string}`;
539
540
  s?: `0x${string}`;
540
541
  v?: `0x${string}`;
@@ -542,7 +543,6 @@ export declare const base: {
542
543
  maxFeePerBlobGas?: `0x${string}` | undefined;
543
544
  maxFeePerGas?: `0x${string}` | undefined;
544
545
  maxPriorityFeePerGas?: `0x${string}` | undefined;
545
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
546
546
  to?: `0x${string}` | null;
547
547
  from?: `0x${string}`;
548
548
  gas?: `0x${string}`;
@@ -558,6 +558,7 @@ export declare const base: {
558
558
  chainId?: `0x${string}` | undefined;
559
559
  yParity?: `0x${string}` | undefined;
560
560
  } & {
561
+ type: "0x0";
561
562
  r: `0x${string}`;
562
563
  s: `0x${string}`;
563
564
  v: `0x${string}`;
@@ -566,7 +567,6 @@ export declare const base: {
566
567
  maxFeePerBlobGas?: undefined;
567
568
  maxFeePerGas?: undefined;
568
569
  maxPriorityFeePerGas?: undefined;
569
- type: "0x0";
570
570
  to: `0x${string}` | null;
571
571
  from: `0x${string}`;
572
572
  gas: `0x${string}`;
@@ -585,6 +585,7 @@ export declare const base: {
585
585
  mint?: undefined;
586
586
  sourceHash?: undefined;
587
587
  }) | ({
588
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
588
589
  r?: `0x${string}`;
589
590
  s?: `0x${string}`;
590
591
  v?: `0x${string}`;
@@ -592,7 +593,6 @@ export declare const base: {
592
593
  maxFeePerBlobGas?: `0x${string}` | undefined;
593
594
  maxFeePerGas?: `0x${string}` | undefined;
594
595
  maxPriorityFeePerGas?: `0x${string}` | undefined;
595
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
596
596
  to?: `0x${string}` | null;
597
597
  from?: `0x${string}`;
598
598
  gas?: `0x${string}`;
@@ -608,6 +608,7 @@ export declare const base: {
608
608
  chainId?: `0x${string}` | undefined;
609
609
  yParity?: `0x${string}` | undefined;
610
610
  } & {
611
+ type: "0x1";
611
612
  r: `0x${string}`;
612
613
  s: `0x${string}`;
613
614
  v: `0x${string}`;
@@ -615,7 +616,6 @@ export declare const base: {
615
616
  maxFeePerBlobGas?: undefined;
616
617
  maxFeePerGas?: undefined;
617
618
  maxPriorityFeePerGas?: undefined;
618
- type: "0x1";
619
619
  to: `0x${string}` | null;
620
620
  from: `0x${string}`;
621
621
  gas: `0x${string}`;
@@ -635,6 +635,7 @@ export declare const base: {
635
635
  mint?: undefined;
636
636
  sourceHash?: undefined;
637
637
  }) | ({
638
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
638
639
  r?: `0x${string}`;
639
640
  s?: `0x${string}`;
640
641
  v?: `0x${string}`;
@@ -642,7 +643,6 @@ export declare const base: {
642
643
  maxFeePerBlobGas?: `0x${string}` | undefined;
643
644
  maxFeePerGas?: `0x${string}` | undefined;
644
645
  maxPriorityFeePerGas?: `0x${string}` | undefined;
645
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
646
646
  to?: `0x${string}` | null;
647
647
  from?: `0x${string}`;
648
648
  gas?: `0x${string}`;
@@ -658,6 +658,7 @@ export declare const base: {
658
658
  chainId?: `0x${string}` | undefined;
659
659
  yParity?: `0x${string}` | undefined;
660
660
  } & {
661
+ type: "0x2";
661
662
  r: `0x${string}`;
662
663
  s: `0x${string}`;
663
664
  v: `0x${string}`;
@@ -665,7 +666,6 @@ export declare const base: {
665
666
  maxFeePerBlobGas?: undefined;
666
667
  maxFeePerGas: `0x${string}`;
667
668
  maxPriorityFeePerGas: `0x${string}`;
668
- type: "0x2";
669
669
  to: `0x${string}` | null;
670
670
  from: `0x${string}`;
671
671
  gas: `0x${string}`;
@@ -685,6 +685,7 @@ export declare const base: {
685
685
  mint?: undefined;
686
686
  sourceHash?: undefined;
687
687
  }) | ({
688
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
688
689
  r?: `0x${string}`;
689
690
  s?: `0x${string}`;
690
691
  v?: `0x${string}`;
@@ -692,7 +693,6 @@ export declare const base: {
692
693
  maxFeePerBlobGas?: `0x${string}` | undefined;
693
694
  maxFeePerGas?: `0x${string}` | undefined;
694
695
  maxPriorityFeePerGas?: `0x${string}` | undefined;
695
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
696
696
  to?: `0x${string}` | null;
697
697
  from?: `0x${string}`;
698
698
  gas?: `0x${string}`;
@@ -708,6 +708,7 @@ export declare const base: {
708
708
  chainId?: `0x${string}` | undefined;
709
709
  yParity?: `0x${string}` | undefined;
710
710
  } & {
711
+ type: "0x3";
711
712
  r: `0x${string}`;
712
713
  s: `0x${string}`;
713
714
  v: `0x${string}`;
@@ -715,7 +716,6 @@ export declare const base: {
715
716
  maxFeePerBlobGas: `0x${string}`;
716
717
  maxFeePerGas: `0x${string}`;
717
718
  maxPriorityFeePerGas: `0x${string}`;
718
- type: "0x3";
719
719
  to: `0x${string}` | null;
720
720
  from: `0x${string}`;
721
721
  gas: `0x${string}`;
@@ -735,6 +735,7 @@ export declare const base: {
735
735
  mint?: undefined;
736
736
  sourceHash?: undefined;
737
737
  }) | ({
738
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
738
739
  r?: `0x${string}`;
739
740
  s?: `0x${string}`;
740
741
  v?: `0x${string}`;
@@ -742,7 +743,6 @@ export declare const base: {
742
743
  maxFeePerBlobGas?: `0x${string}` | undefined;
743
744
  maxFeePerGas?: `0x${string}` | undefined;
744
745
  maxPriorityFeePerGas?: `0x${string}` | undefined;
745
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
746
746
  to?: `0x${string}` | null;
747
747
  from?: `0x${string}`;
748
748
  gas?: `0x${string}`;