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