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