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
@@ -1,7 +1,7 @@
1
1
  import type { Hash } from '../../types/misc.js';
2
2
  import type { ZkSyncRpcBlockOverrides } from './types/block.js';
3
3
  import type { ZkSyncL2ToL1Log, ZkSyncLog } from './types/log.js';
4
- import type { ZkSyncRpcTransaction, ZkSyncRpcTransactionReceiptOverrides, ZkSyncTransaction, ZkSyncTransactionRequest } from './types/transaction.js';
4
+ import type { ZkSyncRpcTransaction, ZkSyncRpcTransactionReceiptOverrides, ZkSyncTransaction } from './types/transaction.js';
5
5
  export declare const formatters: {
6
6
  readonly block: {
7
7
  exclude: [] | undefined;
@@ -42,20 +42,20 @@ export declare const formatters: {
42
42
  readonly transaction: {
43
43
  exclude: [] | undefined;
44
44
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, ZkSyncRpcTransaction>) => ({
45
+ r: `0x${string}`;
46
+ s: `0x${string}`;
47
+ v: bigint;
48
+ to: `0x${string}` | null;
49
+ from: `0x${string}`;
45
50
  gas: bigint;
51
+ nonce: number;
46
52
  value: bigint;
47
53
  blockHash: `0x${string}` | null;
48
54
  blockNumber: bigint | null;
49
- from: `0x${string}`;
50
55
  hash: `0x${string}`;
51
56
  input: `0x${string}`;
52
- nonce: number;
53
- r: `0x${string}`;
54
- s: `0x${string}`;
55
- to: `0x${string}` | null;
56
57
  transactionIndex: number | null;
57
58
  typeHex: `0x${string}` | null;
58
- v: bigint;
59
59
  gasPrice: bigint;
60
60
  maxFeePerBlobGas?: undefined;
61
61
  maxFeePerGas?: undefined;
@@ -68,20 +68,20 @@ export declare const formatters: {
68
68
  l1BatchNumber: bigint | null;
69
69
  l1BatchTxIndex: bigint | null;
70
70
  } | {
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: undefined;
86
86
  maxFeePerBlobGas?: undefined;
87
87
  maxFeePerGas: bigint;
@@ -94,20 +94,20 @@ export declare const formatters: {
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;
@@ -436,7 +436,625 @@ export declare const formatters: {
436
436
  };
437
437
  readonly transactionRequest: {
438
438
  exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
439
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, ZkSyncTransactionRequest>) => ({
439
+ format: (args: ({
440
+ data?: `0x${string}` | undefined;
441
+ from?: `0x${string}` | undefined;
442
+ gas?: bigint | undefined;
443
+ nonce?: number | undefined;
444
+ to?: `0x${string}` | null | undefined;
445
+ value?: bigint | undefined;
446
+ gasPrice?: bigint | undefined;
447
+ maxFeePerBlobGas?: bigint | undefined;
448
+ maxFeePerGas?: bigint | undefined;
449
+ maxPriorityFeePerGas?: bigint | undefined;
450
+ accessList?: undefined;
451
+ blobs?: undefined;
452
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
453
+ } & {
454
+ data?: `0x${string}` | undefined;
455
+ from: `0x${string}`;
456
+ gas?: bigint | undefined;
457
+ nonce?: number | undefined;
458
+ to?: `0x${string}` | null | undefined;
459
+ value?: bigint | undefined;
460
+ gasPrice?: bigint | undefined;
461
+ maxFeePerBlobGas?: undefined;
462
+ maxFeePerGas?: undefined;
463
+ maxPriorityFeePerGas?: undefined;
464
+ accessList?: undefined;
465
+ blobs?: undefined;
466
+ type?: "legacy" | undefined;
467
+ } & {
468
+ gasPerPubdata?: undefined;
469
+ customSignature?: undefined;
470
+ paymaster?: undefined;
471
+ paymasterInput?: undefined;
472
+ factoryDeps?: undefined;
473
+ }) | ({
474
+ data?: `0x${string}` | undefined;
475
+ from?: `0x${string}` | undefined;
476
+ gas?: bigint | undefined;
477
+ nonce?: number | undefined;
478
+ to?: `0x${string}` | null | undefined;
479
+ value?: bigint | undefined;
480
+ gasPrice?: bigint | undefined;
481
+ maxFeePerBlobGas?: bigint | undefined;
482
+ maxFeePerGas?: bigint | undefined;
483
+ maxPriorityFeePerGas?: bigint | undefined;
484
+ accessList?: undefined;
485
+ blobs?: undefined;
486
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
487
+ } & {
488
+ data?: `0x${string}` | undefined;
489
+ from: `0x${string}`;
490
+ gas?: bigint | undefined;
491
+ nonce?: number | undefined;
492
+ to?: `0x${string}` | null | undefined;
493
+ value?: bigint | undefined;
494
+ gasPrice?: bigint | undefined;
495
+ maxFeePerBlobGas?: undefined;
496
+ maxFeePerGas?: undefined;
497
+ maxPriorityFeePerGas?: undefined;
498
+ accessList?: import("../../index.js").AccessList | undefined;
499
+ blobs?: undefined;
500
+ type?: "eip2930" | undefined;
501
+ } & {
502
+ gasPerPubdata?: undefined;
503
+ customSignature?: undefined;
504
+ paymaster?: undefined;
505
+ paymasterInput?: undefined;
506
+ factoryDeps?: undefined;
507
+ }) | ({
508
+ data?: `0x${string}` | undefined;
509
+ from?: `0x${string}` | undefined;
510
+ gas?: bigint | undefined;
511
+ nonce?: number | undefined;
512
+ to?: `0x${string}` | null | undefined;
513
+ value?: bigint | undefined;
514
+ gasPrice?: bigint | undefined;
515
+ maxFeePerBlobGas?: bigint | undefined;
516
+ maxFeePerGas?: bigint | undefined;
517
+ maxPriorityFeePerGas?: bigint | undefined;
518
+ accessList?: undefined;
519
+ blobs?: undefined;
520
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
521
+ } & {
522
+ data?: `0x${string}` | undefined;
523
+ from: `0x${string}`;
524
+ gas?: bigint | undefined;
525
+ nonce?: number | undefined;
526
+ to?: `0x${string}` | null | undefined;
527
+ value?: bigint | undefined;
528
+ gasPrice?: undefined;
529
+ maxFeePerBlobGas?: undefined;
530
+ maxFeePerGas?: bigint | undefined;
531
+ maxPriorityFeePerGas?: bigint | undefined;
532
+ accessList?: import("../../index.js").AccessList | undefined;
533
+ blobs?: undefined;
534
+ type?: "eip1559" | undefined;
535
+ } & {
536
+ gasPerPubdata?: undefined;
537
+ customSignature?: undefined;
538
+ paymaster?: undefined;
539
+ paymasterInput?: undefined;
540
+ factoryDeps?: undefined;
541
+ }) | ({
542
+ data?: `0x${string}` | undefined;
543
+ from?: `0x${string}` | undefined;
544
+ gas?: bigint | undefined;
545
+ nonce?: number | undefined;
546
+ to?: `0x${string}` | null | undefined;
547
+ value?: bigint | undefined;
548
+ gasPrice?: bigint | undefined;
549
+ maxFeePerBlobGas?: bigint | undefined;
550
+ maxFeePerGas?: bigint | undefined;
551
+ maxPriorityFeePerGas?: bigint | undefined;
552
+ accessList?: undefined;
553
+ blobs?: undefined;
554
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
555
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
556
+ gasPerPubdata?: bigint | undefined;
557
+ customSignature?: `0x${string}` | undefined;
558
+ factoryDeps?: `0x${string}`[] | undefined;
559
+ type?: "priority" | "eip712" | undefined;
560
+ } & {
561
+ paymaster: `0x${string}`;
562
+ paymasterInput: `0x${string}`;
563
+ }) | ({
564
+ data?: `0x${string}` | undefined;
565
+ from?: `0x${string}` | undefined;
566
+ gas?: bigint | undefined;
567
+ nonce?: number | undefined;
568
+ to?: `0x${string}` | null | undefined;
569
+ value?: bigint | undefined;
570
+ gasPrice?: bigint | undefined;
571
+ maxFeePerBlobGas?: bigint | undefined;
572
+ maxFeePerGas?: bigint | undefined;
573
+ maxPriorityFeePerGas?: bigint | undefined;
574
+ accessList?: undefined;
575
+ blobs?: undefined;
576
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
577
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
578
+ gasPerPubdata?: bigint | undefined;
579
+ customSignature?: `0x${string}` | undefined;
580
+ factoryDeps?: `0x${string}`[] | undefined;
581
+ type?: "priority" | "eip712" | undefined;
582
+ } & {
583
+ paymaster?: undefined;
584
+ paymasterInput?: undefined;
585
+ }) | ({
586
+ data?: `0x${string}` | undefined;
587
+ from?: `0x${string}` | undefined;
588
+ gas?: bigint | undefined;
589
+ nonce?: number | undefined;
590
+ to?: `0x${string}` | null | undefined;
591
+ value?: bigint | undefined;
592
+ gasPrice?: bigint | undefined;
593
+ maxFeePerBlobGas?: bigint | undefined;
594
+ maxFeePerGas?: bigint | undefined;
595
+ maxPriorityFeePerGas?: bigint | undefined;
596
+ accessList?: import("../../index.js").AccessList | undefined;
597
+ blobs?: undefined;
598
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
599
+ } & {
600
+ data?: `0x${string}` | undefined;
601
+ from: `0x${string}`;
602
+ gas?: bigint | undefined;
603
+ nonce?: number | undefined;
604
+ to?: `0x${string}` | null | undefined;
605
+ value?: bigint | undefined;
606
+ gasPrice?: bigint | undefined;
607
+ maxFeePerBlobGas?: undefined;
608
+ maxFeePerGas?: undefined;
609
+ maxPriorityFeePerGas?: undefined;
610
+ accessList?: undefined;
611
+ blobs?: undefined;
612
+ type?: "legacy" | undefined;
613
+ } & {
614
+ gasPerPubdata?: undefined;
615
+ customSignature?: undefined;
616
+ paymaster?: undefined;
617
+ paymasterInput?: undefined;
618
+ factoryDeps?: undefined;
619
+ }) | ({
620
+ data?: `0x${string}` | undefined;
621
+ from?: `0x${string}` | undefined;
622
+ gas?: bigint | undefined;
623
+ nonce?: number | undefined;
624
+ to?: `0x${string}` | null | undefined;
625
+ value?: bigint | undefined;
626
+ gasPrice?: bigint | undefined;
627
+ maxFeePerBlobGas?: bigint | undefined;
628
+ maxFeePerGas?: bigint | undefined;
629
+ maxPriorityFeePerGas?: bigint | undefined;
630
+ accessList?: import("../../index.js").AccessList | undefined;
631
+ blobs?: undefined;
632
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
633
+ } & {
634
+ data?: `0x${string}` | undefined;
635
+ from: `0x${string}`;
636
+ gas?: bigint | undefined;
637
+ nonce?: number | undefined;
638
+ to?: `0x${string}` | null | undefined;
639
+ value?: bigint | undefined;
640
+ gasPrice?: bigint | undefined;
641
+ maxFeePerBlobGas?: undefined;
642
+ maxFeePerGas?: undefined;
643
+ maxPriorityFeePerGas?: undefined;
644
+ accessList?: import("../../index.js").AccessList | undefined;
645
+ blobs?: undefined;
646
+ type?: "eip2930" | undefined;
647
+ } & {
648
+ gasPerPubdata?: undefined;
649
+ customSignature?: undefined;
650
+ paymaster?: undefined;
651
+ paymasterInput?: undefined;
652
+ factoryDeps?: undefined;
653
+ }) | ({
654
+ data?: `0x${string}` | undefined;
655
+ from?: `0x${string}` | undefined;
656
+ gas?: bigint | undefined;
657
+ nonce?: number | undefined;
658
+ to?: `0x${string}` | null | undefined;
659
+ value?: bigint | undefined;
660
+ gasPrice?: bigint | undefined;
661
+ maxFeePerBlobGas?: bigint | undefined;
662
+ maxFeePerGas?: bigint | undefined;
663
+ maxPriorityFeePerGas?: bigint | undefined;
664
+ accessList?: import("../../index.js").AccessList | undefined;
665
+ blobs?: undefined;
666
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
667
+ } & {
668
+ data?: `0x${string}` | undefined;
669
+ from: `0x${string}`;
670
+ gas?: bigint | undefined;
671
+ nonce?: number | undefined;
672
+ to?: `0x${string}` | null | undefined;
673
+ value?: bigint | undefined;
674
+ gasPrice?: undefined;
675
+ maxFeePerBlobGas?: undefined;
676
+ maxFeePerGas?: bigint | undefined;
677
+ maxPriorityFeePerGas?: bigint | undefined;
678
+ accessList?: import("../../index.js").AccessList | undefined;
679
+ blobs?: undefined;
680
+ type?: "eip1559" | undefined;
681
+ } & {
682
+ gasPerPubdata?: undefined;
683
+ customSignature?: undefined;
684
+ paymaster?: undefined;
685
+ paymasterInput?: undefined;
686
+ factoryDeps?: undefined;
687
+ }) | ({
688
+ data?: `0x${string}` | undefined;
689
+ from?: `0x${string}` | undefined;
690
+ gas?: bigint | undefined;
691
+ nonce?: number | undefined;
692
+ to?: `0x${string}` | null | undefined;
693
+ value?: bigint | undefined;
694
+ gasPrice?: bigint | undefined;
695
+ maxFeePerBlobGas?: bigint | undefined;
696
+ maxFeePerGas?: bigint | undefined;
697
+ maxPriorityFeePerGas?: bigint | undefined;
698
+ accessList?: import("../../index.js").AccessList | undefined;
699
+ blobs?: undefined;
700
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
701
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
702
+ gasPerPubdata?: bigint | undefined;
703
+ customSignature?: `0x${string}` | undefined;
704
+ factoryDeps?: `0x${string}`[] | undefined;
705
+ type?: "priority" | "eip712" | undefined;
706
+ } & {
707
+ paymaster: `0x${string}`;
708
+ paymasterInput: `0x${string}`;
709
+ }) | ({
710
+ data?: `0x${string}` | undefined;
711
+ from?: `0x${string}` | undefined;
712
+ gas?: bigint | undefined;
713
+ nonce?: number | undefined;
714
+ to?: `0x${string}` | null | undefined;
715
+ value?: bigint | undefined;
716
+ gasPrice?: bigint | undefined;
717
+ maxFeePerBlobGas?: bigint | undefined;
718
+ maxFeePerGas?: bigint | undefined;
719
+ maxPriorityFeePerGas?: bigint | undefined;
720
+ accessList?: import("../../index.js").AccessList | undefined;
721
+ blobs?: undefined;
722
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
723
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
724
+ gasPerPubdata?: bigint | undefined;
725
+ customSignature?: `0x${string}` | undefined;
726
+ factoryDeps?: `0x${string}`[] | undefined;
727
+ type?: "priority" | "eip712" | undefined;
728
+ } & {
729
+ paymaster?: undefined;
730
+ paymasterInput?: undefined;
731
+ }) | ({
732
+ data?: `0x${string}` | undefined;
733
+ from?: `0x${string}` | undefined;
734
+ gas?: bigint | undefined;
735
+ nonce?: number | undefined;
736
+ to?: `0x${string}` | null | undefined;
737
+ value?: bigint | undefined;
738
+ gasPrice?: bigint | undefined;
739
+ maxFeePerBlobGas?: bigint | undefined;
740
+ maxFeePerGas?: bigint | undefined;
741
+ maxPriorityFeePerGas?: bigint | undefined;
742
+ accessList?: import("../../index.js").AccessList | undefined;
743
+ blobs?: undefined;
744
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
745
+ } & {
746
+ data?: `0x${string}` | undefined;
747
+ from: `0x${string}`;
748
+ gas?: bigint | undefined;
749
+ nonce?: number | undefined;
750
+ to?: `0x${string}` | null | undefined;
751
+ value?: bigint | undefined;
752
+ gasPrice?: bigint | undefined;
753
+ maxFeePerBlobGas?: undefined;
754
+ maxFeePerGas?: undefined;
755
+ maxPriorityFeePerGas?: undefined;
756
+ accessList?: undefined;
757
+ blobs?: undefined;
758
+ type?: "legacy" | undefined;
759
+ } & {
760
+ gasPerPubdata?: undefined;
761
+ customSignature?: undefined;
762
+ paymaster?: undefined;
763
+ paymasterInput?: undefined;
764
+ factoryDeps?: undefined;
765
+ }) | ({
766
+ data?: `0x${string}` | undefined;
767
+ from?: `0x${string}` | undefined;
768
+ gas?: bigint | undefined;
769
+ nonce?: number | undefined;
770
+ to?: `0x${string}` | null | undefined;
771
+ value?: bigint | undefined;
772
+ gasPrice?: bigint | undefined;
773
+ maxFeePerBlobGas?: bigint | undefined;
774
+ maxFeePerGas?: bigint | undefined;
775
+ maxPriorityFeePerGas?: bigint | undefined;
776
+ accessList?: import("../../index.js").AccessList | undefined;
777
+ blobs?: undefined;
778
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
779
+ } & {
780
+ data?: `0x${string}` | undefined;
781
+ from: `0x${string}`;
782
+ gas?: bigint | undefined;
783
+ nonce?: number | undefined;
784
+ to?: `0x${string}` | null | undefined;
785
+ value?: bigint | undefined;
786
+ gasPrice?: bigint | undefined;
787
+ maxFeePerBlobGas?: undefined;
788
+ maxFeePerGas?: undefined;
789
+ maxPriorityFeePerGas?: undefined;
790
+ accessList?: import("../../index.js").AccessList | undefined;
791
+ blobs?: undefined;
792
+ type?: "eip2930" | undefined;
793
+ } & {
794
+ gasPerPubdata?: undefined;
795
+ customSignature?: undefined;
796
+ paymaster?: undefined;
797
+ paymasterInput?: undefined;
798
+ factoryDeps?: undefined;
799
+ }) | ({
800
+ data?: `0x${string}` | undefined;
801
+ from?: `0x${string}` | undefined;
802
+ gas?: bigint | undefined;
803
+ nonce?: number | undefined;
804
+ to?: `0x${string}` | null | undefined;
805
+ value?: bigint | undefined;
806
+ gasPrice?: bigint | undefined;
807
+ maxFeePerBlobGas?: bigint | undefined;
808
+ maxFeePerGas?: bigint | undefined;
809
+ maxPriorityFeePerGas?: bigint | undefined;
810
+ accessList?: import("../../index.js").AccessList | undefined;
811
+ blobs?: undefined;
812
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
813
+ } & {
814
+ data?: `0x${string}` | undefined;
815
+ from: `0x${string}`;
816
+ gas?: bigint | undefined;
817
+ nonce?: number | undefined;
818
+ to?: `0x${string}` | null | undefined;
819
+ value?: bigint | undefined;
820
+ gasPrice?: undefined;
821
+ maxFeePerBlobGas?: undefined;
822
+ maxFeePerGas?: bigint | undefined;
823
+ maxPriorityFeePerGas?: bigint | undefined;
824
+ accessList?: import("../../index.js").AccessList | undefined;
825
+ blobs?: undefined;
826
+ type?: "eip1559" | undefined;
827
+ } & {
828
+ gasPerPubdata?: undefined;
829
+ customSignature?: undefined;
830
+ paymaster?: undefined;
831
+ paymasterInput?: undefined;
832
+ factoryDeps?: undefined;
833
+ }) | ({
834
+ data?: `0x${string}` | undefined;
835
+ from?: `0x${string}` | undefined;
836
+ gas?: bigint | undefined;
837
+ nonce?: number | undefined;
838
+ to?: `0x${string}` | null | undefined;
839
+ value?: bigint | undefined;
840
+ gasPrice?: bigint | undefined;
841
+ maxFeePerBlobGas?: bigint | undefined;
842
+ maxFeePerGas?: bigint | undefined;
843
+ maxPriorityFeePerGas?: bigint | undefined;
844
+ accessList?: import("../../index.js").AccessList | undefined;
845
+ blobs?: undefined;
846
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
847
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
848
+ gasPerPubdata?: bigint | undefined;
849
+ customSignature?: `0x${string}` | undefined;
850
+ factoryDeps?: `0x${string}`[] | undefined;
851
+ type?: "priority" | "eip712" | undefined;
852
+ } & {
853
+ paymaster: `0x${string}`;
854
+ paymasterInput: `0x${string}`;
855
+ }) | ({
856
+ data?: `0x${string}` | undefined;
857
+ from?: `0x${string}` | undefined;
858
+ gas?: bigint | undefined;
859
+ nonce?: number | undefined;
860
+ to?: `0x${string}` | null | undefined;
861
+ value?: bigint | undefined;
862
+ gasPrice?: bigint | undefined;
863
+ maxFeePerBlobGas?: bigint | undefined;
864
+ maxFeePerGas?: bigint | undefined;
865
+ maxPriorityFeePerGas?: bigint | undefined;
866
+ accessList?: import("../../index.js").AccessList | undefined;
867
+ blobs?: undefined;
868
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
869
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
870
+ gasPerPubdata?: bigint | undefined;
871
+ customSignature?: `0x${string}` | undefined;
872
+ factoryDeps?: `0x${string}`[] | undefined;
873
+ type?: "priority" | "eip712" | undefined;
874
+ } & {
875
+ paymaster?: undefined;
876
+ paymasterInput?: undefined;
877
+ }) | ({
878
+ data?: `0x${string}` | undefined;
879
+ from?: `0x${string}` | undefined;
880
+ gas?: bigint | undefined;
881
+ nonce?: number | undefined;
882
+ value?: bigint | undefined;
883
+ to?: `0x${string}` | null | undefined;
884
+ gasPrice?: bigint | undefined;
885
+ maxFeePerGas?: bigint | undefined;
886
+ maxPriorityFeePerGas?: bigint | undefined;
887
+ maxFeePerBlobGas?: bigint | undefined;
888
+ accessList?: import("../../index.js").AccessList | undefined;
889
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
890
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
891
+ } & {
892
+ data?: `0x${string}` | undefined;
893
+ from: `0x${string}`;
894
+ gas?: bigint | undefined;
895
+ nonce?: number | undefined;
896
+ to?: `0x${string}` | null | undefined;
897
+ value?: bigint | undefined;
898
+ gasPrice?: bigint | undefined;
899
+ maxFeePerBlobGas?: undefined;
900
+ maxFeePerGas?: undefined;
901
+ maxPriorityFeePerGas?: undefined;
902
+ accessList?: undefined;
903
+ blobs?: undefined;
904
+ type?: "legacy" | undefined;
905
+ } & {
906
+ gasPerPubdata?: undefined;
907
+ customSignature?: undefined;
908
+ paymaster?: undefined;
909
+ paymasterInput?: undefined;
910
+ factoryDeps?: undefined;
911
+ }) | ({
912
+ data?: `0x${string}` | undefined;
913
+ from?: `0x${string}` | undefined;
914
+ gas?: bigint | undefined;
915
+ nonce?: number | undefined;
916
+ value?: bigint | undefined;
917
+ to?: `0x${string}` | null | undefined;
918
+ gasPrice?: bigint | undefined;
919
+ maxFeePerGas?: bigint | undefined;
920
+ maxPriorityFeePerGas?: bigint | undefined;
921
+ maxFeePerBlobGas?: bigint | undefined;
922
+ accessList?: import("../../index.js").AccessList | undefined;
923
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
924
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
925
+ } & {
926
+ data?: `0x${string}` | undefined;
927
+ from: `0x${string}`;
928
+ gas?: bigint | undefined;
929
+ nonce?: number | undefined;
930
+ to?: `0x${string}` | null | undefined;
931
+ value?: bigint | undefined;
932
+ gasPrice?: bigint | undefined;
933
+ maxFeePerBlobGas?: undefined;
934
+ maxFeePerGas?: undefined;
935
+ maxPriorityFeePerGas?: undefined;
936
+ accessList?: import("../../index.js").AccessList | undefined;
937
+ blobs?: undefined;
938
+ type?: "eip2930" | undefined;
939
+ } & {
940
+ gasPerPubdata?: undefined;
941
+ customSignature?: undefined;
942
+ paymaster?: undefined;
943
+ paymasterInput?: undefined;
944
+ factoryDeps?: undefined;
945
+ }) | ({
946
+ data?: `0x${string}` | undefined;
947
+ from?: `0x${string}` | undefined;
948
+ gas?: bigint | undefined;
949
+ nonce?: number | undefined;
950
+ value?: bigint | undefined;
951
+ to?: `0x${string}` | null | undefined;
952
+ gasPrice?: bigint | undefined;
953
+ maxFeePerGas?: bigint | undefined;
954
+ maxPriorityFeePerGas?: bigint | undefined;
955
+ maxFeePerBlobGas?: bigint | undefined;
956
+ accessList?: import("../../index.js").AccessList | undefined;
957
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
958
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
959
+ } & {
960
+ data?: `0x${string}` | undefined;
961
+ from: `0x${string}`;
962
+ gas?: bigint | undefined;
963
+ nonce?: number | undefined;
964
+ to?: `0x${string}` | null | undefined;
965
+ value?: bigint | undefined;
966
+ gasPrice?: undefined;
967
+ maxFeePerBlobGas?: undefined;
968
+ maxFeePerGas?: bigint | undefined;
969
+ maxPriorityFeePerGas?: bigint | undefined;
970
+ accessList?: import("../../index.js").AccessList | undefined;
971
+ blobs?: undefined;
972
+ type?: "eip1559" | undefined;
973
+ } & {
974
+ gasPerPubdata?: undefined;
975
+ customSignature?: undefined;
976
+ paymaster?: undefined;
977
+ paymasterInput?: undefined;
978
+ factoryDeps?: undefined;
979
+ }) | ({
980
+ data?: `0x${string}` | undefined;
981
+ from?: `0x${string}` | undefined;
982
+ gas?: bigint | undefined;
983
+ nonce?: number | undefined;
984
+ value?: bigint | undefined;
985
+ to?: `0x${string}` | null | undefined;
986
+ gasPrice?: bigint | undefined;
987
+ maxFeePerGas?: bigint | undefined;
988
+ maxPriorityFeePerGas?: bigint | undefined;
989
+ maxFeePerBlobGas?: bigint | undefined;
990
+ accessList?: import("../../index.js").AccessList | undefined;
991
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
992
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
993
+ } & {
994
+ data?: `0x${string}` | undefined;
995
+ from: `0x${string}`;
996
+ gas?: bigint | undefined;
997
+ nonce?: number | undefined;
998
+ value?: bigint | undefined;
999
+ to: `0x${string}` | null;
1000
+ gasPrice?: undefined;
1001
+ maxFeePerGas?: bigint | undefined;
1002
+ maxPriorityFeePerGas?: bigint | undefined;
1003
+ maxFeePerBlobGas: bigint;
1004
+ accessList?: import("../../index.js").AccessList | undefined;
1005
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1006
+ type?: "eip4844" | undefined;
1007
+ } & {
1008
+ gasPerPubdata?: undefined;
1009
+ customSignature?: undefined;
1010
+ paymaster?: undefined;
1011
+ paymasterInput?: undefined;
1012
+ factoryDeps?: undefined;
1013
+ }) | ({
1014
+ data?: `0x${string}` | undefined;
1015
+ from?: `0x${string}` | undefined;
1016
+ gas?: bigint | undefined;
1017
+ nonce?: number | undefined;
1018
+ value?: bigint | undefined;
1019
+ to?: `0x${string}` | null | undefined;
1020
+ gasPrice?: bigint | undefined;
1021
+ maxFeePerGas?: bigint | undefined;
1022
+ maxPriorityFeePerGas?: bigint | undefined;
1023
+ maxFeePerBlobGas?: bigint | undefined;
1024
+ accessList?: import("../../index.js").AccessList | undefined;
1025
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1026
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1027
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1028
+ gasPerPubdata?: bigint | undefined;
1029
+ customSignature?: `0x${string}` | undefined;
1030
+ factoryDeps?: `0x${string}`[] | undefined;
1031
+ type?: "priority" | "eip712" | undefined;
1032
+ } & {
1033
+ paymaster: `0x${string}`;
1034
+ paymasterInput: `0x${string}`;
1035
+ }) | ({
1036
+ data?: `0x${string}` | undefined;
1037
+ from?: `0x${string}` | undefined;
1038
+ gas?: bigint | undefined;
1039
+ nonce?: number | undefined;
1040
+ value?: bigint | undefined;
1041
+ to?: `0x${string}` | null | undefined;
1042
+ gasPrice?: bigint | undefined;
1043
+ maxFeePerGas?: bigint | undefined;
1044
+ maxPriorityFeePerGas?: bigint | undefined;
1045
+ maxFeePerBlobGas?: bigint | undefined;
1046
+ accessList?: import("../../index.js").AccessList | undefined;
1047
+ blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
1048
+ type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
1049
+ } & Omit<import("../../index.js").TransactionRequestBase, "type"> & Partial<import("../../index.js").FeeValuesEIP1559> & {
1050
+ gasPerPubdata?: bigint | undefined;
1051
+ customSignature?: `0x${string}` | undefined;
1052
+ factoryDeps?: `0x${string}`[] | undefined;
1053
+ type?: "priority" | "eip712" | undefined;
1054
+ } & {
1055
+ paymaster?: undefined;
1056
+ paymasterInput?: undefined;
1057
+ })) => ({
440
1058
  data?: `0x${string}` | undefined;
441
1059
  from: `0x${string}`;
442
1060
  gas?: `0x${string}` | undefined;
@@ -444,11 +1062,12 @@ export declare const formatters: {
444
1062
  to?: `0x${string}` | null | undefined;
445
1063
  value?: `0x${string}` | undefined;
446
1064
  gasPrice?: `0x${string}` | undefined;
1065
+ maxFeePerBlobGas?: undefined;
447
1066
  maxFeePerGas?: undefined;
448
1067
  maxPriorityFeePerGas?: undefined;
449
1068
  accessList?: undefined;
1069
+ blobs?: undefined;
450
1070
  type?: "0x0" | undefined;
451
- maxFeePerBlobGas?: undefined;
452
1071
  eip712Meta?: undefined;
453
1072
  } | {
454
1073
  data?: `0x${string}` | undefined;
@@ -458,11 +1077,12 @@ export declare const formatters: {
458
1077
  to?: `0x${string}` | null | undefined;
459
1078
  value?: `0x${string}` | undefined;
460
1079
  gasPrice?: `0x${string}` | undefined;
1080
+ maxFeePerBlobGas?: undefined;
461
1081
  maxFeePerGas?: undefined;
462
1082
  maxPriorityFeePerGas?: undefined;
463
1083
  accessList?: undefined;
1084
+ blobs?: undefined;
464
1085
  type?: "0x1" | undefined;
465
- maxFeePerBlobGas?: undefined;
466
1086
  eip712Meta?: undefined;
467
1087
  } | {
468
1088
  data?: `0x${string}` | undefined;
@@ -472,11 +1092,12 @@ export declare const formatters: {
472
1092
  to?: `0x${string}` | null | undefined;
473
1093
  value?: `0x${string}` | undefined;
474
1094
  gasPrice?: undefined;
1095
+ maxFeePerBlobGas?: undefined;
475
1096
  maxFeePerGas?: `0x${string}` | undefined;
476
1097
  maxPriorityFeePerGas?: `0x${string}` | undefined;
477
1098
  accessList?: undefined;
1099
+ blobs?: undefined;
478
1100
  type?: "0x2" | undefined;
479
- maxFeePerBlobGas?: undefined;
480
1101
  eip712Meta?: undefined;
481
1102
  } | {
482
1103
  data?: `0x${string}` | undefined;
@@ -486,11 +1107,12 @@ export declare const formatters: {
486
1107
  to?: `0x${string}` | null | undefined;
487
1108
  value?: `0x${string}` | undefined;
488
1109
  gasPrice?: undefined;
1110
+ maxFeePerBlobGas?: undefined;
489
1111
  maxFeePerGas?: `0x${string}` | undefined;
490
1112
  maxPriorityFeePerGas?: `0x${string}` | undefined;
491
1113
  accessList?: undefined;
1114
+ blobs?: undefined;
492
1115
  type: "0xff" | "0x71";
493
- maxFeePerBlobGas?: undefined;
494
1116
  eip712Meta: import("./index.js").ZkSyncEip712Meta;
495
1117
  } | {
496
1118
  data?: `0x${string}` | undefined;
@@ -500,11 +1122,12 @@ export declare const formatters: {
500
1122
  to?: `0x${string}` | null | undefined;
501
1123
  value?: `0x${string}` | undefined;
502
1124
  gasPrice?: `0x${string}` | undefined;
1125
+ maxFeePerBlobGas?: undefined;
503
1126
  maxFeePerGas?: undefined;
504
1127
  maxPriorityFeePerGas?: undefined;
505
1128
  accessList?: undefined;
1129
+ blobs?: undefined;
506
1130
  type?: "0x0" | undefined;
507
- maxFeePerBlobGas?: undefined;
508
1131
  eip712Meta?: undefined;
509
1132
  } | {
510
1133
  data?: `0x${string}` | undefined;
@@ -514,11 +1137,12 @@ export declare const formatters: {
514
1137
  to?: `0x${string}` | null | undefined;
515
1138
  value?: `0x${string}` | undefined;
516
1139
  gasPrice?: `0x${string}` | undefined;
1140
+ maxFeePerBlobGas?: undefined;
517
1141
  maxFeePerGas?: undefined;
518
1142
  maxPriorityFeePerGas?: undefined;
519
1143
  accessList?: import("../../index.js").AccessList | undefined;
1144
+ blobs?: undefined;
520
1145
  type?: "0x1" | undefined;
521
- maxFeePerBlobGas?: undefined;
522
1146
  eip712Meta?: undefined;
523
1147
  } | {
524
1148
  data?: `0x${string}` | undefined;
@@ -528,11 +1152,12 @@ export declare const formatters: {
528
1152
  to?: `0x${string}` | null | undefined;
529
1153
  value?: `0x${string}` | undefined;
530
1154
  gasPrice?: undefined;
1155
+ maxFeePerBlobGas?: undefined;
531
1156
  maxFeePerGas?: `0x${string}` | undefined;
532
1157
  maxPriorityFeePerGas?: `0x${string}` | undefined;
533
1158
  accessList?: import("../../index.js").AccessList | undefined;
1159
+ blobs?: undefined;
534
1160
  type?: "0x2" | undefined;
535
- maxFeePerBlobGas?: undefined;
536
1161
  eip712Meta?: undefined;
537
1162
  } | {
538
1163
  data?: `0x${string}` | undefined;
@@ -542,11 +1167,12 @@ export declare const formatters: {
542
1167
  to?: `0x${string}` | null | undefined;
543
1168
  value?: `0x${string}` | undefined;
544
1169
  gasPrice?: undefined;
1170
+ maxFeePerBlobGas?: undefined;
545
1171
  maxFeePerGas?: `0x${string}` | undefined;
546
1172
  maxPriorityFeePerGas?: `0x${string}` | undefined;
547
1173
  accessList?: import("../../index.js").AccessList | undefined;
1174
+ blobs?: undefined;
548
1175
  type: "0xff" | "0x71";
549
- maxFeePerBlobGas?: undefined;
550
1176
  eip712Meta: import("./index.js").ZkSyncEip712Meta;
551
1177
  } | {
552
1178
  data?: `0x${string}` | undefined;
@@ -556,11 +1182,12 @@ export declare const formatters: {
556
1182
  to?: `0x${string}` | null | undefined;
557
1183
  value?: `0x${string}` | undefined;
558
1184
  gasPrice?: `0x${string}` | undefined;
1185
+ maxFeePerBlobGas?: undefined;
559
1186
  maxFeePerGas?: undefined;
560
1187
  maxPriorityFeePerGas?: undefined;
561
1188
  accessList?: undefined;
1189
+ blobs?: undefined;
562
1190
  type?: "0x0" | undefined;
563
- maxFeePerBlobGas?: undefined;
564
1191
  eip712Meta?: undefined;
565
1192
  } | {
566
1193
  data?: `0x${string}` | undefined;
@@ -570,11 +1197,12 @@ export declare const formatters: {
570
1197
  to?: `0x${string}` | null | undefined;
571
1198
  value?: `0x${string}` | undefined;
572
1199
  gasPrice?: `0x${string}` | undefined;
1200
+ maxFeePerBlobGas?: undefined;
573
1201
  maxFeePerGas?: undefined;
574
1202
  maxPriorityFeePerGas?: undefined;
575
1203
  accessList?: import("../../index.js").AccessList | undefined;
1204
+ blobs?: undefined;
576
1205
  type?: "0x1" | undefined;
577
- maxFeePerBlobGas?: undefined;
578
1206
  eip712Meta?: undefined;
579
1207
  } | {
580
1208
  data?: `0x${string}` | undefined;
@@ -584,11 +1212,12 @@ export declare const formatters: {
584
1212
  to?: `0x${string}` | null | undefined;
585
1213
  value?: `0x${string}` | undefined;
586
1214
  gasPrice?: undefined;
1215
+ maxFeePerBlobGas?: undefined;
587
1216
  maxFeePerGas?: `0x${string}` | undefined;
588
1217
  maxPriorityFeePerGas?: `0x${string}` | undefined;
589
1218
  accessList?: import("../../index.js").AccessList | undefined;
1219
+ blobs?: undefined;
590
1220
  type?: "0x2" | undefined;
591
- maxFeePerBlobGas?: undefined;
592
1221
  eip712Meta?: undefined;
593
1222
  } | {
594
1223
  data?: `0x${string}` | undefined;
@@ -598,11 +1227,42 @@ export declare const formatters: {
598
1227
  to?: `0x${string}` | null | undefined;
599
1228
  value?: `0x${string}` | undefined;
600
1229
  gasPrice?: undefined;
1230
+ maxFeePerBlobGas?: undefined;
601
1231
  maxFeePerGas?: `0x${string}` | undefined;
602
1232
  maxPriorityFeePerGas?: `0x${string}` | undefined;
603
1233
  accessList?: import("../../index.js").AccessList | undefined;
1234
+ blobs?: undefined;
1235
+ type: "0xff" | "0x71";
1236
+ eip712Meta: import("./index.js").ZkSyncEip712Meta;
1237
+ } | {
1238
+ data?: `0x${string}` | undefined;
1239
+ from: `0x${string}`;
1240
+ gas?: `0x${string}` | undefined;
1241
+ nonce?: `0x${string}` | undefined;
1242
+ value?: `0x${string}` | undefined;
1243
+ to: `0x${string}` | null;
1244
+ gasPrice?: undefined;
1245
+ maxFeePerGas?: `0x${string}` | undefined;
1246
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1247
+ maxFeePerBlobGas: `0x${string}`;
1248
+ accessList?: import("../../index.js").AccessList | undefined;
1249
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
1250
+ type?: "0x3" | undefined;
1251
+ eip712Meta?: undefined;
1252
+ } | {
1253
+ data?: `0x${string}` | undefined;
1254
+ from: `0x${string}`;
1255
+ gas?: `0x${string}` | undefined;
1256
+ nonce?: `0x${string}` | undefined;
1257
+ value?: `0x${string}` | undefined;
1258
+ to: `0x${string}` | null | undefined;
1259
+ gasPrice?: undefined;
1260
+ maxFeePerGas?: `0x${string}` | undefined;
1261
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1262
+ maxFeePerBlobGas: undefined;
1263
+ accessList?: import("../../index.js").AccessList | undefined;
1264
+ blobs: readonly `0x${string}`[] | readonly Uint8Array[];
604
1265
  type: "0xff" | "0x71";
605
- maxFeePerBlobGas?: undefined;
606
1266
  eip712Meta: import("./index.js").ZkSyncEip712Meta;
607
1267
  }) & {
608
1268
  gasPerPubdata: never;