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
@@ -57,53 +57,77 @@ export declare const chainConfig: {
57
57
  readonly transaction: {
58
58
  exclude: [] | undefined;
59
59
  format: (args: ({
60
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
61
- gas?: `0x${string}` | undefined;
62
- value?: `0x${string}` | undefined;
60
+ r?: `0x${string}` | undefined;
61
+ s?: `0x${string}` | undefined;
62
+ v?: `0x${string}` | undefined;
63
+ yParity?: `0x${string}` | undefined;
63
64
  gasPrice?: `0x${string}` | undefined;
64
65
  maxFeePerBlobGas?: `0x${string}` | undefined;
65
66
  maxFeePerGas?: `0x${string}` | undefined;
66
67
  maxPriorityFeePerGas?: `0x${string}` | undefined;
67
- yParity?: `0x${string}` | undefined;
68
+ to?: `0x${string}` | null | undefined;
69
+ from?: `0x${string}` | undefined;
70
+ gas?: `0x${string}` | undefined;
71
+ nonce?: `0x${string}` | undefined;
72
+ value?: `0x${string}` | undefined;
73
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
74
+ accessList?: undefined;
68
75
  blockHash?: `0x${string}` | null | undefined;
69
76
  blockNumber?: `0x${string}` | null | undefined;
70
- from?: `0x${string}` | undefined;
71
77
  hash?: `0x${string}` | undefined;
72
78
  input?: `0x${string}` | undefined;
73
- nonce?: `0x${string}` | undefined;
74
- r?: `0x${string}` | undefined;
75
- s?: `0x${string}` | undefined;
76
- to?: `0x${string}` | null | undefined;
77
79
  transactionIndex?: `0x${string}` | null | undefined;
78
- v?: `0x${string}` | undefined;
80
+ blobVersionedHashes?: undefined;
81
+ chainId?: `0x${string}` | undefined;
82
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
83
+ r: `0x${string}`;
84
+ s: `0x${string}`;
85
+ v: `0x${string}`;
86
+ to: `0x${string}` | null;
87
+ from: `0x${string}`;
88
+ gas: `0x${string}`;
89
+ nonce: `0x${string}`;
90
+ value: `0x${string}`;
91
+ blockHash: `0x${string}` | null;
92
+ blockNumber: `0x${string}` | null;
93
+ hash: `0x${string}`;
94
+ input: `0x${string}`;
95
+ transactionIndex: `0x${string}` | null;
96
+ typeHex: `0x${string}` | null;
97
+ gasPrice: `0x${string}`;
98
+ maxFeePerBlobGas?: undefined;
99
+ maxFeePerGas?: undefined;
100
+ maxPriorityFeePerGas?: undefined;
79
101
  accessList?: undefined;
80
102
  blobVersionedHashes?: undefined;
81
103
  chainId?: `0x${string}` | undefined;
82
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
104
+ yParity?: undefined;
105
+ type: "0x0";
106
+ }, "yParity">, "typeHex"> & {
83
107
  isSystemTx?: undefined;
84
108
  mint?: undefined;
85
109
  sourceHash?: undefined;
86
110
  }) | ({
87
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
88
- gas?: `0x${string}` | undefined;
89
- value?: `0x${string}` | undefined;
111
+ r?: `0x${string}` | undefined;
112
+ s?: `0x${string}` | undefined;
113
+ v?: `0x${string}` | undefined;
114
+ yParity?: `0x${string}` | undefined;
90
115
  gasPrice?: `0x${string}` | undefined;
91
116
  maxFeePerBlobGas?: `0x${string}` | undefined;
92
117
  maxFeePerGas?: `0x${string}` | undefined;
93
118
  maxPriorityFeePerGas?: `0x${string}` | undefined;
94
- yParity?: `0x${string}` | undefined;
119
+ to?: `0x${string}` | null | undefined;
120
+ from?: `0x${string}` | undefined;
121
+ gas?: `0x${string}` | undefined;
122
+ nonce?: `0x${string}` | undefined;
123
+ value?: `0x${string}` | undefined;
124
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
125
+ accessList?: undefined;
95
126
  blockHash?: `0x${string}` | null | undefined;
96
127
  blockNumber?: `0x${string}` | null | undefined;
97
- from?: `0x${string}` | undefined;
98
128
  hash?: `0x${string}` | undefined;
99
129
  input?: `0x${string}` | undefined;
100
- nonce?: `0x${string}` | undefined;
101
- r?: `0x${string}` | undefined;
102
- s?: `0x${string}` | undefined;
103
- to?: `0x${string}` | null | undefined;
104
130
  transactionIndex?: `0x${string}` | null | undefined;
105
- v?: `0x${string}` | undefined;
106
- accessList?: undefined;
107
131
  blobVersionedHashes?: undefined;
108
132
  chainId?: `0x${string}` | undefined;
109
133
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -112,107 +136,179 @@ export declare const chainConfig: {
112
136
  sourceHash: `0x${string}`;
113
137
  type: "0x7e";
114
138
  }) | ({
115
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
116
- gas?: `0x${string}` | undefined;
117
- value?: `0x${string}` | undefined;
139
+ r?: `0x${string}` | undefined;
140
+ s?: `0x${string}` | undefined;
141
+ v?: `0x${string}` | undefined;
142
+ yParity?: `0x${string}` | undefined;
118
143
  gasPrice?: `0x${string}` | undefined;
119
144
  maxFeePerBlobGas?: `0x${string}` | undefined;
120
145
  maxFeePerGas?: `0x${string}` | undefined;
121
146
  maxPriorityFeePerGas?: `0x${string}` | undefined;
122
- yParity?: `0x${string}` | undefined;
147
+ to?: `0x${string}` | null | undefined;
148
+ from?: `0x${string}` | undefined;
149
+ gas?: `0x${string}` | undefined;
150
+ nonce?: `0x${string}` | undefined;
151
+ value?: `0x${string}` | undefined;
152
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
153
+ accessList?: import("../../index.js").AccessList | undefined;
123
154
  blockHash?: `0x${string}` | null | undefined;
124
155
  blockNumber?: `0x${string}` | null | undefined;
125
- from?: `0x${string}` | undefined;
126
156
  hash?: `0x${string}` | undefined;
127
157
  input?: `0x${string}` | undefined;
128
- nonce?: `0x${string}` | undefined;
129
- r?: `0x${string}` | undefined;
130
- s?: `0x${string}` | undefined;
131
- to?: `0x${string}` | null | undefined;
132
158
  transactionIndex?: `0x${string}` | null | undefined;
133
- v?: `0x${string}` | undefined;
134
- accessList?: import("../../index.js").AccessList | undefined;
135
159
  blobVersionedHashes?: undefined;
136
160
  chainId?: `0x${string}` | undefined;
137
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
161
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
162
+ r: `0x${string}`;
163
+ s: `0x${string}`;
164
+ v: `0x${string}`;
165
+ to: `0x${string}` | null;
166
+ from: `0x${string}`;
167
+ gas: `0x${string}`;
168
+ nonce: `0x${string}`;
169
+ value: `0x${string}`;
170
+ blockHash: `0x${string}` | null;
171
+ blockNumber: `0x${string}` | null;
172
+ hash: `0x${string}`;
173
+ input: `0x${string}`;
174
+ transactionIndex: `0x${string}` | null;
175
+ typeHex: `0x${string}` | null;
176
+ gasPrice: `0x${string}`;
177
+ maxFeePerBlobGas?: undefined;
178
+ maxFeePerGas?: undefined;
179
+ maxPriorityFeePerGas?: undefined;
180
+ accessList?: undefined;
181
+ blobVersionedHashes?: undefined;
182
+ chainId?: `0x${string}` | undefined;
183
+ yParity?: undefined;
184
+ type: "0x0";
185
+ }, "yParity">, "typeHex"> & {
138
186
  isSystemTx?: undefined;
139
187
  mint?: undefined;
140
188
  sourceHash?: undefined;
141
189
  }) | ({
142
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
143
- gas?: `0x${string}` | undefined;
144
- value?: `0x${string}` | undefined;
190
+ r?: `0x${string}` | undefined;
191
+ s?: `0x${string}` | undefined;
192
+ v?: `0x${string}` | undefined;
193
+ yParity?: `0x${string}` | undefined;
145
194
  gasPrice?: `0x${string}` | undefined;
146
195
  maxFeePerBlobGas?: `0x${string}` | undefined;
147
196
  maxFeePerGas?: `0x${string}` | undefined;
148
197
  maxPriorityFeePerGas?: `0x${string}` | undefined;
149
- yParity?: `0x${string}` | undefined;
198
+ to?: `0x${string}` | null | undefined;
199
+ from?: `0x${string}` | undefined;
200
+ gas?: `0x${string}` | undefined;
201
+ nonce?: `0x${string}` | undefined;
202
+ value?: `0x${string}` | undefined;
203
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
204
+ accessList?: import("../../index.js").AccessList | undefined;
150
205
  blockHash?: `0x${string}` | null | undefined;
151
206
  blockNumber?: `0x${string}` | null | undefined;
152
- from?: `0x${string}` | undefined;
153
207
  hash?: `0x${string}` | undefined;
154
208
  input?: `0x${string}` | undefined;
155
- nonce?: `0x${string}` | undefined;
156
- r?: `0x${string}` | undefined;
157
- s?: `0x${string}` | undefined;
158
- to?: `0x${string}` | null | undefined;
159
209
  transactionIndex?: `0x${string}` | null | undefined;
160
- v?: `0x${string}` | undefined;
161
- accessList?: import("../../index.js").AccessList | undefined;
162
210
  blobVersionedHashes?: undefined;
163
211
  chainId?: `0x${string}` | undefined;
164
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
212
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
213
+ blockHash: `0x${string}` | null;
214
+ blockNumber: `0x${string}` | null;
215
+ from: `0x${string}`;
216
+ gas: `0x${string}`;
217
+ hash: `0x${string}`;
218
+ input: `0x${string}`;
219
+ nonce: `0x${string}`;
220
+ r: `0x${string}`;
221
+ s: `0x${string}`;
222
+ to: `0x${string}` | null;
223
+ transactionIndex: `0x${string}` | null;
224
+ typeHex: `0x${string}` | null;
225
+ v: `0x${string}`;
226
+ value: `0x${string}`;
227
+ yParity: `0x${string}`;
228
+ gasPrice: `0x${string}`;
229
+ maxFeePerBlobGas?: undefined;
230
+ maxFeePerGas?: undefined;
231
+ maxPriorityFeePerGas?: undefined;
232
+ accessList: import("../../index.js").AccessList;
233
+ blobVersionedHashes?: undefined;
234
+ chainId: `0x${string}`;
235
+ type: "0x1";
236
+ }, "yParity">, "typeHex"> & {
165
237
  isSystemTx?: undefined;
166
238
  mint?: undefined;
167
239
  sourceHash?: undefined;
168
240
  }) | ({
169
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
170
- gas?: `0x${string}` | undefined;
171
- value?: `0x${string}` | undefined;
241
+ r?: `0x${string}` | undefined;
242
+ s?: `0x${string}` | undefined;
243
+ v?: `0x${string}` | undefined;
244
+ yParity?: `0x${string}` | undefined;
172
245
  gasPrice?: `0x${string}` | undefined;
173
246
  maxFeePerBlobGas?: `0x${string}` | undefined;
174
247
  maxFeePerGas?: `0x${string}` | undefined;
175
248
  maxPriorityFeePerGas?: `0x${string}` | undefined;
176
- yParity?: `0x${string}` | undefined;
249
+ to?: `0x${string}` | null | undefined;
250
+ from?: `0x${string}` | undefined;
251
+ gas?: `0x${string}` | undefined;
252
+ nonce?: `0x${string}` | undefined;
253
+ value?: `0x${string}` | undefined;
254
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
255
+ accessList?: import("../../index.js").AccessList | undefined;
177
256
  blockHash?: `0x${string}` | null | undefined;
178
257
  blockNumber?: `0x${string}` | null | undefined;
179
- from?: `0x${string}` | undefined;
180
258
  hash?: `0x${string}` | undefined;
181
259
  input?: `0x${string}` | undefined;
182
- nonce?: `0x${string}` | undefined;
183
- r?: `0x${string}` | undefined;
184
- s?: `0x${string}` | undefined;
185
- to?: `0x${string}` | null | undefined;
186
260
  transactionIndex?: `0x${string}` | null | undefined;
187
- v?: `0x${string}` | undefined;
188
- accessList?: import("../../index.js").AccessList | undefined;
189
261
  blobVersionedHashes?: undefined;
190
262
  chainId?: `0x${string}` | undefined;
191
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
263
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
264
+ blockHash: `0x${string}` | null;
265
+ blockNumber: `0x${string}` | null;
266
+ from: `0x${string}`;
267
+ gas: `0x${string}`;
268
+ hash: `0x${string}`;
269
+ input: `0x${string}`;
270
+ nonce: `0x${string}`;
271
+ r: `0x${string}`;
272
+ s: `0x${string}`;
273
+ to: `0x${string}` | null;
274
+ transactionIndex: `0x${string}` | null;
275
+ typeHex: `0x${string}` | null;
276
+ v: `0x${string}`;
277
+ value: `0x${string}`;
278
+ yParity: `0x${string}`;
279
+ gasPrice?: undefined;
280
+ maxFeePerBlobGas?: undefined;
281
+ maxFeePerGas: `0x${string}`;
282
+ maxPriorityFeePerGas: `0x${string}`;
283
+ accessList: import("../../index.js").AccessList;
284
+ blobVersionedHashes?: undefined;
285
+ chainId: `0x${string}`;
286
+ type: "0x2";
287
+ }, "yParity">, "typeHex"> & {
192
288
  isSystemTx?: undefined;
193
289
  mint?: undefined;
194
290
  sourceHash?: undefined;
195
291
  }) | ({
196
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
197
- gas?: `0x${string}` | undefined;
198
- value?: `0x${string}` | undefined;
292
+ r?: `0x${string}` | undefined;
293
+ s?: `0x${string}` | undefined;
294
+ v?: `0x${string}` | undefined;
295
+ yParity?: `0x${string}` | undefined;
199
296
  gasPrice?: `0x${string}` | undefined;
200
297
  maxFeePerBlobGas?: `0x${string}` | undefined;
201
298
  maxFeePerGas?: `0x${string}` | undefined;
202
299
  maxPriorityFeePerGas?: `0x${string}` | undefined;
203
- yParity?: `0x${string}` | undefined;
300
+ to?: `0x${string}` | null | undefined;
301
+ from?: `0x${string}` | undefined;
302
+ gas?: `0x${string}` | undefined;
303
+ nonce?: `0x${string}` | undefined;
304
+ value?: `0x${string}` | undefined;
305
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
306
+ accessList?: import("../../index.js").AccessList | undefined;
204
307
  blockHash?: `0x${string}` | null | undefined;
205
308
  blockNumber?: `0x${string}` | null | undefined;
206
- from?: `0x${string}` | undefined;
207
309
  hash?: `0x${string}` | undefined;
208
310
  input?: `0x${string}` | undefined;
209
- nonce?: `0x${string}` | undefined;
210
- r?: `0x${string}` | undefined;
211
- s?: `0x${string}` | undefined;
212
- to?: `0x${string}` | null | undefined;
213
311
  transactionIndex?: `0x${string}` | null | undefined;
214
- v?: `0x${string}` | undefined;
215
- accessList?: import("../../index.js").AccessList | undefined;
216
312
  blobVersionedHashes?: undefined;
217
313
  chainId?: `0x${string}` | undefined;
218
314
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -221,107 +317,179 @@ export declare const chainConfig: {
221
317
  sourceHash: `0x${string}`;
222
318
  type: "0x7e";
223
319
  }) | ({
224
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
225
- gas?: `0x${string}` | undefined;
226
- value?: `0x${string}` | undefined;
320
+ r?: `0x${string}` | undefined;
321
+ s?: `0x${string}` | undefined;
322
+ v?: `0x${string}` | undefined;
323
+ yParity?: `0x${string}` | undefined;
227
324
  gasPrice?: `0x${string}` | undefined;
228
325
  maxFeePerBlobGas?: `0x${string}` | undefined;
229
326
  maxFeePerGas?: `0x${string}` | undefined;
230
327
  maxPriorityFeePerGas?: `0x${string}` | undefined;
231
- yParity?: `0x${string}` | undefined;
328
+ to?: `0x${string}` | null | undefined;
329
+ from?: `0x${string}` | undefined;
330
+ gas?: `0x${string}` | undefined;
331
+ nonce?: `0x${string}` | undefined;
332
+ value?: `0x${string}` | undefined;
333
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
334
+ accessList?: import("../../index.js").AccessList | undefined;
232
335
  blockHash?: `0x${string}` | null | undefined;
233
336
  blockNumber?: `0x${string}` | null | undefined;
234
- from?: `0x${string}` | undefined;
235
337
  hash?: `0x${string}` | undefined;
236
338
  input?: `0x${string}` | undefined;
237
- nonce?: `0x${string}` | undefined;
238
- r?: `0x${string}` | undefined;
239
- s?: `0x${string}` | undefined;
240
- to?: `0x${string}` | null | undefined;
241
339
  transactionIndex?: `0x${string}` | null | undefined;
242
- v?: `0x${string}` | undefined;
243
- accessList?: import("../../index.js").AccessList | undefined;
244
340
  blobVersionedHashes?: undefined;
245
341
  chainId?: `0x${string}` | undefined;
246
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
342
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
343
+ r: `0x${string}`;
344
+ s: `0x${string}`;
345
+ v: `0x${string}`;
346
+ to: `0x${string}` | null;
347
+ from: `0x${string}`;
348
+ gas: `0x${string}`;
349
+ nonce: `0x${string}`;
350
+ value: `0x${string}`;
351
+ blockHash: `0x${string}` | null;
352
+ blockNumber: `0x${string}` | null;
353
+ hash: `0x${string}`;
354
+ input: `0x${string}`;
355
+ transactionIndex: `0x${string}` | null;
356
+ typeHex: `0x${string}` | null;
357
+ gasPrice: `0x${string}`;
358
+ maxFeePerBlobGas?: undefined;
359
+ maxFeePerGas?: undefined;
360
+ maxPriorityFeePerGas?: undefined;
361
+ accessList?: undefined;
362
+ blobVersionedHashes?: undefined;
363
+ chainId?: `0x${string}` | undefined;
364
+ yParity?: undefined;
365
+ type: "0x0";
366
+ }, "yParity">, "typeHex"> & {
247
367
  isSystemTx?: undefined;
248
368
  mint?: undefined;
249
369
  sourceHash?: undefined;
250
370
  }) | ({
251
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
252
- gas?: `0x${string}` | undefined;
253
- value?: `0x${string}` | undefined;
371
+ r?: `0x${string}` | undefined;
372
+ s?: `0x${string}` | undefined;
373
+ v?: `0x${string}` | undefined;
374
+ yParity?: `0x${string}` | undefined;
254
375
  gasPrice?: `0x${string}` | undefined;
255
376
  maxFeePerBlobGas?: `0x${string}` | undefined;
256
377
  maxFeePerGas?: `0x${string}` | undefined;
257
378
  maxPriorityFeePerGas?: `0x${string}` | undefined;
258
- yParity?: `0x${string}` | undefined;
379
+ to?: `0x${string}` | null | undefined;
380
+ from?: `0x${string}` | undefined;
381
+ gas?: `0x${string}` | undefined;
382
+ nonce?: `0x${string}` | undefined;
383
+ value?: `0x${string}` | undefined;
384
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
385
+ accessList?: import("../../index.js").AccessList | undefined;
259
386
  blockHash?: `0x${string}` | null | undefined;
260
387
  blockNumber?: `0x${string}` | null | undefined;
261
- from?: `0x${string}` | undefined;
262
388
  hash?: `0x${string}` | undefined;
263
389
  input?: `0x${string}` | undefined;
264
- nonce?: `0x${string}` | undefined;
265
- r?: `0x${string}` | undefined;
266
- s?: `0x${string}` | undefined;
267
- to?: `0x${string}` | null | undefined;
268
390
  transactionIndex?: `0x${string}` | null | undefined;
269
- v?: `0x${string}` | undefined;
270
- accessList?: import("../../index.js").AccessList | undefined;
271
391
  blobVersionedHashes?: undefined;
272
392
  chainId?: `0x${string}` | undefined;
273
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
393
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
394
+ blockHash: `0x${string}` | null;
395
+ blockNumber: `0x${string}` | null;
396
+ from: `0x${string}`;
397
+ gas: `0x${string}`;
398
+ hash: `0x${string}`;
399
+ input: `0x${string}`;
400
+ nonce: `0x${string}`;
401
+ r: `0x${string}`;
402
+ s: `0x${string}`;
403
+ to: `0x${string}` | null;
404
+ transactionIndex: `0x${string}` | null;
405
+ typeHex: `0x${string}` | null;
406
+ v: `0x${string}`;
407
+ value: `0x${string}`;
408
+ yParity: `0x${string}`;
409
+ gasPrice: `0x${string}`;
410
+ maxFeePerBlobGas?: undefined;
411
+ maxFeePerGas?: undefined;
412
+ maxPriorityFeePerGas?: undefined;
413
+ accessList: import("../../index.js").AccessList;
414
+ blobVersionedHashes?: undefined;
415
+ chainId: `0x${string}`;
416
+ type: "0x1";
417
+ }, "yParity">, "typeHex"> & {
274
418
  isSystemTx?: undefined;
275
419
  mint?: undefined;
276
420
  sourceHash?: undefined;
277
421
  }) | ({
278
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
279
- gas?: `0x${string}` | undefined;
280
- value?: `0x${string}` | undefined;
422
+ r?: `0x${string}` | undefined;
423
+ s?: `0x${string}` | undefined;
424
+ v?: `0x${string}` | undefined;
425
+ yParity?: `0x${string}` | undefined;
281
426
  gasPrice?: `0x${string}` | undefined;
282
427
  maxFeePerBlobGas?: `0x${string}` | undefined;
283
428
  maxFeePerGas?: `0x${string}` | undefined;
284
429
  maxPriorityFeePerGas?: `0x${string}` | undefined;
285
- yParity?: `0x${string}` | undefined;
430
+ to?: `0x${string}` | null | undefined;
431
+ from?: `0x${string}` | undefined;
432
+ gas?: `0x${string}` | undefined;
433
+ nonce?: `0x${string}` | undefined;
434
+ value?: `0x${string}` | undefined;
435
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
436
+ accessList?: import("../../index.js").AccessList | undefined;
286
437
  blockHash?: `0x${string}` | null | undefined;
287
438
  blockNumber?: `0x${string}` | null | undefined;
288
- from?: `0x${string}` | undefined;
289
439
  hash?: `0x${string}` | undefined;
290
440
  input?: `0x${string}` | undefined;
291
- nonce?: `0x${string}` | undefined;
292
- r?: `0x${string}` | undefined;
293
- s?: `0x${string}` | undefined;
294
- to?: `0x${string}` | null | undefined;
295
441
  transactionIndex?: `0x${string}` | null | undefined;
296
- v?: `0x${string}` | undefined;
297
- accessList?: import("../../index.js").AccessList | undefined;
298
442
  blobVersionedHashes?: undefined;
299
443
  chainId?: `0x${string}` | undefined;
300
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
444
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
445
+ blockHash: `0x${string}` | null;
446
+ blockNumber: `0x${string}` | null;
447
+ from: `0x${string}`;
448
+ gas: `0x${string}`;
449
+ hash: `0x${string}`;
450
+ input: `0x${string}`;
451
+ nonce: `0x${string}`;
452
+ r: `0x${string}`;
453
+ s: `0x${string}`;
454
+ to: `0x${string}` | null;
455
+ transactionIndex: `0x${string}` | null;
456
+ typeHex: `0x${string}` | null;
457
+ v: `0x${string}`;
458
+ value: `0x${string}`;
459
+ yParity: `0x${string}`;
460
+ gasPrice?: undefined;
461
+ maxFeePerBlobGas?: undefined;
462
+ maxFeePerGas: `0x${string}`;
463
+ maxPriorityFeePerGas: `0x${string}`;
464
+ accessList: import("../../index.js").AccessList;
465
+ blobVersionedHashes?: undefined;
466
+ chainId: `0x${string}`;
467
+ type: "0x2";
468
+ }, "yParity">, "typeHex"> & {
301
469
  isSystemTx?: undefined;
302
470
  mint?: undefined;
303
471
  sourceHash?: undefined;
304
472
  }) | ({
305
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
306
- gas?: `0x${string}` | undefined;
307
- value?: `0x${string}` | undefined;
473
+ r?: `0x${string}` | undefined;
474
+ s?: `0x${string}` | undefined;
475
+ v?: `0x${string}` | undefined;
476
+ yParity?: `0x${string}` | undefined;
308
477
  gasPrice?: `0x${string}` | undefined;
309
478
  maxFeePerBlobGas?: `0x${string}` | undefined;
310
479
  maxFeePerGas?: `0x${string}` | undefined;
311
480
  maxPriorityFeePerGas?: `0x${string}` | undefined;
312
- yParity?: `0x${string}` | undefined;
481
+ to?: `0x${string}` | null | undefined;
482
+ from?: `0x${string}` | undefined;
483
+ gas?: `0x${string}` | undefined;
484
+ nonce?: `0x${string}` | undefined;
485
+ value?: `0x${string}` | undefined;
486
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
487
+ accessList?: import("../../index.js").AccessList | undefined;
313
488
  blockHash?: `0x${string}` | null | undefined;
314
489
  blockNumber?: `0x${string}` | null | undefined;
315
- from?: `0x${string}` | undefined;
316
490
  hash?: `0x${string}` | undefined;
317
491
  input?: `0x${string}` | undefined;
318
- nonce?: `0x${string}` | undefined;
319
- r?: `0x${string}` | undefined;
320
- s?: `0x${string}` | undefined;
321
- to?: `0x${string}` | null | undefined;
322
492
  transactionIndex?: `0x${string}` | null | undefined;
323
- v?: `0x${string}` | undefined;
324
- accessList?: import("../../index.js").AccessList | undefined;
325
493
  blobVersionedHashes?: undefined;
326
494
  chainId?: `0x${string}` | undefined;
327
495
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -330,134 +498,230 @@ export declare const chainConfig: {
330
498
  sourceHash: `0x${string}`;
331
499
  type: "0x7e";
332
500
  }) | ({
333
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
334
- gas?: `0x${string}` | undefined;
335
- value?: `0x${string}` | undefined;
501
+ r?: `0x${string}` | undefined;
502
+ s?: `0x${string}` | undefined;
503
+ v?: `0x${string}` | undefined;
504
+ yParity?: `0x${string}` | undefined;
336
505
  gasPrice?: `0x${string}` | undefined;
337
506
  maxFeePerBlobGas?: `0x${string}` | undefined;
338
507
  maxFeePerGas?: `0x${string}` | undefined;
339
508
  maxPriorityFeePerGas?: `0x${string}` | undefined;
340
- yParity?: `0x${string}` | undefined;
509
+ to?: `0x${string}` | null | undefined;
510
+ from?: `0x${string}` | undefined;
511
+ gas?: `0x${string}` | undefined;
512
+ nonce?: `0x${string}` | undefined;
513
+ value?: `0x${string}` | undefined;
514
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
515
+ accessList?: import("../../index.js").AccessList | undefined;
341
516
  blockHash?: `0x${string}` | null | undefined;
342
517
  blockNumber?: `0x${string}` | null | undefined;
343
- from?: `0x${string}` | undefined;
344
518
  hash?: `0x${string}` | undefined;
345
519
  input?: `0x${string}` | undefined;
346
- nonce?: `0x${string}` | undefined;
347
- r?: `0x${string}` | undefined;
348
- s?: `0x${string}` | undefined;
349
- to?: `0x${string}` | null | undefined;
350
520
  transactionIndex?: `0x${string}` | null | undefined;
351
- v?: `0x${string}` | undefined;
352
- accessList?: import("../../index.js").AccessList | undefined;
353
521
  blobVersionedHashes?: `0x${string}`[] | undefined;
354
522
  chainId?: `0x${string}` | undefined;
355
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
523
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
524
+ r: `0x${string}`;
525
+ s: `0x${string}`;
526
+ v: `0x${string}`;
527
+ to: `0x${string}` | null;
528
+ from: `0x${string}`;
529
+ gas: `0x${string}`;
530
+ nonce: `0x${string}`;
531
+ value: `0x${string}`;
532
+ blockHash: `0x${string}` | null;
533
+ blockNumber: `0x${string}` | null;
534
+ hash: `0x${string}`;
535
+ input: `0x${string}`;
536
+ transactionIndex: `0x${string}` | null;
537
+ typeHex: `0x${string}` | null;
538
+ gasPrice: `0x${string}`;
539
+ maxFeePerBlobGas?: undefined;
540
+ maxFeePerGas?: undefined;
541
+ maxPriorityFeePerGas?: undefined;
542
+ accessList?: undefined;
543
+ blobVersionedHashes?: undefined;
544
+ chainId?: `0x${string}` | undefined;
545
+ yParity?: undefined;
546
+ type: "0x0";
547
+ }, "yParity">, "typeHex"> & {
356
548
  isSystemTx?: undefined;
357
549
  mint?: undefined;
358
550
  sourceHash?: undefined;
359
551
  }) | ({
360
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
361
- gas?: `0x${string}` | undefined;
362
- value?: `0x${string}` | undefined;
552
+ r?: `0x${string}` | undefined;
553
+ s?: `0x${string}` | undefined;
554
+ v?: `0x${string}` | undefined;
555
+ yParity?: `0x${string}` | undefined;
363
556
  gasPrice?: `0x${string}` | undefined;
364
557
  maxFeePerBlobGas?: `0x${string}` | undefined;
365
558
  maxFeePerGas?: `0x${string}` | undefined;
366
559
  maxPriorityFeePerGas?: `0x${string}` | undefined;
367
- yParity?: `0x${string}` | undefined;
560
+ to?: `0x${string}` | null | undefined;
561
+ from?: `0x${string}` | undefined;
562
+ gas?: `0x${string}` | undefined;
563
+ nonce?: `0x${string}` | undefined;
564
+ value?: `0x${string}` | undefined;
565
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
566
+ accessList?: import("../../index.js").AccessList | undefined;
368
567
  blockHash?: `0x${string}` | null | undefined;
369
568
  blockNumber?: `0x${string}` | null | undefined;
370
- from?: `0x${string}` | undefined;
371
569
  hash?: `0x${string}` | undefined;
372
570
  input?: `0x${string}` | undefined;
373
- nonce?: `0x${string}` | undefined;
374
- r?: `0x${string}` | undefined;
375
- s?: `0x${string}` | undefined;
376
- to?: `0x${string}` | null | undefined;
377
571
  transactionIndex?: `0x${string}` | null | undefined;
378
- v?: `0x${string}` | undefined;
379
- accessList?: import("../../index.js").AccessList | undefined;
380
572
  blobVersionedHashes?: `0x${string}`[] | undefined;
381
573
  chainId?: `0x${string}` | undefined;
382
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
574
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
575
+ blockHash: `0x${string}` | null;
576
+ blockNumber: `0x${string}` | null;
577
+ from: `0x${string}`;
578
+ gas: `0x${string}`;
579
+ hash: `0x${string}`;
580
+ input: `0x${string}`;
581
+ nonce: `0x${string}`;
582
+ r: `0x${string}`;
583
+ s: `0x${string}`;
584
+ to: `0x${string}` | null;
585
+ transactionIndex: `0x${string}` | null;
586
+ typeHex: `0x${string}` | null;
587
+ v: `0x${string}`;
588
+ value: `0x${string}`;
589
+ yParity: `0x${string}`;
590
+ gasPrice: `0x${string}`;
591
+ maxFeePerBlobGas?: undefined;
592
+ maxFeePerGas?: undefined;
593
+ maxPriorityFeePerGas?: undefined;
594
+ accessList: import("../../index.js").AccessList;
595
+ blobVersionedHashes?: undefined;
596
+ chainId: `0x${string}`;
597
+ type: "0x1";
598
+ }, "yParity">, "typeHex"> & {
383
599
  isSystemTx?: undefined;
384
600
  mint?: undefined;
385
601
  sourceHash?: undefined;
386
602
  }) | ({
387
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
388
- gas?: `0x${string}` | undefined;
389
- value?: `0x${string}` | undefined;
603
+ r?: `0x${string}` | undefined;
604
+ s?: `0x${string}` | undefined;
605
+ v?: `0x${string}` | undefined;
606
+ yParity?: `0x${string}` | undefined;
390
607
  gasPrice?: `0x${string}` | undefined;
391
608
  maxFeePerBlobGas?: `0x${string}` | undefined;
392
609
  maxFeePerGas?: `0x${string}` | undefined;
393
610
  maxPriorityFeePerGas?: `0x${string}` | undefined;
394
- yParity?: `0x${string}` | undefined;
611
+ to?: `0x${string}` | null | undefined;
612
+ from?: `0x${string}` | undefined;
613
+ gas?: `0x${string}` | undefined;
614
+ nonce?: `0x${string}` | undefined;
615
+ value?: `0x${string}` | undefined;
616
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
617
+ accessList?: import("../../index.js").AccessList | undefined;
395
618
  blockHash?: `0x${string}` | null | undefined;
396
619
  blockNumber?: `0x${string}` | null | undefined;
397
- from?: `0x${string}` | undefined;
398
620
  hash?: `0x${string}` | undefined;
399
621
  input?: `0x${string}` | undefined;
400
- nonce?: `0x${string}` | undefined;
401
- r?: `0x${string}` | undefined;
402
- s?: `0x${string}` | undefined;
403
- to?: `0x${string}` | null | undefined;
404
622
  transactionIndex?: `0x${string}` | null | undefined;
405
- v?: `0x${string}` | undefined;
406
- accessList?: import("../../index.js").AccessList | undefined;
407
623
  blobVersionedHashes?: `0x${string}`[] | undefined;
408
624
  chainId?: `0x${string}` | undefined;
409
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
625
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
626
+ blockHash: `0x${string}` | null;
627
+ blockNumber: `0x${string}` | null;
628
+ from: `0x${string}`;
629
+ gas: `0x${string}`;
630
+ hash: `0x${string}`;
631
+ input: `0x${string}`;
632
+ nonce: `0x${string}`;
633
+ r: `0x${string}`;
634
+ s: `0x${string}`;
635
+ to: `0x${string}` | null;
636
+ transactionIndex: `0x${string}` | null;
637
+ typeHex: `0x${string}` | null;
638
+ v: `0x${string}`;
639
+ value: `0x${string}`;
640
+ yParity: `0x${string}`;
641
+ gasPrice?: undefined;
642
+ maxFeePerBlobGas?: undefined;
643
+ maxFeePerGas: `0x${string}`;
644
+ maxPriorityFeePerGas: `0x${string}`;
645
+ accessList: import("../../index.js").AccessList;
646
+ blobVersionedHashes?: undefined;
647
+ chainId: `0x${string}`;
648
+ type: "0x2";
649
+ }, "yParity">, "typeHex"> & {
410
650
  isSystemTx?: undefined;
411
651
  mint?: undefined;
412
652
  sourceHash?: undefined;
413
653
  }) | ({
414
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
415
- gas?: `0x${string}` | undefined;
416
- value?: `0x${string}` | undefined;
654
+ r?: `0x${string}` | undefined;
655
+ s?: `0x${string}` | undefined;
656
+ v?: `0x${string}` | undefined;
657
+ yParity?: `0x${string}` | undefined;
417
658
  gasPrice?: `0x${string}` | undefined;
418
659
  maxFeePerBlobGas?: `0x${string}` | undefined;
419
660
  maxFeePerGas?: `0x${string}` | undefined;
420
661
  maxPriorityFeePerGas?: `0x${string}` | undefined;
421
- yParity?: `0x${string}` | undefined;
662
+ to?: `0x${string}` | null | undefined;
663
+ from?: `0x${string}` | undefined;
664
+ gas?: `0x${string}` | undefined;
665
+ nonce?: `0x${string}` | undefined;
666
+ value?: `0x${string}` | undefined;
667
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
668
+ accessList?: import("../../index.js").AccessList | undefined;
422
669
  blockHash?: `0x${string}` | null | undefined;
423
670
  blockNumber?: `0x${string}` | null | undefined;
424
- from?: `0x${string}` | undefined;
425
671
  hash?: `0x${string}` | undefined;
426
672
  input?: `0x${string}` | undefined;
427
- nonce?: `0x${string}` | undefined;
428
- r?: `0x${string}` | undefined;
429
- s?: `0x${string}` | undefined;
430
- to?: `0x${string}` | null | undefined;
431
673
  transactionIndex?: `0x${string}` | null | undefined;
432
- v?: `0x${string}` | undefined;
433
- accessList?: import("../../index.js").AccessList | undefined;
434
674
  blobVersionedHashes?: `0x${string}`[] | undefined;
435
675
  chainId?: `0x${string}` | undefined;
436
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP4844<`0x${string}`, `0x${string}`, boolean, "0x3">, "yParity">, "typeHex"> & {
676
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
677
+ blockHash: `0x${string}` | null;
678
+ blockNumber: `0x${string}` | null;
679
+ from: `0x${string}`;
680
+ gas: `0x${string}`;
681
+ hash: `0x${string}`;
682
+ input: `0x${string}`;
683
+ nonce: `0x${string}`;
684
+ r: `0x${string}`;
685
+ s: `0x${string}`;
686
+ to: `0x${string}` | null;
687
+ transactionIndex: `0x${string}` | null;
688
+ typeHex: `0x${string}` | null;
689
+ v: `0x${string}`;
690
+ value: `0x${string}`;
691
+ yParity: `0x${string}`;
692
+ gasPrice?: undefined;
693
+ maxFeePerBlobGas: `0x${string}`;
694
+ maxFeePerGas: `0x${string}`;
695
+ maxPriorityFeePerGas: `0x${string}`;
696
+ accessList: import("../../index.js").AccessList;
697
+ blobVersionedHashes: `0x${string}`[];
698
+ chainId: `0x${string}`;
699
+ type: "0x3";
700
+ }, "yParity">, "typeHex"> & {
437
701
  isSystemTx?: undefined;
438
702
  mint?: undefined;
439
703
  sourceHash?: undefined;
440
704
  }) | ({
441
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
442
- gas?: `0x${string}` | undefined;
443
- value?: `0x${string}` | undefined;
705
+ r?: `0x${string}` | undefined;
706
+ s?: `0x${string}` | undefined;
707
+ v?: `0x${string}` | undefined;
708
+ yParity?: `0x${string}` | undefined;
444
709
  gasPrice?: `0x${string}` | undefined;
445
710
  maxFeePerBlobGas?: `0x${string}` | undefined;
446
711
  maxFeePerGas?: `0x${string}` | undefined;
447
712
  maxPriorityFeePerGas?: `0x${string}` | undefined;
448
- yParity?: `0x${string}` | undefined;
713
+ to?: `0x${string}` | null | undefined;
714
+ from?: `0x${string}` | undefined;
715
+ gas?: `0x${string}` | undefined;
716
+ nonce?: `0x${string}` | undefined;
717
+ value?: `0x${string}` | undefined;
718
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
719
+ accessList?: import("../../index.js").AccessList | undefined;
449
720
  blockHash?: `0x${string}` | null | undefined;
450
721
  blockNumber?: `0x${string}` | null | undefined;
451
- from?: `0x${string}` | undefined;
452
722
  hash?: `0x${string}` | undefined;
453
723
  input?: `0x${string}` | undefined;
454
- nonce?: `0x${string}` | undefined;
455
- r?: `0x${string}` | undefined;
456
- s?: `0x${string}` | undefined;
457
- to?: `0x${string}` | null | undefined;
458
724
  transactionIndex?: `0x${string}` | null | undefined;
459
- v?: `0x${string}` | undefined;
460
- accessList?: import("../../index.js").AccessList | undefined;
461
725
  blobVersionedHashes?: `0x${string}`[] | undefined;
462
726
  chainId?: `0x${string}` | undefined;
463
727
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -466,20 +730,20 @@ export declare const chainConfig: {
466
730
  sourceHash: `0x${string}`;
467
731
  type: "0x7e";
468
732
  })) => ({
733
+ r: `0x${string}`;
734
+ s: `0x${string}`;
735
+ v: bigint;
736
+ to: `0x${string}` | null;
737
+ from: `0x${string}`;
469
738
  gas: bigint;
739
+ nonce: number;
470
740
  value: bigint;
471
741
  blockHash: `0x${string}` | null;
472
742
  blockNumber: bigint | null;
473
- from: `0x${string}`;
474
743
  hash: `0x${string}`;
475
744
  input: `0x${string}`;
476
- nonce: number;
477
- r: `0x${string}`;
478
- s: `0x${string}`;
479
- to: `0x${string}` | null;
480
745
  transactionIndex: number | null;
481
746
  typeHex: `0x${string}` | null;
482
- v: bigint;
483
747
  gasPrice: bigint;
484
748
  maxFeePerBlobGas?: undefined;
485
749
  maxFeePerGas?: undefined;
@@ -493,20 +757,20 @@ export declare const chainConfig: {
493
757
  mint?: undefined;
494
758
  sourceHash?: undefined;
495
759
  } | {
760
+ r: `0x${string}`;
761
+ s: `0x${string}`;
762
+ v: bigint;
763
+ to: `0x${string}` | null;
764
+ from: `0x${string}`;
496
765
  gas: bigint;
766
+ nonce: number;
497
767
  value: bigint;
498
768
  blockHash: `0x${string}` | null;
499
769
  blockNumber: bigint | null;
500
- from: `0x${string}`;
501
770
  hash: `0x${string}`;
502
771
  input: `0x${string}`;
503
- nonce: number;
504
- r: `0x${string}`;
505
- s: `0x${string}`;
506
- to: `0x${string}` | null;
507
772
  transactionIndex: number | null;
508
773
  typeHex: `0x${string}` | null;
509
- v: bigint;
510
774
  gasPrice: undefined;
511
775
  maxFeePerBlobGas?: undefined;
512
776
  maxFeePerGas: bigint;
@@ -767,7 +1031,7 @@ export declare const chainConfig: {
767
1031
  };
768
1032
  };
769
1033
  readonly serializers: {
770
- readonly transaction: import("../../index.js").SerializeTransactionFn<import("./types/transaction.js").OpStackTransactionSerializable>;
1034
+ readonly transaction: typeof import("./serializers.js").serializeTransaction;
771
1035
  };
772
1036
  };
773
1037
  //# sourceMappingURL=chainConfig.d.ts.map