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