viem 2.7.22 → 2.8.0

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