viem 2.7.22 → 2.8.0

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 (456) hide show
  1. package/CHANGELOG.md +10 -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/wallet/prepareTransactionRequest.js +11 -2
  15. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  16. package/_cjs/actions/wallet/sendRawTransaction.js.map +1 -1
  17. package/_cjs/actions/wallet/sendTransaction.js +7 -8
  18. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  19. package/_cjs/actions/wallet/signTransaction.js +7 -6
  20. package/_cjs/actions/wallet/signTransaction.js.map +1 -1
  21. package/_cjs/chains/celo/serializers.js +10 -15
  22. package/_cjs/chains/celo/serializers.js.map +1 -1
  23. package/_cjs/chains/definitions/plumeTestnet.js +30 -0
  24. package/_cjs/chains/definitions/plumeTestnet.js.map +1 -0
  25. package/_cjs/chains/index.js +5 -3
  26. package/_cjs/chains/index.js.map +1 -1
  27. package/_cjs/chains/opStack/actions/estimateL1Fee.js +1 -10
  28. package/_cjs/chains/opStack/actions/estimateL1Fee.js.map +1 -1
  29. package/_cjs/chains/opStack/actions/estimateL1Gas.js +1 -10
  30. package/_cjs/chains/opStack/actions/estimateL1Gas.js.map +1 -1
  31. package/_cjs/chains/opStack/actions/finalizeWithdrawal.js +1 -1
  32. package/_cjs/chains/opStack/actions/finalizeWithdrawal.js.map +1 -1
  33. package/_cjs/chains/opStack/actions/proveWithdrawal.js +1 -1
  34. package/_cjs/chains/opStack/actions/proveWithdrawal.js.map +1 -1
  35. package/_cjs/chains/opStack/serializers.js +3 -3
  36. package/_cjs/chains/opStack/serializers.js.map +1 -1
  37. package/_cjs/chains/zksync/actions/sendTransaction.js.map +1 -1
  38. package/_cjs/chains/zksync/actions/signEip712Transaction.js.map +1 -1
  39. package/_cjs/chains/zksync/serializers.js +6 -6
  40. package/_cjs/chains/zksync/serializers.js.map +1 -1
  41. package/_cjs/clients/decorators/public.js.map +1 -1
  42. package/_cjs/clients/decorators/wallet.js.map +1 -1
  43. package/_cjs/constants/blob.js +11 -0
  44. package/_cjs/constants/blob.js.map +1 -0
  45. package/_cjs/constants/kzg.js +7 -0
  46. package/_cjs/constants/kzg.js.map +1 -0
  47. package/_cjs/errors/blob.js +63 -0
  48. package/_cjs/errors/blob.js.map +1 -0
  49. package/_cjs/errors/transaction.js +1 -0
  50. package/_cjs/errors/transaction.js.map +1 -1
  51. package/_cjs/errors/version.js +1 -1
  52. package/_cjs/errors/version.js.map +1 -1
  53. package/_cjs/index.js +22 -2
  54. package/_cjs/index.js.map +1 -1
  55. package/_cjs/node/index.js +3 -1
  56. package/_cjs/node/index.js.map +1 -1
  57. package/_cjs/node/trustedSetups.js +7 -0
  58. package/_cjs/node/trustedSetups.js.map +1 -0
  59. package/_cjs/types/eip4844.js +3 -0
  60. package/_cjs/types/eip4844.js.map +1 -0
  61. package/_cjs/types/kzg.js +3 -0
  62. package/_cjs/types/kzg.js.map +1 -0
  63. package/_cjs/utils/blob/blobsToCommitments.js +20 -0
  64. package/_cjs/utils/blob/blobsToCommitments.js.map +1 -0
  65. package/_cjs/utils/blob/blobsToProofs.js +26 -0
  66. package/_cjs/utils/blob/blobsToProofs.js.map +1 -0
  67. package/_cjs/utils/blob/commitmentToVersionedHash.js +14 -0
  68. package/_cjs/utils/blob/commitmentToVersionedHash.js.map +1 -0
  69. package/_cjs/utils/blob/commitmentsToVersionedHashes.js +19 -0
  70. package/_cjs/utils/blob/commitmentsToVersionedHashes.js.map +1 -0
  71. package/_cjs/utils/blob/fromBlobs.js +36 -0
  72. package/_cjs/utils/blob/fromBlobs.js.map +1 -0
  73. package/_cjs/utils/blob/sidecarsToVersionedHashes.js +19 -0
  74. package/_cjs/utils/blob/sidecarsToVersionedHashes.js.map +1 -0
  75. package/_cjs/utils/blob/toBlobSidecars.js +22 -0
  76. package/_cjs/utils/blob/toBlobSidecars.js.map +1 -0
  77. package/_cjs/utils/blob/toBlobs.js +48 -0
  78. package/_cjs/utils/blob/toBlobs.js.map +1 -0
  79. package/_cjs/utils/encoding/toRlp.js.map +1 -1
  80. package/_cjs/utils/formatters/transaction.js.map +1 -1
  81. package/_cjs/utils/formatters/transactionRequest.js +22 -25
  82. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  83. package/_cjs/utils/kzg/defineKzg.js +11 -0
  84. package/_cjs/utils/kzg/defineKzg.js.map +1 -0
  85. package/_cjs/utils/kzg/setupKzg.js +17 -0
  86. package/_cjs/utils/kzg/setupKzg.js.map +1 -0
  87. package/_cjs/utils/signature/compactSignatureToSignature.js +3 -3
  88. package/_cjs/utils/signature/compactSignatureToSignature.js.map +1 -1
  89. package/_cjs/utils/signature/hexToSignature.js +6 -1
  90. package/_cjs/utils/signature/hexToSignature.js.map +1 -1
  91. package/_cjs/utils/signature/signatureToCompactSignature.js +3 -3
  92. package/_cjs/utils/signature/signatureToCompactSignature.js.map +1 -1
  93. package/_cjs/utils/signature/signatureToHex.js +9 -3
  94. package/_cjs/utils/signature/signatureToHex.js.map +1 -1
  95. package/_cjs/utils/transaction/assertTransaction.js +26 -1
  96. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  97. package/_cjs/utils/transaction/getSerializedTransactionType.js +2 -0
  98. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  99. package/_cjs/utils/transaction/getTransactionType.js +7 -1
  100. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  101. package/_cjs/utils/transaction/parseTransaction.js +73 -0
  102. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  103. package/_cjs/utils/transaction/serializeAccessList.js.map +1 -1
  104. package/_cjs/utils/transaction/serializeTransaction.js +84 -21
  105. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  106. package/_esm/accounts/utils/sign.js +1 -0
  107. package/_esm/accounts/utils/sign.js.map +1 -1
  108. package/_esm/accounts/utils/signTransaction.js +13 -2
  109. package/_esm/accounts/utils/signTransaction.js.map +1 -1
  110. package/_esm/actions/index.js +1 -0
  111. package/_esm/actions/index.js.map +1 -1
  112. package/_esm/actions/public/call.js +3 -1
  113. package/_esm/actions/public/call.js.map +1 -1
  114. package/_esm/actions/public/estimateGas.js +3 -1
  115. package/_esm/actions/public/estimateGas.js.map +1 -1
  116. package/_esm/actions/public/getBlobBaseFee.js +27 -0
  117. package/_esm/actions/public/getBlobBaseFee.js.map +1 -0
  118. package/_esm/actions/wallet/prepareTransactionRequest.js +12 -2
  119. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  120. package/_esm/actions/wallet/sendRawTransaction.js.map +1 -1
  121. package/_esm/actions/wallet/sendTransaction.js +7 -8
  122. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  123. package/_esm/actions/wallet/signTransaction.js +6 -5
  124. package/_esm/actions/wallet/signTransaction.js.map +1 -1
  125. package/_esm/chains/celo/serializers.js +10 -17
  126. package/_esm/chains/celo/serializers.js.map +1 -1
  127. package/_esm/chains/definitions/plumeTestnet.js +27 -0
  128. package/_esm/chains/definitions/plumeTestnet.js.map +1 -0
  129. package/_esm/chains/index.js +1 -0
  130. package/_esm/chains/index.js.map +1 -1
  131. package/_esm/chains/opStack/actions/estimateL1Fee.js +1 -10
  132. package/_esm/chains/opStack/actions/estimateL1Fee.js.map +1 -1
  133. package/_esm/chains/opStack/actions/estimateL1Gas.js +1 -10
  134. package/_esm/chains/opStack/actions/estimateL1Gas.js.map +1 -1
  135. package/_esm/chains/opStack/actions/finalizeWithdrawal.js +1 -1
  136. package/_esm/chains/opStack/actions/finalizeWithdrawal.js.map +1 -1
  137. package/_esm/chains/opStack/actions/proveWithdrawal.js +1 -1
  138. package/_esm/chains/opStack/actions/proveWithdrawal.js.map +1 -1
  139. package/_esm/chains/opStack/serializers.js +2 -2
  140. package/_esm/chains/opStack/serializers.js.map +1 -1
  141. package/_esm/chains/zksync/actions/sendTransaction.js.map +1 -1
  142. package/_esm/chains/zksync/actions/signEip712Transaction.js.map +1 -1
  143. package/_esm/chains/zksync/serializers.js +6 -6
  144. package/_esm/chains/zksync/serializers.js.map +1 -1
  145. package/_esm/clients/decorators/public.js.map +1 -1
  146. package/_esm/clients/decorators/wallet.js.map +1 -1
  147. package/_esm/constants/blob.js +16 -0
  148. package/_esm/constants/blob.js.map +1 -0
  149. package/_esm/constants/kzg.js +7 -0
  150. package/_esm/constants/kzg.js.map +1 -0
  151. package/_esm/errors/blob.js +56 -0
  152. package/_esm/errors/blob.js.map +1 -0
  153. package/_esm/errors/transaction.js +1 -0
  154. package/_esm/errors/transaction.js.map +1 -1
  155. package/_esm/errors/version.js +1 -1
  156. package/_esm/errors/version.js.map +1 -1
  157. package/_esm/index.js +10 -0
  158. package/_esm/index.js.map +1 -1
  159. package/_esm/node/index.js +1 -0
  160. package/_esm/node/index.js.map +1 -1
  161. package/_esm/node/trustedSetups.js +4 -0
  162. package/_esm/node/trustedSetups.js.map +1 -0
  163. package/_esm/types/eip4844.js +2 -0
  164. package/_esm/types/eip4844.js.map +1 -0
  165. package/_esm/types/kzg.js +2 -0
  166. package/_esm/types/kzg.js.map +1 -0
  167. package/_esm/utils/blob/blobsToCommitments.js +28 -0
  168. package/_esm/utils/blob/blobsToCommitments.js.map +1 -0
  169. package/_esm/utils/blob/blobsToProofs.js +38 -0
  170. package/_esm/utils/blob/blobsToProofs.js.map +1 -0
  171. package/_esm/utils/blob/commitmentToVersionedHash.js +27 -0
  172. package/_esm/utils/blob/commitmentToVersionedHash.js.map +1 -0
  173. package/_esm/utils/blob/commitmentsToVersionedHashes.js +32 -0
  174. package/_esm/utils/blob/commitmentsToVersionedHashes.js.map +1 -0
  175. package/_esm/utils/blob/fromBlobs.js +33 -0
  176. package/_esm/utils/blob/fromBlobs.js.map +1 -0
  177. package/_esm/utils/blob/sidecarsToVersionedHashes.js +26 -0
  178. package/_esm/utils/blob/sidecarsToVersionedHashes.js.map +1 -0
  179. package/_esm/utils/blob/toBlobSidecars.js +45 -0
  180. package/_esm/utils/blob/toBlobSidecars.js.map +1 -0
  181. package/_esm/utils/blob/toBlobs.js +58 -0
  182. package/_esm/utils/blob/toBlobs.js.map +1 -0
  183. package/_esm/utils/encoding/toRlp.js.map +1 -1
  184. package/_esm/utils/formatters/transaction.js.map +1 -1
  185. package/_esm/utils/formatters/transactionRequest.js +23 -26
  186. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  187. package/_esm/utils/kzg/defineKzg.js +21 -0
  188. package/_esm/utils/kzg/defineKzg.js.map +1 -0
  189. package/_esm/utils/kzg/setupKzg.js +25 -0
  190. package/_esm/utils/kzg/setupKzg.js.map +1 -0
  191. package/_esm/utils/signature/compactSignatureToSignature.js +3 -3
  192. package/_esm/utils/signature/compactSignatureToSignature.js.map +1 -1
  193. package/_esm/utils/signature/hexToSignature.js +6 -1
  194. package/_esm/utils/signature/hexToSignature.js.map +1 -1
  195. package/_esm/utils/signature/signatureToCompactSignature.js +4 -4
  196. package/_esm/utils/signature/signatureToCompactSignature.js.map +1 -1
  197. package/_esm/utils/signature/signatureToHex.js +11 -4
  198. package/_esm/utils/signature/signatureToHex.js.map +1 -1
  199. package/_esm/utils/transaction/assertTransaction.js +24 -0
  200. package/_esm/utils/transaction/assertTransaction.js.map +1 -1
  201. package/_esm/utils/transaction/getSerializedTransactionType.js +2 -0
  202. package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
  203. package/_esm/utils/transaction/getTransactionType.js +7 -1
  204. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  205. package/_esm/utils/transaction/parseTransaction.js +74 -1
  206. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  207. package/_esm/utils/transaction/serializeAccessList.js.map +1 -1
  208. package/_esm/utils/transaction/serializeTransaction.js +85 -22
  209. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  210. package/_types/accounts/types.d.ts +3 -3
  211. package/_types/accounts/types.d.ts.map +1 -1
  212. package/_types/accounts/utils/sign.d.ts.map +1 -1
  213. package/_types/accounts/utils/signTransaction.d.ts +5 -5
  214. package/_types/accounts/utils/signTransaction.d.ts.map +1 -1
  215. package/_types/actions/index.d.ts +1 -0
  216. package/_types/actions/index.d.ts.map +1 -1
  217. package/_types/actions/public/call.d.ts.map +1 -1
  218. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  219. package/_types/actions/public/getBlobBaseFee.d.ts +30 -0
  220. package/_types/actions/public/getBlobBaseFee.d.ts.map +1 -0
  221. package/_types/actions/wallet/prepareTransactionRequest.d.ts +27 -8
  222. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  223. package/_types/actions/wallet/sendRawTransaction.d.ts +3 -5
  224. package/_types/actions/wallet/sendRawTransaction.d.ts.map +1 -1
  225. package/_types/actions/wallet/sendTransaction.d.ts +4 -2
  226. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  227. package/_types/actions/wallet/signTransaction.d.ts +5 -2
  228. package/_types/actions/wallet/signTransaction.d.ts.map +1 -1
  229. package/_types/chains/celo/chainConfig.d.ts +1282 -376
  230. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  231. package/_types/chains/celo/formatters.d.ts +1282 -376
  232. package/_types/chains/celo/formatters.d.ts.map +1 -1
  233. package/_types/chains/celo/serializers.d.ts +3 -4
  234. package/_types/chains/celo/serializers.d.ts.map +1 -1
  235. package/_types/chains/celo/types.d.ts +3 -8
  236. package/_types/chains/celo/types.d.ts.map +1 -1
  237. package/_types/chains/definitions/ancient8.d.ts +452 -188
  238. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  239. package/_types/chains/definitions/ancient8Sepolia.d.ts +452 -188
  240. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  241. package/_types/chains/definitions/base.d.ts +452 -188
  242. package/_types/chains/definitions/base.d.ts.map +1 -1
  243. package/_types/chains/definitions/baseGoerli.d.ts +452 -188
  244. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  245. package/_types/chains/definitions/baseSepolia.d.ts +452 -188
  246. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  247. package/_types/chains/definitions/celo.d.ts +1282 -376
  248. package/_types/chains/definitions/celo.d.ts.map +1 -1
  249. package/_types/chains/definitions/celoAlfajores.d.ts +1282 -376
  250. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  251. package/_types/chains/definitions/fraxtal.d.ts +452 -188
  252. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  253. package/_types/chains/definitions/fraxtalTestnet.d.ts +452 -188
  254. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  255. package/_types/chains/definitions/liskSepolia.d.ts +452 -188
  256. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  257. package/_types/chains/definitions/optimism.d.ts +452 -188
  258. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  259. package/_types/chains/definitions/optimismGoerli.d.ts +452 -188
  260. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  261. package/_types/chains/definitions/optimismSepolia.d.ts +452 -188
  262. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  263. package/_types/chains/definitions/pgn.d.ts +451 -187
  264. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  265. package/_types/chains/definitions/pgnTestnet.d.ts +451 -187
  266. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  267. package/_types/chains/definitions/plumeTestnet.d.ts +37 -0
  268. package/_types/chains/definitions/plumeTestnet.d.ts.map +1 -0
  269. package/_types/chains/definitions/zkSync.d.ts +692 -32
  270. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  271. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +692 -32
  272. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  273. package/_types/chains/definitions/zkSyncTestnet.d.ts +692 -32
  274. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  275. package/_types/chains/definitions/zora.d.ts +452 -188
  276. package/_types/chains/definitions/zora.d.ts.map +1 -1
  277. package/_types/chains/definitions/zoraSepolia.d.ts +452 -188
  278. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  279. package/_types/chains/definitions/zoraTestnet.d.ts +452 -188
  280. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  281. package/_types/chains/index.d.ts +2 -1
  282. package/_types/chains/index.d.ts.map +1 -1
  283. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +1 -1
  284. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +1 -1
  285. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +1 -1
  286. package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +1 -1
  287. package/_types/chains/opStack/chainConfig.d.ts +452 -188
  288. package/_types/chains/opStack/chainConfig.d.ts.map +1 -1
  289. package/_types/chains/opStack/formatters.d.ts +451 -187
  290. package/_types/chains/opStack/formatters.d.ts.map +1 -1
  291. package/_types/chains/opStack/serializers.d.ts +4 -3
  292. package/_types/chains/opStack/serializers.d.ts.map +1 -1
  293. package/_types/chains/opStack/types/transaction.d.ts +4 -8
  294. package/_types/chains/opStack/types/transaction.d.ts.map +1 -1
  295. package/_types/chains/zksync/actions/sendTransaction.d.ts.map +1 -1
  296. package/_types/chains/zksync/chainConfig.d.ts +692 -32
  297. package/_types/chains/zksync/chainConfig.d.ts.map +1 -1
  298. package/_types/chains/zksync/formatters.d.ts +692 -32
  299. package/_types/chains/zksync/formatters.d.ts.map +1 -1
  300. package/_types/chains/zksync/serializers.d.ts +3 -3
  301. package/_types/chains/zksync/serializers.d.ts.map +1 -1
  302. package/_types/chains/zksync/types/chain.d.ts +2 -2
  303. package/_types/chains/zksync/types/chain.d.ts.map +1 -1
  304. package/_types/chains/zksync/types/eip712.d.ts +2 -2
  305. package/_types/chains/zksync/types/eip712.d.ts.map +1 -1
  306. package/_types/clients/decorators/public.d.ts +2 -2
  307. package/_types/clients/decorators/public.d.ts.map +1 -1
  308. package/_types/clients/decorators/wallet.d.ts +4 -4
  309. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  310. package/_types/constants/blob.d.ts +11 -0
  311. package/_types/constants/blob.d.ts.map +1 -0
  312. package/_types/constants/kzg.d.ts +6 -0
  313. package/_types/constants/kzg.d.ts.map +1 -0
  314. package/_types/errors/blob.d.ts +40 -0
  315. package/_types/errors/blob.d.ts.map +1 -0
  316. package/_types/errors/transaction.d.ts.map +1 -1
  317. package/_types/errors/version.d.ts +1 -1
  318. package/_types/errors/version.d.ts.map +1 -1
  319. package/_types/index.d.ts +11 -0
  320. package/_types/index.d.ts.map +1 -1
  321. package/_types/node/index.d.ts +1 -0
  322. package/_types/node/index.d.ts.map +1 -1
  323. package/_types/node/trustedSetups.d.ts +3 -0
  324. package/_types/node/trustedSetups.d.ts.map +1 -0
  325. package/_types/types/account.d.ts +3 -3
  326. package/_types/types/account.d.ts.map +1 -1
  327. package/_types/types/chain.d.ts +2 -2
  328. package/_types/types/chain.d.ts.map +1 -1
  329. package/_types/types/eip1193.d.ts +3 -3
  330. package/_types/types/eip1193.d.ts.map +1 -1
  331. package/_types/types/eip4844.d.ts +11 -0
  332. package/_types/types/eip4844.d.ts.map +1 -0
  333. package/_types/types/fee.d.ts +2 -2
  334. package/_types/types/fee.d.ts.map +1 -1
  335. package/_types/types/kzg.d.ts +24 -0
  336. package/_types/types/kzg.d.ts.map +1 -0
  337. package/_types/types/misc.d.ts +15 -1
  338. package/_types/types/misc.d.ts.map +1 -1
  339. package/_types/types/rpc.d.ts +4 -4
  340. package/_types/types/rpc.d.ts.map +1 -1
  341. package/_types/types/transaction.d.ts +44 -9
  342. package/_types/types/transaction.d.ts.map +1 -1
  343. package/_types/types/utils.d.ts +38 -2
  344. package/_types/types/utils.d.ts.map +1 -1
  345. package/_types/utils/blob/blobsToCommitments.d.ts +31 -0
  346. package/_types/utils/blob/blobsToCommitments.d.ts.map +1 -0
  347. package/_types/utils/blob/blobsToProofs.d.ts +37 -0
  348. package/_types/utils/blob/blobsToProofs.d.ts.map +1 -0
  349. package/_types/utils/blob/commitmentToVersionedHash.d.ts +35 -0
  350. package/_types/utils/blob/commitmentToVersionedHash.d.ts.map +1 -0
  351. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts +34 -0
  352. package/_types/utils/blob/commitmentsToVersionedHashes.d.ts.map +1 -0
  353. package/_types/utils/blob/fromBlobs.d.ts +16 -0
  354. package/_types/utils/blob/fromBlobs.d.ts.map +1 -0
  355. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts +29 -0
  356. package/_types/utils/blob/sidecarsToVersionedHashes.d.ts.map +1 -0
  357. package/_types/utils/blob/toBlobSidecars.d.ts +57 -0
  358. package/_types/utils/blob/toBlobSidecars.d.ts.map +1 -0
  359. package/_types/utils/blob/toBlobs.d.ts +28 -0
  360. package/_types/utils/blob/toBlobs.d.ts.map +1 -0
  361. package/_types/utils/encoding/toRlp.d.ts +1 -1
  362. package/_types/utils/encoding/toRlp.d.ts.map +1 -1
  363. package/_types/utils/formatters/transaction.d.ts +25 -25
  364. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  365. package/_types/utils/formatters/transactionRequest.d.ts +227 -3
  366. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  367. package/_types/utils/kzg/defineKzg.d.ts +21 -0
  368. package/_types/utils/kzg/defineKzg.d.ts.map +1 -0
  369. package/_types/utils/kzg/setupKzg.d.ts +21 -0
  370. package/_types/utils/kzg/setupKzg.d.ts.map +1 -0
  371. package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
  372. package/_types/utils/signature/signatureToCompactSignature.d.ts +1 -1
  373. package/_types/utils/signature/signatureToHex.d.ts +2 -2
  374. package/_types/utils/signature/signatureToHex.d.ts.map +1 -1
  375. package/_types/utils/transaction/assertTransaction.d.ts +4 -1
  376. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
  377. package/_types/utils/transaction/getSerializedTransactionType.d.ts +5 -3
  378. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
  379. package/_types/utils/transaction/getTransactionType.d.ts +34 -3
  380. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  381. package/_types/utils/transaction/parseTransaction.d.ts +7 -5
  382. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  383. package/_types/utils/transaction/serializeTransaction.d.ts +13 -6
  384. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  385. package/accounts/types.ts +9 -5
  386. package/accounts/utils/sign.ts +1 -0
  387. package/accounts/utils/signTransaction.ts +37 -22
  388. package/actions/index.ts +5 -0
  389. package/actions/public/call.ts +4 -0
  390. package/actions/public/estimateGas.ts +4 -0
  391. package/actions/public/getBlobBaseFee.ts +42 -0
  392. package/actions/wallet/prepareTransactionRequest.ts +134 -61
  393. package/actions/wallet/sendRawTransaction.ts +3 -5
  394. package/actions/wallet/sendTransaction.ts +32 -21
  395. package/actions/wallet/signTransaction.ts +34 -18
  396. package/chains/celo/serializers.ts +12 -25
  397. package/chains/celo/types.ts +5 -10
  398. package/chains/definitions/plumeTestnet.ts +28 -0
  399. package/chains/index.ts +1 -1
  400. package/chains/opStack/actions/estimateL1Fee.ts +12 -16
  401. package/chains/opStack/actions/estimateL1Gas.ts +12 -16
  402. package/chains/opStack/actions/finalizeWithdrawal.ts +3 -2
  403. package/chains/opStack/actions/proveWithdrawal.ts +3 -2
  404. package/chains/opStack/serializers.ts +5 -5
  405. package/chains/opStack/types/transaction.ts +9 -11
  406. package/chains/zksync/actions/sendTransaction.ts +2 -1
  407. package/chains/zksync/actions/signEip712Transaction.ts +2 -2
  408. package/chains/zksync/serializers.ts +14 -10
  409. package/chains/zksync/types/chain.ts +4 -7
  410. package/chains/zksync/types/eip712.ts +2 -2
  411. package/clients/decorators/public.ts +8 -4
  412. package/clients/decorators/wallet.ts +14 -6
  413. package/constants/blob.ts +21 -0
  414. package/constants/kzg.ts +9 -0
  415. package/errors/blob.ts +67 -0
  416. package/errors/transaction.ts +1 -0
  417. package/errors/version.ts +1 -1
  418. package/index.ts +64 -0
  419. package/node/index.ts +2 -0
  420. package/node/trustedSetups.ts +11 -0
  421. package/package.json +1 -1
  422. package/trusted-setups/mainnet.json +8265 -0
  423. package/trusted-setups/minimal.json +8265 -0
  424. package/types/account.ts +3 -3
  425. package/types/chain.ts +3 -1
  426. package/types/eip1193.ts +3 -3
  427. package/types/eip4844.ts +12 -0
  428. package/types/fee.ts +3 -2
  429. package/types/kzg.ts +32 -0
  430. package/types/misc.ts +20 -1
  431. package/types/rpc.ts +11 -6
  432. package/types/transaction.ts +75 -17
  433. package/types/utils.ts +49 -1
  434. package/utils/blob/blobsToCommitments.ts +69 -0
  435. package/utils/blob/blobsToProofs.ts +93 -0
  436. package/utils/blob/commitmentToVersionedHash.ts +62 -0
  437. package/utils/blob/commitmentsToVersionedHashes.ts +71 -0
  438. package/utils/blob/fromBlobs.ts +73 -0
  439. package/utils/blob/sidecarsToVersionedHashes.ts +66 -0
  440. package/utils/blob/toBlobSidecars.ts +109 -0
  441. package/utils/blob/toBlobs.ts +113 -0
  442. package/utils/encoding/toRlp.ts +2 -2
  443. package/utils/formatters/transaction.ts +3 -2
  444. package/utils/formatters/transactionRequest.ts +28 -35
  445. package/utils/kzg/defineKzg.ts +30 -0
  446. package/utils/kzg/setupKzg.ts +38 -0
  447. package/utils/signature/compactSignatureToSignature.ts +3 -3
  448. package/utils/signature/hexToSignature.ts +6 -1
  449. package/utils/signature/signatureToCompactSignature.ts +4 -4
  450. package/utils/signature/signatureToHex.ts +9 -4
  451. package/utils/transaction/assertTransaction.ts +41 -0
  452. package/utils/transaction/getSerializedTransactionType.ts +34 -11
  453. package/utils/transaction/getTransactionType.ts +109 -26
  454. package/utils/transaction/parseTransaction.ts +128 -8
  455. package/utils/transaction/serializeAccessList.ts +1 -1
  456. package/utils/transaction/serializeTransaction.ts +172 -39
@@ -97,53 +97,77 @@ export declare const liskSepolia: {
97
97
  readonly transaction: {
98
98
  exclude: [] | undefined;
99
99
  format: (args: ({
100
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
101
- gas?: `0x${string}` | undefined;
102
- value?: `0x${string}` | undefined;
100
+ r?: `0x${string}` | undefined;
101
+ s?: `0x${string}` | undefined;
102
+ v?: `0x${string}` | undefined;
103
+ yParity?: `0x${string}` | undefined;
103
104
  gasPrice?: `0x${string}` | undefined;
104
105
  maxFeePerBlobGas?: `0x${string}` | undefined;
105
106
  maxFeePerGas?: `0x${string}` | undefined;
106
107
  maxPriorityFeePerGas?: `0x${string}` | undefined;
107
- yParity?: `0x${string}` | undefined;
108
+ to?: `0x${string}` | null | undefined;
109
+ from?: `0x${string}` | undefined;
110
+ gas?: `0x${string}` | undefined;
111
+ nonce?: `0x${string}` | undefined;
112
+ value?: `0x${string}` | undefined;
113
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
114
+ accessList?: undefined;
108
115
  blockHash?: `0x${string}` | null | undefined;
109
116
  blockNumber?: `0x${string}` | null | undefined;
110
- from?: `0x${string}` | undefined;
111
117
  hash?: `0x${string}` | undefined;
112
118
  input?: `0x${string}` | undefined;
113
- nonce?: `0x${string}` | undefined;
114
- r?: `0x${string}` | undefined;
115
- s?: `0x${string}` | undefined;
116
- to?: `0x${string}` | null | undefined;
117
119
  transactionIndex?: `0x${string}` | null | undefined;
118
- v?: `0x${string}` | undefined;
120
+ blobVersionedHashes?: undefined;
121
+ chainId?: `0x${string}` | undefined;
122
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
123
+ r: `0x${string}`;
124
+ s: `0x${string}`;
125
+ v: `0x${string}`;
126
+ to: `0x${string}` | null;
127
+ from: `0x${string}`;
128
+ gas: `0x${string}`;
129
+ nonce: `0x${string}`;
130
+ value: `0x${string}`;
131
+ blockHash: `0x${string}` | null;
132
+ blockNumber: `0x${string}` | null;
133
+ hash: `0x${string}`;
134
+ input: `0x${string}`;
135
+ transactionIndex: `0x${string}` | null;
136
+ typeHex: `0x${string}` | null;
137
+ gasPrice: `0x${string}`;
138
+ maxFeePerBlobGas?: undefined;
139
+ maxFeePerGas?: undefined;
140
+ maxPriorityFeePerGas?: undefined;
119
141
  accessList?: undefined;
120
142
  blobVersionedHashes?: undefined;
121
143
  chainId?: `0x${string}` | undefined;
122
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
144
+ yParity?: undefined;
145
+ type: "0x0";
146
+ }, "yParity">, "typeHex"> & {
123
147
  isSystemTx?: undefined;
124
148
  mint?: undefined;
125
149
  sourceHash?: undefined;
126
150
  }) | ({
127
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
128
- gas?: `0x${string}` | undefined;
129
- value?: `0x${string}` | undefined;
151
+ r?: `0x${string}` | undefined;
152
+ s?: `0x${string}` | undefined;
153
+ v?: `0x${string}` | undefined;
154
+ yParity?: `0x${string}` | undefined;
130
155
  gasPrice?: `0x${string}` | undefined;
131
156
  maxFeePerBlobGas?: `0x${string}` | undefined;
132
157
  maxFeePerGas?: `0x${string}` | undefined;
133
158
  maxPriorityFeePerGas?: `0x${string}` | undefined;
134
- yParity?: `0x${string}` | undefined;
159
+ to?: `0x${string}` | null | undefined;
160
+ from?: `0x${string}` | undefined;
161
+ gas?: `0x${string}` | undefined;
162
+ nonce?: `0x${string}` | undefined;
163
+ value?: `0x${string}` | undefined;
164
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
165
+ accessList?: undefined;
135
166
  blockHash?: `0x${string}` | null | undefined;
136
167
  blockNumber?: `0x${string}` | null | undefined;
137
- from?: `0x${string}` | undefined;
138
168
  hash?: `0x${string}` | undefined;
139
169
  input?: `0x${string}` | undefined;
140
- nonce?: `0x${string}` | undefined;
141
- r?: `0x${string}` | undefined;
142
- s?: `0x${string}` | undefined;
143
- to?: `0x${string}` | null | undefined;
144
170
  transactionIndex?: `0x${string}` | null | undefined;
145
- v?: `0x${string}` | undefined;
146
- accessList?: undefined;
147
171
  blobVersionedHashes?: undefined;
148
172
  chainId?: `0x${string}` | undefined;
149
173
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -152,107 +176,179 @@ export declare const liskSepolia: {
152
176
  sourceHash: `0x${string}`;
153
177
  type: "0x7e";
154
178
  }) | ({
155
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
156
- gas?: `0x${string}` | undefined;
157
- value?: `0x${string}` | undefined;
179
+ r?: `0x${string}` | undefined;
180
+ s?: `0x${string}` | undefined;
181
+ v?: `0x${string}` | undefined;
182
+ yParity?: `0x${string}` | undefined;
158
183
  gasPrice?: `0x${string}` | undefined;
159
184
  maxFeePerBlobGas?: `0x${string}` | undefined;
160
185
  maxFeePerGas?: `0x${string}` | undefined;
161
186
  maxPriorityFeePerGas?: `0x${string}` | undefined;
162
- yParity?: `0x${string}` | undefined;
187
+ to?: `0x${string}` | null | undefined;
188
+ from?: `0x${string}` | undefined;
189
+ gas?: `0x${string}` | undefined;
190
+ nonce?: `0x${string}` | undefined;
191
+ value?: `0x${string}` | undefined;
192
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
193
+ accessList?: import("../../index.js").AccessList | undefined;
163
194
  blockHash?: `0x${string}` | null | undefined;
164
195
  blockNumber?: `0x${string}` | null | undefined;
165
- from?: `0x${string}` | undefined;
166
196
  hash?: `0x${string}` | undefined;
167
197
  input?: `0x${string}` | undefined;
168
- nonce?: `0x${string}` | undefined;
169
- r?: `0x${string}` | undefined;
170
- s?: `0x${string}` | undefined;
171
- to?: `0x${string}` | null | undefined;
172
198
  transactionIndex?: `0x${string}` | null | undefined;
173
- v?: `0x${string}` | undefined;
174
- accessList?: import("../../index.js").AccessList | undefined;
175
199
  blobVersionedHashes?: undefined;
176
200
  chainId?: `0x${string}` | undefined;
177
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
201
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
202
+ r: `0x${string}`;
203
+ s: `0x${string}`;
204
+ v: `0x${string}`;
205
+ to: `0x${string}` | null;
206
+ from: `0x${string}`;
207
+ gas: `0x${string}`;
208
+ nonce: `0x${string}`;
209
+ value: `0x${string}`;
210
+ blockHash: `0x${string}` | null;
211
+ blockNumber: `0x${string}` | null;
212
+ hash: `0x${string}`;
213
+ input: `0x${string}`;
214
+ transactionIndex: `0x${string}` | null;
215
+ typeHex: `0x${string}` | null;
216
+ gasPrice: `0x${string}`;
217
+ maxFeePerBlobGas?: undefined;
218
+ maxFeePerGas?: undefined;
219
+ maxPriorityFeePerGas?: undefined;
220
+ accessList?: undefined;
221
+ blobVersionedHashes?: undefined;
222
+ chainId?: `0x${string}` | undefined;
223
+ yParity?: undefined;
224
+ type: "0x0";
225
+ }, "yParity">, "typeHex"> & {
178
226
  isSystemTx?: undefined;
179
227
  mint?: undefined;
180
228
  sourceHash?: undefined;
181
229
  }) | ({
182
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
183
- gas?: `0x${string}` | undefined;
184
- value?: `0x${string}` | undefined;
230
+ r?: `0x${string}` | undefined;
231
+ s?: `0x${string}` | undefined;
232
+ v?: `0x${string}` | undefined;
233
+ yParity?: `0x${string}` | undefined;
185
234
  gasPrice?: `0x${string}` | undefined;
186
235
  maxFeePerBlobGas?: `0x${string}` | undefined;
187
236
  maxFeePerGas?: `0x${string}` | undefined;
188
237
  maxPriorityFeePerGas?: `0x${string}` | undefined;
189
- yParity?: `0x${string}` | undefined;
238
+ to?: `0x${string}` | null | undefined;
239
+ from?: `0x${string}` | undefined;
240
+ gas?: `0x${string}` | undefined;
241
+ nonce?: `0x${string}` | undefined;
242
+ value?: `0x${string}` | undefined;
243
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
244
+ accessList?: import("../../index.js").AccessList | undefined;
190
245
  blockHash?: `0x${string}` | null | undefined;
191
246
  blockNumber?: `0x${string}` | null | undefined;
192
- from?: `0x${string}` | undefined;
193
247
  hash?: `0x${string}` | undefined;
194
248
  input?: `0x${string}` | undefined;
195
- nonce?: `0x${string}` | undefined;
196
- r?: `0x${string}` | undefined;
197
- s?: `0x${string}` | undefined;
198
- to?: `0x${string}` | null | undefined;
199
249
  transactionIndex?: `0x${string}` | null | undefined;
200
- v?: `0x${string}` | undefined;
201
- accessList?: import("../../index.js").AccessList | undefined;
202
250
  blobVersionedHashes?: undefined;
203
251
  chainId?: `0x${string}` | undefined;
204
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
252
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
253
+ blockHash: `0x${string}` | null;
254
+ blockNumber: `0x${string}` | null;
255
+ from: `0x${string}`;
256
+ gas: `0x${string}`;
257
+ hash: `0x${string}`;
258
+ input: `0x${string}`;
259
+ nonce: `0x${string}`;
260
+ r: `0x${string}`;
261
+ s: `0x${string}`;
262
+ to: `0x${string}` | null;
263
+ transactionIndex: `0x${string}` | null;
264
+ typeHex: `0x${string}` | null;
265
+ v: `0x${string}`;
266
+ value: `0x${string}`;
267
+ yParity: `0x${string}`;
268
+ gasPrice: `0x${string}`;
269
+ maxFeePerBlobGas?: undefined;
270
+ maxFeePerGas?: undefined;
271
+ maxPriorityFeePerGas?: undefined;
272
+ accessList: import("../../index.js").AccessList;
273
+ blobVersionedHashes?: undefined;
274
+ chainId: `0x${string}`;
275
+ type: "0x1";
276
+ }, "yParity">, "typeHex"> & {
205
277
  isSystemTx?: undefined;
206
278
  mint?: undefined;
207
279
  sourceHash?: undefined;
208
280
  }) | ({
209
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
210
- gas?: `0x${string}` | undefined;
211
- value?: `0x${string}` | undefined;
281
+ r?: `0x${string}` | undefined;
282
+ s?: `0x${string}` | undefined;
283
+ v?: `0x${string}` | undefined;
284
+ yParity?: `0x${string}` | undefined;
212
285
  gasPrice?: `0x${string}` | undefined;
213
286
  maxFeePerBlobGas?: `0x${string}` | undefined;
214
287
  maxFeePerGas?: `0x${string}` | undefined;
215
288
  maxPriorityFeePerGas?: `0x${string}` | undefined;
216
- yParity?: `0x${string}` | undefined;
289
+ to?: `0x${string}` | null | undefined;
290
+ from?: `0x${string}` | undefined;
291
+ gas?: `0x${string}` | undefined;
292
+ nonce?: `0x${string}` | undefined;
293
+ value?: `0x${string}` | undefined;
294
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
295
+ accessList?: import("../../index.js").AccessList | undefined;
217
296
  blockHash?: `0x${string}` | null | undefined;
218
297
  blockNumber?: `0x${string}` | null | undefined;
219
- from?: `0x${string}` | undefined;
220
298
  hash?: `0x${string}` | undefined;
221
299
  input?: `0x${string}` | undefined;
222
- nonce?: `0x${string}` | undefined;
223
- r?: `0x${string}` | undefined;
224
- s?: `0x${string}` | undefined;
225
- to?: `0x${string}` | null | undefined;
226
300
  transactionIndex?: `0x${string}` | null | undefined;
227
- v?: `0x${string}` | undefined;
228
- accessList?: import("../../index.js").AccessList | undefined;
229
301
  blobVersionedHashes?: undefined;
230
302
  chainId?: `0x${string}` | undefined;
231
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
303
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
304
+ blockHash: `0x${string}` | null;
305
+ blockNumber: `0x${string}` | null;
306
+ from: `0x${string}`;
307
+ gas: `0x${string}`;
308
+ hash: `0x${string}`;
309
+ input: `0x${string}`;
310
+ nonce: `0x${string}`;
311
+ r: `0x${string}`;
312
+ s: `0x${string}`;
313
+ to: `0x${string}` | null;
314
+ transactionIndex: `0x${string}` | null;
315
+ typeHex: `0x${string}` | null;
316
+ v: `0x${string}`;
317
+ value: `0x${string}`;
318
+ yParity: `0x${string}`;
319
+ gasPrice?: undefined;
320
+ maxFeePerBlobGas?: undefined;
321
+ maxFeePerGas: `0x${string}`;
322
+ maxPriorityFeePerGas: `0x${string}`;
323
+ accessList: import("../../index.js").AccessList;
324
+ blobVersionedHashes?: undefined;
325
+ chainId: `0x${string}`;
326
+ type: "0x2";
327
+ }, "yParity">, "typeHex"> & {
232
328
  isSystemTx?: undefined;
233
329
  mint?: undefined;
234
330
  sourceHash?: undefined;
235
331
  }) | ({
236
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
237
- gas?: `0x${string}` | undefined;
238
- value?: `0x${string}` | undefined;
332
+ r?: `0x${string}` | undefined;
333
+ s?: `0x${string}` | undefined;
334
+ v?: `0x${string}` | undefined;
335
+ yParity?: `0x${string}` | undefined;
239
336
  gasPrice?: `0x${string}` | undefined;
240
337
  maxFeePerBlobGas?: `0x${string}` | undefined;
241
338
  maxFeePerGas?: `0x${string}` | undefined;
242
339
  maxPriorityFeePerGas?: `0x${string}` | undefined;
243
- yParity?: `0x${string}` | undefined;
340
+ to?: `0x${string}` | null | undefined;
341
+ from?: `0x${string}` | undefined;
342
+ gas?: `0x${string}` | undefined;
343
+ nonce?: `0x${string}` | undefined;
344
+ value?: `0x${string}` | undefined;
345
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
346
+ accessList?: import("../../index.js").AccessList | undefined;
244
347
  blockHash?: `0x${string}` | null | undefined;
245
348
  blockNumber?: `0x${string}` | null | undefined;
246
- from?: `0x${string}` | undefined;
247
349
  hash?: `0x${string}` | undefined;
248
350
  input?: `0x${string}` | undefined;
249
- nonce?: `0x${string}` | undefined;
250
- r?: `0x${string}` | undefined;
251
- s?: `0x${string}` | undefined;
252
- to?: `0x${string}` | null | undefined;
253
351
  transactionIndex?: `0x${string}` | null | undefined;
254
- v?: `0x${string}` | undefined;
255
- accessList?: import("../../index.js").AccessList | undefined;
256
352
  blobVersionedHashes?: undefined;
257
353
  chainId?: `0x${string}` | undefined;
258
354
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -261,107 +357,179 @@ export declare const liskSepolia: {
261
357
  sourceHash: `0x${string}`;
262
358
  type: "0x7e";
263
359
  }) | ({
264
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
265
- gas?: `0x${string}` | undefined;
266
- value?: `0x${string}` | undefined;
360
+ r?: `0x${string}` | undefined;
361
+ s?: `0x${string}` | undefined;
362
+ v?: `0x${string}` | undefined;
363
+ yParity?: `0x${string}` | undefined;
267
364
  gasPrice?: `0x${string}` | undefined;
268
365
  maxFeePerBlobGas?: `0x${string}` | undefined;
269
366
  maxFeePerGas?: `0x${string}` | undefined;
270
367
  maxPriorityFeePerGas?: `0x${string}` | undefined;
271
- yParity?: `0x${string}` | undefined;
368
+ to?: `0x${string}` | null | undefined;
369
+ from?: `0x${string}` | undefined;
370
+ gas?: `0x${string}` | undefined;
371
+ nonce?: `0x${string}` | undefined;
372
+ value?: `0x${string}` | undefined;
373
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
374
+ accessList?: import("../../index.js").AccessList | undefined;
272
375
  blockHash?: `0x${string}` | null | undefined;
273
376
  blockNumber?: `0x${string}` | null | undefined;
274
- from?: `0x${string}` | undefined;
275
377
  hash?: `0x${string}` | undefined;
276
378
  input?: `0x${string}` | undefined;
277
- nonce?: `0x${string}` | undefined;
278
- r?: `0x${string}` | undefined;
279
- s?: `0x${string}` | undefined;
280
- to?: `0x${string}` | null | undefined;
281
379
  transactionIndex?: `0x${string}` | null | undefined;
282
- v?: `0x${string}` | undefined;
283
- accessList?: import("../../index.js").AccessList | undefined;
284
380
  blobVersionedHashes?: undefined;
285
381
  chainId?: `0x${string}` | undefined;
286
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
382
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
383
+ r: `0x${string}`;
384
+ s: `0x${string}`;
385
+ v: `0x${string}`;
386
+ to: `0x${string}` | null;
387
+ from: `0x${string}`;
388
+ gas: `0x${string}`;
389
+ nonce: `0x${string}`;
390
+ value: `0x${string}`;
391
+ blockHash: `0x${string}` | null;
392
+ blockNumber: `0x${string}` | null;
393
+ hash: `0x${string}`;
394
+ input: `0x${string}`;
395
+ transactionIndex: `0x${string}` | null;
396
+ typeHex: `0x${string}` | null;
397
+ gasPrice: `0x${string}`;
398
+ maxFeePerBlobGas?: undefined;
399
+ maxFeePerGas?: undefined;
400
+ maxPriorityFeePerGas?: undefined;
401
+ accessList?: undefined;
402
+ blobVersionedHashes?: undefined;
403
+ chainId?: `0x${string}` | undefined;
404
+ yParity?: undefined;
405
+ type: "0x0";
406
+ }, "yParity">, "typeHex"> & {
287
407
  isSystemTx?: undefined;
288
408
  mint?: undefined;
289
409
  sourceHash?: undefined;
290
410
  }) | ({
291
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
292
- gas?: `0x${string}` | undefined;
293
- value?: `0x${string}` | undefined;
411
+ r?: `0x${string}` | undefined;
412
+ s?: `0x${string}` | undefined;
413
+ v?: `0x${string}` | undefined;
414
+ yParity?: `0x${string}` | undefined;
294
415
  gasPrice?: `0x${string}` | undefined;
295
416
  maxFeePerBlobGas?: `0x${string}` | undefined;
296
417
  maxFeePerGas?: `0x${string}` | undefined;
297
418
  maxPriorityFeePerGas?: `0x${string}` | undefined;
298
- yParity?: `0x${string}` | undefined;
419
+ to?: `0x${string}` | null | undefined;
420
+ from?: `0x${string}` | undefined;
421
+ gas?: `0x${string}` | undefined;
422
+ nonce?: `0x${string}` | undefined;
423
+ value?: `0x${string}` | undefined;
424
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
425
+ accessList?: import("../../index.js").AccessList | undefined;
299
426
  blockHash?: `0x${string}` | null | undefined;
300
427
  blockNumber?: `0x${string}` | null | undefined;
301
- from?: `0x${string}` | undefined;
302
428
  hash?: `0x${string}` | undefined;
303
429
  input?: `0x${string}` | undefined;
304
- nonce?: `0x${string}` | undefined;
305
- r?: `0x${string}` | undefined;
306
- s?: `0x${string}` | undefined;
307
- to?: `0x${string}` | null | undefined;
308
430
  transactionIndex?: `0x${string}` | null | undefined;
309
- v?: `0x${string}` | undefined;
310
- accessList?: import("../../index.js").AccessList | undefined;
311
431
  blobVersionedHashes?: undefined;
312
432
  chainId?: `0x${string}` | undefined;
313
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
433
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
434
+ blockHash: `0x${string}` | null;
435
+ blockNumber: `0x${string}` | null;
436
+ from: `0x${string}`;
437
+ gas: `0x${string}`;
438
+ hash: `0x${string}`;
439
+ input: `0x${string}`;
440
+ nonce: `0x${string}`;
441
+ r: `0x${string}`;
442
+ s: `0x${string}`;
443
+ to: `0x${string}` | null;
444
+ transactionIndex: `0x${string}` | null;
445
+ typeHex: `0x${string}` | null;
446
+ v: `0x${string}`;
447
+ value: `0x${string}`;
448
+ yParity: `0x${string}`;
449
+ gasPrice: `0x${string}`;
450
+ maxFeePerBlobGas?: undefined;
451
+ maxFeePerGas?: undefined;
452
+ maxPriorityFeePerGas?: undefined;
453
+ accessList: import("../../index.js").AccessList;
454
+ blobVersionedHashes?: undefined;
455
+ chainId: `0x${string}`;
456
+ type: "0x1";
457
+ }, "yParity">, "typeHex"> & {
314
458
  isSystemTx?: undefined;
315
459
  mint?: undefined;
316
460
  sourceHash?: undefined;
317
461
  }) | ({
318
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
319
- gas?: `0x${string}` | undefined;
320
- value?: `0x${string}` | undefined;
462
+ r?: `0x${string}` | undefined;
463
+ s?: `0x${string}` | undefined;
464
+ v?: `0x${string}` | undefined;
465
+ yParity?: `0x${string}` | undefined;
321
466
  gasPrice?: `0x${string}` | undefined;
322
467
  maxFeePerBlobGas?: `0x${string}` | undefined;
323
468
  maxFeePerGas?: `0x${string}` | undefined;
324
469
  maxPriorityFeePerGas?: `0x${string}` | undefined;
325
- yParity?: `0x${string}` | undefined;
470
+ to?: `0x${string}` | null | undefined;
471
+ from?: `0x${string}` | undefined;
472
+ gas?: `0x${string}` | undefined;
473
+ nonce?: `0x${string}` | undefined;
474
+ value?: `0x${string}` | undefined;
475
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
476
+ accessList?: import("../../index.js").AccessList | undefined;
326
477
  blockHash?: `0x${string}` | null | undefined;
327
478
  blockNumber?: `0x${string}` | null | undefined;
328
- from?: `0x${string}` | undefined;
329
479
  hash?: `0x${string}` | undefined;
330
480
  input?: `0x${string}` | undefined;
331
- nonce?: `0x${string}` | undefined;
332
- r?: `0x${string}` | undefined;
333
- s?: `0x${string}` | undefined;
334
- to?: `0x${string}` | null | undefined;
335
481
  transactionIndex?: `0x${string}` | null | undefined;
336
- v?: `0x${string}` | undefined;
337
- accessList?: import("../../index.js").AccessList | undefined;
338
482
  blobVersionedHashes?: undefined;
339
483
  chainId?: `0x${string}` | undefined;
340
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
484
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
485
+ blockHash: `0x${string}` | null;
486
+ blockNumber: `0x${string}` | null;
487
+ from: `0x${string}`;
488
+ gas: `0x${string}`;
489
+ hash: `0x${string}`;
490
+ input: `0x${string}`;
491
+ nonce: `0x${string}`;
492
+ r: `0x${string}`;
493
+ s: `0x${string}`;
494
+ to: `0x${string}` | null;
495
+ transactionIndex: `0x${string}` | null;
496
+ typeHex: `0x${string}` | null;
497
+ v: `0x${string}`;
498
+ value: `0x${string}`;
499
+ yParity: `0x${string}`;
500
+ gasPrice?: undefined;
501
+ maxFeePerBlobGas?: undefined;
502
+ maxFeePerGas: `0x${string}`;
503
+ maxPriorityFeePerGas: `0x${string}`;
504
+ accessList: import("../../index.js").AccessList;
505
+ blobVersionedHashes?: undefined;
506
+ chainId: `0x${string}`;
507
+ type: "0x2";
508
+ }, "yParity">, "typeHex"> & {
341
509
  isSystemTx?: undefined;
342
510
  mint?: undefined;
343
511
  sourceHash?: undefined;
344
512
  }) | ({
345
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
346
- gas?: `0x${string}` | undefined;
347
- value?: `0x${string}` | undefined;
513
+ r?: `0x${string}` | undefined;
514
+ s?: `0x${string}` | undefined;
515
+ v?: `0x${string}` | undefined;
516
+ yParity?: `0x${string}` | undefined;
348
517
  gasPrice?: `0x${string}` | undefined;
349
518
  maxFeePerBlobGas?: `0x${string}` | undefined;
350
519
  maxFeePerGas?: `0x${string}` | undefined;
351
520
  maxPriorityFeePerGas?: `0x${string}` | undefined;
352
- yParity?: `0x${string}` | undefined;
521
+ to?: `0x${string}` | null | undefined;
522
+ from?: `0x${string}` | undefined;
523
+ gas?: `0x${string}` | undefined;
524
+ nonce?: `0x${string}` | undefined;
525
+ value?: `0x${string}` | undefined;
526
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
527
+ accessList?: import("../../index.js").AccessList | undefined;
353
528
  blockHash?: `0x${string}` | null | undefined;
354
529
  blockNumber?: `0x${string}` | null | undefined;
355
- from?: `0x${string}` | undefined;
356
530
  hash?: `0x${string}` | undefined;
357
531
  input?: `0x${string}` | undefined;
358
- nonce?: `0x${string}` | undefined;
359
- r?: `0x${string}` | undefined;
360
- s?: `0x${string}` | undefined;
361
- to?: `0x${string}` | null | undefined;
362
532
  transactionIndex?: `0x${string}` | null | undefined;
363
- v?: `0x${string}` | undefined;
364
- accessList?: import("../../index.js").AccessList | undefined;
365
533
  blobVersionedHashes?: undefined;
366
534
  chainId?: `0x${string}` | undefined;
367
535
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -370,134 +538,230 @@ export declare const liskSepolia: {
370
538
  sourceHash: `0x${string}`;
371
539
  type: "0x7e";
372
540
  }) | ({
373
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
374
- gas?: `0x${string}` | undefined;
375
- value?: `0x${string}` | undefined;
541
+ r?: `0x${string}` | undefined;
542
+ s?: `0x${string}` | undefined;
543
+ v?: `0x${string}` | undefined;
544
+ yParity?: `0x${string}` | undefined;
376
545
  gasPrice?: `0x${string}` | undefined;
377
546
  maxFeePerBlobGas?: `0x${string}` | undefined;
378
547
  maxFeePerGas?: `0x${string}` | undefined;
379
548
  maxPriorityFeePerGas?: `0x${string}` | undefined;
380
- yParity?: `0x${string}` | undefined;
549
+ to?: `0x${string}` | null | undefined;
550
+ from?: `0x${string}` | undefined;
551
+ gas?: `0x${string}` | undefined;
552
+ nonce?: `0x${string}` | undefined;
553
+ value?: `0x${string}` | undefined;
554
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
555
+ accessList?: import("../../index.js").AccessList | undefined;
381
556
  blockHash?: `0x${string}` | null | undefined;
382
557
  blockNumber?: `0x${string}` | null | undefined;
383
- from?: `0x${string}` | undefined;
384
558
  hash?: `0x${string}` | undefined;
385
559
  input?: `0x${string}` | undefined;
386
- nonce?: `0x${string}` | undefined;
387
- r?: `0x${string}` | undefined;
388
- s?: `0x${string}` | undefined;
389
- to?: `0x${string}` | null | undefined;
390
560
  transactionIndex?: `0x${string}` | null | undefined;
391
- v?: `0x${string}` | undefined;
392
- accessList?: import("../../index.js").AccessList | undefined;
393
561
  blobVersionedHashes?: `0x${string}`[] | undefined;
394
562
  chainId?: `0x${string}` | undefined;
395
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
563
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
564
+ r: `0x${string}`;
565
+ s: `0x${string}`;
566
+ v: `0x${string}`;
567
+ to: `0x${string}` | null;
568
+ from: `0x${string}`;
569
+ gas: `0x${string}`;
570
+ nonce: `0x${string}`;
571
+ value: `0x${string}`;
572
+ blockHash: `0x${string}` | null;
573
+ blockNumber: `0x${string}` | null;
574
+ hash: `0x${string}`;
575
+ input: `0x${string}`;
576
+ transactionIndex: `0x${string}` | null;
577
+ typeHex: `0x${string}` | null;
578
+ gasPrice: `0x${string}`;
579
+ maxFeePerBlobGas?: undefined;
580
+ maxFeePerGas?: undefined;
581
+ maxPriorityFeePerGas?: undefined;
582
+ accessList?: undefined;
583
+ blobVersionedHashes?: undefined;
584
+ chainId?: `0x${string}` | undefined;
585
+ yParity?: undefined;
586
+ type: "0x0";
587
+ }, "yParity">, "typeHex"> & {
396
588
  isSystemTx?: undefined;
397
589
  mint?: undefined;
398
590
  sourceHash?: undefined;
399
591
  }) | ({
400
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
401
- gas?: `0x${string}` | undefined;
402
- value?: `0x${string}` | undefined;
592
+ r?: `0x${string}` | undefined;
593
+ s?: `0x${string}` | undefined;
594
+ v?: `0x${string}` | undefined;
595
+ yParity?: `0x${string}` | undefined;
403
596
  gasPrice?: `0x${string}` | undefined;
404
597
  maxFeePerBlobGas?: `0x${string}` | undefined;
405
598
  maxFeePerGas?: `0x${string}` | undefined;
406
599
  maxPriorityFeePerGas?: `0x${string}` | undefined;
407
- yParity?: `0x${string}` | undefined;
600
+ to?: `0x${string}` | null | undefined;
601
+ from?: `0x${string}` | undefined;
602
+ gas?: `0x${string}` | undefined;
603
+ nonce?: `0x${string}` | undefined;
604
+ value?: `0x${string}` | undefined;
605
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
606
+ accessList?: import("../../index.js").AccessList | undefined;
408
607
  blockHash?: `0x${string}` | null | undefined;
409
608
  blockNumber?: `0x${string}` | null | undefined;
410
- from?: `0x${string}` | undefined;
411
609
  hash?: `0x${string}` | undefined;
412
610
  input?: `0x${string}` | undefined;
413
- nonce?: `0x${string}` | undefined;
414
- r?: `0x${string}` | undefined;
415
- s?: `0x${string}` | undefined;
416
- to?: `0x${string}` | null | undefined;
417
611
  transactionIndex?: `0x${string}` | null | undefined;
418
- v?: `0x${string}` | undefined;
419
- accessList?: import("../../index.js").AccessList | undefined;
420
612
  blobVersionedHashes?: `0x${string}`[] | undefined;
421
613
  chainId?: `0x${string}` | undefined;
422
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
614
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
615
+ blockHash: `0x${string}` | null;
616
+ blockNumber: `0x${string}` | null;
617
+ from: `0x${string}`;
618
+ gas: `0x${string}`;
619
+ hash: `0x${string}`;
620
+ input: `0x${string}`;
621
+ nonce: `0x${string}`;
622
+ r: `0x${string}`;
623
+ s: `0x${string}`;
624
+ to: `0x${string}` | null;
625
+ transactionIndex: `0x${string}` | null;
626
+ typeHex: `0x${string}` | null;
627
+ v: `0x${string}`;
628
+ value: `0x${string}`;
629
+ yParity: `0x${string}`;
630
+ gasPrice: `0x${string}`;
631
+ maxFeePerBlobGas?: undefined;
632
+ maxFeePerGas?: undefined;
633
+ maxPriorityFeePerGas?: undefined;
634
+ accessList: import("../../index.js").AccessList;
635
+ blobVersionedHashes?: undefined;
636
+ chainId: `0x${string}`;
637
+ type: "0x1";
638
+ }, "yParity">, "typeHex"> & {
423
639
  isSystemTx?: undefined;
424
640
  mint?: undefined;
425
641
  sourceHash?: undefined;
426
642
  }) | ({
427
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
428
- gas?: `0x${string}` | undefined;
429
- value?: `0x${string}` | undefined;
643
+ r?: `0x${string}` | undefined;
644
+ s?: `0x${string}` | undefined;
645
+ v?: `0x${string}` | undefined;
646
+ yParity?: `0x${string}` | undefined;
430
647
  gasPrice?: `0x${string}` | undefined;
431
648
  maxFeePerBlobGas?: `0x${string}` | undefined;
432
649
  maxFeePerGas?: `0x${string}` | undefined;
433
650
  maxPriorityFeePerGas?: `0x${string}` | undefined;
434
- yParity?: `0x${string}` | undefined;
651
+ to?: `0x${string}` | null | undefined;
652
+ from?: `0x${string}` | undefined;
653
+ gas?: `0x${string}` | undefined;
654
+ nonce?: `0x${string}` | undefined;
655
+ value?: `0x${string}` | undefined;
656
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
657
+ accessList?: import("../../index.js").AccessList | undefined;
435
658
  blockHash?: `0x${string}` | null | undefined;
436
659
  blockNumber?: `0x${string}` | null | undefined;
437
- from?: `0x${string}` | undefined;
438
660
  hash?: `0x${string}` | undefined;
439
661
  input?: `0x${string}` | undefined;
440
- nonce?: `0x${string}` | undefined;
441
- r?: `0x${string}` | undefined;
442
- s?: `0x${string}` | undefined;
443
- to?: `0x${string}` | null | undefined;
444
662
  transactionIndex?: `0x${string}` | null | undefined;
445
- v?: `0x${string}` | undefined;
446
- accessList?: import("../../index.js").AccessList | undefined;
447
663
  blobVersionedHashes?: `0x${string}`[] | undefined;
448
664
  chainId?: `0x${string}` | undefined;
449
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
665
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
666
+ blockHash: `0x${string}` | null;
667
+ blockNumber: `0x${string}` | null;
668
+ from: `0x${string}`;
669
+ gas: `0x${string}`;
670
+ hash: `0x${string}`;
671
+ input: `0x${string}`;
672
+ nonce: `0x${string}`;
673
+ r: `0x${string}`;
674
+ s: `0x${string}`;
675
+ to: `0x${string}` | null;
676
+ transactionIndex: `0x${string}` | null;
677
+ typeHex: `0x${string}` | null;
678
+ v: `0x${string}`;
679
+ value: `0x${string}`;
680
+ yParity: `0x${string}`;
681
+ gasPrice?: undefined;
682
+ maxFeePerBlobGas?: undefined;
683
+ maxFeePerGas: `0x${string}`;
684
+ maxPriorityFeePerGas: `0x${string}`;
685
+ accessList: import("../../index.js").AccessList;
686
+ blobVersionedHashes?: undefined;
687
+ chainId: `0x${string}`;
688
+ type: "0x2";
689
+ }, "yParity">, "typeHex"> & {
450
690
  isSystemTx?: undefined;
451
691
  mint?: undefined;
452
692
  sourceHash?: undefined;
453
693
  }) | ({
454
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
455
- gas?: `0x${string}` | undefined;
456
- value?: `0x${string}` | undefined;
694
+ r?: `0x${string}` | undefined;
695
+ s?: `0x${string}` | undefined;
696
+ v?: `0x${string}` | undefined;
697
+ yParity?: `0x${string}` | undefined;
457
698
  gasPrice?: `0x${string}` | undefined;
458
699
  maxFeePerBlobGas?: `0x${string}` | undefined;
459
700
  maxFeePerGas?: `0x${string}` | undefined;
460
701
  maxPriorityFeePerGas?: `0x${string}` | undefined;
461
- yParity?: `0x${string}` | undefined;
702
+ to?: `0x${string}` | null | undefined;
703
+ from?: `0x${string}` | undefined;
704
+ gas?: `0x${string}` | undefined;
705
+ nonce?: `0x${string}` | undefined;
706
+ value?: `0x${string}` | undefined;
707
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
708
+ accessList?: import("../../index.js").AccessList | undefined;
462
709
  blockHash?: `0x${string}` | null | undefined;
463
710
  blockNumber?: `0x${string}` | null | undefined;
464
- from?: `0x${string}` | undefined;
465
711
  hash?: `0x${string}` | undefined;
466
712
  input?: `0x${string}` | undefined;
467
- nonce?: `0x${string}` | undefined;
468
- r?: `0x${string}` | undefined;
469
- s?: `0x${string}` | undefined;
470
- to?: `0x${string}` | null | undefined;
471
713
  transactionIndex?: `0x${string}` | null | undefined;
472
- v?: `0x${string}` | undefined;
473
- accessList?: import("../../index.js").AccessList | undefined;
474
714
  blobVersionedHashes?: `0x${string}`[] | undefined;
475
715
  chainId?: `0x${string}` | undefined;
476
- } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP4844<`0x${string}`, `0x${string}`, boolean, "0x3">, "yParity">, "typeHex"> & {
716
+ } & import("../index.js").Omit<import("../index.js").PartialBy<{
717
+ blockHash: `0x${string}` | null;
718
+ blockNumber: `0x${string}` | null;
719
+ from: `0x${string}`;
720
+ gas: `0x${string}`;
721
+ hash: `0x${string}`;
722
+ input: `0x${string}`;
723
+ nonce: `0x${string}`;
724
+ r: `0x${string}`;
725
+ s: `0x${string}`;
726
+ to: `0x${string}` | null;
727
+ transactionIndex: `0x${string}` | null;
728
+ typeHex: `0x${string}` | null;
729
+ v: `0x${string}`;
730
+ value: `0x${string}`;
731
+ yParity: `0x${string}`;
732
+ gasPrice?: undefined;
733
+ maxFeePerBlobGas: `0x${string}`;
734
+ maxFeePerGas: `0x${string}`;
735
+ maxPriorityFeePerGas: `0x${string}`;
736
+ accessList: import("../../index.js").AccessList;
737
+ blobVersionedHashes: `0x${string}`[];
738
+ chainId: `0x${string}`;
739
+ type: "0x3";
740
+ }, "yParity">, "typeHex"> & {
477
741
  isSystemTx?: undefined;
478
742
  mint?: undefined;
479
743
  sourceHash?: undefined;
480
744
  }) | ({
481
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
482
- gas?: `0x${string}` | undefined;
483
- value?: `0x${string}` | undefined;
745
+ r?: `0x${string}` | undefined;
746
+ s?: `0x${string}` | undefined;
747
+ v?: `0x${string}` | undefined;
748
+ yParity?: `0x${string}` | undefined;
484
749
  gasPrice?: `0x${string}` | undefined;
485
750
  maxFeePerBlobGas?: `0x${string}` | undefined;
486
751
  maxFeePerGas?: `0x${string}` | undefined;
487
752
  maxPriorityFeePerGas?: `0x${string}` | undefined;
488
- yParity?: `0x${string}` | undefined;
753
+ to?: `0x${string}` | null | undefined;
754
+ from?: `0x${string}` | undefined;
755
+ gas?: `0x${string}` | undefined;
756
+ nonce?: `0x${string}` | undefined;
757
+ value?: `0x${string}` | undefined;
758
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e" | undefined;
759
+ accessList?: import("../../index.js").AccessList | undefined;
489
760
  blockHash?: `0x${string}` | null | undefined;
490
761
  blockNumber?: `0x${string}` | null | undefined;
491
- from?: `0x${string}` | undefined;
492
762
  hash?: `0x${string}` | undefined;
493
763
  input?: `0x${string}` | undefined;
494
- nonce?: `0x${string}` | undefined;
495
- r?: `0x${string}` | undefined;
496
- s?: `0x${string}` | undefined;
497
- to?: `0x${string}` | null | undefined;
498
764
  transactionIndex?: `0x${string}` | null | undefined;
499
- v?: `0x${string}` | undefined;
500
- accessList?: import("../../index.js").AccessList | undefined;
501
765
  blobVersionedHashes?: `0x${string}`[] | undefined;
502
766
  chainId?: `0x${string}` | undefined;
503
767
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -506,20 +770,20 @@ export declare const liskSepolia: {
506
770
  sourceHash: `0x${string}`;
507
771
  type: "0x7e";
508
772
  })) => ({
773
+ r: `0x${string}`;
774
+ s: `0x${string}`;
775
+ v: bigint;
776
+ to: `0x${string}` | null;
777
+ from: `0x${string}`;
509
778
  gas: bigint;
779
+ nonce: number;
510
780
  value: bigint;
511
781
  blockHash: `0x${string}` | null;
512
782
  blockNumber: bigint | null;
513
- from: `0x${string}`;
514
783
  hash: `0x${string}`;
515
784
  input: `0x${string}`;
516
- nonce: number;
517
- r: `0x${string}`;
518
- s: `0x${string}`;
519
- to: `0x${string}` | null;
520
785
  transactionIndex: number | null;
521
786
  typeHex: `0x${string}` | null;
522
- v: bigint;
523
787
  gasPrice: bigint;
524
788
  maxFeePerBlobGas?: undefined;
525
789
  maxFeePerGas?: undefined;
@@ -533,20 +797,20 @@ export declare const liskSepolia: {
533
797
  mint?: undefined;
534
798
  sourceHash?: undefined;
535
799
  } | {
800
+ r: `0x${string}`;
801
+ s: `0x${string}`;
802
+ v: bigint;
803
+ to: `0x${string}` | null;
804
+ from: `0x${string}`;
536
805
  gas: bigint;
806
+ nonce: number;
537
807
  value: bigint;
538
808
  blockHash: `0x${string}` | null;
539
809
  blockNumber: bigint | null;
540
- from: `0x${string}`;
541
810
  hash: `0x${string}`;
542
811
  input: `0x${string}`;
543
- nonce: number;
544
- r: `0x${string}`;
545
- s: `0x${string}`;
546
- to: `0x${string}` | null;
547
812
  transactionIndex: number | null;
548
813
  typeHex: `0x${string}` | null;
549
- v: bigint;
550
814
  gasPrice: undefined;
551
815
  maxFeePerBlobGas?: undefined;
552
816
  maxFeePerGas: bigint;
@@ -807,7 +1071,7 @@ export declare const liskSepolia: {
807
1071
  };
808
1072
  };
809
1073
  serializers: {
810
- readonly transaction: import("../../index.js").SerializeTransactionFn<import("../index.js").OpStackTransactionSerializable>;
1074
+ readonly transaction: typeof import("../opStack/serializers.js").serializeTransaction;
811
1075
  };
812
1076
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
813
1077
  readonly network: "lisk-sepolia";