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