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