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
@@ -68,20 +68,20 @@ export declare const zkSyncSepoliaTestnet: {
68
68
  readonly transaction: {
69
69
  exclude: [] | undefined;
70
70
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../index.js").ZkSyncRpcTransaction>) => ({
71
+ r: `0x${string}`;
72
+ s: `0x${string}`;
73
+ v: bigint;
74
+ to: `0x${string}` | null;
75
+ from: `0x${string}`;
71
76
  gas: bigint;
77
+ nonce: number;
72
78
  value: bigint;
73
79
  blockHash: `0x${string}` | null;
74
80
  blockNumber: bigint | null;
75
- from: `0x${string}`;
76
81
  hash: `0x${string}`;
77
82
  input: `0x${string}`;
78
- nonce: number;
79
- r: `0x${string}`;
80
- s: `0x${string}`;
81
- to: `0x${string}` | null;
82
83
  transactionIndex: number | null;
83
84
  typeHex: `0x${string}` | null;
84
- v: bigint;
85
85
  gasPrice: bigint;
86
86
  maxFeePerBlobGas?: undefined;
87
87
  maxFeePerGas?: undefined;
@@ -94,20 +94,20 @@ export declare const zkSyncSepoliaTestnet: {
94
94
  l1BatchNumber: bigint | null;
95
95
  l1BatchTxIndex: bigint | null;
96
96
  } | {
97
+ r: `0x${string}`;
98
+ s: `0x${string}`;
99
+ v: bigint;
100
+ to: `0x${string}` | null;
101
+ from: `0x${string}`;
97
102
  gas: bigint;
103
+ nonce: number;
98
104
  value: bigint;
99
105
  blockHash: `0x${string}` | null;
100
106
  blockNumber: bigint | null;
101
- from: `0x${string}`;
102
107
  hash: `0x${string}`;
103
108
  input: `0x${string}`;
104
- nonce: number;
105
- r: `0x${string}`;
106
- s: `0x${string}`;
107
- to: `0x${string}` | null;
108
109
  transactionIndex: number | null;
109
110
  typeHex: `0x${string}` | null;
110
- v: bigint;
111
111
  gasPrice: undefined;
112
112
  maxFeePerBlobGas?: undefined;
113
113
  maxFeePerGas: bigint;
@@ -120,20 +120,20 @@ export declare const zkSyncSepoliaTestnet: {
120
120
  l1BatchNumber: bigint | null;
121
121
  l1BatchTxIndex: bigint | null;
122
122
  } | {
123
+ r: `0x${string}`;
124
+ s: `0x${string}`;
125
+ v: bigint;
126
+ to: `0x${string}` | null;
127
+ from: `0x${string}`;
123
128
  gas: bigint;
129
+ nonce: number;
124
130
  value: bigint;
125
131
  blockHash: `0x${string}` | null;
126
132
  blockNumber: bigint | null;
127
- from: `0x${string}`;
128
133
  hash: `0x${string}`;
129
134
  input: `0x${string}`;
130
- nonce: number;
131
- r: `0x${string}`;
132
- s: `0x${string}`;
133
- to: `0x${string}` | null;
134
135
  transactionIndex: number | null;
135
136
  typeHex: `0x${string}` | null;
136
- v: bigint;
137
137
  gasPrice: undefined;
138
138
  maxFeePerBlobGas?: undefined;
139
139
  maxFeePerGas: bigint;
@@ -462,7 +462,625 @@ export declare const zkSyncSepoliaTestnet: {
462
462
  };
463
463
  readonly transactionRequest: {
464
464
  exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
465
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../index.js").ZkSyncTransactionRequest>) => ({
465
+ format: (args: ({
466
+ data?: `0x${string}` | undefined;
467
+ from?: `0x${string}` | undefined;
468
+ gas?: bigint | undefined;
469
+ nonce?: number | undefined;
470
+ to?: `0x${string}` | null | undefined;
471
+ value?: bigint | undefined;
472
+ gasPrice?: bigint | undefined;
473
+ maxFeePerBlobGas?: bigint | undefined;
474
+ maxFeePerGas?: bigint | undefined;
475
+ maxPriorityFeePerGas?: bigint | undefined;
476
+ accessList?: undefined;
477
+ blobs?: undefined;
478
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
479
+ } & {
480
+ data?: `0x${string}` | undefined;
481
+ from: `0x${string}`;
482
+ gas?: bigint | undefined;
483
+ nonce?: number | undefined;
484
+ to?: `0x${string}` | null | undefined;
485
+ value?: bigint | undefined;
486
+ gasPrice?: bigint | undefined;
487
+ maxFeePerBlobGas?: undefined;
488
+ maxFeePerGas?: undefined;
489
+ maxPriorityFeePerGas?: undefined;
490
+ accessList?: undefined;
491
+ blobs?: undefined;
492
+ type?: "legacy" | undefined;
493
+ } & {
494
+ gasPerPubdata?: undefined;
495
+ customSignature?: undefined;
496
+ paymaster?: undefined;
497
+ paymasterInput?: undefined;
498
+ factoryDeps?: undefined;
499
+ }) | ({
500
+ data?: `0x${string}` | undefined;
501
+ from?: `0x${string}` | undefined;
502
+ gas?: bigint | undefined;
503
+ nonce?: number | undefined;
504
+ to?: `0x${string}` | null | undefined;
505
+ value?: bigint | undefined;
506
+ gasPrice?: bigint | undefined;
507
+ maxFeePerBlobGas?: bigint | undefined;
508
+ maxFeePerGas?: bigint | undefined;
509
+ maxPriorityFeePerGas?: bigint | undefined;
510
+ accessList?: undefined;
511
+ blobs?: undefined;
512
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
513
+ } & {
514
+ data?: `0x${string}` | undefined;
515
+ from: `0x${string}`;
516
+ gas?: bigint | undefined;
517
+ nonce?: number | undefined;
518
+ to?: `0x${string}` | null | undefined;
519
+ value?: bigint | undefined;
520
+ gasPrice?: bigint | undefined;
521
+ maxFeePerBlobGas?: undefined;
522
+ maxFeePerGas?: undefined;
523
+ maxPriorityFeePerGas?: undefined;
524
+ accessList?: import("../../index.js").AccessList | undefined;
525
+ blobs?: undefined;
526
+ type?: "eip2930" | undefined;
527
+ } & {
528
+ gasPerPubdata?: undefined;
529
+ customSignature?: undefined;
530
+ paymaster?: undefined;
531
+ paymasterInput?: undefined;
532
+ factoryDeps?: undefined;
533
+ }) | ({
534
+ data?: `0x${string}` | undefined;
535
+ from?: `0x${string}` | undefined;
536
+ gas?: bigint | undefined;
537
+ nonce?: number | undefined;
538
+ to?: `0x${string}` | null | undefined;
539
+ value?: bigint | undefined;
540
+ gasPrice?: bigint | undefined;
541
+ maxFeePerBlobGas?: bigint | undefined;
542
+ maxFeePerGas?: bigint | undefined;
543
+ maxPriorityFeePerGas?: bigint | undefined;
544
+ accessList?: undefined;
545
+ blobs?: undefined;
546
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
547
+ } & {
548
+ data?: `0x${string}` | undefined;
549
+ from: `0x${string}`;
550
+ gas?: bigint | undefined;
551
+ nonce?: number | undefined;
552
+ to?: `0x${string}` | null | undefined;
553
+ value?: bigint | undefined;
554
+ gasPrice?: undefined;
555
+ maxFeePerBlobGas?: undefined;
556
+ maxFeePerGas?: bigint | undefined;
557
+ maxPriorityFeePerGas?: bigint | undefined;
558
+ accessList?: import("../../index.js").AccessList | undefined;
559
+ blobs?: undefined;
560
+ type?: "eip1559" | undefined;
561
+ } & {
562
+ gasPerPubdata?: undefined;
563
+ customSignature?: undefined;
564
+ paymaster?: undefined;
565
+ paymasterInput?: undefined;
566
+ factoryDeps?: undefined;
567
+ }) | ({
568
+ data?: `0x${string}` | undefined;
569
+ from?: `0x${string}` | undefined;
570
+ gas?: bigint | undefined;
571
+ nonce?: number | undefined;
572
+ to?: `0x${string}` | null | undefined;
573
+ value?: bigint | undefined;
574
+ gasPrice?: bigint | undefined;
575
+ maxFeePerBlobGas?: bigint | undefined;
576
+ maxFeePerGas?: bigint | undefined;
577
+ maxPriorityFeePerGas?: bigint | undefined;
578
+ accessList?: undefined;
579
+ blobs?: undefined;
580
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
581
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
582
+ gasPerPubdata?: bigint | undefined;
583
+ customSignature?: `0x${string}` | undefined;
584
+ factoryDeps?: `0x${string}`[] | undefined;
585
+ type?: "priority" | "eip712" | undefined;
586
+ } & {
587
+ paymaster: `0x${string}`;
588
+ paymasterInput: `0x${string}`;
589
+ }) | ({
590
+ data?: `0x${string}` | undefined;
591
+ from?: `0x${string}` | undefined;
592
+ gas?: bigint | undefined;
593
+ nonce?: number | undefined;
594
+ to?: `0x${string}` | null | undefined;
595
+ value?: bigint | undefined;
596
+ gasPrice?: bigint | undefined;
597
+ maxFeePerBlobGas?: bigint | undefined;
598
+ maxFeePerGas?: bigint | undefined;
599
+ maxPriorityFeePerGas?: bigint | undefined;
600
+ accessList?: undefined;
601
+ blobs?: undefined;
602
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
603
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
604
+ gasPerPubdata?: bigint | undefined;
605
+ customSignature?: `0x${string}` | undefined;
606
+ factoryDeps?: `0x${string}`[] | undefined;
607
+ type?: "priority" | "eip712" | undefined;
608
+ } & {
609
+ paymaster?: undefined;
610
+ paymasterInput?: undefined;
611
+ }) | ({
612
+ data?: `0x${string}` | undefined;
613
+ from?: `0x${string}` | undefined;
614
+ gas?: bigint | undefined;
615
+ nonce?: number | undefined;
616
+ to?: `0x${string}` | null | undefined;
617
+ value?: bigint | undefined;
618
+ gasPrice?: bigint | undefined;
619
+ maxFeePerBlobGas?: bigint | undefined;
620
+ maxFeePerGas?: bigint | undefined;
621
+ maxPriorityFeePerGas?: bigint | undefined;
622
+ accessList?: import("../../index.js").AccessList | undefined;
623
+ blobs?: undefined;
624
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
625
+ } & {
626
+ data?: `0x${string}` | undefined;
627
+ from: `0x${string}`;
628
+ gas?: bigint | undefined;
629
+ nonce?: number | undefined;
630
+ to?: `0x${string}` | null | undefined;
631
+ value?: bigint | undefined;
632
+ gasPrice?: bigint | undefined;
633
+ maxFeePerBlobGas?: undefined;
634
+ maxFeePerGas?: undefined;
635
+ maxPriorityFeePerGas?: undefined;
636
+ accessList?: undefined;
637
+ blobs?: undefined;
638
+ type?: "legacy" | undefined;
639
+ } & {
640
+ gasPerPubdata?: undefined;
641
+ customSignature?: undefined;
642
+ paymaster?: undefined;
643
+ paymasterInput?: undefined;
644
+ factoryDeps?: undefined;
645
+ }) | ({
646
+ data?: `0x${string}` | undefined;
647
+ from?: `0x${string}` | undefined;
648
+ gas?: bigint | undefined;
649
+ nonce?: number | undefined;
650
+ to?: `0x${string}` | null | undefined;
651
+ value?: bigint | undefined;
652
+ gasPrice?: bigint | undefined;
653
+ maxFeePerBlobGas?: bigint | undefined;
654
+ maxFeePerGas?: bigint | undefined;
655
+ maxPriorityFeePerGas?: bigint | undefined;
656
+ accessList?: import("../../index.js").AccessList | undefined;
657
+ blobs?: undefined;
658
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
659
+ } & {
660
+ data?: `0x${string}` | undefined;
661
+ from: `0x${string}`;
662
+ gas?: bigint | undefined;
663
+ nonce?: number | undefined;
664
+ to?: `0x${string}` | null | undefined;
665
+ value?: bigint | undefined;
666
+ gasPrice?: bigint | undefined;
667
+ maxFeePerBlobGas?: undefined;
668
+ maxFeePerGas?: undefined;
669
+ maxPriorityFeePerGas?: undefined;
670
+ accessList?: import("../../index.js").AccessList | undefined;
671
+ blobs?: undefined;
672
+ type?: "eip2930" | undefined;
673
+ } & {
674
+ gasPerPubdata?: undefined;
675
+ customSignature?: undefined;
676
+ paymaster?: undefined;
677
+ paymasterInput?: undefined;
678
+ factoryDeps?: undefined;
679
+ }) | ({
680
+ data?: `0x${string}` | undefined;
681
+ from?: `0x${string}` | undefined;
682
+ gas?: bigint | undefined;
683
+ nonce?: number | undefined;
684
+ to?: `0x${string}` | null | undefined;
685
+ value?: bigint | undefined;
686
+ gasPrice?: bigint | undefined;
687
+ maxFeePerBlobGas?: bigint | undefined;
688
+ maxFeePerGas?: bigint | undefined;
689
+ maxPriorityFeePerGas?: bigint | undefined;
690
+ accessList?: import("../../index.js").AccessList | undefined;
691
+ blobs?: undefined;
692
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
693
+ } & {
694
+ data?: `0x${string}` | undefined;
695
+ from: `0x${string}`;
696
+ gas?: bigint | undefined;
697
+ nonce?: number | undefined;
698
+ to?: `0x${string}` | null | undefined;
699
+ value?: bigint | undefined;
700
+ gasPrice?: undefined;
701
+ maxFeePerBlobGas?: undefined;
702
+ maxFeePerGas?: bigint | undefined;
703
+ maxPriorityFeePerGas?: bigint | undefined;
704
+ accessList?: import("../../index.js").AccessList | undefined;
705
+ blobs?: undefined;
706
+ type?: "eip1559" | undefined;
707
+ } & {
708
+ gasPerPubdata?: undefined;
709
+ customSignature?: undefined;
710
+ paymaster?: undefined;
711
+ paymasterInput?: undefined;
712
+ factoryDeps?: undefined;
713
+ }) | ({
714
+ data?: `0x${string}` | undefined;
715
+ from?: `0x${string}` | undefined;
716
+ gas?: bigint | undefined;
717
+ nonce?: number | undefined;
718
+ to?: `0x${string}` | null | undefined;
719
+ value?: bigint | undefined;
720
+ gasPrice?: bigint | undefined;
721
+ maxFeePerBlobGas?: bigint | undefined;
722
+ maxFeePerGas?: bigint | undefined;
723
+ maxPriorityFeePerGas?: bigint | undefined;
724
+ accessList?: import("../../index.js").AccessList | undefined;
725
+ blobs?: undefined;
726
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
727
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
728
+ gasPerPubdata?: bigint | undefined;
729
+ customSignature?: `0x${string}` | undefined;
730
+ factoryDeps?: `0x${string}`[] | undefined;
731
+ type?: "priority" | "eip712" | undefined;
732
+ } & {
733
+ paymaster: `0x${string}`;
734
+ paymasterInput: `0x${string}`;
735
+ }) | ({
736
+ data?: `0x${string}` | undefined;
737
+ from?: `0x${string}` | undefined;
738
+ gas?: bigint | undefined;
739
+ nonce?: number | undefined;
740
+ to?: `0x${string}` | null | undefined;
741
+ value?: bigint | undefined;
742
+ gasPrice?: bigint | undefined;
743
+ maxFeePerBlobGas?: bigint | undefined;
744
+ maxFeePerGas?: bigint | undefined;
745
+ maxPriorityFeePerGas?: bigint | undefined;
746
+ accessList?: import("../../index.js").AccessList | undefined;
747
+ blobs?: undefined;
748
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
749
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
750
+ gasPerPubdata?: bigint | undefined;
751
+ customSignature?: `0x${string}` | undefined;
752
+ factoryDeps?: `0x${string}`[] | undefined;
753
+ type?: "priority" | "eip712" | undefined;
754
+ } & {
755
+ paymaster?: undefined;
756
+ paymasterInput?: undefined;
757
+ }) | ({
758
+ data?: `0x${string}` | undefined;
759
+ from?: `0x${string}` | undefined;
760
+ gas?: bigint | undefined;
761
+ nonce?: number | undefined;
762
+ to?: `0x${string}` | null | undefined;
763
+ value?: bigint | undefined;
764
+ gasPrice?: bigint | undefined;
765
+ maxFeePerBlobGas?: bigint | undefined;
766
+ maxFeePerGas?: bigint | undefined;
767
+ maxPriorityFeePerGas?: bigint | undefined;
768
+ accessList?: import("../../index.js").AccessList | undefined;
769
+ blobs?: undefined;
770
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
771
+ } & {
772
+ data?: `0x${string}` | undefined;
773
+ from: `0x${string}`;
774
+ gas?: bigint | undefined;
775
+ nonce?: number | undefined;
776
+ to?: `0x${string}` | null | undefined;
777
+ value?: bigint | undefined;
778
+ gasPrice?: bigint | undefined;
779
+ maxFeePerBlobGas?: undefined;
780
+ maxFeePerGas?: undefined;
781
+ maxPriorityFeePerGas?: undefined;
782
+ accessList?: undefined;
783
+ blobs?: undefined;
784
+ type?: "legacy" | undefined;
785
+ } & {
786
+ gasPerPubdata?: undefined;
787
+ customSignature?: undefined;
788
+ paymaster?: undefined;
789
+ paymasterInput?: undefined;
790
+ factoryDeps?: undefined;
791
+ }) | ({
792
+ data?: `0x${string}` | undefined;
793
+ from?: `0x${string}` | undefined;
794
+ gas?: bigint | undefined;
795
+ nonce?: number | undefined;
796
+ to?: `0x${string}` | null | undefined;
797
+ value?: bigint | undefined;
798
+ gasPrice?: bigint | undefined;
799
+ maxFeePerBlobGas?: bigint | undefined;
800
+ maxFeePerGas?: bigint | undefined;
801
+ maxPriorityFeePerGas?: bigint | undefined;
802
+ accessList?: import("../../index.js").AccessList | undefined;
803
+ blobs?: undefined;
804
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
805
+ } & {
806
+ data?: `0x${string}` | undefined;
807
+ from: `0x${string}`;
808
+ gas?: bigint | undefined;
809
+ nonce?: number | undefined;
810
+ to?: `0x${string}` | null | undefined;
811
+ value?: bigint | undefined;
812
+ gasPrice?: bigint | undefined;
813
+ maxFeePerBlobGas?: undefined;
814
+ maxFeePerGas?: undefined;
815
+ maxPriorityFeePerGas?: undefined;
816
+ accessList?: import("../../index.js").AccessList | undefined;
817
+ blobs?: undefined;
818
+ type?: "eip2930" | undefined;
819
+ } & {
820
+ gasPerPubdata?: undefined;
821
+ customSignature?: undefined;
822
+ paymaster?: undefined;
823
+ paymasterInput?: undefined;
824
+ factoryDeps?: undefined;
825
+ }) | ({
826
+ data?: `0x${string}` | undefined;
827
+ from?: `0x${string}` | undefined;
828
+ gas?: bigint | undefined;
829
+ nonce?: number | undefined;
830
+ to?: `0x${string}` | null | undefined;
831
+ value?: bigint | undefined;
832
+ gasPrice?: bigint | undefined;
833
+ maxFeePerBlobGas?: bigint | undefined;
834
+ maxFeePerGas?: bigint | undefined;
835
+ maxPriorityFeePerGas?: bigint | undefined;
836
+ accessList?: import("../../index.js").AccessList | undefined;
837
+ blobs?: undefined;
838
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
839
+ } & {
840
+ data?: `0x${string}` | undefined;
841
+ from: `0x${string}`;
842
+ gas?: bigint | undefined;
843
+ nonce?: number | undefined;
844
+ to?: `0x${string}` | null | undefined;
845
+ value?: bigint | undefined;
846
+ gasPrice?: undefined;
847
+ maxFeePerBlobGas?: undefined;
848
+ maxFeePerGas?: bigint | undefined;
849
+ maxPriorityFeePerGas?: bigint | undefined;
850
+ accessList?: import("../../index.js").AccessList | undefined;
851
+ blobs?: undefined;
852
+ type?: "eip1559" | undefined;
853
+ } & {
854
+ gasPerPubdata?: undefined;
855
+ customSignature?: undefined;
856
+ paymaster?: undefined;
857
+ paymasterInput?: undefined;
858
+ factoryDeps?: undefined;
859
+ }) | ({
860
+ data?: `0x${string}` | undefined;
861
+ from?: `0x${string}` | undefined;
862
+ gas?: bigint | undefined;
863
+ nonce?: number | undefined;
864
+ to?: `0x${string}` | null | undefined;
865
+ value?: bigint | undefined;
866
+ gasPrice?: bigint | undefined;
867
+ maxFeePerBlobGas?: bigint | undefined;
868
+ maxFeePerGas?: bigint | undefined;
869
+ maxPriorityFeePerGas?: bigint | undefined;
870
+ accessList?: import("../../index.js").AccessList | undefined;
871
+ blobs?: undefined;
872
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
873
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
874
+ gasPerPubdata?: bigint | undefined;
875
+ customSignature?: `0x${string}` | undefined;
876
+ factoryDeps?: `0x${string}`[] | undefined;
877
+ type?: "priority" | "eip712" | undefined;
878
+ } & {
879
+ paymaster: `0x${string}`;
880
+ paymasterInput: `0x${string}`;
881
+ }) | ({
882
+ data?: `0x${string}` | undefined;
883
+ from?: `0x${string}` | undefined;
884
+ gas?: bigint | undefined;
885
+ nonce?: number | undefined;
886
+ to?: `0x${string}` | null | undefined;
887
+ value?: bigint | undefined;
888
+ gasPrice?: bigint | undefined;
889
+ maxFeePerBlobGas?: bigint | undefined;
890
+ maxFeePerGas?: bigint | undefined;
891
+ maxPriorityFeePerGas?: bigint | undefined;
892
+ accessList?: import("../../index.js").AccessList | undefined;
893
+ blobs?: undefined;
894
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
895
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
896
+ gasPerPubdata?: bigint | undefined;
897
+ customSignature?: `0x${string}` | undefined;
898
+ factoryDeps?: `0x${string}`[] | undefined;
899
+ type?: "priority" | "eip712" | undefined;
900
+ } & {
901
+ paymaster?: undefined;
902
+ paymasterInput?: undefined;
903
+ }) | ({
904
+ data?: `0x${string}` | undefined;
905
+ from?: `0x${string}` | undefined;
906
+ gas?: bigint | undefined;
907
+ nonce?: number | undefined;
908
+ value?: bigint | undefined;
909
+ to?: `0x${string}` | null | undefined;
910
+ gasPrice?: bigint | undefined;
911
+ maxFeePerGas?: bigint | undefined;
912
+ maxPriorityFeePerGas?: bigint | undefined;
913
+ maxFeePerBlobGas?: bigint | undefined;
914
+ accessList?: import("../../index.js").AccessList | undefined;
915
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
916
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
917
+ } & {
918
+ data?: `0x${string}` | undefined;
919
+ from: `0x${string}`;
920
+ gas?: bigint | undefined;
921
+ nonce?: number | undefined;
922
+ to?: `0x${string}` | null | undefined;
923
+ value?: bigint | undefined;
924
+ gasPrice?: bigint | undefined;
925
+ maxFeePerBlobGas?: undefined;
926
+ maxFeePerGas?: undefined;
927
+ maxPriorityFeePerGas?: undefined;
928
+ accessList?: undefined;
929
+ blobs?: undefined;
930
+ type?: "legacy" | undefined;
931
+ } & {
932
+ gasPerPubdata?: undefined;
933
+ customSignature?: undefined;
934
+ paymaster?: undefined;
935
+ paymasterInput?: undefined;
936
+ factoryDeps?: undefined;
937
+ }) | ({
938
+ data?: `0x${string}` | undefined;
939
+ from?: `0x${string}` | undefined;
940
+ gas?: bigint | undefined;
941
+ nonce?: number | undefined;
942
+ value?: bigint | undefined;
943
+ to?: `0x${string}` | null | undefined;
944
+ gasPrice?: bigint | undefined;
945
+ maxFeePerGas?: bigint | undefined;
946
+ maxPriorityFeePerGas?: bigint | undefined;
947
+ maxFeePerBlobGas?: bigint | undefined;
948
+ accessList?: import("../../index.js").AccessList | undefined;
949
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
950
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
951
+ } & {
952
+ data?: `0x${string}` | undefined;
953
+ from: `0x${string}`;
954
+ gas?: bigint | undefined;
955
+ nonce?: number | undefined;
956
+ to?: `0x${string}` | null | undefined;
957
+ value?: bigint | undefined;
958
+ gasPrice?: bigint | undefined;
959
+ maxFeePerBlobGas?: undefined;
960
+ maxFeePerGas?: undefined;
961
+ maxPriorityFeePerGas?: undefined;
962
+ accessList?: import("../../index.js").AccessList | undefined;
963
+ blobs?: undefined;
964
+ type?: "eip2930" | undefined;
965
+ } & {
966
+ gasPerPubdata?: undefined;
967
+ customSignature?: undefined;
968
+ paymaster?: undefined;
969
+ paymasterInput?: undefined;
970
+ factoryDeps?: undefined;
971
+ }) | ({
972
+ data?: `0x${string}` | undefined;
973
+ from?: `0x${string}` | undefined;
974
+ gas?: bigint | undefined;
975
+ nonce?: number | undefined;
976
+ value?: bigint | undefined;
977
+ to?: `0x${string}` | null | undefined;
978
+ gasPrice?: bigint | undefined;
979
+ maxFeePerGas?: bigint | undefined;
980
+ maxPriorityFeePerGas?: bigint | undefined;
981
+ maxFeePerBlobGas?: bigint | undefined;
982
+ accessList?: import("../../index.js").AccessList | undefined;
983
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
984
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
985
+ } & {
986
+ data?: `0x${string}` | undefined;
987
+ from: `0x${string}`;
988
+ gas?: bigint | undefined;
989
+ nonce?: number | undefined;
990
+ to?: `0x${string}` | null | undefined;
991
+ value?: bigint | undefined;
992
+ gasPrice?: undefined;
993
+ maxFeePerBlobGas?: undefined;
994
+ maxFeePerGas?: bigint | undefined;
995
+ maxPriorityFeePerGas?: bigint | undefined;
996
+ accessList?: import("../../index.js").AccessList | undefined;
997
+ blobs?: undefined;
998
+ type?: "eip1559" | undefined;
999
+ } & {
1000
+ gasPerPubdata?: undefined;
1001
+ customSignature?: undefined;
1002
+ paymaster?: undefined;
1003
+ paymasterInput?: undefined;
1004
+ factoryDeps?: undefined;
1005
+ }) | ({
1006
+ data?: `0x${string}` | undefined;
1007
+ from?: `0x${string}` | undefined;
1008
+ gas?: bigint | undefined;
1009
+ nonce?: number | undefined;
1010
+ value?: bigint | undefined;
1011
+ to?: `0x${string}` | null | undefined;
1012
+ gasPrice?: bigint | undefined;
1013
+ maxFeePerGas?: bigint | undefined;
1014
+ maxPriorityFeePerGas?: bigint | undefined;
1015
+ maxFeePerBlobGas?: bigint | undefined;
1016
+ accessList?: import("../../index.js").AccessList | undefined;
1017
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1018
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1019
+ } & {
1020
+ data?: `0x${string}` | undefined;
1021
+ from: `0x${string}`;
1022
+ gas?: bigint | undefined;
1023
+ nonce?: number | undefined;
1024
+ value?: bigint | undefined;
1025
+ to: `0x${string}` | null;
1026
+ gasPrice?: undefined;
1027
+ maxFeePerGas?: bigint | undefined;
1028
+ maxPriorityFeePerGas?: bigint | undefined;
1029
+ maxFeePerBlobGas: bigint;
1030
+ accessList?: import("../../index.js").AccessList | undefined;
1031
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1032
+ type?: "eip4844" | undefined;
1033
+ } & {
1034
+ gasPerPubdata?: undefined;
1035
+ customSignature?: undefined;
1036
+ paymaster?: undefined;
1037
+ paymasterInput?: undefined;
1038
+ factoryDeps?: undefined;
1039
+ }) | ({
1040
+ data?: `0x${string}` | undefined;
1041
+ from?: `0x${string}` | undefined;
1042
+ gas?: bigint | undefined;
1043
+ nonce?: number | undefined;
1044
+ value?: bigint | undefined;
1045
+ to?: `0x${string}` | null | undefined;
1046
+ gasPrice?: bigint | undefined;
1047
+ maxFeePerGas?: bigint | undefined;
1048
+ maxPriorityFeePerGas?: bigint | undefined;
1049
+ maxFeePerBlobGas?: bigint | undefined;
1050
+ accessList?: import("../../index.js").AccessList | undefined;
1051
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1052
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1053
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1054
+ gasPerPubdata?: bigint | undefined;
1055
+ customSignature?: `0x${string}` | undefined;
1056
+ factoryDeps?: `0x${string}`[] | undefined;
1057
+ type?: "priority" | "eip712" | undefined;
1058
+ } & {
1059
+ paymaster: `0x${string}`;
1060
+ paymasterInput: `0x${string}`;
1061
+ }) | ({
1062
+ data?: `0x${string}` | undefined;
1063
+ from?: `0x${string}` | undefined;
1064
+ gas?: bigint | undefined;
1065
+ nonce?: number | undefined;
1066
+ value?: bigint | undefined;
1067
+ to?: `0x${string}` | null | undefined;
1068
+ gasPrice?: bigint | undefined;
1069
+ maxFeePerGas?: bigint | undefined;
1070
+ maxPriorityFeePerGas?: bigint | undefined;
1071
+ maxFeePerBlobGas?: bigint | undefined;
1072
+ accessList?: import("../../index.js").AccessList | undefined;
1073
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1074
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1075
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1076
+ gasPerPubdata?: bigint | undefined;
1077
+ customSignature?: `0x${string}` | undefined;
1078
+ factoryDeps?: `0x${string}`[] | undefined;
1079
+ type?: "priority" | "eip712" | undefined;
1080
+ } & {
1081
+ paymaster?: undefined;
1082
+ paymasterInput?: undefined;
1083
+ })) => ({
466
1084
  data?: `0x${string}` | undefined;
467
1085
  from: `0x${string}`;
468
1086
  gas?: `0x${string}` | undefined;
@@ -470,11 +1088,12 @@ export declare const zkSyncSepoliaTestnet: {
470
1088
  to?: `0x${string}` | null | undefined;
471
1089
  value?: `0x${string}` | undefined;
472
1090
  gasPrice?: `0x${string}` | undefined;
1091
+ maxFeePerBlobGas?: undefined;
473
1092
  maxFeePerGas?: undefined;
474
1093
  maxPriorityFeePerGas?: undefined;
475
1094
  accessList?: undefined;
1095
+ blobs?: undefined;
476
1096
  type?: "0x0" | undefined;
477
- maxFeePerBlobGas?: undefined;
478
1097
  eip712Meta?: undefined;
479
1098
  } | {
480
1099
  data?: `0x${string}` | undefined;
@@ -484,11 +1103,12 @@ export declare const zkSyncSepoliaTestnet: {
484
1103
  to?: `0x${string}` | null | undefined;
485
1104
  value?: `0x${string}` | undefined;
486
1105
  gasPrice?: `0x${string}` | undefined;
1106
+ maxFeePerBlobGas?: undefined;
487
1107
  maxFeePerGas?: undefined;
488
1108
  maxPriorityFeePerGas?: undefined;
489
1109
  accessList?: undefined;
1110
+ blobs?: undefined;
490
1111
  type?: "0x1" | undefined;
491
- maxFeePerBlobGas?: undefined;
492
1112
  eip712Meta?: undefined;
493
1113
  } | {
494
1114
  data?: `0x${string}` | undefined;
@@ -498,11 +1118,12 @@ export declare const zkSyncSepoliaTestnet: {
498
1118
  to?: `0x${string}` | null | undefined;
499
1119
  value?: `0x${string}` | undefined;
500
1120
  gasPrice?: undefined;
1121
+ maxFeePerBlobGas?: undefined;
501
1122
  maxFeePerGas?: `0x${string}` | undefined;
502
1123
  maxPriorityFeePerGas?: `0x${string}` | undefined;
503
1124
  accessList?: undefined;
1125
+ blobs?: undefined;
504
1126
  type?: "0x2" | undefined;
505
- maxFeePerBlobGas?: undefined;
506
1127
  eip712Meta?: undefined;
507
1128
  } | {
508
1129
  data?: `0x${string}` | undefined;
@@ -512,11 +1133,12 @@ export declare const zkSyncSepoliaTestnet: {
512
1133
  to?: `0x${string}` | null | undefined;
513
1134
  value?: `0x${string}` | undefined;
514
1135
  gasPrice?: undefined;
1136
+ maxFeePerBlobGas?: undefined;
515
1137
  maxFeePerGas?: `0x${string}` | undefined;
516
1138
  maxPriorityFeePerGas?: `0x${string}` | undefined;
517
1139
  accessList?: undefined;
1140
+ blobs?: undefined;
518
1141
  type: "0xff" | "0x71";
519
- maxFeePerBlobGas?: undefined;
520
1142
  eip712Meta: import("../index.js").ZkSyncEip712Meta;
521
1143
  } | {
522
1144
  data?: `0x${string}` | undefined;
@@ -526,11 +1148,12 @@ export declare const zkSyncSepoliaTestnet: {
526
1148
  to?: `0x${string}` | null | undefined;
527
1149
  value?: `0x${string}` | undefined;
528
1150
  gasPrice?: `0x${string}` | undefined;
1151
+ maxFeePerBlobGas?: undefined;
529
1152
  maxFeePerGas?: undefined;
530
1153
  maxPriorityFeePerGas?: undefined;
531
1154
  accessList?: undefined;
1155
+ blobs?: undefined;
532
1156
  type?: "0x0" | undefined;
533
- maxFeePerBlobGas?: undefined;
534
1157
  eip712Meta?: undefined;
535
1158
  } | {
536
1159
  data?: `0x${string}` | undefined;
@@ -540,11 +1163,12 @@ export declare const zkSyncSepoliaTestnet: {
540
1163
  to?: `0x${string}` | null | undefined;
541
1164
  value?: `0x${string}` | undefined;
542
1165
  gasPrice?: `0x${string}` | undefined;
1166
+ maxFeePerBlobGas?: undefined;
543
1167
  maxFeePerGas?: undefined;
544
1168
  maxPriorityFeePerGas?: undefined;
545
1169
  accessList?: import("../../index.js").AccessList | undefined;
1170
+ blobs?: undefined;
546
1171
  type?: "0x1" | undefined;
547
- maxFeePerBlobGas?: undefined;
548
1172
  eip712Meta?: undefined;
549
1173
  } | {
550
1174
  data?: `0x${string}` | undefined;
@@ -554,11 +1178,12 @@ export declare const zkSyncSepoliaTestnet: {
554
1178
  to?: `0x${string}` | null | undefined;
555
1179
  value?: `0x${string}` | undefined;
556
1180
  gasPrice?: undefined;
1181
+ maxFeePerBlobGas?: undefined;
557
1182
  maxFeePerGas?: `0x${string}` | undefined;
558
1183
  maxPriorityFeePerGas?: `0x${string}` | undefined;
559
1184
  accessList?: import("../../index.js").AccessList | undefined;
1185
+ blobs?: undefined;
560
1186
  type?: "0x2" | undefined;
561
- maxFeePerBlobGas?: undefined;
562
1187
  eip712Meta?: undefined;
563
1188
  } | {
564
1189
  data?: `0x${string}` | undefined;
@@ -568,11 +1193,12 @@ export declare const zkSyncSepoliaTestnet: {
568
1193
  to?: `0x${string}` | null | undefined;
569
1194
  value?: `0x${string}` | undefined;
570
1195
  gasPrice?: undefined;
1196
+ maxFeePerBlobGas?: undefined;
571
1197
  maxFeePerGas?: `0x${string}` | undefined;
572
1198
  maxPriorityFeePerGas?: `0x${string}` | undefined;
573
1199
  accessList?: import("../../index.js").AccessList | undefined;
1200
+ blobs?: undefined;
574
1201
  type: "0xff" | "0x71";
575
- maxFeePerBlobGas?: undefined;
576
1202
  eip712Meta: import("../index.js").ZkSyncEip712Meta;
577
1203
  } | {
578
1204
  data?: `0x${string}` | undefined;
@@ -582,11 +1208,12 @@ export declare const zkSyncSepoliaTestnet: {
582
1208
  to?: `0x${string}` | null | undefined;
583
1209
  value?: `0x${string}` | undefined;
584
1210
  gasPrice?: `0x${string}` | undefined;
1211
+ maxFeePerBlobGas?: undefined;
585
1212
  maxFeePerGas?: undefined;
586
1213
  maxPriorityFeePerGas?: undefined;
587
1214
  accessList?: undefined;
1215
+ blobs?: undefined;
588
1216
  type?: "0x0" | undefined;
589
- maxFeePerBlobGas?: undefined;
590
1217
  eip712Meta?: undefined;
591
1218
  } | {
592
1219
  data?: `0x${string}` | undefined;
@@ -596,11 +1223,12 @@ export declare const zkSyncSepoliaTestnet: {
596
1223
  to?: `0x${string}` | null | undefined;
597
1224
  value?: `0x${string}` | undefined;
598
1225
  gasPrice?: `0x${string}` | undefined;
1226
+ maxFeePerBlobGas?: undefined;
599
1227
  maxFeePerGas?: undefined;
600
1228
  maxPriorityFeePerGas?: undefined;
601
1229
  accessList?: import("../../index.js").AccessList | undefined;
1230
+ blobs?: undefined;
602
1231
  type?: "0x1" | undefined;
603
- maxFeePerBlobGas?: undefined;
604
1232
  eip712Meta?: undefined;
605
1233
  } | {
606
1234
  data?: `0x${string}` | undefined;
@@ -610,11 +1238,12 @@ export declare const zkSyncSepoliaTestnet: {
610
1238
  to?: `0x${string}` | null | undefined;
611
1239
  value?: `0x${string}` | undefined;
612
1240
  gasPrice?: undefined;
1241
+ maxFeePerBlobGas?: undefined;
613
1242
  maxFeePerGas?: `0x${string}` | undefined;
614
1243
  maxPriorityFeePerGas?: `0x${string}` | undefined;
615
1244
  accessList?: import("../../index.js").AccessList | undefined;
1245
+ blobs?: undefined;
616
1246
  type?: "0x2" | undefined;
617
- maxFeePerBlobGas?: undefined;
618
1247
  eip712Meta?: undefined;
619
1248
  } | {
620
1249
  data?: `0x${string}` | undefined;
@@ -624,11 +1253,42 @@ export declare const zkSyncSepoliaTestnet: {
624
1253
  to?: `0x${string}` | null | undefined;
625
1254
  value?: `0x${string}` | undefined;
626
1255
  gasPrice?: undefined;
1256
+ maxFeePerBlobGas?: undefined;
627
1257
  maxFeePerGas?: `0x${string}` | undefined;
628
1258
  maxPriorityFeePerGas?: `0x${string}` | undefined;
629
1259
  accessList?: import("../../index.js").AccessList | undefined;
1260
+ blobs?: undefined;
1261
+ type: "0xff" | "0x71";
1262
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
1263
+ } | {
1264
+ data?: `0x${string}` | undefined;
1265
+ from: `0x${string}`;
1266
+ gas?: `0x${string}` | undefined;
1267
+ nonce?: `0x${string}` | undefined;
1268
+ value?: `0x${string}` | undefined;
1269
+ to: `0x${string}` | null;
1270
+ gasPrice?: undefined;
1271
+ maxFeePerGas?: `0x${string}` | undefined;
1272
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1273
+ maxFeePerBlobGas: `0x${string}`;
1274
+ accessList?: import("../../index.js").AccessList | undefined;
1275
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1276
+ type?: "0x3" | undefined;
1277
+ eip712Meta?: undefined;
1278
+ } | {
1279
+ data?: `0x${string}` | undefined;
1280
+ from: `0x${string}`;
1281
+ gas?: `0x${string}` | undefined;
1282
+ nonce?: `0x${string}` | undefined;
1283
+ value?: `0x${string}` | undefined;
1284
+ to: `0x${string}` | null | undefined;
1285
+ gasPrice?: undefined;
1286
+ maxFeePerGas?: `0x${string}` | undefined;
1287
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1288
+ maxFeePerBlobGas: undefined;
1289
+ accessList?: import("../../index.js").AccessList | undefined;
1290
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
630
1291
  type: "0xff" | "0x71";
631
- maxFeePerBlobGas?: undefined;
632
1292
  eip712Meta: import("../index.js").ZkSyncEip712Meta;
633
1293
  }) & {
634
1294
  gasPerPubdata: never;
@@ -641,7 +1301,7 @@ export declare const zkSyncSepoliaTestnet: {
641
1301
  };
642
1302
  };
643
1303
  serializers: {
644
- readonly transaction: import("../../index.js").SerializeTransactionFn<import("../index.js").ZkSyncTransactionSerializable>;
1304
+ readonly transaction: typeof import("../zksync/serializers.js").serializeTransaction;
645
1305
  };
646
1306
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
647
1307
  readonly network: "zksync-sepolia-testnet";