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
@@ -0,0 +1,1080 @@
1
+ export declare const rss3Sepolia: {
2
+ blockExplorers: {
3
+ readonly default: {
4
+ readonly name: "RSS3 VSL Sepolia Testnet Scan";
5
+ readonly url: "https://scan.testnet.rss3.io";
6
+ readonly apiUrl: "https://scan.testnet.rss3.io/api";
7
+ };
8
+ };
9
+ contracts: {
10
+ readonly l2OutputOracle: {
11
+ readonly 11155111: {
12
+ readonly address: "0xDb5c46C3Eaa6Ed6aE8b2379785DF7dd029C0dC81";
13
+ };
14
+ };
15
+ readonly multicall3: {
16
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
17
+ readonly blockCreated: 55697;
18
+ };
19
+ readonly portal: {
20
+ readonly 11155111: {
21
+ readonly address: "0xcBD77E8E1E7F06B25baDe67142cdE82652Da7b57";
22
+ readonly blockCreated: 5345035;
23
+ };
24
+ };
25
+ readonly l1StandardBridge: {
26
+ readonly 11155111: {
27
+ readonly address: "0xdDD29bb63B0839FB1cE0eE439Ff027738595D07B";
28
+ };
29
+ };
30
+ readonly gasPriceOracle: {
31
+ readonly address: "0x420000000000000000000000000000000000000F";
32
+ };
33
+ readonly l1Block: {
34
+ readonly address: "0x4200000000000000000000000000000000000015";
35
+ };
36
+ readonly l2CrossDomainMessenger: {
37
+ readonly address: "0x4200000000000000000000000000000000000007";
38
+ };
39
+ readonly l2Erc721Bridge: {
40
+ readonly address: "0x4200000000000000000000000000000000000014";
41
+ };
42
+ readonly l2StandardBridge: {
43
+ readonly address: "0x4200000000000000000000000000000000000010";
44
+ };
45
+ readonly l2ToL1MessagePasser: {
46
+ readonly address: "0x4200000000000000000000000000000000000016";
47
+ };
48
+ };
49
+ id: 2331;
50
+ name: "RSS3 VSL Sepolia Testnet";
51
+ nativeCurrency: {
52
+ readonly name: "RSS3";
53
+ readonly symbol: "RSS3";
54
+ readonly decimals: 18;
55
+ };
56
+ rpcUrls: {
57
+ readonly default: {
58
+ readonly http: readonly ["https://rpc.testnet.rss3.io"];
59
+ };
60
+ };
61
+ sourceId: 11155111;
62
+ testnet: true;
63
+ custom?: Record<string, unknown> | undefined;
64
+ formatters: {
65
+ readonly block: {
66
+ exclude: [] | undefined;
67
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../index.js").OpStackRpcBlockOverrides & {
68
+ transactions: `0x${string}`[] | import("../index.js").OpStackRpcTransaction[];
69
+ }>) => {
70
+ baseFeePerGas: bigint | null;
71
+ blobGasUsed: bigint;
72
+ difficulty: bigint;
73
+ excessBlobGas: bigint;
74
+ extraData: `0x${string}`;
75
+ gasLimit: bigint;
76
+ gasUsed: bigint;
77
+ hash: `0x${string}` | null;
78
+ logsBloom: `0x${string}` | null;
79
+ miner: `0x${string}`;
80
+ mixHash: `0x${string}`;
81
+ nonce: `0x${string}` | null;
82
+ number: bigint | null;
83
+ parentHash: `0x${string}`;
84
+ receiptsRoot: `0x${string}`;
85
+ sealFields: `0x${string}`[];
86
+ sha3Uncles: `0x${string}`;
87
+ size: bigint;
88
+ stateRoot: `0x${string}`;
89
+ timestamp: bigint;
90
+ totalDifficulty: bigint | null;
91
+ transactions: `0x${string}`[] | import("../index.js").OpStackTransaction[];
92
+ transactionsRoot: `0x${string}`;
93
+ uncles: `0x${string}`[];
94
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
95
+ withdrawalsRoot?: `0x${string}` | undefined;
96
+ } & {};
97
+ type: "block";
98
+ };
99
+ readonly transaction: {
100
+ exclude: [] | undefined;
101
+ format: (args: ({
102
+ r?: `0x${string}` | undefined;
103
+ s?: `0x${string}` | undefined;
104
+ v?: `0x${string}` | undefined;
105
+ yParity?: `0x${string}` | undefined;
106
+ gasPrice?: `0x${string}` | undefined;
107
+ maxFeePerBlobGas?: `0x${string}` | undefined;
108
+ maxFeePerGas?: `0x${string}` | undefined;
109
+ maxPriorityFeePerGas?: `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;
117
+ blockHash?: `0x${string}` | null | undefined;
118
+ blockNumber?: `0x${string}` | null | undefined;
119
+ hash?: `0x${string}` | undefined;
120
+ input?: `0x${string}` | undefined;
121
+ transactionIndex?: `0x${string}` | null | 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;
143
+ accessList?: undefined;
144
+ blobVersionedHashes?: undefined;
145
+ chainId?: `0x${string}` | undefined;
146
+ yParity?: undefined;
147
+ type: "0x0";
148
+ }, "yParity">, "typeHex"> & {
149
+ isSystemTx?: undefined;
150
+ mint?: undefined;
151
+ sourceHash?: undefined;
152
+ }) | ({
153
+ r?: `0x${string}` | undefined;
154
+ s?: `0x${string}` | undefined;
155
+ v?: `0x${string}` | undefined;
156
+ yParity?: `0x${string}` | undefined;
157
+ gasPrice?: `0x${string}` | undefined;
158
+ maxFeePerBlobGas?: `0x${string}` | undefined;
159
+ maxFeePerGas?: `0x${string}` | undefined;
160
+ maxPriorityFeePerGas?: `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;
168
+ blockHash?: `0x${string}` | null | undefined;
169
+ blockNumber?: `0x${string}` | null | undefined;
170
+ hash?: `0x${string}` | undefined;
171
+ input?: `0x${string}` | undefined;
172
+ transactionIndex?: `0x${string}` | null | undefined;
173
+ blobVersionedHashes?: undefined;
174
+ chainId?: `0x${string}` | undefined;
175
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
176
+ isSystemTx?: boolean | undefined;
177
+ mint?: `0x${string}` | undefined;
178
+ sourceHash: `0x${string}`;
179
+ type: "0x7e";
180
+ }) | ({
181
+ r?: `0x${string}` | undefined;
182
+ s?: `0x${string}` | undefined;
183
+ v?: `0x${string}` | undefined;
184
+ yParity?: `0x${string}` | undefined;
185
+ gasPrice?: `0x${string}` | undefined;
186
+ maxFeePerBlobGas?: `0x${string}` | undefined;
187
+ maxFeePerGas?: `0x${string}` | undefined;
188
+ maxPriorityFeePerGas?: `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;
196
+ blockHash?: `0x${string}` | null | undefined;
197
+ blockNumber?: `0x${string}` | null | undefined;
198
+ hash?: `0x${string}` | undefined;
199
+ input?: `0x${string}` | undefined;
200
+ transactionIndex?: `0x${string}` | null | undefined;
201
+ blobVersionedHashes?: undefined;
202
+ chainId?: `0x${string}` | undefined;
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"> & {
228
+ isSystemTx?: undefined;
229
+ mint?: undefined;
230
+ sourceHash?: undefined;
231
+ }) | ({
232
+ r?: `0x${string}` | undefined;
233
+ s?: `0x${string}` | undefined;
234
+ v?: `0x${string}` | undefined;
235
+ yParity?: `0x${string}` | undefined;
236
+ gasPrice?: `0x${string}` | undefined;
237
+ maxFeePerBlobGas?: `0x${string}` | undefined;
238
+ maxFeePerGas?: `0x${string}` | undefined;
239
+ maxPriorityFeePerGas?: `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;
247
+ blockHash?: `0x${string}` | null | undefined;
248
+ blockNumber?: `0x${string}` | null | undefined;
249
+ hash?: `0x${string}` | undefined;
250
+ input?: `0x${string}` | undefined;
251
+ transactionIndex?: `0x${string}` | null | undefined;
252
+ blobVersionedHashes?: undefined;
253
+ chainId?: `0x${string}` | undefined;
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"> & {
279
+ isSystemTx?: undefined;
280
+ mint?: undefined;
281
+ sourceHash?: undefined;
282
+ }) | ({
283
+ r?: `0x${string}` | undefined;
284
+ s?: `0x${string}` | undefined;
285
+ v?: `0x${string}` | undefined;
286
+ yParity?: `0x${string}` | undefined;
287
+ gasPrice?: `0x${string}` | undefined;
288
+ maxFeePerBlobGas?: `0x${string}` | undefined;
289
+ maxFeePerGas?: `0x${string}` | undefined;
290
+ maxPriorityFeePerGas?: `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;
298
+ blockHash?: `0x${string}` | null | undefined;
299
+ blockNumber?: `0x${string}` | null | undefined;
300
+ hash?: `0x${string}` | undefined;
301
+ input?: `0x${string}` | undefined;
302
+ transactionIndex?: `0x${string}` | null | undefined;
303
+ blobVersionedHashes?: undefined;
304
+ chainId?: `0x${string}` | undefined;
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"> & {
330
+ isSystemTx?: undefined;
331
+ mint?: undefined;
332
+ sourceHash?: undefined;
333
+ }) | ({
334
+ r?: `0x${string}` | undefined;
335
+ s?: `0x${string}` | undefined;
336
+ v?: `0x${string}` | undefined;
337
+ yParity?: `0x${string}` | undefined;
338
+ gasPrice?: `0x${string}` | undefined;
339
+ maxFeePerBlobGas?: `0x${string}` | undefined;
340
+ maxFeePerGas?: `0x${string}` | undefined;
341
+ maxPriorityFeePerGas?: `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;
349
+ blockHash?: `0x${string}` | null | undefined;
350
+ blockNumber?: `0x${string}` | null | undefined;
351
+ hash?: `0x${string}` | undefined;
352
+ input?: `0x${string}` | undefined;
353
+ transactionIndex?: `0x${string}` | null | undefined;
354
+ blobVersionedHashes?: undefined;
355
+ chainId?: `0x${string}` | undefined;
356
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
357
+ isSystemTx?: boolean | undefined;
358
+ mint?: `0x${string}` | undefined;
359
+ sourceHash: `0x${string}`;
360
+ type: "0x7e";
361
+ }) | ({
362
+ r?: `0x${string}` | undefined;
363
+ s?: `0x${string}` | undefined;
364
+ v?: `0x${string}` | undefined;
365
+ yParity?: `0x${string}` | undefined;
366
+ gasPrice?: `0x${string}` | undefined;
367
+ maxFeePerBlobGas?: `0x${string}` | undefined;
368
+ maxFeePerGas?: `0x${string}` | undefined;
369
+ maxPriorityFeePerGas?: `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;
377
+ blockHash?: `0x${string}` | null | undefined;
378
+ blockNumber?: `0x${string}` | null | undefined;
379
+ hash?: `0x${string}` | undefined;
380
+ input?: `0x${string}` | undefined;
381
+ transactionIndex?: `0x${string}` | null | undefined;
382
+ blobVersionedHashes?: undefined;
383
+ chainId?: `0x${string}` | undefined;
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"> & {
409
+ isSystemTx?: undefined;
410
+ mint?: undefined;
411
+ sourceHash?: undefined;
412
+ }) | ({
413
+ r?: `0x${string}` | undefined;
414
+ s?: `0x${string}` | undefined;
415
+ v?: `0x${string}` | undefined;
416
+ yParity?: `0x${string}` | undefined;
417
+ gasPrice?: `0x${string}` | undefined;
418
+ maxFeePerBlobGas?: `0x${string}` | undefined;
419
+ maxFeePerGas?: `0x${string}` | undefined;
420
+ maxPriorityFeePerGas?: `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;
428
+ blockHash?: `0x${string}` | null | undefined;
429
+ blockNumber?: `0x${string}` | null | undefined;
430
+ hash?: `0x${string}` | undefined;
431
+ input?: `0x${string}` | undefined;
432
+ transactionIndex?: `0x${string}` | null | undefined;
433
+ blobVersionedHashes?: undefined;
434
+ chainId?: `0x${string}` | undefined;
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"> & {
460
+ isSystemTx?: undefined;
461
+ mint?: undefined;
462
+ sourceHash?: undefined;
463
+ }) | ({
464
+ r?: `0x${string}` | undefined;
465
+ s?: `0x${string}` | undefined;
466
+ v?: `0x${string}` | undefined;
467
+ yParity?: `0x${string}` | undefined;
468
+ gasPrice?: `0x${string}` | undefined;
469
+ maxFeePerBlobGas?: `0x${string}` | undefined;
470
+ maxFeePerGas?: `0x${string}` | undefined;
471
+ maxPriorityFeePerGas?: `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;
479
+ blockHash?: `0x${string}` | null | undefined;
480
+ blockNumber?: `0x${string}` | null | undefined;
481
+ hash?: `0x${string}` | undefined;
482
+ input?: `0x${string}` | undefined;
483
+ transactionIndex?: `0x${string}` | null | undefined;
484
+ blobVersionedHashes?: undefined;
485
+ chainId?: `0x${string}` | undefined;
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"> & {
511
+ isSystemTx?: undefined;
512
+ mint?: undefined;
513
+ sourceHash?: undefined;
514
+ }) | ({
515
+ r?: `0x${string}` | undefined;
516
+ s?: `0x${string}` | undefined;
517
+ v?: `0x${string}` | undefined;
518
+ yParity?: `0x${string}` | undefined;
519
+ gasPrice?: `0x${string}` | undefined;
520
+ maxFeePerBlobGas?: `0x${string}` | undefined;
521
+ maxFeePerGas?: `0x${string}` | undefined;
522
+ maxPriorityFeePerGas?: `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;
530
+ blockHash?: `0x${string}` | null | undefined;
531
+ blockNumber?: `0x${string}` | null | undefined;
532
+ hash?: `0x${string}` | undefined;
533
+ input?: `0x${string}` | undefined;
534
+ transactionIndex?: `0x${string}` | null | undefined;
535
+ blobVersionedHashes?: undefined;
536
+ chainId?: `0x${string}` | undefined;
537
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
538
+ isSystemTx?: boolean | undefined;
539
+ mint?: `0x${string}` | undefined;
540
+ sourceHash: `0x${string}`;
541
+ type: "0x7e";
542
+ }) | ({
543
+ r?: `0x${string}` | undefined;
544
+ s?: `0x${string}` | undefined;
545
+ v?: `0x${string}` | undefined;
546
+ yParity?: `0x${string}` | undefined;
547
+ gasPrice?: `0x${string}` | undefined;
548
+ maxFeePerBlobGas?: `0x${string}` | undefined;
549
+ maxFeePerGas?: `0x${string}` | undefined;
550
+ maxPriorityFeePerGas?: `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;
558
+ blockHash?: `0x${string}` | null | undefined;
559
+ blockNumber?: `0x${string}` | null | undefined;
560
+ hash?: `0x${string}` | undefined;
561
+ input?: `0x${string}` | undefined;
562
+ transactionIndex?: `0x${string}` | null | undefined;
563
+ blobVersionedHashes?: `0x${string}`[] | undefined;
564
+ chainId?: `0x${string}` | undefined;
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"> & {
590
+ isSystemTx?: undefined;
591
+ mint?: undefined;
592
+ sourceHash?: undefined;
593
+ }) | ({
594
+ r?: `0x${string}` | undefined;
595
+ s?: `0x${string}` | undefined;
596
+ v?: `0x${string}` | undefined;
597
+ yParity?: `0x${string}` | undefined;
598
+ gasPrice?: `0x${string}` | undefined;
599
+ maxFeePerBlobGas?: `0x${string}` | undefined;
600
+ maxFeePerGas?: `0x${string}` | undefined;
601
+ maxPriorityFeePerGas?: `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;
609
+ blockHash?: `0x${string}` | null | undefined;
610
+ blockNumber?: `0x${string}` | null | undefined;
611
+ hash?: `0x${string}` | undefined;
612
+ input?: `0x${string}` | undefined;
613
+ transactionIndex?: `0x${string}` | null | undefined;
614
+ blobVersionedHashes?: `0x${string}`[] | undefined;
615
+ chainId?: `0x${string}` | undefined;
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"> & {
641
+ isSystemTx?: undefined;
642
+ mint?: undefined;
643
+ sourceHash?: undefined;
644
+ }) | ({
645
+ r?: `0x${string}` | undefined;
646
+ s?: `0x${string}` | undefined;
647
+ v?: `0x${string}` | undefined;
648
+ yParity?: `0x${string}` | undefined;
649
+ gasPrice?: `0x${string}` | undefined;
650
+ maxFeePerBlobGas?: `0x${string}` | undefined;
651
+ maxFeePerGas?: `0x${string}` | undefined;
652
+ maxPriorityFeePerGas?: `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;
660
+ blockHash?: `0x${string}` | null | undefined;
661
+ blockNumber?: `0x${string}` | null | undefined;
662
+ hash?: `0x${string}` | undefined;
663
+ input?: `0x${string}` | undefined;
664
+ transactionIndex?: `0x${string}` | null | undefined;
665
+ blobVersionedHashes?: `0x${string}`[] | undefined;
666
+ chainId?: `0x${string}` | undefined;
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"> & {
692
+ isSystemTx?: undefined;
693
+ mint?: undefined;
694
+ sourceHash?: undefined;
695
+ }) | ({
696
+ r?: `0x${string}` | undefined;
697
+ s?: `0x${string}` | undefined;
698
+ v?: `0x${string}` | undefined;
699
+ yParity?: `0x${string}` | undefined;
700
+ gasPrice?: `0x${string}` | undefined;
701
+ maxFeePerBlobGas?: `0x${string}` | undefined;
702
+ maxFeePerGas?: `0x${string}` | undefined;
703
+ maxPriorityFeePerGas?: `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;
711
+ blockHash?: `0x${string}` | null | undefined;
712
+ blockNumber?: `0x${string}` | null | undefined;
713
+ hash?: `0x${string}` | undefined;
714
+ input?: `0x${string}` | undefined;
715
+ transactionIndex?: `0x${string}` | null | undefined;
716
+ blobVersionedHashes?: `0x${string}`[] | undefined;
717
+ chainId?: `0x${string}` | undefined;
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"> & {
743
+ isSystemTx?: undefined;
744
+ mint?: undefined;
745
+ sourceHash?: undefined;
746
+ }) | ({
747
+ r?: `0x${string}` | undefined;
748
+ s?: `0x${string}` | undefined;
749
+ v?: `0x${string}` | undefined;
750
+ yParity?: `0x${string}` | undefined;
751
+ gasPrice?: `0x${string}` | undefined;
752
+ maxFeePerBlobGas?: `0x${string}` | undefined;
753
+ maxFeePerGas?: `0x${string}` | undefined;
754
+ maxPriorityFeePerGas?: `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;
762
+ blockHash?: `0x${string}` | null | undefined;
763
+ blockNumber?: `0x${string}` | null | undefined;
764
+ hash?: `0x${string}` | undefined;
765
+ input?: `0x${string}` | undefined;
766
+ transactionIndex?: `0x${string}` | null | undefined;
767
+ blobVersionedHashes?: `0x${string}`[] | undefined;
768
+ chainId?: `0x${string}` | undefined;
769
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
770
+ isSystemTx?: boolean | undefined;
771
+ mint?: `0x${string}` | undefined;
772
+ sourceHash: `0x${string}`;
773
+ type: "0x7e";
774
+ })) => ({
775
+ r: `0x${string}`;
776
+ s: `0x${string}`;
777
+ v: bigint;
778
+ to: `0x${string}` | null;
779
+ from: `0x${string}`;
780
+ gas: bigint;
781
+ nonce: number;
782
+ value: bigint;
783
+ blockHash: `0x${string}` | null;
784
+ blockNumber: bigint | null;
785
+ hash: `0x${string}`;
786
+ input: `0x${string}`;
787
+ transactionIndex: number | null;
788
+ typeHex: `0x${string}` | null;
789
+ gasPrice: bigint;
790
+ maxFeePerBlobGas?: undefined;
791
+ maxFeePerGas?: undefined;
792
+ maxPriorityFeePerGas?: undefined;
793
+ accessList?: undefined;
794
+ blobVersionedHashes?: undefined;
795
+ chainId?: number | undefined;
796
+ yParity?: undefined;
797
+ type: "legacy";
798
+ isSystemTx?: undefined;
799
+ mint?: undefined;
800
+ sourceHash?: undefined;
801
+ } | {
802
+ r: `0x${string}`;
803
+ s: `0x${string}`;
804
+ v: bigint;
805
+ to: `0x${string}` | null;
806
+ from: `0x${string}`;
807
+ gas: bigint;
808
+ nonce: number;
809
+ value: bigint;
810
+ blockHash: `0x${string}` | null;
811
+ blockNumber: bigint | null;
812
+ hash: `0x${string}`;
813
+ input: `0x${string}`;
814
+ transactionIndex: number | null;
815
+ typeHex: `0x${string}` | null;
816
+ gasPrice: undefined;
817
+ maxFeePerBlobGas?: undefined;
818
+ maxFeePerGas: bigint;
819
+ maxPriorityFeePerGas: bigint;
820
+ accessList?: undefined;
821
+ blobVersionedHashes?: undefined;
822
+ chainId?: number | undefined;
823
+ yParity: number;
824
+ type: "deposit";
825
+ isSystemTx?: boolean | undefined;
826
+ mint?: bigint | undefined;
827
+ sourceHash: `0x${string}`;
828
+ } | {
829
+ blockHash: `0x${string}` | null;
830
+ blockNumber: bigint | null;
831
+ from: `0x${string}`;
832
+ gas: bigint;
833
+ hash: `0x${string}`;
834
+ input: `0x${string}`;
835
+ nonce: number;
836
+ r: `0x${string}`;
837
+ s: `0x${string}`;
838
+ to: `0x${string}` | null;
839
+ transactionIndex: number | null;
840
+ typeHex: `0x${string}` | null;
841
+ v: bigint;
842
+ value: bigint;
843
+ yParity: number;
844
+ gasPrice: bigint;
845
+ maxFeePerBlobGas?: undefined;
846
+ maxFeePerGas?: undefined;
847
+ maxPriorityFeePerGas?: undefined;
848
+ accessList: import("../../index.js").AccessList;
849
+ blobVersionedHashes?: undefined;
850
+ chainId: number;
851
+ type: "eip2930";
852
+ isSystemTx?: undefined;
853
+ mint?: undefined;
854
+ sourceHash?: undefined;
855
+ } | {
856
+ blockHash: `0x${string}` | null;
857
+ blockNumber: bigint | null;
858
+ from: `0x${string}`;
859
+ gas: bigint;
860
+ hash: `0x${string}`;
861
+ input: `0x${string}`;
862
+ nonce: number;
863
+ r: `0x${string}`;
864
+ s: `0x${string}`;
865
+ to: `0x${string}` | null;
866
+ transactionIndex: number | null;
867
+ typeHex: `0x${string}` | null;
868
+ v: bigint;
869
+ value: bigint;
870
+ yParity: number;
871
+ gasPrice: undefined;
872
+ maxFeePerBlobGas?: undefined;
873
+ maxFeePerGas: bigint;
874
+ maxPriorityFeePerGas: bigint;
875
+ accessList: import("../../index.js").AccessList;
876
+ blobVersionedHashes?: undefined;
877
+ chainId: number;
878
+ type: "eip1559";
879
+ isSystemTx?: undefined;
880
+ mint?: undefined;
881
+ sourceHash?: undefined;
882
+ } | {
883
+ blockHash: `0x${string}` | null;
884
+ blockNumber: bigint | null;
885
+ from: `0x${string}`;
886
+ gas: bigint;
887
+ hash: `0x${string}`;
888
+ input: `0x${string}`;
889
+ nonce: number;
890
+ r: `0x${string}`;
891
+ s: `0x${string}`;
892
+ to: `0x${string}` | null;
893
+ transactionIndex: number | null;
894
+ typeHex: `0x${string}` | null;
895
+ v: bigint;
896
+ value: bigint;
897
+ yParity: number;
898
+ gasPrice: undefined;
899
+ maxFeePerBlobGas?: undefined;
900
+ maxFeePerGas: bigint;
901
+ maxPriorityFeePerGas: bigint;
902
+ accessList: import("../../index.js").AccessList;
903
+ blobVersionedHashes?: undefined;
904
+ chainId: number;
905
+ type: "deposit";
906
+ isSystemTx?: boolean | undefined;
907
+ mint?: bigint | undefined;
908
+ sourceHash: `0x${string}`;
909
+ } | {
910
+ blockHash: `0x${string}` | null;
911
+ blockNumber: bigint | null;
912
+ from: `0x${string}`;
913
+ gas: bigint;
914
+ hash: `0x${string}`;
915
+ input: `0x${string}`;
916
+ nonce: number;
917
+ r: `0x${string}`;
918
+ s: `0x${string}`;
919
+ to: `0x${string}` | null;
920
+ transactionIndex: number | null;
921
+ typeHex: `0x${string}` | null;
922
+ v: bigint;
923
+ value: bigint;
924
+ yParity: number;
925
+ gasPrice: bigint;
926
+ maxFeePerBlobGas?: undefined;
927
+ maxFeePerGas: undefined;
928
+ maxPriorityFeePerGas: undefined;
929
+ accessList: import("../../index.js").AccessList;
930
+ blobVersionedHashes?: undefined;
931
+ chainId: number;
932
+ type: "eip2930";
933
+ isSystemTx?: undefined;
934
+ mint?: undefined;
935
+ sourceHash?: undefined;
936
+ } | {
937
+ blockHash: `0x${string}` | null;
938
+ blockNumber: bigint | null;
939
+ from: `0x${string}`;
940
+ gas: bigint;
941
+ hash: `0x${string}`;
942
+ input: `0x${string}`;
943
+ nonce: number;
944
+ r: `0x${string}`;
945
+ s: `0x${string}`;
946
+ to: `0x${string}` | null;
947
+ transactionIndex: number | null;
948
+ typeHex: `0x${string}` | null;
949
+ v: bigint;
950
+ value: bigint;
951
+ yParity: number;
952
+ gasPrice?: undefined;
953
+ maxFeePerBlobGas?: undefined;
954
+ maxFeePerGas: bigint;
955
+ maxPriorityFeePerGas: bigint;
956
+ accessList: import("../../index.js").AccessList;
957
+ blobVersionedHashes?: undefined;
958
+ chainId: number;
959
+ type: "eip1559";
960
+ isSystemTx?: undefined;
961
+ mint?: undefined;
962
+ sourceHash?: undefined;
963
+ } | {
964
+ blockHash: `0x${string}` | null;
965
+ blockNumber: bigint | null;
966
+ from: `0x${string}`;
967
+ gas: bigint;
968
+ hash: `0x${string}`;
969
+ input: `0x${string}`;
970
+ nonce: number;
971
+ r: `0x${string}`;
972
+ s: `0x${string}`;
973
+ to: `0x${string}` | null;
974
+ transactionIndex: number | null;
975
+ typeHex: `0x${string}` | null;
976
+ v: bigint;
977
+ value: bigint;
978
+ yParity: number;
979
+ gasPrice?: undefined;
980
+ maxFeePerBlobGas?: undefined;
981
+ maxFeePerGas: bigint;
982
+ maxPriorityFeePerGas: bigint;
983
+ accessList: import("../../index.js").AccessList;
984
+ blobVersionedHashes?: undefined;
985
+ chainId: number;
986
+ type: "deposit";
987
+ isSystemTx?: boolean | undefined;
988
+ mint?: bigint | undefined;
989
+ sourceHash: `0x${string}`;
990
+ } | {
991
+ blockHash: `0x${string}` | null;
992
+ blockNumber: bigint | null;
993
+ from: `0x${string}`;
994
+ gas: bigint;
995
+ hash: `0x${string}`;
996
+ input: `0x${string}`;
997
+ nonce: number;
998
+ r: `0x${string}`;
999
+ s: `0x${string}`;
1000
+ to: `0x${string}` | null;
1001
+ transactionIndex: number | null;
1002
+ typeHex: `0x${string}` | null;
1003
+ v: bigint;
1004
+ value: bigint;
1005
+ yParity: number;
1006
+ gasPrice?: undefined;
1007
+ maxFeePerBlobGas: bigint;
1008
+ maxFeePerGas: bigint;
1009
+ maxPriorityFeePerGas: bigint;
1010
+ accessList: import("../../index.js").AccessList;
1011
+ blobVersionedHashes: `0x${string}`[];
1012
+ chainId: number;
1013
+ type: "eip4844";
1014
+ isSystemTx?: undefined;
1015
+ mint?: undefined;
1016
+ sourceHash?: undefined;
1017
+ } | {
1018
+ blockHash: `0x${string}` | null;
1019
+ blockNumber: bigint | null;
1020
+ from: `0x${string}`;
1021
+ gas: bigint;
1022
+ hash: `0x${string}`;
1023
+ input: `0x${string}`;
1024
+ nonce: number;
1025
+ r: `0x${string}`;
1026
+ s: `0x${string}`;
1027
+ to: `0x${string}` | null;
1028
+ transactionIndex: number | null;
1029
+ typeHex: `0x${string}` | null;
1030
+ v: bigint;
1031
+ value: bigint;
1032
+ yParity: number;
1033
+ gasPrice?: undefined;
1034
+ maxFeePerBlobGas: undefined;
1035
+ maxFeePerGas: bigint;
1036
+ maxPriorityFeePerGas: bigint;
1037
+ accessList: import("../../index.js").AccessList;
1038
+ blobVersionedHashes: `0x${string}`[];
1039
+ chainId: number;
1040
+ type: "deposit";
1041
+ isSystemTx?: boolean | undefined;
1042
+ mint?: bigint | undefined;
1043
+ sourceHash: `0x${string}`;
1044
+ }) & {};
1045
+ type: "transaction";
1046
+ };
1047
+ readonly transactionReceipt: {
1048
+ exclude: [] | undefined;
1049
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../index.js").OpStackRpcTransactionReceiptOverrides>) => {
1050
+ blobGasPrice?: bigint | undefined;
1051
+ blobGasUsed?: bigint | undefined;
1052
+ blockHash: `0x${string}`;
1053
+ blockNumber: bigint;
1054
+ contractAddress: `0x${string}` | null;
1055
+ cumulativeGasUsed: bigint;
1056
+ effectiveGasPrice: bigint;
1057
+ from: `0x${string}`;
1058
+ gasUsed: bigint;
1059
+ logs: import("../../index.js").Log<bigint, number, false>[];
1060
+ logsBloom: `0x${string}`;
1061
+ root?: `0x${string}` | undefined;
1062
+ status: "success" | "reverted";
1063
+ to: `0x${string}` | null;
1064
+ transactionHash: `0x${string}`;
1065
+ transactionIndex: number;
1066
+ type: import("../../index.js").TransactionType;
1067
+ l1GasPrice: bigint | null;
1068
+ l1GasUsed: bigint | null;
1069
+ l1Fee: bigint | null;
1070
+ l1FeeScalar: number | null;
1071
+ } & {};
1072
+ type: "transactionReceipt";
1073
+ };
1074
+ };
1075
+ serializers: {
1076
+ readonly transaction: typeof import("../opStack/serializers.js").serializeTransaction;
1077
+ };
1078
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
1079
+ };
1080
+ //# sourceMappingURL=rss3Sepolia.d.ts.map