viem 2.7.22 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/_cjs/accounts/utils/sign.js +1 -0
  3. package/_cjs/accounts/utils/sign.js.map +1 -1
  4. package/_cjs/accounts/utils/signTransaction.js +11 -2
  5. package/_cjs/accounts/utils/signTransaction.js.map +1 -1
  6. package/_cjs/actions/index.js +4 -2
  7. package/_cjs/actions/index.js.map +1 -1
  8. package/_cjs/actions/public/call.js +3 -1
  9. package/_cjs/actions/public/call.js.map +1 -1
  10. package/_cjs/actions/public/estimateGas.js +3 -1
  11. package/_cjs/actions/public/estimateGas.js.map +1 -1
  12. package/_cjs/actions/public/getBlobBaseFee.js +11 -0
  13. package/_cjs/actions/public/getBlobBaseFee.js.map +1 -0
  14. package/_cjs/actions/public/watchBlockNumber.js +34 -26
  15. package/_cjs/actions/public/watchBlockNumber.js.map +1 -1
  16. package/_cjs/actions/wallet/prepareTransactionRequest.js +11 -2
  17. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  18. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  19. package/_cjs/actions/wallet/sendTransaction.js +13 -11
  20. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  21. package/_cjs/actions/wallet/signTransaction.js +7 -6
  22. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  23. package/_cjs/chains/celo/serializers.js +10 -15
  24. package/_cjs/chains/celo/serializers.js.map +1 -1
  25. package/_cjs/chains/definitions/plumeTestnet.js +30 -0
  26. package/_cjs/chains/definitions/plumeTestnet.js.map +1 -0
  27. package/_cjs/chains/definitions/rss3.js +49 -0
  28. package/_cjs/chains/definitions/rss3.js.map +1 -0
  29. package/_cjs/chains/definitions/rss3Sepolia.js +50 -0
  30. package/_cjs/chains/definitions/rss3Sepolia.js.map +1 -0
  31. package/_cjs/chains/index.js +9 -3
  32. package/_cjs/chains/index.js.map +1 -1
  33. package/_cjs/chains/opStack/actions/estimateL1Fee.js +1 -10
  34. package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -1
  35. package/_cjs/chains/opStack/actions/estimateL1Gas.js +1 -10
  36. package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -1
  37. package/_cjs/chains/opStack/actions/finalizeWithdrawal.js +1 -1
  38. package/_cjs/chains/opStack/actions/finalizeWithdrawal.js.map +1 -1
  39. package/_cjs/chains/opStack/actions/proveWithdrawal.js +1 -1
  40. package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -1
  41. package/_cjs/chains/opStack/serializers.js +3 -3
  42. package/_cjs/chains/opStack/serializers.js.map +1 -1
  43. package/_cjs/chains/zksync/actions/sendTransaction.js.map +1 -1
  44. package/_cjs/chains/zksync/actions/signEip712Transaction.js.map +1 -1
  45. package/_cjs/chains/zksync/serializers.js +6 -6
  46. package/_cjs/chains/zksync/serializers.js.map +1 -1
  47. package/_cjs/clients/decorators/public.js.map +1 -1
  48. package/_cjs/clients/decorators/wallet.js.map +1 -1
  49. package/_cjs/constants/blob.js +11 -0
  50. package/_cjs/constants/blob.js.map +1 -0
  51. package/_cjs/constants/kzg.js +7 -0
  52. package/_cjs/constants/kzg.js.map +1 -0
  53. package/_cjs/errors/blob.js +63 -0
  54. package/_cjs/errors/blob.js.map +1 -0
  55. package/_cjs/errors/transaction.js +1 -0
  56. package/_cjs/errors/transaction.js.map +1 -1
  57. package/_cjs/errors/version.js +1 -1
  58. package/_cjs/errors/version.js.map +1 -1
  59. package/_cjs/index.js +22 -2
  60. package/_cjs/index.js.map +1 -1
  61. package/_cjs/node/index.js +3 -1
  62. package/_cjs/node/index.js.map +1 -1
  63. package/_cjs/node/trustedSetups.js +7 -0
  64. package/_cjs/node/trustedSetups.js.map +1 -0
  65. package/_cjs/types/eip4844.js +3 -0
  66. package/_cjs/types/eip4844.js.map +1 -0
  67. package/_cjs/types/kzg.js +3 -0
  68. package/_cjs/types/kzg.js.map +1 -0
  69. package/_cjs/utils/blob/blobsToCommitments.js +20 -0
  70. package/_cjs/utils/blob/blobsToCommitments.js.map +1 -0
  71. package/_cjs/utils/blob/blobsToProofs.js +26 -0
  72. package/_cjs/utils/blob/blobsToProofs.js.map +1 -0
  73. package/_cjs/utils/blob/commitmentToVersionedHash.js +14 -0
  74. package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -0
  75. package/_cjs/utils/blob/commitmentsToVersionedHashes.js +19 -0
  76. package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -0
  77. package/_cjs/utils/blob/fromBlobs.js +36 -0
  78. package/_cjs/utils/blob/fromBlobs.js.map +1 -0
  79. package/_cjs/utils/blob/sidecarsToVersionedHashes.js +19 -0
  80. package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -0
  81. package/_cjs/utils/blob/toBlobSidecars.js +22 -0
  82. package/_cjs/utils/blob/toBlobSidecars.js.map +1 -0
  83. package/_cjs/utils/blob/toBlobs.js +48 -0
  84. package/_cjs/utils/blob/toBlobs.js.map +1 -0
  85. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  86. package/_cjs/utils/formatters/transaction.js.map +1 -1
  87. package/_cjs/utils/formatters/transactionRequest.js +22 -25
  88. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  89. package/_cjs/utils/kzg/defineKzg.js +11 -0
  90. package/_cjs/utils/kzg/defineKzg.js.map +1 -0
  91. package/_cjs/utils/kzg/setupKzg.js +17 -0
  92. package/_cjs/utils/kzg/setupKzg.js.map +1 -0
  93. package/_cjs/utils/signature/compactSignatureToSignature.js +3 -3
  94. package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
  95. package/_cjs/utils/signature/hexToSignature.js +6 -1
  96. package/_cjs/utils/signature/hexToSignature.js.map +1 -1
  97. package/_cjs/utils/signature/signatureToCompactSignature.js +3 -3
  98. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
  99. package/_cjs/utils/signature/signatureToHex.js +9 -3
  100. package/_cjs/utils/signature/signatureToHex.js.map +1 -1
  101. package/_cjs/utils/transaction/assertTransaction.js +26 -1
  102. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  103. package/_cjs/utils/transaction/getSerializedTransactionType.js +2 -0
  104. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  105. package/_cjs/utils/transaction/getTransactionType.js +7 -1
  106. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  107. package/_cjs/utils/transaction/parseTransaction.js +73 -0
  108. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  109. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  110. package/_cjs/utils/transaction/serializeTransaction.js +84 -21
  111. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  112. package/_esm/accounts/utils/sign.js +1 -0
  113. package/_esm/accounts/utils/sign.js.map +1 -1
  114. package/_esm/accounts/utils/signTransaction.js +13 -2
  115. package/_esm/accounts/utils/signTransaction.js.map +1 -1
  116. package/_esm/actions/index.js +1 -0
  117. package/_esm/actions/index.js.map +1 -1
  118. package/_esm/actions/public/call.js +3 -1
  119. package/_esm/actions/public/call.js.map +1 -1
  120. package/_esm/actions/public/estimateGas.js +3 -1
  121. package/_esm/actions/public/estimateGas.js.map +1 -1
  122. package/_esm/actions/public/getBlobBaseFee.js +27 -0
  123. package/_esm/actions/public/getBlobBaseFee.js.map +1 -0
  124. package/_esm/actions/public/watchBlockNumber.js +34 -26
  125. package/_esm/actions/public/watchBlockNumber.js.map +1 -1
  126. package/_esm/actions/wallet/prepareTransactionRequest.js +12 -2
  127. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  128. package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
  129. package/_esm/actions/wallet/sendTransaction.js +13 -11
  130. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  131. package/_esm/actions/wallet/signTransaction.js +6 -5
  132. package/_esm/actions/wallet/signTransaction.js.map +1 -1
  133. package/_esm/chains/celo/serializers.js +10 -17
  134. package/_esm/chains/celo/serializers.js.map +1 -1
  135. package/_esm/chains/definitions/plumeTestnet.js +27 -0
  136. package/_esm/chains/definitions/plumeTestnet.js.map +1 -0
  137. package/_esm/chains/definitions/rss3.js +46 -0
  138. package/_esm/chains/definitions/rss3.js.map +1 -0
  139. package/_esm/chains/definitions/rss3Sepolia.js +47 -0
  140. package/_esm/chains/definitions/rss3Sepolia.js.map +1 -0
  141. package/_esm/chains/index.js +3 -0
  142. package/_esm/chains/index.js.map +1 -1
  143. package/_esm/chains/opStack/actions/estimateL1Fee.js +1 -10
  144. package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -1
  145. package/_esm/chains/opStack/actions/estimateL1Gas.js +1 -10
  146. package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -1
  147. package/_esm/chains/opStack/actions/finalizeWithdrawal.js +1 -1
  148. package/_esm/chains/opStack/actions/finalizeWithdrawal.js.map +1 -1
  149. package/_esm/chains/opStack/actions/proveWithdrawal.js +1 -1
  150. package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -1
  151. package/_esm/chains/opStack/serializers.js +2 -2
  152. package/_esm/chains/opStack/serializers.js.map +1 -1
  153. package/_esm/chains/zksync/actions/sendTransaction.js.map +1 -1
  154. package/_esm/chains/zksync/actions/signEip712Transaction.js.map +1 -1
  155. package/_esm/chains/zksync/serializers.js +6 -6
  156. package/_esm/chains/zksync/serializers.js.map +1 -1
  157. package/_esm/clients/decorators/public.js.map +1 -1
  158. package/_esm/clients/decorators/wallet.js.map +1 -1
  159. package/_esm/constants/blob.js +16 -0
  160. package/_esm/constants/blob.js.map +1 -0
  161. package/_esm/constants/kzg.js +7 -0
  162. package/_esm/constants/kzg.js.map +1 -0
  163. package/_esm/errors/blob.js +56 -0
  164. package/_esm/errors/blob.js.map +1 -0
  165. package/_esm/errors/transaction.js +1 -0
  166. package/_esm/errors/transaction.js.map +1 -1
  167. package/_esm/errors/version.js +1 -1
  168. package/_esm/errors/version.js.map +1 -1
  169. package/_esm/index.js +10 -0
  170. package/_esm/index.js.map +1 -1
  171. package/_esm/node/index.js +1 -0
  172. package/_esm/node/index.js.map +1 -1
  173. package/_esm/node/trustedSetups.js +4 -0
  174. package/_esm/node/trustedSetups.js.map +1 -0
  175. package/_esm/types/eip4844.js +2 -0
  176. package/_esm/types/eip4844.js.map +1 -0
  177. package/_esm/types/kzg.js +2 -0
  178. package/_esm/types/kzg.js.map +1 -0
  179. package/_esm/utils/blob/blobsToCommitments.js +28 -0
  180. package/_esm/utils/blob/blobsToCommitments.js.map +1 -0
  181. package/_esm/utils/blob/blobsToProofs.js +38 -0
  182. package/_esm/utils/blob/blobsToProofs.js.map +1 -0
  183. package/_esm/utils/blob/commitmentToVersionedHash.js +27 -0
  184. package/_esm/utils/blob/commitmentToVersionedHash.js.map +1 -0
  185. package/_esm/utils/blob/commitmentsToVersionedHashes.js +32 -0
  186. package/_esm/utils/blob/commitmentsToVersionedHashes.js.map +1 -0
  187. package/_esm/utils/blob/fromBlobs.js +33 -0
  188. package/_esm/utils/blob/fromBlobs.js.map +1 -0
  189. package/_esm/utils/blob/sidecarsToVersionedHashes.js +26 -0
  190. package/_esm/utils/blob/sidecarsToVersionedHashes.js.map +1 -0
  191. package/_esm/utils/blob/toBlobSidecars.js +45 -0
  192. package/_esm/utils/blob/toBlobSidecars.js.map +1 -0
  193. package/_esm/utils/blob/toBlobs.js +58 -0
  194. package/_esm/utils/blob/toBlobs.js.map +1 -0
  195. package/_esm/utils/encoding/toRlp.js.map +1 -1
  196. package/_esm/utils/formatters/transaction.js.map +1 -1
  197. package/_esm/utils/formatters/transactionRequest.js +23 -26
  198. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  199. package/_esm/utils/kzg/defineKzg.js +21 -0
  200. package/_esm/utils/kzg/defineKzg.js.map +1 -0
  201. package/_esm/utils/kzg/setupKzg.js +25 -0
  202. package/_esm/utils/kzg/setupKzg.js.map +1 -0
  203. package/_esm/utils/signature/compactSignatureToSignature.js +3 -3
  204. package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -1
  205. package/_esm/utils/signature/hexToSignature.js +6 -1
  206. package/_esm/utils/signature/hexToSignature.js.map +1 -1
  207. package/_esm/utils/signature/signatureToCompactSignature.js +4 -4
  208. package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -1
  209. package/_esm/utils/signature/signatureToHex.js +11 -4
  210. package/_esm/utils/signature/signatureToHex.js.map +1 -1
  211. package/_esm/utils/transaction/assertTransaction.js +24 -0
  212. package/_esm/utils/transaction/assertTransaction.js.map +1 -1
  213. package/_esm/utils/transaction/getSerializedTransactionType.js +2 -0
  214. package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
  215. package/_esm/utils/transaction/getTransactionType.js +7 -1
  216. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  217. package/_esm/utils/transaction/parseTransaction.js +74 -1
  218. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  219. package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
  220. package/_esm/utils/transaction/serializeTransaction.js +85 -22
  221. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  222. package/_types/accounts/types.d.ts +3 -3
  223. package/_types/accounts/types.d.ts.map +1 -1
  224. package/_types/accounts/utils/sign.d.ts.map +1 -1
  225. package/_types/accounts/utils/signTransaction.d.ts +5 -5
  226. package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
  227. package/_types/actions/index.d.ts +1 -0
  228. package/_types/actions/index.d.ts.map +1 -1
  229. package/_types/actions/public/call.d.ts.map +1 -1
  230. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  231. package/_types/actions/public/getBlobBaseFee.d.ts +30 -0
  232. package/_types/actions/public/getBlobBaseFee.d.ts.map +1 -0
  233. package/_types/actions/public/watchBlockNumber.d.ts.map +1 -1
  234. package/_types/actions/wallet/prepareTransactionRequest.d.ts +27 -8
  235. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  236. package/_types/actions/wallet/sendRawTransaction.d.ts +3 -5
  237. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
  238. package/_types/actions/wallet/sendTransaction.d.ts +4 -2
  239. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  240. package/_types/actions/wallet/signTransaction.d.ts +5 -2
  241. package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
  242. package/_types/chains/celo/chainConfig.d.ts +1282 -376
  243. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  244. package/_types/chains/celo/formatters.d.ts +1282 -376
  245. package/_types/chains/celo/formatters.d.ts.map +1 -1
  246. package/_types/chains/celo/serializers.d.ts +3 -4
  247. package/_types/chains/celo/serializers.d.ts.map +1 -1
  248. package/_types/chains/celo/types.d.ts +3 -8
  249. package/_types/chains/celo/types.d.ts.map +1 -1
  250. package/_types/chains/definitions/ancient8.d.ts +452 -188
  251. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  252. package/_types/chains/definitions/ancient8Sepolia.d.ts +452 -188
  253. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  254. package/_types/chains/definitions/base.d.ts +452 -188
  255. package/_types/chains/definitions/base.d.ts.map +1 -1
  256. package/_types/chains/definitions/baseGoerli.d.ts +452 -188
  257. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  258. package/_types/chains/definitions/baseSepolia.d.ts +452 -188
  259. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  260. package/_types/chains/definitions/celo.d.ts +1282 -376
  261. package/_types/chains/definitions/celo.d.ts.map +1 -1
  262. package/_types/chains/definitions/celoAlfajores.d.ts +1282 -376
  263. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  264. package/_types/chains/definitions/fraxtal.d.ts +452 -188
  265. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  266. package/_types/chains/definitions/fraxtalTestnet.d.ts +452 -188
  267. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  268. package/_types/chains/definitions/liskSepolia.d.ts +452 -188
  269. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  270. package/_types/chains/definitions/optimism.d.ts +452 -188
  271. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  272. package/_types/chains/definitions/optimismGoerli.d.ts +452 -188
  273. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  274. package/_types/chains/definitions/optimismSepolia.d.ts +452 -188
  275. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  276. package/_types/chains/definitions/pgn.d.ts +451 -187
  277. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  278. package/_types/chains/definitions/pgnTestnet.d.ts +451 -187
  279. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  280. package/_types/chains/definitions/plumeTestnet.d.ts +37 -0
  281. package/_types/chains/definitions/plumeTestnet.d.ts.map +1 -0
  282. package/_types/chains/definitions/rss3.d.ts +1080 -0
  283. package/_types/chains/definitions/rss3.d.ts.map +1 -0
  284. package/_types/chains/definitions/rss3Sepolia.d.ts +1080 -0
  285. package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -0
  286. package/_types/chains/definitions/zkSync.d.ts +692 -32
  287. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  288. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +692 -32
  289. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  290. package/_types/chains/definitions/zkSyncTestnet.d.ts +692 -32
  291. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  292. package/_types/chains/definitions/zora.d.ts +452 -188
  293. package/_types/chains/definitions/zora.d.ts.map +1 -1
  294. package/_types/chains/definitions/zoraSepolia.d.ts +452 -188
  295. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  296. package/_types/chains/definitions/zoraTestnet.d.ts +452 -188
  297. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  298. package/_types/chains/index.d.ts +4 -1
  299. package/_types/chains/index.d.ts.map +1 -1
  300. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -1
  301. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -1
  302. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -1
  303. package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -1
  304. package/_types/chains/opStack/chainConfig.d.ts +452 -188
  305. package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
  306. package/_types/chains/opStack/formatters.d.ts +451 -187
  307. package/_types/chains/opStack/formatters.d.ts.map +1 -1
  308. package/_types/chains/opStack/serializers.d.ts +4 -3
  309. package/_types/chains/opStack/serializers.d.ts.map +1 -1
  310. package/_types/chains/opStack/types/transaction.d.ts +4 -8
  311. package/_types/chains/opStack/types/transaction.d.ts.map +1 -1
  312. package/_types/chains/zksync/actions/sendTransaction.d.ts.map +1 -1
  313. package/_types/chains/zksync/chainConfig.d.ts +692 -32
  314. package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
  315. package/_types/chains/zksync/formatters.d.ts +692 -32
  316. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  317. package/_types/chains/zksync/serializers.d.ts +3 -3
  318. package/_types/chains/zksync/serializers.d.ts.map +1 -1
  319. package/_types/chains/zksync/types/chain.d.ts +2 -2
  320. package/_types/chains/zksync/types/chain.d.ts.map +1 -1
  321. package/_types/chains/zksync/types/eip712.d.ts +2 -2
  322. package/_types/chains/zksync/types/eip712.d.ts.map +1 -1
  323. package/_types/clients/decorators/public.d.ts +2 -2
  324. package/_types/clients/decorators/public.d.ts.map +1 -1
  325. package/_types/clients/decorators/wallet.d.ts +4 -4
  326. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  327. package/_types/constants/blob.d.ts +11 -0
  328. package/_types/constants/blob.d.ts.map +1 -0
  329. package/_types/constants/kzg.d.ts +6 -0
  330. package/_types/constants/kzg.d.ts.map +1 -0
  331. package/_types/errors/blob.d.ts +40 -0
  332. package/_types/errors/blob.d.ts.map +1 -0
  333. package/_types/errors/transaction.d.ts.map +1 -1
  334. package/_types/errors/version.d.ts +1 -1
  335. package/_types/errors/version.d.ts.map +1 -1
  336. package/_types/index.d.ts +11 -0
  337. package/_types/index.d.ts.map +1 -1
  338. package/_types/node/index.d.ts +1 -0
  339. package/_types/node/index.d.ts.map +1 -1
  340. package/_types/node/trustedSetups.d.ts +3 -0
  341. package/_types/node/trustedSetups.d.ts.map +1 -0
  342. package/_types/types/account.d.ts +3 -3
  343. package/_types/types/account.d.ts.map +1 -1
  344. package/_types/types/chain.d.ts +2 -2
  345. package/_types/types/chain.d.ts.map +1 -1
  346. package/_types/types/eip1193.d.ts +3 -3
  347. package/_types/types/eip1193.d.ts.map +1 -1
  348. package/_types/types/eip4844.d.ts +11 -0
  349. package/_types/types/eip4844.d.ts.map +1 -0
  350. package/_types/types/fee.d.ts +2 -2
  351. package/_types/types/fee.d.ts.map +1 -1
  352. package/_types/types/kzg.d.ts +24 -0
  353. package/_types/types/kzg.d.ts.map +1 -0
  354. package/_types/types/misc.d.ts +15 -1
  355. package/_types/types/misc.d.ts.map +1 -1
  356. package/_types/types/rpc.d.ts +4 -4
  357. package/_types/types/rpc.d.ts.map +1 -1
  358. package/_types/types/transaction.d.ts +44 -9
  359. package/_types/types/transaction.d.ts.map +1 -1
  360. package/_types/types/utils.d.ts +38 -2
  361. package/_types/types/utils.d.ts.map +1 -1
  362. package/_types/utils/blob/blobsToCommitments.d.ts +31 -0
  363. package/_types/utils/blob/blobsToCommitments.d.ts.map +1 -0
  364. package/_types/utils/blob/blobsToProofs.d.ts +37 -0
  365. package/_types/utils/blob/blobsToProofs.d.ts.map +1 -0
  366. package/_types/utils/blob/commitmentToVersionedHash.d.ts +35 -0
  367. package/_types/utils/blob/commitmentToVersionedHash.d.ts.map +1 -0
  368. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts +34 -0
  369. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts.map +1 -0
  370. package/_types/utils/blob/fromBlobs.d.ts +16 -0
  371. package/_types/utils/blob/fromBlobs.d.ts.map +1 -0
  372. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts +29 -0
  373. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts.map +1 -0
  374. package/_types/utils/blob/toBlobSidecars.d.ts +57 -0
  375. package/_types/utils/blob/toBlobSidecars.d.ts.map +1 -0
  376. package/_types/utils/blob/toBlobs.d.ts +28 -0
  377. package/_types/utils/blob/toBlobs.d.ts.map +1 -0
  378. package/_types/utils/encoding/toRlp.d.ts +1 -1
  379. package/_types/utils/encoding/toRlp.d.ts.map +1 -1
  380. package/_types/utils/formatters/transaction.d.ts +25 -25
  381. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  382. package/_types/utils/formatters/transactionRequest.d.ts +227 -3
  383. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  384. package/_types/utils/kzg/defineKzg.d.ts +21 -0
  385. package/_types/utils/kzg/defineKzg.d.ts.map +1 -0
  386. package/_types/utils/kzg/setupKzg.d.ts +21 -0
  387. package/_types/utils/kzg/setupKzg.d.ts.map +1 -0
  388. package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
  389. package/_types/utils/signature/signatureToCompactSignature.d.ts +1 -1
  390. package/_types/utils/signature/signatureToHex.d.ts +2 -2
  391. package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
  392. package/_types/utils/transaction/assertTransaction.d.ts +4 -1
  393. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
  394. package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -3
  395. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
  396. package/_types/utils/transaction/getTransactionType.d.ts +34 -3
  397. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  398. package/_types/utils/transaction/parseTransaction.d.ts +7 -5
  399. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  400. package/_types/utils/transaction/serializeTransaction.d.ts +13 -6
  401. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  402. package/accounts/types.ts +9 -5
  403. package/accounts/utils/sign.ts +1 -0
  404. package/accounts/utils/signTransaction.ts +37 -22
  405. package/actions/index.ts +5 -0
  406. package/actions/public/call.ts +4 -0
  407. package/actions/public/estimateGas.ts +4 -0
  408. package/actions/public/getBlobBaseFee.ts +42 -0
  409. package/actions/public/watchBlockNumber.ts +33 -23
  410. package/actions/wallet/prepareTransactionRequest.ts +134 -61
  411. package/actions/wallet/sendRawTransaction.ts +3 -5
  412. package/actions/wallet/sendTransaction.ts +41 -31
  413. package/actions/wallet/signTransaction.ts +34 -18
  414. package/chains/celo/serializers.ts +12 -25
  415. package/chains/celo/types.ts +5 -10
  416. package/chains/definitions/plumeTestnet.ts +28 -0
  417. package/chains/definitions/rss3.ts +47 -0
  418. package/chains/definitions/rss3Sepolia.ts +48 -0
  419. package/chains/index.ts +3 -1
  420. package/chains/opStack/actions/estimateL1Fee.ts +12 -16
  421. package/chains/opStack/actions/estimateL1Gas.ts +12 -16
  422. package/chains/opStack/actions/finalizeWithdrawal.ts +3 -2
  423. package/chains/opStack/actions/proveWithdrawal.ts +3 -2
  424. package/chains/opStack/serializers.ts +5 -5
  425. package/chains/opStack/types/transaction.ts +9 -11
  426. package/chains/zksync/actions/sendTransaction.ts +2 -1
  427. package/chains/zksync/actions/signEip712Transaction.ts +2 -2
  428. package/chains/zksync/serializers.ts +14 -10
  429. package/chains/zksync/types/chain.ts +4 -7
  430. package/chains/zksync/types/eip712.ts +2 -2
  431. package/clients/decorators/public.ts +8 -4
  432. package/clients/decorators/wallet.ts +14 -6
  433. package/constants/blob.ts +21 -0
  434. package/constants/kzg.ts +9 -0
  435. package/errors/blob.ts +67 -0
  436. package/errors/transaction.ts +1 -0
  437. package/errors/version.ts +1 -1
  438. package/index.ts +64 -0
  439. package/node/index.ts +2 -0
  440. package/node/trustedSetups.ts +11 -0
  441. package/package.json +1 -1
  442. package/trusted-setups/mainnet.json +8265 -0
  443. package/trusted-setups/minimal.json +8265 -0
  444. package/types/account.ts +3 -3
  445. package/types/chain.ts +3 -1
  446. package/types/eip1193.ts +3 -3
  447. package/types/eip4844.ts +12 -0
  448. package/types/fee.ts +3 -2
  449. package/types/kzg.ts +32 -0
  450. package/types/misc.ts +20 -1
  451. package/types/rpc.ts +11 -6
  452. package/types/transaction.ts +75 -17
  453. package/types/utils.ts +49 -1
  454. package/utils/blob/blobsToCommitments.ts +69 -0
  455. package/utils/blob/blobsToProofs.ts +93 -0
  456. package/utils/blob/commitmentToVersionedHash.ts +62 -0
  457. package/utils/blob/commitmentsToVersionedHashes.ts +71 -0
  458. package/utils/blob/fromBlobs.ts +73 -0
  459. package/utils/blob/sidecarsToVersionedHashes.ts +66 -0
  460. package/utils/blob/toBlobSidecars.ts +109 -0
  461. package/utils/blob/toBlobs.ts +113 -0
  462. package/utils/encoding/toRlp.ts +2 -2
  463. package/utils/formatters/transaction.ts +3 -2
  464. package/utils/formatters/transactionRequest.ts +28 -35
  465. package/utils/kzg/defineKzg.ts +30 -0
  466. package/utils/kzg/setupKzg.ts +38 -0
  467. package/utils/signature/compactSignatureToSignature.ts +3 -3
  468. package/utils/signature/hexToSignature.ts +6 -1
  469. package/utils/signature/signatureToCompactSignature.ts +4 -4
  470. package/utils/signature/signatureToHex.ts +9 -4
  471. package/utils/transaction/assertTransaction.ts +41 -0
  472. package/utils/transaction/getSerializedTransactionType.ts +34 -11
  473. package/utils/transaction/getTransactionType.ts +109 -26
  474. package/utils/transaction/parseTransaction.ts +128 -8
  475. package/utils/transaction/serializeAccessList.ts +1 -1
  476. package/utils/transaction/serializeTransaction.ts +172 -39
@@ -69,20 +69,20 @@ export declare const zkSync: {
69
69
  readonly transaction: {
70
70
  exclude: [] | undefined;
71
71
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../index.js").ZkSyncRpcTransaction>) => ({
72
+ r: `0x${string}`;
73
+ s: `0x${string}`;
74
+ v: bigint;
75
+ to: `0x${string}` | null;
76
+ from: `0x${string}`;
72
77
  gas: bigint;
78
+ nonce: number;
73
79
  value: bigint;
74
80
  blockHash: `0x${string}` | null;
75
81
  blockNumber: bigint | null;
76
- from: `0x${string}`;
77
82
  hash: `0x${string}`;
78
83
  input: `0x${string}`;
79
- nonce: number;
80
- r: `0x${string}`;
81
- s: `0x${string}`;
82
- to: `0x${string}` | null;
83
84
  transactionIndex: number | null;
84
85
  typeHex: `0x${string}` | null;
85
- v: bigint;
86
86
  gasPrice: bigint;
87
87
  maxFeePerBlobGas?: undefined;
88
88
  maxFeePerGas?: undefined;
@@ -95,20 +95,20 @@ export declare const zkSync: {
95
95
  l1BatchNumber: bigint | null;
96
96
  l1BatchTxIndex: bigint | null;
97
97
  } | {
98
+ r: `0x${string}`;
99
+ s: `0x${string}`;
100
+ v: bigint;
101
+ to: `0x${string}` | null;
102
+ from: `0x${string}`;
98
103
  gas: bigint;
104
+ nonce: number;
99
105
  value: bigint;
100
106
  blockHash: `0x${string}` | null;
101
107
  blockNumber: bigint | null;
102
- from: `0x${string}`;
103
108
  hash: `0x${string}`;
104
109
  input: `0x${string}`;
105
- nonce: number;
106
- r: `0x${string}`;
107
- s: `0x${string}`;
108
- to: `0x${string}` | null;
109
110
  transactionIndex: number | null;
110
111
  typeHex: `0x${string}` | null;
111
- v: bigint;
112
112
  gasPrice: undefined;
113
113
  maxFeePerBlobGas?: undefined;
114
114
  maxFeePerGas: bigint;
@@ -121,20 +121,20 @@ export declare const zkSync: {
121
121
  l1BatchNumber: bigint | null;
122
122
  l1BatchTxIndex: bigint | null;
123
123
  } | {
124
+ r: `0x${string}`;
125
+ s: `0x${string}`;
126
+ v: bigint;
127
+ to: `0x${string}` | null;
128
+ from: `0x${string}`;
124
129
  gas: bigint;
130
+ nonce: number;
125
131
  value: bigint;
126
132
  blockHash: `0x${string}` | null;
127
133
  blockNumber: bigint | null;
128
- from: `0x${string}`;
129
134
  hash: `0x${string}`;
130
135
  input: `0x${string}`;
131
- nonce: number;
132
- r: `0x${string}`;
133
- s: `0x${string}`;
134
- to: `0x${string}` | null;
135
136
  transactionIndex: number | null;
136
137
  typeHex: `0x${string}` | null;
137
- v: bigint;
138
138
  gasPrice: undefined;
139
139
  maxFeePerBlobGas?: undefined;
140
140
  maxFeePerGas: bigint;
@@ -463,7 +463,625 @@ export declare const zkSync: {
463
463
  };
464
464
  readonly transactionRequest: {
465
465
  exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
466
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../index.js").ZkSyncTransactionRequest>) => ({
466
+ format: (args: ({
467
+ data?: `0x${string}` | undefined;
468
+ from?: `0x${string}` | undefined;
469
+ gas?: bigint | undefined;
470
+ nonce?: number | undefined;
471
+ to?: `0x${string}` | null | undefined;
472
+ value?: bigint | undefined;
473
+ gasPrice?: bigint | undefined;
474
+ maxFeePerBlobGas?: bigint | undefined;
475
+ maxFeePerGas?: bigint | undefined;
476
+ maxPriorityFeePerGas?: bigint | undefined;
477
+ accessList?: undefined;
478
+ blobs?: undefined;
479
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
480
+ } & {
481
+ data?: `0x${string}` | undefined;
482
+ from: `0x${string}`;
483
+ gas?: bigint | undefined;
484
+ nonce?: number | undefined;
485
+ to?: `0x${string}` | null | undefined;
486
+ value?: bigint | undefined;
487
+ gasPrice?: bigint | undefined;
488
+ maxFeePerBlobGas?: undefined;
489
+ maxFeePerGas?: undefined;
490
+ maxPriorityFeePerGas?: undefined;
491
+ accessList?: undefined;
492
+ blobs?: undefined;
493
+ type?: "legacy" | undefined;
494
+ } & {
495
+ gasPerPubdata?: undefined;
496
+ customSignature?: undefined;
497
+ paymaster?: undefined;
498
+ paymasterInput?: undefined;
499
+ factoryDeps?: undefined;
500
+ }) | ({
501
+ data?: `0x${string}` | undefined;
502
+ from?: `0x${string}` | undefined;
503
+ gas?: bigint | undefined;
504
+ nonce?: number | undefined;
505
+ to?: `0x${string}` | null | undefined;
506
+ value?: bigint | undefined;
507
+ gasPrice?: bigint | undefined;
508
+ maxFeePerBlobGas?: bigint | undefined;
509
+ maxFeePerGas?: bigint | undefined;
510
+ maxPriorityFeePerGas?: bigint | undefined;
511
+ accessList?: undefined;
512
+ blobs?: undefined;
513
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
514
+ } & {
515
+ data?: `0x${string}` | undefined;
516
+ from: `0x${string}`;
517
+ gas?: bigint | undefined;
518
+ nonce?: number | undefined;
519
+ to?: `0x${string}` | null | undefined;
520
+ value?: bigint | undefined;
521
+ gasPrice?: bigint | undefined;
522
+ maxFeePerBlobGas?: undefined;
523
+ maxFeePerGas?: undefined;
524
+ maxPriorityFeePerGas?: undefined;
525
+ accessList?: import("../../index.js").AccessList | undefined;
526
+ blobs?: undefined;
527
+ type?: "eip2930" | undefined;
528
+ } & {
529
+ gasPerPubdata?: undefined;
530
+ customSignature?: undefined;
531
+ paymaster?: undefined;
532
+ paymasterInput?: undefined;
533
+ factoryDeps?: undefined;
534
+ }) | ({
535
+ data?: `0x${string}` | undefined;
536
+ from?: `0x${string}` | undefined;
537
+ gas?: bigint | undefined;
538
+ nonce?: number | undefined;
539
+ to?: `0x${string}` | null | undefined;
540
+ value?: bigint | undefined;
541
+ gasPrice?: bigint | undefined;
542
+ maxFeePerBlobGas?: bigint | undefined;
543
+ maxFeePerGas?: bigint | undefined;
544
+ maxPriorityFeePerGas?: bigint | undefined;
545
+ accessList?: undefined;
546
+ blobs?: undefined;
547
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
548
+ } & {
549
+ data?: `0x${string}` | undefined;
550
+ from: `0x${string}`;
551
+ gas?: bigint | undefined;
552
+ nonce?: number | undefined;
553
+ to?: `0x${string}` | null | undefined;
554
+ value?: bigint | undefined;
555
+ gasPrice?: undefined;
556
+ maxFeePerBlobGas?: undefined;
557
+ maxFeePerGas?: bigint | undefined;
558
+ maxPriorityFeePerGas?: bigint | undefined;
559
+ accessList?: import("../../index.js").AccessList | undefined;
560
+ blobs?: undefined;
561
+ type?: "eip1559" | undefined;
562
+ } & {
563
+ gasPerPubdata?: undefined;
564
+ customSignature?: undefined;
565
+ paymaster?: undefined;
566
+ paymasterInput?: undefined;
567
+ factoryDeps?: undefined;
568
+ }) | ({
569
+ data?: `0x${string}` | undefined;
570
+ from?: `0x${string}` | undefined;
571
+ gas?: bigint | undefined;
572
+ nonce?: number | undefined;
573
+ to?: `0x${string}` | null | undefined;
574
+ value?: bigint | undefined;
575
+ gasPrice?: bigint | undefined;
576
+ maxFeePerBlobGas?: bigint | undefined;
577
+ maxFeePerGas?: bigint | undefined;
578
+ maxPriorityFeePerGas?: bigint | undefined;
579
+ accessList?: undefined;
580
+ blobs?: undefined;
581
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
582
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
583
+ gasPerPubdata?: bigint | undefined;
584
+ customSignature?: `0x${string}` | undefined;
585
+ factoryDeps?: `0x${string}`[] | undefined;
586
+ type?: "priority" | "eip712" | undefined;
587
+ } & {
588
+ paymaster: `0x${string}`;
589
+ paymasterInput: `0x${string}`;
590
+ }) | ({
591
+ data?: `0x${string}` | undefined;
592
+ from?: `0x${string}` | undefined;
593
+ gas?: bigint | undefined;
594
+ nonce?: number | undefined;
595
+ to?: `0x${string}` | null | undefined;
596
+ value?: bigint | undefined;
597
+ gasPrice?: bigint | undefined;
598
+ maxFeePerBlobGas?: bigint | undefined;
599
+ maxFeePerGas?: bigint | undefined;
600
+ maxPriorityFeePerGas?: bigint | undefined;
601
+ accessList?: undefined;
602
+ blobs?: undefined;
603
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
604
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
605
+ gasPerPubdata?: bigint | undefined;
606
+ customSignature?: `0x${string}` | undefined;
607
+ factoryDeps?: `0x${string}`[] | undefined;
608
+ type?: "priority" | "eip712" | undefined;
609
+ } & {
610
+ paymaster?: undefined;
611
+ paymasterInput?: undefined;
612
+ }) | ({
613
+ data?: `0x${string}` | undefined;
614
+ from?: `0x${string}` | undefined;
615
+ gas?: bigint | undefined;
616
+ nonce?: number | undefined;
617
+ to?: `0x${string}` | null | undefined;
618
+ value?: bigint | undefined;
619
+ gasPrice?: bigint | undefined;
620
+ maxFeePerBlobGas?: bigint | undefined;
621
+ maxFeePerGas?: bigint | undefined;
622
+ maxPriorityFeePerGas?: bigint | undefined;
623
+ accessList?: import("../../index.js").AccessList | undefined;
624
+ blobs?: undefined;
625
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
626
+ } & {
627
+ data?: `0x${string}` | undefined;
628
+ from: `0x${string}`;
629
+ gas?: bigint | undefined;
630
+ nonce?: number | undefined;
631
+ to?: `0x${string}` | null | undefined;
632
+ value?: bigint | undefined;
633
+ gasPrice?: bigint | undefined;
634
+ maxFeePerBlobGas?: undefined;
635
+ maxFeePerGas?: undefined;
636
+ maxPriorityFeePerGas?: undefined;
637
+ accessList?: undefined;
638
+ blobs?: undefined;
639
+ type?: "legacy" | undefined;
640
+ } & {
641
+ gasPerPubdata?: undefined;
642
+ customSignature?: undefined;
643
+ paymaster?: undefined;
644
+ paymasterInput?: undefined;
645
+ factoryDeps?: undefined;
646
+ }) | ({
647
+ data?: `0x${string}` | undefined;
648
+ from?: `0x${string}` | undefined;
649
+ gas?: bigint | undefined;
650
+ nonce?: number | undefined;
651
+ to?: `0x${string}` | null | undefined;
652
+ value?: bigint | undefined;
653
+ gasPrice?: bigint | undefined;
654
+ maxFeePerBlobGas?: bigint | undefined;
655
+ maxFeePerGas?: bigint | undefined;
656
+ maxPriorityFeePerGas?: bigint | undefined;
657
+ accessList?: import("../../index.js").AccessList | undefined;
658
+ blobs?: undefined;
659
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
660
+ } & {
661
+ data?: `0x${string}` | undefined;
662
+ from: `0x${string}`;
663
+ gas?: bigint | undefined;
664
+ nonce?: number | undefined;
665
+ to?: `0x${string}` | null | undefined;
666
+ value?: bigint | undefined;
667
+ gasPrice?: bigint | undefined;
668
+ maxFeePerBlobGas?: undefined;
669
+ maxFeePerGas?: undefined;
670
+ maxPriorityFeePerGas?: undefined;
671
+ accessList?: import("../../index.js").AccessList | undefined;
672
+ blobs?: undefined;
673
+ type?: "eip2930" | undefined;
674
+ } & {
675
+ gasPerPubdata?: undefined;
676
+ customSignature?: undefined;
677
+ paymaster?: undefined;
678
+ paymasterInput?: undefined;
679
+ factoryDeps?: undefined;
680
+ }) | ({
681
+ data?: `0x${string}` | undefined;
682
+ from?: `0x${string}` | undefined;
683
+ gas?: bigint | undefined;
684
+ nonce?: number | undefined;
685
+ to?: `0x${string}` | null | undefined;
686
+ value?: bigint | undefined;
687
+ gasPrice?: bigint | undefined;
688
+ maxFeePerBlobGas?: bigint | undefined;
689
+ maxFeePerGas?: bigint | undefined;
690
+ maxPriorityFeePerGas?: bigint | undefined;
691
+ accessList?: import("../../index.js").AccessList | undefined;
692
+ blobs?: undefined;
693
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
694
+ } & {
695
+ data?: `0x${string}` | undefined;
696
+ from: `0x${string}`;
697
+ gas?: bigint | undefined;
698
+ nonce?: number | undefined;
699
+ to?: `0x${string}` | null | undefined;
700
+ value?: bigint | undefined;
701
+ gasPrice?: undefined;
702
+ maxFeePerBlobGas?: undefined;
703
+ maxFeePerGas?: bigint | undefined;
704
+ maxPriorityFeePerGas?: bigint | undefined;
705
+ accessList?: import("../../index.js").AccessList | undefined;
706
+ blobs?: undefined;
707
+ type?: "eip1559" | undefined;
708
+ } & {
709
+ gasPerPubdata?: undefined;
710
+ customSignature?: undefined;
711
+ paymaster?: undefined;
712
+ paymasterInput?: undefined;
713
+ factoryDeps?: undefined;
714
+ }) | ({
715
+ data?: `0x${string}` | undefined;
716
+ from?: `0x${string}` | undefined;
717
+ gas?: bigint | undefined;
718
+ nonce?: number | undefined;
719
+ to?: `0x${string}` | null | undefined;
720
+ value?: bigint | undefined;
721
+ gasPrice?: bigint | undefined;
722
+ maxFeePerBlobGas?: bigint | undefined;
723
+ maxFeePerGas?: bigint | undefined;
724
+ maxPriorityFeePerGas?: bigint | undefined;
725
+ accessList?: import("../../index.js").AccessList | undefined;
726
+ blobs?: undefined;
727
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
728
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
729
+ gasPerPubdata?: bigint | undefined;
730
+ customSignature?: `0x${string}` | undefined;
731
+ factoryDeps?: `0x${string}`[] | undefined;
732
+ type?: "priority" | "eip712" | undefined;
733
+ } & {
734
+ paymaster: `0x${string}`;
735
+ paymasterInput: `0x${string}`;
736
+ }) | ({
737
+ data?: `0x${string}` | undefined;
738
+ from?: `0x${string}` | undefined;
739
+ gas?: bigint | undefined;
740
+ nonce?: number | undefined;
741
+ to?: `0x${string}` | null | undefined;
742
+ value?: bigint | undefined;
743
+ gasPrice?: bigint | undefined;
744
+ maxFeePerBlobGas?: bigint | undefined;
745
+ maxFeePerGas?: bigint | undefined;
746
+ maxPriorityFeePerGas?: bigint | undefined;
747
+ accessList?: import("../../index.js").AccessList | undefined;
748
+ blobs?: undefined;
749
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
750
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
751
+ gasPerPubdata?: bigint | undefined;
752
+ customSignature?: `0x${string}` | undefined;
753
+ factoryDeps?: `0x${string}`[] | undefined;
754
+ type?: "priority" | "eip712" | undefined;
755
+ } & {
756
+ paymaster?: undefined;
757
+ paymasterInput?: undefined;
758
+ }) | ({
759
+ data?: `0x${string}` | undefined;
760
+ from?: `0x${string}` | undefined;
761
+ gas?: bigint | undefined;
762
+ nonce?: number | undefined;
763
+ to?: `0x${string}` | null | undefined;
764
+ value?: bigint | undefined;
765
+ gasPrice?: bigint | undefined;
766
+ maxFeePerBlobGas?: bigint | undefined;
767
+ maxFeePerGas?: bigint | undefined;
768
+ maxPriorityFeePerGas?: bigint | undefined;
769
+ accessList?: import("../../index.js").AccessList | undefined;
770
+ blobs?: undefined;
771
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
772
+ } & {
773
+ data?: `0x${string}` | undefined;
774
+ from: `0x${string}`;
775
+ gas?: bigint | undefined;
776
+ nonce?: number | undefined;
777
+ to?: `0x${string}` | null | undefined;
778
+ value?: bigint | undefined;
779
+ gasPrice?: bigint | undefined;
780
+ maxFeePerBlobGas?: undefined;
781
+ maxFeePerGas?: undefined;
782
+ maxPriorityFeePerGas?: undefined;
783
+ accessList?: undefined;
784
+ blobs?: undefined;
785
+ type?: "legacy" | undefined;
786
+ } & {
787
+ gasPerPubdata?: undefined;
788
+ customSignature?: undefined;
789
+ paymaster?: undefined;
790
+ paymasterInput?: undefined;
791
+ factoryDeps?: undefined;
792
+ }) | ({
793
+ data?: `0x${string}` | undefined;
794
+ from?: `0x${string}` | undefined;
795
+ gas?: bigint | undefined;
796
+ nonce?: number | undefined;
797
+ to?: `0x${string}` | null | undefined;
798
+ value?: bigint | undefined;
799
+ gasPrice?: bigint | undefined;
800
+ maxFeePerBlobGas?: bigint | undefined;
801
+ maxFeePerGas?: bigint | undefined;
802
+ maxPriorityFeePerGas?: bigint | undefined;
803
+ accessList?: import("../../index.js").AccessList | undefined;
804
+ blobs?: undefined;
805
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
806
+ } & {
807
+ data?: `0x${string}` | undefined;
808
+ from: `0x${string}`;
809
+ gas?: bigint | undefined;
810
+ nonce?: number | undefined;
811
+ to?: `0x${string}` | null | undefined;
812
+ value?: bigint | undefined;
813
+ gasPrice?: bigint | undefined;
814
+ maxFeePerBlobGas?: undefined;
815
+ maxFeePerGas?: undefined;
816
+ maxPriorityFeePerGas?: undefined;
817
+ accessList?: import("../../index.js").AccessList | undefined;
818
+ blobs?: undefined;
819
+ type?: "eip2930" | undefined;
820
+ } & {
821
+ gasPerPubdata?: undefined;
822
+ customSignature?: undefined;
823
+ paymaster?: undefined;
824
+ paymasterInput?: undefined;
825
+ factoryDeps?: undefined;
826
+ }) | ({
827
+ data?: `0x${string}` | undefined;
828
+ from?: `0x${string}` | undefined;
829
+ gas?: bigint | undefined;
830
+ nonce?: number | undefined;
831
+ to?: `0x${string}` | null | undefined;
832
+ value?: bigint | undefined;
833
+ gasPrice?: bigint | undefined;
834
+ maxFeePerBlobGas?: bigint | undefined;
835
+ maxFeePerGas?: bigint | undefined;
836
+ maxPriorityFeePerGas?: bigint | undefined;
837
+ accessList?: import("../../index.js").AccessList | undefined;
838
+ blobs?: undefined;
839
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
840
+ } & {
841
+ data?: `0x${string}` | undefined;
842
+ from: `0x${string}`;
843
+ gas?: bigint | undefined;
844
+ nonce?: number | undefined;
845
+ to?: `0x${string}` | null | undefined;
846
+ value?: bigint | undefined;
847
+ gasPrice?: undefined;
848
+ maxFeePerBlobGas?: undefined;
849
+ maxFeePerGas?: bigint | undefined;
850
+ maxPriorityFeePerGas?: bigint | undefined;
851
+ accessList?: import("../../index.js").AccessList | undefined;
852
+ blobs?: undefined;
853
+ type?: "eip1559" | undefined;
854
+ } & {
855
+ gasPerPubdata?: undefined;
856
+ customSignature?: undefined;
857
+ paymaster?: undefined;
858
+ paymasterInput?: undefined;
859
+ factoryDeps?: undefined;
860
+ }) | ({
861
+ data?: `0x${string}` | undefined;
862
+ from?: `0x${string}` | undefined;
863
+ gas?: bigint | undefined;
864
+ nonce?: number | undefined;
865
+ to?: `0x${string}` | null | undefined;
866
+ value?: bigint | undefined;
867
+ gasPrice?: bigint | undefined;
868
+ maxFeePerBlobGas?: bigint | undefined;
869
+ maxFeePerGas?: bigint | undefined;
870
+ maxPriorityFeePerGas?: bigint | undefined;
871
+ accessList?: import("../../index.js").AccessList | undefined;
872
+ blobs?: undefined;
873
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
874
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
875
+ gasPerPubdata?: bigint | undefined;
876
+ customSignature?: `0x${string}` | undefined;
877
+ factoryDeps?: `0x${string}`[] | undefined;
878
+ type?: "priority" | "eip712" | undefined;
879
+ } & {
880
+ paymaster: `0x${string}`;
881
+ paymasterInput: `0x${string}`;
882
+ }) | ({
883
+ data?: `0x${string}` | undefined;
884
+ from?: `0x${string}` | undefined;
885
+ gas?: bigint | undefined;
886
+ nonce?: number | undefined;
887
+ to?: `0x${string}` | null | undefined;
888
+ value?: bigint | undefined;
889
+ gasPrice?: bigint | undefined;
890
+ maxFeePerBlobGas?: bigint | undefined;
891
+ maxFeePerGas?: bigint | undefined;
892
+ maxPriorityFeePerGas?: bigint | undefined;
893
+ accessList?: import("../../index.js").AccessList | undefined;
894
+ blobs?: undefined;
895
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
896
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
897
+ gasPerPubdata?: bigint | undefined;
898
+ customSignature?: `0x${string}` | undefined;
899
+ factoryDeps?: `0x${string}`[] | undefined;
900
+ type?: "priority" | "eip712" | undefined;
901
+ } & {
902
+ paymaster?: undefined;
903
+ paymasterInput?: undefined;
904
+ }) | ({
905
+ data?: `0x${string}` | undefined;
906
+ from?: `0x${string}` | undefined;
907
+ gas?: bigint | undefined;
908
+ nonce?: number | undefined;
909
+ value?: bigint | undefined;
910
+ to?: `0x${string}` | null | undefined;
911
+ gasPrice?: bigint | undefined;
912
+ maxFeePerGas?: bigint | undefined;
913
+ maxPriorityFeePerGas?: bigint | undefined;
914
+ maxFeePerBlobGas?: bigint | undefined;
915
+ accessList?: import("../../index.js").AccessList | undefined;
916
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
917
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
918
+ } & {
919
+ data?: `0x${string}` | undefined;
920
+ from: `0x${string}`;
921
+ gas?: bigint | undefined;
922
+ nonce?: number | undefined;
923
+ to?: `0x${string}` | null | undefined;
924
+ value?: bigint | undefined;
925
+ gasPrice?: bigint | undefined;
926
+ maxFeePerBlobGas?: undefined;
927
+ maxFeePerGas?: undefined;
928
+ maxPriorityFeePerGas?: undefined;
929
+ accessList?: undefined;
930
+ blobs?: undefined;
931
+ type?: "legacy" | undefined;
932
+ } & {
933
+ gasPerPubdata?: undefined;
934
+ customSignature?: undefined;
935
+ paymaster?: undefined;
936
+ paymasterInput?: undefined;
937
+ factoryDeps?: undefined;
938
+ }) | ({
939
+ data?: `0x${string}` | undefined;
940
+ from?: `0x${string}` | undefined;
941
+ gas?: bigint | undefined;
942
+ nonce?: number | undefined;
943
+ value?: bigint | undefined;
944
+ to?: `0x${string}` | null | undefined;
945
+ gasPrice?: bigint | undefined;
946
+ maxFeePerGas?: bigint | undefined;
947
+ maxPriorityFeePerGas?: bigint | undefined;
948
+ maxFeePerBlobGas?: bigint | undefined;
949
+ accessList?: import("../../index.js").AccessList | undefined;
950
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
951
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
952
+ } & {
953
+ data?: `0x${string}` | undefined;
954
+ from: `0x${string}`;
955
+ gas?: bigint | undefined;
956
+ nonce?: number | undefined;
957
+ to?: `0x${string}` | null | undefined;
958
+ value?: bigint | undefined;
959
+ gasPrice?: bigint | undefined;
960
+ maxFeePerBlobGas?: undefined;
961
+ maxFeePerGas?: undefined;
962
+ maxPriorityFeePerGas?: undefined;
963
+ accessList?: import("../../index.js").AccessList | undefined;
964
+ blobs?: undefined;
965
+ type?: "eip2930" | undefined;
966
+ } & {
967
+ gasPerPubdata?: undefined;
968
+ customSignature?: undefined;
969
+ paymaster?: undefined;
970
+ paymasterInput?: undefined;
971
+ factoryDeps?: undefined;
972
+ }) | ({
973
+ data?: `0x${string}` | undefined;
974
+ from?: `0x${string}` | undefined;
975
+ gas?: bigint | undefined;
976
+ nonce?: number | undefined;
977
+ value?: bigint | undefined;
978
+ to?: `0x${string}` | null | undefined;
979
+ gasPrice?: bigint | undefined;
980
+ maxFeePerGas?: bigint | undefined;
981
+ maxPriorityFeePerGas?: bigint | undefined;
982
+ maxFeePerBlobGas?: bigint | undefined;
983
+ accessList?: import("../../index.js").AccessList | undefined;
984
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
985
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
986
+ } & {
987
+ data?: `0x${string}` | undefined;
988
+ from: `0x${string}`;
989
+ gas?: bigint | undefined;
990
+ nonce?: number | undefined;
991
+ to?: `0x${string}` | null | undefined;
992
+ value?: bigint | undefined;
993
+ gasPrice?: undefined;
994
+ maxFeePerBlobGas?: undefined;
995
+ maxFeePerGas?: bigint | undefined;
996
+ maxPriorityFeePerGas?: bigint | undefined;
997
+ accessList?: import("../../index.js").AccessList | undefined;
998
+ blobs?: undefined;
999
+ type?: "eip1559" | undefined;
1000
+ } & {
1001
+ gasPerPubdata?: undefined;
1002
+ customSignature?: undefined;
1003
+ paymaster?: undefined;
1004
+ paymasterInput?: undefined;
1005
+ factoryDeps?: undefined;
1006
+ }) | ({
1007
+ data?: `0x${string}` | undefined;
1008
+ from?: `0x${string}` | undefined;
1009
+ gas?: bigint | undefined;
1010
+ nonce?: number | undefined;
1011
+ value?: bigint | undefined;
1012
+ to?: `0x${string}` | null | undefined;
1013
+ gasPrice?: bigint | undefined;
1014
+ maxFeePerGas?: bigint | undefined;
1015
+ maxPriorityFeePerGas?: bigint | undefined;
1016
+ maxFeePerBlobGas?: bigint | undefined;
1017
+ accessList?: import("../../index.js").AccessList | undefined;
1018
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1019
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1020
+ } & {
1021
+ data?: `0x${string}` | undefined;
1022
+ from: `0x${string}`;
1023
+ gas?: bigint | undefined;
1024
+ nonce?: number | undefined;
1025
+ value?: bigint | undefined;
1026
+ to: `0x${string}` | null;
1027
+ gasPrice?: undefined;
1028
+ maxFeePerGas?: bigint | undefined;
1029
+ maxPriorityFeePerGas?: bigint | undefined;
1030
+ maxFeePerBlobGas: bigint;
1031
+ accessList?: import("../../index.js").AccessList | undefined;
1032
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1033
+ type?: "eip4844" | undefined;
1034
+ } & {
1035
+ gasPerPubdata?: undefined;
1036
+ customSignature?: undefined;
1037
+ paymaster?: undefined;
1038
+ paymasterInput?: undefined;
1039
+ factoryDeps?: undefined;
1040
+ }) | ({
1041
+ data?: `0x${string}` | undefined;
1042
+ from?: `0x${string}` | undefined;
1043
+ gas?: bigint | undefined;
1044
+ nonce?: number | undefined;
1045
+ value?: bigint | undefined;
1046
+ to?: `0x${string}` | null | undefined;
1047
+ gasPrice?: bigint | undefined;
1048
+ maxFeePerGas?: bigint | undefined;
1049
+ maxPriorityFeePerGas?: bigint | undefined;
1050
+ maxFeePerBlobGas?: bigint | undefined;
1051
+ accessList?: import("../../index.js").AccessList | undefined;
1052
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1053
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1054
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1055
+ gasPerPubdata?: bigint | undefined;
1056
+ customSignature?: `0x${string}` | undefined;
1057
+ factoryDeps?: `0x${string}`[] | undefined;
1058
+ type?: "priority" | "eip712" | undefined;
1059
+ } & {
1060
+ paymaster: `0x${string}`;
1061
+ paymasterInput: `0x${string}`;
1062
+ }) | ({
1063
+ data?: `0x${string}` | undefined;
1064
+ from?: `0x${string}` | undefined;
1065
+ gas?: bigint | undefined;
1066
+ nonce?: number | undefined;
1067
+ value?: bigint | undefined;
1068
+ to?: `0x${string}` | null | undefined;
1069
+ gasPrice?: bigint | undefined;
1070
+ maxFeePerGas?: bigint | undefined;
1071
+ maxPriorityFeePerGas?: bigint | undefined;
1072
+ maxFeePerBlobGas?: bigint | undefined;
1073
+ accessList?: import("../../index.js").AccessList | undefined;
1074
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1075
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1076
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1077
+ gasPerPubdata?: bigint | undefined;
1078
+ customSignature?: `0x${string}` | undefined;
1079
+ factoryDeps?: `0x${string}`[] | undefined;
1080
+ type?: "priority" | "eip712" | undefined;
1081
+ } & {
1082
+ paymaster?: undefined;
1083
+ paymasterInput?: undefined;
1084
+ })) => ({
467
1085
  data?: `0x${string}` | undefined;
468
1086
  from: `0x${string}`;
469
1087
  gas?: `0x${string}` | undefined;
@@ -471,11 +1089,12 @@ export declare const zkSync: {
471
1089
  to?: `0x${string}` | null | undefined;
472
1090
  value?: `0x${string}` | undefined;
473
1091
  gasPrice?: `0x${string}` | undefined;
1092
+ maxFeePerBlobGas?: undefined;
474
1093
  maxFeePerGas?: undefined;
475
1094
  maxPriorityFeePerGas?: undefined;
476
1095
  accessList?: undefined;
1096
+ blobs?: undefined;
477
1097
  type?: "0x0" | undefined;
478
- maxFeePerBlobGas?: undefined;
479
1098
  eip712Meta?: undefined;
480
1099
  } | {
481
1100
  data?: `0x${string}` | undefined;
@@ -485,11 +1104,12 @@ export declare const zkSync: {
485
1104
  to?: `0x${string}` | null | undefined;
486
1105
  value?: `0x${string}` | undefined;
487
1106
  gasPrice?: `0x${string}` | undefined;
1107
+ maxFeePerBlobGas?: undefined;
488
1108
  maxFeePerGas?: undefined;
489
1109
  maxPriorityFeePerGas?: undefined;
490
1110
  accessList?: undefined;
1111
+ blobs?: undefined;
491
1112
  type?: "0x1" | undefined;
492
- maxFeePerBlobGas?: undefined;
493
1113
  eip712Meta?: undefined;
494
1114
  } | {
495
1115
  data?: `0x${string}` | undefined;
@@ -499,11 +1119,12 @@ export declare const zkSync: {
499
1119
  to?: `0x${string}` | null | undefined;
500
1120
  value?: `0x${string}` | undefined;
501
1121
  gasPrice?: undefined;
1122
+ maxFeePerBlobGas?: undefined;
502
1123
  maxFeePerGas?: `0x${string}` | undefined;
503
1124
  maxPriorityFeePerGas?: `0x${string}` | undefined;
504
1125
  accessList?: undefined;
1126
+ blobs?: undefined;
505
1127
  type?: "0x2" | undefined;
506
- maxFeePerBlobGas?: undefined;
507
1128
  eip712Meta?: undefined;
508
1129
  } | {
509
1130
  data?: `0x${string}` | undefined;
@@ -513,11 +1134,12 @@ export declare const zkSync: {
513
1134
  to?: `0x${string}` | null | undefined;
514
1135
  value?: `0x${string}` | undefined;
515
1136
  gasPrice?: undefined;
1137
+ maxFeePerBlobGas?: undefined;
516
1138
  maxFeePerGas?: `0x${string}` | undefined;
517
1139
  maxPriorityFeePerGas?: `0x${string}` | undefined;
518
1140
  accessList?: undefined;
1141
+ blobs?: undefined;
519
1142
  type: "0xff" | "0x71";
520
- maxFeePerBlobGas?: undefined;
521
1143
  eip712Meta: import("../index.js").ZkSyncEip712Meta;
522
1144
  } | {
523
1145
  data?: `0x${string}` | undefined;
@@ -527,11 +1149,12 @@ export declare const zkSync: {
527
1149
  to?: `0x${string}` | null | undefined;
528
1150
  value?: `0x${string}` | undefined;
529
1151
  gasPrice?: `0x${string}` | undefined;
1152
+ maxFeePerBlobGas?: undefined;
530
1153
  maxFeePerGas?: undefined;
531
1154
  maxPriorityFeePerGas?: undefined;
532
1155
  accessList?: undefined;
1156
+ blobs?: undefined;
533
1157
  type?: "0x0" | undefined;
534
- maxFeePerBlobGas?: undefined;
535
1158
  eip712Meta?: undefined;
536
1159
  } | {
537
1160
  data?: `0x${string}` | undefined;
@@ -541,11 +1164,12 @@ export declare const zkSync: {
541
1164
  to?: `0x${string}` | null | undefined;
542
1165
  value?: `0x${string}` | undefined;
543
1166
  gasPrice?: `0x${string}` | undefined;
1167
+ maxFeePerBlobGas?: undefined;
544
1168
  maxFeePerGas?: undefined;
545
1169
  maxPriorityFeePerGas?: undefined;
546
1170
  accessList?: import("../../index.js").AccessList | undefined;
1171
+ blobs?: undefined;
547
1172
  type?: "0x1" | undefined;
548
- maxFeePerBlobGas?: undefined;
549
1173
  eip712Meta?: undefined;
550
1174
  } | {
551
1175
  data?: `0x${string}` | undefined;
@@ -555,11 +1179,12 @@ export declare const zkSync: {
555
1179
  to?: `0x${string}` | null | undefined;
556
1180
  value?: `0x${string}` | undefined;
557
1181
  gasPrice?: undefined;
1182
+ maxFeePerBlobGas?: undefined;
558
1183
  maxFeePerGas?: `0x${string}` | undefined;
559
1184
  maxPriorityFeePerGas?: `0x${string}` | undefined;
560
1185
  accessList?: import("../../index.js").AccessList | undefined;
1186
+ blobs?: undefined;
561
1187
  type?: "0x2" | undefined;
562
- maxFeePerBlobGas?: undefined;
563
1188
  eip712Meta?: undefined;
564
1189
  } | {
565
1190
  data?: `0x${string}` | undefined;
@@ -569,11 +1194,12 @@ export declare const zkSync: {
569
1194
  to?: `0x${string}` | null | undefined;
570
1195
  value?: `0x${string}` | undefined;
571
1196
  gasPrice?: undefined;
1197
+ maxFeePerBlobGas?: undefined;
572
1198
  maxFeePerGas?: `0x${string}` | undefined;
573
1199
  maxPriorityFeePerGas?: `0x${string}` | undefined;
574
1200
  accessList?: import("../../index.js").AccessList | undefined;
1201
+ blobs?: undefined;
575
1202
  type: "0xff" | "0x71";
576
- maxFeePerBlobGas?: undefined;
577
1203
  eip712Meta: import("../index.js").ZkSyncEip712Meta;
578
1204
  } | {
579
1205
  data?: `0x${string}` | undefined;
@@ -583,11 +1209,12 @@ export declare const zkSync: {
583
1209
  to?: `0x${string}` | null | undefined;
584
1210
  value?: `0x${string}` | undefined;
585
1211
  gasPrice?: `0x${string}` | undefined;
1212
+ maxFeePerBlobGas?: undefined;
586
1213
  maxFeePerGas?: undefined;
587
1214
  maxPriorityFeePerGas?: undefined;
588
1215
  accessList?: undefined;
1216
+ blobs?: undefined;
589
1217
  type?: "0x0" | undefined;
590
- maxFeePerBlobGas?: undefined;
591
1218
  eip712Meta?: undefined;
592
1219
  } | {
593
1220
  data?: `0x${string}` | undefined;
@@ -597,11 +1224,12 @@ export declare const zkSync: {
597
1224
  to?: `0x${string}` | null | undefined;
598
1225
  value?: `0x${string}` | undefined;
599
1226
  gasPrice?: `0x${string}` | undefined;
1227
+ maxFeePerBlobGas?: undefined;
600
1228
  maxFeePerGas?: undefined;
601
1229
  maxPriorityFeePerGas?: undefined;
602
1230
  accessList?: import("../../index.js").AccessList | undefined;
1231
+ blobs?: undefined;
603
1232
  type?: "0x1" | undefined;
604
- maxFeePerBlobGas?: undefined;
605
1233
  eip712Meta?: undefined;
606
1234
  } | {
607
1235
  data?: `0x${string}` | undefined;
@@ -611,11 +1239,12 @@ export declare const zkSync: {
611
1239
  to?: `0x${string}` | null | undefined;
612
1240
  value?: `0x${string}` | undefined;
613
1241
  gasPrice?: undefined;
1242
+ maxFeePerBlobGas?: undefined;
614
1243
  maxFeePerGas?: `0x${string}` | undefined;
615
1244
  maxPriorityFeePerGas?: `0x${string}` | undefined;
616
1245
  accessList?: import("../../index.js").AccessList | undefined;
1246
+ blobs?: undefined;
617
1247
  type?: "0x2" | undefined;
618
- maxFeePerBlobGas?: undefined;
619
1248
  eip712Meta?: undefined;
620
1249
  } | {
621
1250
  data?: `0x${string}` | undefined;
@@ -625,11 +1254,42 @@ export declare const zkSync: {
625
1254
  to?: `0x${string}` | null | undefined;
626
1255
  value?: `0x${string}` | undefined;
627
1256
  gasPrice?: undefined;
1257
+ maxFeePerBlobGas?: undefined;
628
1258
  maxFeePerGas?: `0x${string}` | undefined;
629
1259
  maxPriorityFeePerGas?: `0x${string}` | undefined;
630
1260
  accessList?: import("../../index.js").AccessList | undefined;
1261
+ blobs?: undefined;
1262
+ type: "0xff" | "0x71";
1263
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
1264
+ } | {
1265
+ data?: `0x${string}` | undefined;
1266
+ from: `0x${string}`;
1267
+ gas?: `0x${string}` | undefined;
1268
+ nonce?: `0x${string}` | undefined;
1269
+ value?: `0x${string}` | undefined;
1270
+ to: `0x${string}` | null;
1271
+ gasPrice?: undefined;
1272
+ maxFeePerGas?: `0x${string}` | undefined;
1273
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1274
+ maxFeePerBlobGas: `0x${string}`;
1275
+ accessList?: import("../../index.js").AccessList | undefined;
1276
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1277
+ type?: "0x3" | undefined;
1278
+ eip712Meta?: undefined;
1279
+ } | {
1280
+ data?: `0x${string}` | undefined;
1281
+ from: `0x${string}`;
1282
+ gas?: `0x${string}` | undefined;
1283
+ nonce?: `0x${string}` | undefined;
1284
+ value?: `0x${string}` | undefined;
1285
+ to: `0x${string}` | null | undefined;
1286
+ gasPrice?: undefined;
1287
+ maxFeePerGas?: `0x${string}` | undefined;
1288
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1289
+ maxFeePerBlobGas: undefined;
1290
+ accessList?: import("../../index.js").AccessList | undefined;
1291
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
631
1292
  type: "0xff" | "0x71";
632
- maxFeePerBlobGas?: undefined;
633
1293
  eip712Meta: import("../index.js").ZkSyncEip712Meta;
634
1294
  }) & {
635
1295
  gasPerPubdata: never;
@@ -642,7 +1302,7 @@ export declare const zkSync: {
642
1302
  };
643
1303
  };
644
1304
  serializers: {
645
- readonly transaction: import("../../index.js").SerializeTransactionFn<import("../index.js").ZkSyncTransactionSerializable>;
1305
+ readonly transaction: typeof import("../zksync/serializers.js").serializeTransaction;
646
1306
  };
647
1307
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
648
1308
  readonly network: "zksync-era";