viem 2.18.8 → 2.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (647) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +1 -1
  3. package/_cjs/account-abstraction/errors/bundler.js +36 -216
  4. package/_cjs/account-abstraction/errors/bundler.js.map +1 -1
  5. package/_cjs/account-abstraction/errors/userOperation.js +5 -26
  6. package/_cjs/account-abstraction/errors/userOperation.js.map +1 -1
  7. package/_cjs/accounts/index.js +3 -1
  8. package/_cjs/accounts/index.js.map +1 -1
  9. package/_cjs/accounts/privateKeyToAccount.js +4 -0
  10. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  11. package/_cjs/accounts/toAccount.js +1 -0
  12. package/_cjs/accounts/toAccount.js.map +1 -1
  13. package/_cjs/accounts/utils/signAuthorization.js +22 -0
  14. package/_cjs/accounts/utils/signAuthorization.js.map +1 -0
  15. package/_cjs/actions/public/estimateGas.js +48 -10
  16. package/_cjs/actions/public/estimateGas.js.map +1 -1
  17. package/_cjs/actions/public/simulateContract.js.map +1 -1
  18. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  19. package/_cjs/actions/wallet/sendTransaction.js +21 -3
  20. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  21. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  22. package/_cjs/chains/definitions/abstractTestnet.js +2 -0
  23. package/_cjs/chains/definitions/abstractTestnet.js.map +1 -1
  24. package/_cjs/chains/definitions/{zkSync.js → zksync.js} +6 -5
  25. package/_cjs/chains/definitions/{zkSync.js.map → zksync.js.map} +1 -1
  26. package/_cjs/chains/definitions/{zkSyncInMemoryNode.js → zksyncInMemoryNode.js} +4 -4
  27. package/_cjs/chains/definitions/{zkSyncInMemoryNode.js.map → zksyncInMemoryNode.js.map} +1 -1
  28. package/_cjs/chains/definitions/{zkSyncLocalNode.js → zksyncLocalNode.js} +4 -4
  29. package/_cjs/chains/definitions/{zkSyncLocalNode.js.map → zksyncLocalNode.js.map} +1 -1
  30. package/_cjs/chains/definitions/{zkSyncSepoliaTestnet.js → zksyncSepoliaTestnet.js} +7 -5
  31. package/_cjs/chains/definitions/zksyncSepoliaTestnet.js.map +1 -0
  32. package/_cjs/chains/index.js +13 -11
  33. package/_cjs/chains/index.js.map +1 -1
  34. package/_cjs/errors/abi.js +32 -163
  35. package/_cjs/errors/abi.js.map +1 -1
  36. package/_cjs/errors/account.js +2 -12
  37. package/_cjs/errors/account.js.map +1 -1
  38. package/_cjs/errors/address.js +1 -6
  39. package/_cjs/errors/address.js.map +1 -1
  40. package/_cjs/errors/base.js +29 -18
  41. package/_cjs/errors/base.js.map +1 -1
  42. package/_cjs/errors/blob.js +4 -25
  43. package/_cjs/errors/blob.js.map +1 -1
  44. package/_cjs/errors/block.js +1 -7
  45. package/_cjs/errors/block.js.map +1 -1
  46. package/_cjs/errors/ccip.js +3 -18
  47. package/_cjs/errors/ccip.js.map +1 -1
  48. package/_cjs/errors/chain.js +7 -31
  49. package/_cjs/errors/chain.js.map +1 -1
  50. package/_cjs/errors/contract.js +6 -37
  51. package/_cjs/errors/contract.js.map +1 -1
  52. package/_cjs/errors/cursor.js +4 -20
  53. package/_cjs/errors/cursor.js.map +1 -1
  54. package/_cjs/errors/data.js +3 -21
  55. package/_cjs/errors/data.js.map +1 -1
  56. package/_cjs/errors/eip712.js +1 -6
  57. package/_cjs/errors/eip712.js.map +1 -1
  58. package/_cjs/errors/encoding.js +6 -34
  59. package/_cjs/errors/encoding.js.map +1 -1
  60. package/_cjs/errors/ens.js +5 -26
  61. package/_cjs/errors/ens.js.map +1 -1
  62. package/_cjs/errors/estimateGas.js +1 -6
  63. package/_cjs/errors/estimateGas.js.map +1 -1
  64. package/_cjs/errors/fee.js +5 -19
  65. package/_cjs/errors/fee.js.map +1 -1
  66. package/_cjs/errors/log.js +2 -6
  67. package/_cjs/errors/log.js.map +1 -1
  68. package/_cjs/errors/node.js +12 -75
  69. package/_cjs/errors/node.js.map +1 -1
  70. package/_cjs/errors/request.js +5 -30
  71. package/_cjs/errors/request.js.map +1 -1
  72. package/_cjs/errors/rpc.js +22 -122
  73. package/_cjs/errors/rpc.js.map +1 -1
  74. package/_cjs/errors/siwe.js +1 -7
  75. package/_cjs/errors/siwe.js.map +1 -1
  76. package/_cjs/errors/stateOverride.js +4 -12
  77. package/_cjs/errors/stateOverride.js.map +1 -1
  78. package/_cjs/errors/transaction.js +15 -63
  79. package/_cjs/errors/transaction.js.map +1 -1
  80. package/_cjs/errors/transport.js +1 -0
  81. package/_cjs/errors/transport.js.map +1 -1
  82. package/_cjs/errors/utils.js +1 -4
  83. package/_cjs/errors/utils.js.map +1 -1
  84. package/_cjs/errors/version.js +1 -1
  85. package/_cjs/experimental/eip5792/decorators/eip5792.js +2 -2
  86. package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
  87. package/_cjs/experimental/eip7702/actions/signAuthorization.js +41 -0
  88. package/_cjs/experimental/eip7702/actions/signAuthorization.js.map +1 -0
  89. package/_cjs/experimental/eip7702/decorators/eip7702.js +12 -0
  90. package/_cjs/experimental/eip7702/decorators/eip7702.js.map +1 -0
  91. package/_cjs/experimental/eip7702/types/authorization.js +3 -0
  92. package/_cjs/experimental/eip7702/types/authorization.js.map +1 -0
  93. package/_cjs/experimental/eip7702/types/rpc.js +3 -0
  94. package/_cjs/experimental/eip7702/types/rpc.js.map +1 -0
  95. package/_cjs/experimental/eip7702/utils/hashAuthorization.js +23 -0
  96. package/_cjs/experimental/eip7702/utils/hashAuthorization.js.map +1 -0
  97. package/_cjs/experimental/eip7702/utils/recoverAuthorizationAddress.js +13 -0
  98. package/_cjs/experimental/eip7702/utils/recoverAuthorizationAddress.js.map +1 -0
  99. package/_cjs/experimental/eip7702/utils/serializeAuthorizationList.js +21 -0
  100. package/_cjs/experimental/eip7702/utils/serializeAuthorizationList.js.map +1 -0
  101. package/_cjs/experimental/eip7702/utils/verifyAuthorization.js +13 -0
  102. package/_cjs/experimental/eip7702/utils/verifyAuthorization.js.map +1 -0
  103. package/_cjs/experimental/erc7715/decorators/erc7715.js +2 -2
  104. package/_cjs/experimental/erc7715/decorators/erc7715.js.map +1 -1
  105. package/_cjs/experimental/index.js +22 -8
  106. package/_cjs/experimental/index.js.map +1 -1
  107. package/_cjs/index.js +7 -6
  108. package/_cjs/index.js.map +1 -1
  109. package/_cjs/op-stack/errors/withdrawal.js +2 -14
  110. package/_cjs/op-stack/errors/withdrawal.js.map +1 -1
  111. package/_cjs/utils/formatters/transaction.js +19 -0
  112. package/_cjs/utils/formatters/transaction.js.map +1 -1
  113. package/_cjs/utils/formatters/transactionRequest.js +19 -0
  114. package/_cjs/utils/formatters/transactionRequest.js.map +1 -1
  115. package/_cjs/utils/transaction/assertTransaction.js +15 -3
  116. package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
  117. package/_cjs/utils/transaction/getSerializedTransactionType.js +2 -0
  118. package/_cjs/utils/transaction/getSerializedTransactionType.js.map +1 -1
  119. package/_cjs/utils/transaction/getTransactionType.js +2 -0
  120. package/_cjs/utils/transaction/getTransactionType.js.map +1 -1
  121. package/_cjs/utils/transaction/parseTransaction.js +70 -0
  122. package/_cjs/utils/transaction/parseTransaction.js.map +1 -1
  123. package/_cjs/utils/transaction/serializeTransaction.js +25 -0
  124. package/_cjs/utils/transaction/serializeTransaction.js.map +1 -1
  125. package/_cjs/zksync/chains.js +9 -7
  126. package/_cjs/zksync/chains.js.map +1 -1
  127. package/_cjs/zksync/errors/bytecode.js +3 -21
  128. package/_cjs/zksync/errors/bytecode.js.map +1 -1
  129. package/_cjs/zksync/errors/token-is-eth.js +1 -7
  130. package/_cjs/zksync/errors/token-is-eth.js.map +1 -1
  131. package/_cjs/zksync/errors/transaction.js +1 -7
  132. package/_cjs/zksync/errors/transaction.js.map +1 -1
  133. package/_cjs/zksync/index.js +9 -4
  134. package/_cjs/zksync/index.js.map +1 -1
  135. package/_cjs/zksync/utils/getEip712Domain.js +1 -1
  136. package/_cjs/zksync/utils/isEip712Transaction.js.map +1 -1
  137. package/_esm/account-abstraction/errors/bundler.js +36 -216
  138. package/_esm/account-abstraction/errors/bundler.js.map +1 -1
  139. package/_esm/account-abstraction/errors/userOperation.js +5 -26
  140. package/_esm/account-abstraction/errors/userOperation.js.map +1 -1
  141. package/_esm/accounts/index.js +1 -0
  142. package/_esm/accounts/index.js.map +1 -1
  143. package/_esm/accounts/privateKeyToAccount.js +4 -0
  144. package/_esm/accounts/privateKeyToAccount.js.map +1 -1
  145. package/_esm/accounts/toAccount.js +1 -0
  146. package/_esm/accounts/toAccount.js.map +1 -1
  147. package/_esm/accounts/utils/signAuthorization.js +22 -0
  148. package/_esm/accounts/utils/signAuthorization.js.map +1 -0
  149. package/_esm/actions/public/estimateGas.js +55 -10
  150. package/_esm/actions/public/estimateGas.js.map +1 -1
  151. package/_esm/actions/public/simulateContract.js.map +1 -1
  152. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  153. package/_esm/actions/wallet/sendTransaction.js +25 -3
  154. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  155. package/_esm/actions/wallet/writeContract.js.map +1 -1
  156. package/_esm/chains/definitions/abstractTestnet.js +2 -0
  157. package/_esm/chains/definitions/abstractTestnet.js.map +1 -1
  158. package/_esm/chains/definitions/{zkSync.js → zksync.js} +5 -4
  159. package/_esm/chains/definitions/{zkSync.js.map → zksync.js.map} +1 -1
  160. package/_esm/chains/definitions/{zkSyncInMemoryNode.js → zksyncInMemoryNode.js} +3 -3
  161. package/_esm/chains/definitions/{zkSyncInMemoryNode.js.map → zksyncInMemoryNode.js.map} +1 -1
  162. package/_esm/chains/definitions/{zkSyncLocalNode.js → zksyncLocalNode.js} +3 -3
  163. package/_esm/chains/definitions/{zkSyncLocalNode.js.map → zksyncLocalNode.js.map} +1 -1
  164. package/_esm/chains/definitions/{zkSyncSepoliaTestnet.js → zksyncSepoliaTestnet.js} +6 -4
  165. package/_esm/chains/definitions/{zkSyncSepoliaTestnet.js.map → zksyncSepoliaTestnet.js.map} +1 -1
  166. package/_esm/chains/index.js +12 -5
  167. package/_esm/chains/index.js.map +1 -1
  168. package/_esm/errors/abi.js +32 -163
  169. package/_esm/errors/abi.js.map +1 -1
  170. package/_esm/errors/account.js +2 -12
  171. package/_esm/errors/account.js.map +1 -1
  172. package/_esm/errors/address.js +1 -6
  173. package/_esm/errors/address.js.map +1 -1
  174. package/_esm/errors/base.js +27 -17
  175. package/_esm/errors/base.js.map +1 -1
  176. package/_esm/errors/blob.js +4 -25
  177. package/_esm/errors/blob.js.map +1 -1
  178. package/_esm/errors/block.js +1 -7
  179. package/_esm/errors/block.js.map +1 -1
  180. package/_esm/errors/ccip.js +3 -18
  181. package/_esm/errors/ccip.js.map +1 -1
  182. package/_esm/errors/chain.js +7 -31
  183. package/_esm/errors/chain.js.map +1 -1
  184. package/_esm/errors/contract.js +6 -37
  185. package/_esm/errors/contract.js.map +1 -1
  186. package/_esm/errors/cursor.js +4 -20
  187. package/_esm/errors/cursor.js.map +1 -1
  188. package/_esm/errors/data.js +3 -21
  189. package/_esm/errors/data.js.map +1 -1
  190. package/_esm/errors/eip712.js +1 -6
  191. package/_esm/errors/eip712.js.map +1 -1
  192. package/_esm/errors/encoding.js +6 -34
  193. package/_esm/errors/encoding.js.map +1 -1
  194. package/_esm/errors/ens.js +5 -26
  195. package/_esm/errors/ens.js.map +1 -1
  196. package/_esm/errors/estimateGas.js +1 -6
  197. package/_esm/errors/estimateGas.js.map +1 -1
  198. package/_esm/errors/fee.js +5 -19
  199. package/_esm/errors/fee.js.map +1 -1
  200. package/_esm/errors/log.js +2 -6
  201. package/_esm/errors/log.js.map +1 -1
  202. package/_esm/errors/node.js +12 -75
  203. package/_esm/errors/node.js.map +1 -1
  204. package/_esm/errors/request.js +5 -30
  205. package/_esm/errors/request.js.map +1 -1
  206. package/_esm/errors/rpc.js +22 -122
  207. package/_esm/errors/rpc.js.map +1 -1
  208. package/_esm/errors/siwe.js +1 -7
  209. package/_esm/errors/siwe.js.map +1 -1
  210. package/_esm/errors/stateOverride.js +4 -12
  211. package/_esm/errors/stateOverride.js.map +1 -1
  212. package/_esm/errors/transaction.js +15 -63
  213. package/_esm/errors/transaction.js.map +1 -1
  214. package/_esm/errors/transport.js +1 -0
  215. package/_esm/errors/transport.js.map +1 -1
  216. package/_esm/errors/utils.js +0 -2
  217. package/_esm/errors/utils.js.map +1 -1
  218. package/_esm/errors/version.js +1 -1
  219. package/_esm/experimental/eip5792/decorators/eip5792.js +3 -3
  220. package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -1
  221. package/_esm/experimental/eip7702/actions/signAuthorization.js +80 -0
  222. package/_esm/experimental/eip7702/actions/signAuthorization.js.map +1 -0
  223. package/_esm/experimental/eip7702/decorators/eip7702.js +24 -0
  224. package/_esm/experimental/eip7702/decorators/eip7702.js.map +1 -0
  225. package/_esm/experimental/eip7702/types/authorization.js +2 -0
  226. package/_esm/experimental/eip7702/types/authorization.js.map +1 -0
  227. package/_esm/experimental/eip7702/types/rpc.js +2 -0
  228. package/_esm/experimental/eip7702/types/rpc.js.map +1 -0
  229. package/_esm/experimental/eip7702/utils/hashAuthorization.js +23 -0
  230. package/_esm/experimental/eip7702/utils/hashAuthorization.js.map +1 -0
  231. package/_esm/experimental/eip7702/utils/recoverAuthorizationAddress.js +10 -0
  232. package/_esm/experimental/eip7702/utils/recoverAuthorizationAddress.js.map +1 -0
  233. package/_esm/experimental/eip7702/utils/serializeAuthorizationList.js +21 -0
  234. package/_esm/experimental/eip7702/utils/serializeAuthorizationList.js.map +1 -0
  235. package/_esm/experimental/eip7702/utils/verifyAuthorization.js +18 -0
  236. package/_esm/experimental/eip7702/utils/verifyAuthorization.js.map +1 -0
  237. package/_esm/experimental/erc7715/decorators/erc7715.js +3 -3
  238. package/_esm/experimental/erc7715/decorators/erc7715.js.map +1 -1
  239. package/_esm/experimental/index.js +16 -4
  240. package/_esm/experimental/index.js.map +1 -1
  241. package/_esm/index.js +1 -1
  242. package/_esm/index.js.map +1 -1
  243. package/_esm/op-stack/errors/withdrawal.js +2 -14
  244. package/_esm/op-stack/errors/withdrawal.js.map +1 -1
  245. package/_esm/utils/formatters/transaction.js +20 -0
  246. package/_esm/utils/formatters/transaction.js.map +1 -1
  247. package/_esm/utils/formatters/transactionRequest.js +20 -0
  248. package/_esm/utils/formatters/transactionRequest.js.map +1 -1
  249. package/_esm/utils/transaction/assertTransaction.js +14 -3
  250. package/_esm/utils/transaction/assertTransaction.js.map +1 -1
  251. package/_esm/utils/transaction/getSerializedTransactionType.js +2 -0
  252. package/_esm/utils/transaction/getSerializedTransactionType.js.map +1 -1
  253. package/_esm/utils/transaction/getTransactionType.js +2 -0
  254. package/_esm/utils/transaction/getTransactionType.js.map +1 -1
  255. package/_esm/utils/transaction/parseTransaction.js +71 -1
  256. package/_esm/utils/transaction/parseTransaction.js.map +1 -1
  257. package/_esm/utils/transaction/serializeTransaction.js +26 -1
  258. package/_esm/utils/transaction/serializeTransaction.js.map +1 -1
  259. package/_esm/zksync/actions/deployContract.js +1 -1
  260. package/_esm/zksync/actions/sendEip712Transaction.js +4 -4
  261. package/_esm/zksync/actions/sendTransaction.js +4 -4
  262. package/_esm/zksync/actions/signEip712Transaction.js +4 -4
  263. package/_esm/zksync/actions/signTransaction.js +4 -4
  264. package/_esm/zksync/chains.js +4 -3
  265. package/_esm/zksync/chains.js.map +1 -1
  266. package/_esm/zksync/errors/bytecode.js +3 -21
  267. package/_esm/zksync/errors/bytecode.js.map +1 -1
  268. package/_esm/zksync/errors/token-is-eth.js +1 -7
  269. package/_esm/zksync/errors/token-is-eth.js.map +1 -1
  270. package/_esm/zksync/errors/transaction.js +1 -7
  271. package/_esm/zksync/errors/transaction.js.map +1 -1
  272. package/_esm/zksync/index.js +9 -1
  273. package/_esm/zksync/index.js.map +1 -1
  274. package/_esm/zksync/utils/getEip712Domain.js +1 -1
  275. package/_esm/zksync/utils/isEip712Transaction.js.map +1 -1
  276. package/_types/account-abstraction/errors/bundler.d.ts +0 -36
  277. package/_types/account-abstraction/errors/bundler.d.ts.map +1 -1
  278. package/_types/account-abstraction/errors/userOperation.d.ts +0 -4
  279. package/_types/account-abstraction/errors/userOperation.d.ts.map +1 -1
  280. package/_types/accounts/index.d.ts +1 -0
  281. package/_types/accounts/index.d.ts.map +1 -1
  282. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
  283. package/_types/accounts/toAccount.d.ts.map +1 -1
  284. package/_types/accounts/types.d.ts +7 -3
  285. package/_types/accounts/types.d.ts.map +1 -1
  286. package/_types/accounts/utils/signAuthorization.d.ts +20 -0
  287. package/_types/accounts/utils/signAuthorization.d.ts.map +1 -0
  288. package/_types/actions/public/estimateGas.d.ts +2 -1
  289. package/_types/actions/public/estimateGas.d.ts.map +1 -1
  290. package/_types/actions/public/simulateContract.d.ts +18 -6
  291. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  292. package/_types/actions/wallet/prepareTransactionRequest.d.ts +2 -2
  293. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  294. package/_types/actions/wallet/sendTransaction.d.ts +2 -1
  295. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  296. package/_types/actions/wallet/writeContract.d.ts +3 -2
  297. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  298. package/_types/celo/chainConfig.d.ts +144 -20
  299. package/_types/celo/chainConfig.d.ts.map +1 -1
  300. package/_types/celo/formatters.d.ts +72 -10
  301. package/_types/celo/formatters.d.ts.map +1 -1
  302. package/_types/celo/serializers.d.ts +1 -1
  303. package/_types/celo/serializers.d.ts.map +1 -1
  304. package/_types/chains/definitions/abstractTestnet.d.ts +373 -3
  305. package/_types/chains/definitions/abstractTestnet.d.ts.map +1 -1
  306. package/_types/chains/definitions/ancient8.d.ts +32 -0
  307. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  308. package/_types/chains/definitions/ancient8Sepolia.d.ts +32 -0
  309. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  310. package/_types/chains/definitions/base.d.ts +32 -0
  311. package/_types/chains/definitions/base.d.ts.map +1 -1
  312. package/_types/chains/definitions/baseGoerli.d.ts +32 -0
  313. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  314. package/_types/chains/definitions/baseSepolia.d.ts +32 -0
  315. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  316. package/_types/chains/definitions/celo.d.ts +144 -20
  317. package/_types/chains/definitions/celo.d.ts.map +1 -1
  318. package/_types/chains/definitions/celoAlfajores.d.ts +144 -20
  319. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  320. package/_types/chains/definitions/dchain.d.ts +32 -0
  321. package/_types/chains/definitions/dchain.d.ts.map +1 -1
  322. package/_types/chains/definitions/dchainTestnet.d.ts +32 -0
  323. package/_types/chains/definitions/dchainTestnet.d.ts.map +1 -1
  324. package/_types/chains/definitions/fraxtal.d.ts +32 -0
  325. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  326. package/_types/chains/definitions/fraxtalTestnet.d.ts +32 -0
  327. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  328. package/_types/chains/definitions/funkiMainnet.d.ts +32 -0
  329. package/_types/chains/definitions/funkiMainnet.d.ts.map +1 -1
  330. package/_types/chains/definitions/funkiSepolia.d.ts +32 -0
  331. package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
  332. package/_types/chains/definitions/lisk.d.ts +32 -0
  333. package/_types/chains/definitions/lisk.d.ts.map +1 -1
  334. package/_types/chains/definitions/liskSepolia.d.ts +32 -0
  335. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  336. package/_types/chains/definitions/metalL2.d.ts +32 -0
  337. package/_types/chains/definitions/metalL2.d.ts.map +1 -1
  338. package/_types/chains/definitions/modeTestnet.d.ts +32 -0
  339. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  340. package/_types/chains/definitions/optimism.d.ts +32 -0
  341. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  342. package/_types/chains/definitions/optimismGoerli.d.ts +32 -0
  343. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  344. package/_types/chains/definitions/optimismSepolia.d.ts +32 -0
  345. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  346. package/_types/chains/definitions/pgn.d.ts +32 -0
  347. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  348. package/_types/chains/definitions/pgnTestnet.d.ts +32 -0
  349. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  350. package/_types/chains/definitions/playfiAlbireo.d.ts +64 -10
  351. package/_types/chains/definitions/playfiAlbireo.d.ts.map +1 -1
  352. package/_types/chains/definitions/rss3.d.ts +32 -0
  353. package/_types/chains/definitions/rss3.d.ts.map +1 -1
  354. package/_types/chains/definitions/rss3Sepolia.d.ts +32 -0
  355. package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
  356. package/_types/chains/definitions/{zkSync.d.ts → zksync.d.ts} +69 -14
  357. package/_types/chains/definitions/{zkSync.d.ts.map → zksync.d.ts.map} +1 -1
  358. package/_types/chains/definitions/{zkSyncInMemoryNode.d.ts → zksyncInMemoryNode.d.ts} +67 -13
  359. package/_types/chains/definitions/{zkSyncInMemoryNode.d.ts.map → zksyncInMemoryNode.d.ts.map} +1 -1
  360. package/_types/chains/definitions/{zkSyncLocalNode.d.ts → zksyncLocalNode.d.ts} +67 -13
  361. package/_types/chains/definitions/{zkSyncLocalNode.d.ts.map → zksyncLocalNode.d.ts.map} +1 -1
  362. package/_types/chains/definitions/{zkSyncSepoliaTestnet.d.ts → zksyncSepoliaTestnet.d.ts} +70 -14
  363. package/_types/chains/definitions/{zkSyncSepoliaTestnet.d.ts.map → zksyncSepoliaTestnet.d.ts.map} +1 -1
  364. package/_types/chains/definitions/zora.d.ts +32 -0
  365. package/_types/chains/definitions/zora.d.ts.map +1 -1
  366. package/_types/chains/definitions/zoraSepolia.d.ts +32 -0
  367. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  368. package/_types/chains/definitions/zoraTestnet.d.ts +32 -0
  369. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  370. package/_types/chains/index.d.ts +77 -10
  371. package/_types/chains/index.d.ts.map +1 -1
  372. package/_types/errors/abi.d.ts +0 -26
  373. package/_types/errors/abi.d.ts.map +1 -1
  374. package/_types/errors/account.d.ts +0 -2
  375. package/_types/errors/account.d.ts.map +1 -1
  376. package/_types/errors/address.d.ts +0 -1
  377. package/_types/errors/address.d.ts.map +1 -1
  378. package/_types/errors/base.d.ts +7 -1
  379. package/_types/errors/base.d.ts.map +1 -1
  380. package/_types/errors/blob.d.ts +0 -4
  381. package/_types/errors/blob.d.ts.map +1 -1
  382. package/_types/errors/block.d.ts +0 -1
  383. package/_types/errors/block.d.ts.map +1 -1
  384. package/_types/errors/ccip.d.ts +0 -3
  385. package/_types/errors/ccip.d.ts.map +1 -1
  386. package/_types/errors/chain.d.ts +0 -5
  387. package/_types/errors/chain.d.ts.map +1 -1
  388. package/_types/errors/contract.d.ts +0 -6
  389. package/_types/errors/contract.d.ts.map +1 -1
  390. package/_types/errors/cursor.d.ts +0 -3
  391. package/_types/errors/cursor.d.ts.map +1 -1
  392. package/_types/errors/data.d.ts +0 -3
  393. package/_types/errors/data.d.ts.map +1 -1
  394. package/_types/errors/eip712.d.ts +0 -1
  395. package/_types/errors/eip712.d.ts.map +1 -1
  396. package/_types/errors/encoding.d.ts +0 -5
  397. package/_types/errors/encoding.d.ts.map +1 -1
  398. package/_types/errors/ens.d.ts +0 -4
  399. package/_types/errors/ens.d.ts.map +1 -1
  400. package/_types/errors/estimateGas.d.ts +0 -1
  401. package/_types/errors/estimateGas.d.ts.map +1 -1
  402. package/_types/errors/fee.d.ts +0 -3
  403. package/_types/errors/fee.d.ts.map +1 -1
  404. package/_types/errors/log.d.ts +0 -1
  405. package/_types/errors/log.d.ts.map +1 -1
  406. package/_types/errors/node.d.ts +0 -12
  407. package/_types/errors/node.d.ts.map +1 -1
  408. package/_types/errors/request.d.ts +0 -5
  409. package/_types/errors/request.d.ts.map +1 -1
  410. package/_types/errors/rpc.d.ts +2 -21
  411. package/_types/errors/rpc.d.ts.map +1 -1
  412. package/_types/errors/siwe.d.ts +0 -1
  413. package/_types/errors/siwe.d.ts.map +1 -1
  414. package/_types/errors/stateOverride.d.ts +0 -2
  415. package/_types/errors/stateOverride.d.ts.map +1 -1
  416. package/_types/errors/transaction.d.ts +0 -10
  417. package/_types/errors/transaction.d.ts.map +1 -1
  418. package/_types/errors/transport.d.ts.map +1 -1
  419. package/_types/errors/utils.d.ts +0 -1
  420. package/_types/errors/utils.d.ts.map +1 -1
  421. package/_types/errors/version.d.ts +1 -1
  422. package/_types/experimental/eip5792/decorators/eip5792.d.ts +12 -12
  423. package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
  424. package/_types/experimental/eip7702/actions/signAuthorization.d.ts +59 -0
  425. package/_types/experimental/eip7702/actions/signAuthorization.d.ts.map +1 -0
  426. package/_types/experimental/eip7702/decorators/eip7702.d.ts +69 -0
  427. package/_types/experimental/eip7702/decorators/eip7702.d.ts.map +1 -0
  428. package/_types/experimental/eip7702/types/authorization.d.ts +24 -0
  429. package/_types/experimental/eip7702/types/authorization.d.ts.map +1 -0
  430. package/_types/experimental/eip7702/types/rpc.d.ts +12 -0
  431. package/_types/experimental/eip7702/types/rpc.d.ts.map +1 -0
  432. package/_types/experimental/eip7702/utils/hashAuthorization.d.ts +21 -0
  433. package/_types/experimental/eip7702/utils/hashAuthorization.d.ts.map +1 -0
  434. package/_types/experimental/eip7702/utils/recoverAuthorizationAddress.d.ts +26 -0
  435. package/_types/experimental/eip7702/utils/recoverAuthorizationAddress.d.ts.map +1 -0
  436. package/_types/experimental/eip7702/utils/serializeAuthorizationList.d.ts +6 -0
  437. package/_types/experimental/eip7702/utils/serializeAuthorizationList.d.ts.map +1 -0
  438. package/_types/experimental/eip7702/utils/verifyAuthorization.d.ts +21 -0
  439. package/_types/experimental/eip7702/utils/verifyAuthorization.d.ts.map +1 -0
  440. package/_types/experimental/erc7715/decorators/erc7715.d.ts +6 -6
  441. package/_types/experimental/erc7715/decorators/erc7715.d.ts.map +1 -1
  442. package/_types/experimental/index.d.ts +20 -4
  443. package/_types/experimental/index.d.ts.map +1 -1
  444. package/_types/index.d.ts +3 -3
  445. package/_types/index.d.ts.map +1 -1
  446. package/_types/op-stack/chainConfig.d.ts +32 -0
  447. package/_types/op-stack/chainConfig.d.ts.map +1 -1
  448. package/_types/op-stack/errors/withdrawal.d.ts +0 -2
  449. package/_types/op-stack/errors/withdrawal.d.ts.map +1 -1
  450. package/_types/op-stack/formatters.d.ts +32 -0
  451. package/_types/op-stack/formatters.d.ts.map +1 -1
  452. package/_types/op-stack/serializers.d.ts +1 -1
  453. package/_types/op-stack/serializers.d.ts.map +1 -1
  454. package/_types/types/rpc.d.ts +9 -4
  455. package/_types/types/rpc.d.ts.map +1 -1
  456. package/_types/types/transaction.d.ts +50 -36
  457. package/_types/types/transaction.d.ts.map +1 -1
  458. package/_types/types/utils.d.ts +0 -14
  459. package/_types/types/utils.d.ts.map +1 -1
  460. package/_types/utils/formatters/transaction.d.ts +2 -1
  461. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  462. package/_types/utils/formatters/transactionRequest.d.ts +2 -1
  463. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  464. package/_types/utils/index.d.ts +1 -1
  465. package/_types/utils/index.d.ts.map +1 -1
  466. package/_types/utils/signature/hashMessage.d.ts +2 -2
  467. package/_types/utils/signature/hashMessage.d.ts.map +1 -1
  468. package/_types/utils/transaction/assertTransaction.d.ts +3 -1
  469. package/_types/utils/transaction/assertTransaction.d.ts.map +1 -1
  470. package/_types/utils/transaction/getSerializedTransactionType.d.ts +2 -2
  471. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +1 -1
  472. package/_types/utils/transaction/getTransactionType.d.ts +12 -5
  473. package/_types/utils/transaction/getTransactionType.d.ts.map +1 -1
  474. package/_types/utils/transaction/parseTransaction.d.ts +6 -4
  475. package/_types/utils/transaction/parseTransaction.d.ts.map +1 -1
  476. package/_types/utils/transaction/serializeTransaction.d.ts +4 -2
  477. package/_types/utils/transaction/serializeTransaction.d.ts.map +1 -1
  478. package/_types/zksync/actions/deployContract.d.ts +1 -1
  479. package/_types/zksync/actions/estimateFee.d.ts +4 -4
  480. package/_types/zksync/actions/estimateGasL1ToL2.d.ts +2 -2
  481. package/_types/zksync/actions/getAllBalances.d.ts +2 -2
  482. package/_types/zksync/actions/getBaseTokenL1Address.d.ts +2 -2
  483. package/_types/zksync/actions/getBlockDetails.d.ts +5 -5
  484. package/_types/zksync/actions/getBridgehubContractAddress.d.ts +2 -2
  485. package/_types/zksync/actions/getDefaultBridgeAddresses.d.ts +2 -2
  486. package/_types/zksync/actions/getL1BatchBlockRange.d.ts +2 -2
  487. package/_types/zksync/actions/getL1BatchDetails.d.ts +5 -5
  488. package/_types/zksync/actions/getL1BatchNumber.d.ts +2 -2
  489. package/_types/zksync/actions/getL1ChainId.d.ts +2 -2
  490. package/_types/zksync/actions/getLogProof.d.ts +2 -2
  491. package/_types/zksync/actions/getMainContractAddress.d.ts +2 -2
  492. package/_types/zksync/actions/getRawBlockTransactions.d.ts +6 -6
  493. package/_types/zksync/actions/getTestnetPaymasterAddress.d.ts +2 -2
  494. package/_types/zksync/actions/getTransactionDetails.d.ts +4 -4
  495. package/_types/zksync/actions/sendEip712Transaction.d.ts +4 -4
  496. package/_types/zksync/actions/sendTransaction.d.ts +4 -4
  497. package/_types/zksync/actions/signEip712Transaction.d.ts +4 -4
  498. package/_types/zksync/actions/signTransaction.d.ts +4 -4
  499. package/_types/zksync/chainConfig.d.ts +65 -11
  500. package/_types/zksync/chainConfig.d.ts.map +1 -1
  501. package/_types/zksync/chains.d.ts +4 -3
  502. package/_types/zksync/chains.d.ts.map +1 -1
  503. package/_types/zksync/decorators/eip712.d.ts +13 -13
  504. package/_types/zksync/decorators/publicL2.d.ts +37 -37
  505. package/_types/zksync/errors/bytecode.d.ts +0 -3
  506. package/_types/zksync/errors/bytecode.d.ts.map +1 -1
  507. package/_types/zksync/errors/token-is-eth.d.ts +0 -1
  508. package/_types/zksync/errors/token-is-eth.d.ts.map +1 -1
  509. package/_types/zksync/errors/transaction.d.ts +0 -1
  510. package/_types/zksync/errors/transaction.d.ts.map +1 -1
  511. package/_types/zksync/formatters.d.ts +75 -21
  512. package/_types/zksync/formatters.d.ts.map +1 -1
  513. package/_types/zksync/index.d.ts +77 -7
  514. package/_types/zksync/index.d.ts.map +1 -1
  515. package/_types/zksync/serializers.d.ts +2 -2
  516. package/_types/zksync/serializers.d.ts.map +1 -1
  517. package/_types/zksync/types/block.d.ts +6 -6
  518. package/_types/zksync/types/chain.d.ts +2 -2
  519. package/_types/zksync/types/eip1193.d.ts +8 -8
  520. package/_types/zksync/types/eip712.d.ts +3 -3
  521. package/_types/zksync/types/fee.d.ts +2 -2
  522. package/_types/zksync/types/log.d.ts +4 -4
  523. package/_types/zksync/types/transaction.d.ts +31 -31
  524. package/_types/zksync/utils/assertEip712Request.d.ts +2 -2
  525. package/_types/zksync/utils/assertEip712Transaction.d.ts +2 -2
  526. package/_types/zksync/utils/getEip712Domain.d.ts +2 -2
  527. package/_types/zksync/utils/isEip712Transaction.d.ts +3 -3
  528. package/_types/zksync/utils/isEip712Transaction.d.ts.map +1 -1
  529. package/account-abstraction/errors/bundler.ts +36 -48
  530. package/account-abstraction/errors/userOperation.ts +6 -6
  531. package/accounts/index.ts +6 -0
  532. package/accounts/privateKeyToAccount.ts +4 -0
  533. package/accounts/toAccount.ts +1 -0
  534. package/accounts/types.ts +11 -3
  535. package/accounts/utils/signAuthorization.ts +63 -0
  536. package/actions/public/estimateGas.ts +74 -11
  537. package/actions/public/simulateContract.ts +48 -14
  538. package/actions/wallet/prepareTransactionRequest.ts +3 -1
  539. package/actions/wallet/sendTransaction.ts +33 -4
  540. package/actions/wallet/writeContract.ts +5 -3
  541. package/chains/definitions/abstractTestnet.ts +2 -0
  542. package/chains/definitions/{zkSync.ts → zksync.ts} +4 -3
  543. package/chains/definitions/{zkSyncInMemoryNode.ts → zksyncInMemoryNode.ts} +2 -2
  544. package/chains/definitions/{zkSyncLocalNode.ts → zksyncLocalNode.ts} +2 -2
  545. package/chains/definitions/{zkSyncSepoliaTestnet.ts → zksyncSepoliaTestnet.ts} +5 -3
  546. package/chains/index.ts +113 -34
  547. package/errors/abi.ts +37 -37
  548. package/errors/account.ts +2 -2
  549. package/errors/address.ts +1 -1
  550. package/errors/base.ts +41 -22
  551. package/errors/blob.ts +4 -5
  552. package/errors/block.ts +1 -2
  553. package/errors/ccip.ts +3 -3
  554. package/errors/chain.ts +9 -10
  555. package/errors/contract.ts +6 -10
  556. package/errors/cursor.ts +5 -4
  557. package/errors/data.ts +3 -3
  558. package/errors/eip712.ts +1 -1
  559. package/errors/encoding.ts +7 -5
  560. package/errors/ens.ts +6 -5
  561. package/errors/estimateGas.ts +1 -2
  562. package/errors/fee.ts +7 -5
  563. package/errors/log.ts +3 -2
  564. package/errors/node.ts +12 -17
  565. package/errors/request.ts +5 -10
  566. package/errors/rpc.ts +29 -25
  567. package/errors/siwe.ts +1 -2
  568. package/errors/stateOverride.ts +6 -4
  569. package/errors/transaction.ts +19 -19
  570. package/errors/transport.ts +1 -0
  571. package/errors/utils.ts +0 -3
  572. package/errors/version.ts +1 -1
  573. package/experimental/eip5792/decorators/eip5792.ts +13 -13
  574. package/experimental/eip7702/actions/signAuthorization.ts +136 -0
  575. package/experimental/eip7702/decorators/eip7702.ts +86 -0
  576. package/experimental/eip7702/types/authorization.ts +30 -0
  577. package/experimental/eip7702/types/rpc.ts +12 -0
  578. package/experimental/eip7702/utils/hashAuthorization.ts +60 -0
  579. package/experimental/eip7702/utils/recoverAuthorizationAddress.ts +61 -0
  580. package/experimental/eip7702/utils/serializeAuthorizationList.ts +33 -0
  581. package/experimental/eip7702/utils/verifyAuthorization.ts +52 -0
  582. package/experimental/erc7715/decorators/erc7715.ts +7 -7
  583. package/experimental/index.ts +72 -18
  584. package/index.ts +29 -4
  585. package/op-stack/errors/withdrawal.ts +2 -3
  586. package/package.json +1 -1
  587. package/types/rpc.ts +21 -1
  588. package/types/transaction.ts +103 -54
  589. package/types/utils.ts +0 -15
  590. package/utils/formatters/transaction.ts +32 -0
  591. package/utils/formatters/transactionRequest.ts +31 -0
  592. package/utils/index.ts +1 -1
  593. package/utils/signature/hashMessage.ts +2 -2
  594. package/utils/transaction/assertTransaction.ts +24 -12
  595. package/utils/transaction/getSerializedTransactionType.ts +7 -0
  596. package/utils/transaction/getTransactionType.ts +95 -60
  597. package/utils/transaction/parseTransaction.ts +127 -0
  598. package/utils/transaction/serializeTransaction.ts +66 -0
  599. package/zksync/actions/deployContract.ts +1 -1
  600. package/zksync/actions/estimateFee.ts +4 -4
  601. package/zksync/actions/estimateGasL1ToL2.ts +2 -2
  602. package/zksync/actions/getAllBalances.ts +2 -2
  603. package/zksync/actions/getBaseTokenL1Address.ts +2 -2
  604. package/zksync/actions/getBlockDetails.ts +6 -6
  605. package/zksync/actions/getBridgehubContractAddress.ts +2 -2
  606. package/zksync/actions/getDefaultBridgeAddresses.ts +2 -2
  607. package/zksync/actions/getL1BatchBlockRange.ts +2 -2
  608. package/zksync/actions/getL1BatchDetails.ts +6 -6
  609. package/zksync/actions/getL1BatchNumber.ts +2 -2
  610. package/zksync/actions/getL1ChainId.ts +2 -2
  611. package/zksync/actions/getLogProof.ts +2 -2
  612. package/zksync/actions/getMainContractAddress.ts +2 -2
  613. package/zksync/actions/getRawBlockTransactions.ts +6 -6
  614. package/zksync/actions/getTestnetPaymasterAddress.ts +2 -2
  615. package/zksync/actions/getTransactionDetails.ts +4 -4
  616. package/zksync/actions/sendEip712Transaction.ts +4 -4
  617. package/zksync/actions/sendTransaction.ts +4 -4
  618. package/zksync/actions/signEip712Transaction.ts +4 -4
  619. package/zksync/actions/signTransaction.ts +4 -4
  620. package/zksync/chains.ts +4 -3
  621. package/zksync/decorators/eip712.ts +13 -13
  622. package/zksync/decorators/publicL2.ts +37 -37
  623. package/zksync/errors/bytecode.ts +3 -3
  624. package/zksync/errors/token-is-eth.ts +1 -2
  625. package/zksync/errors/transaction.ts +1 -2
  626. package/zksync/formatters.ts +22 -22
  627. package/zksync/index.ts +111 -32
  628. package/zksync/serializers.ts +7 -7
  629. package/zksync/types/block.ts +9 -9
  630. package/zksync/types/chain.ts +5 -5
  631. package/zksync/types/eip1193.ts +8 -8
  632. package/zksync/types/eip712.ts +3 -3
  633. package/zksync/types/fee.ts +2 -2
  634. package/zksync/types/log.ts +4 -4
  635. package/zksync/types/transaction.ts +45 -45
  636. package/zksync/utils/assertEip712Request.ts +2 -2
  637. package/zksync/utils/assertEip712Transaction.ts +4 -4
  638. package/zksync/utils/getEip712Domain.ts +9 -9
  639. package/zksync/utils/isEip712Transaction.ts +8 -3
  640. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +0 -1
  641. package/_cjs/chains/definitions/zkSyncTestnet.js +0 -31
  642. package/_cjs/chains/definitions/zkSyncTestnet.js.map +0 -1
  643. package/_esm/chains/definitions/zkSyncTestnet.js +0 -29
  644. package/_esm/chains/definitions/zkSyncTestnet.js.map +0 -1
  645. package/_types/chains/definitions/zkSyncTestnet.d.ts +0 -351
  646. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +0 -1
  647. package/chains/definitions/zkSyncTestnet.ts +0 -29
@@ -27,9 +27,379 @@ export declare const abstractTestnet: {
27
27
  };
28
28
  sourceId?: number | undefined;
29
29
  testnet: true;
30
- custom?: Record<string, unknown> | undefined;
30
+ custom: {
31
+ readonly getEip712Domain: import("../../zksync/index.js").EIP712DomainFn<import("../index.js").ZkSyncTransactionSerializable, import("../index.js").ZkSyncEIP712TransactionSignable>;
32
+ };
31
33
  fees?: import("../../index.js").ChainFees<undefined> | undefined;
32
- formatters?: undefined;
33
- serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
34
+ formatters: {
35
+ readonly block: {
36
+ exclude: [] | undefined;
37
+ format: (args: import("../index.js").ZkSyncRpcBlock) => {
38
+ baseFeePerGas: bigint | null;
39
+ blobGasUsed: bigint;
40
+ difficulty: bigint;
41
+ excessBlobGas: bigint;
42
+ extraData: import("../../index.js").Hex;
43
+ gasLimit: bigint;
44
+ gasUsed: bigint;
45
+ hash: `0x${string}` | null;
46
+ logsBloom: `0x${string}` | null;
47
+ miner: import("abitype").Address;
48
+ mixHash: import("../../index.js").Hash;
49
+ nonce: `0x${string}` | null;
50
+ number: bigint | null;
51
+ parentHash: import("../../index.js").Hash;
52
+ receiptsRoot: import("../../index.js").Hex;
53
+ sealFields: import("../../index.js").Hex[];
54
+ sha3Uncles: import("../../index.js").Hash;
55
+ size: bigint;
56
+ stateRoot: import("../../index.js").Hash;
57
+ timestamp: bigint;
58
+ totalDifficulty: bigint | null;
59
+ transactions: `0x${string}`[] | import("../index.js").ZkSyncTransaction<boolean>[];
60
+ transactionsRoot: import("../../index.js").Hash;
61
+ uncles: import("../../index.js").Hash[];
62
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
63
+ withdrawalsRoot?: import("../../index.js").Hex | undefined;
64
+ l1BatchNumber: bigint | null;
65
+ l1BatchTimestamp: bigint | null;
66
+ } & {};
67
+ type: "block";
68
+ };
69
+ readonly transaction: {
70
+ exclude: [] | undefined;
71
+ format: (args: import("../index.js").ZkSyncRpcTransaction) => ({
72
+ r: import("../../index.js").Hex;
73
+ s: import("../../index.js").Hex;
74
+ v: bigint;
75
+ to: import("abitype").Address | null;
76
+ from: import("abitype").Address;
77
+ gas: bigint;
78
+ nonce: number;
79
+ value: bigint;
80
+ blockHash: `0x${string}` | null;
81
+ blockNumber: bigint | null;
82
+ hash: import("../../index.js").Hash;
83
+ input: import("../../index.js").Hex;
84
+ transactionIndex: number | null;
85
+ typeHex: import("../../index.js").Hex | null;
86
+ accessList?: undefined;
87
+ authorizationList?: undefined;
88
+ blobVersionedHashes?: undefined;
89
+ chainId?: number | undefined;
90
+ yParity?: undefined;
91
+ type: "legacy";
92
+ gasPrice: bigint;
93
+ maxFeePerBlobGas?: undefined;
94
+ maxFeePerGas?: undefined;
95
+ maxPriorityFeePerGas?: undefined;
96
+ l1BatchNumber: bigint | null;
97
+ l1BatchTxIndex: bigint | null;
98
+ } | {
99
+ blockHash: `0x${string}` | null;
100
+ blockNumber: bigint | null;
101
+ from: import("abitype").Address;
102
+ gas: bigint;
103
+ hash: import("../../index.js").Hash;
104
+ input: import("../../index.js").Hex;
105
+ nonce: number;
106
+ r: import("../../index.js").Hex;
107
+ s: import("../../index.js").Hex;
108
+ to: import("abitype").Address | null;
109
+ transactionIndex: number | null;
110
+ typeHex: import("../../index.js").Hex | null;
111
+ v: bigint;
112
+ value: bigint;
113
+ yParity: number;
114
+ accessList: import("../../index.js").AccessList;
115
+ authorizationList?: undefined;
116
+ blobVersionedHashes?: undefined;
117
+ chainId: number;
118
+ type: "eip2930";
119
+ gasPrice: bigint;
120
+ maxFeePerBlobGas?: undefined;
121
+ maxFeePerGas?: undefined;
122
+ maxPriorityFeePerGas?: undefined;
123
+ l1BatchNumber: bigint | null;
124
+ l1BatchTxIndex: bigint | null;
125
+ } | {
126
+ blockHash: `0x${string}` | null;
127
+ blockNumber: bigint | null;
128
+ from: import("abitype").Address;
129
+ gas: bigint;
130
+ hash: import("../../index.js").Hash;
131
+ input: import("../../index.js").Hex;
132
+ nonce: number;
133
+ r: import("../../index.js").Hex;
134
+ s: import("../../index.js").Hex;
135
+ to: import("abitype").Address | null;
136
+ transactionIndex: number | null;
137
+ typeHex: import("../../index.js").Hex | null;
138
+ v: bigint;
139
+ value: bigint;
140
+ yParity: number;
141
+ accessList: import("../../index.js").AccessList;
142
+ authorizationList?: undefined;
143
+ blobVersionedHashes?: undefined;
144
+ chainId: number;
145
+ type: "eip1559";
146
+ gasPrice?: undefined;
147
+ maxFeePerBlobGas?: undefined;
148
+ maxFeePerGas: bigint;
149
+ maxPriorityFeePerGas: bigint;
150
+ l1BatchNumber: bigint | null;
151
+ l1BatchTxIndex: bigint | null;
152
+ } | {
153
+ blockHash: `0x${string}` | null;
154
+ blockNumber: bigint | null;
155
+ from: import("abitype").Address;
156
+ gas: bigint;
157
+ hash: import("../../index.js").Hash;
158
+ input: import("../../index.js").Hex;
159
+ nonce: number;
160
+ r: import("../../index.js").Hex;
161
+ s: import("../../index.js").Hex;
162
+ to: import("abitype").Address | null;
163
+ transactionIndex: number | null;
164
+ typeHex: import("../../index.js").Hex | null;
165
+ v: bigint;
166
+ value: bigint;
167
+ yParity: number;
168
+ accessList: import("../../index.js").AccessList;
169
+ authorizationList?: undefined;
170
+ blobVersionedHashes: readonly import("../../index.js").Hex[];
171
+ chainId: number;
172
+ type: "eip4844";
173
+ gasPrice?: undefined;
174
+ maxFeePerBlobGas: bigint;
175
+ maxFeePerGas: bigint;
176
+ maxPriorityFeePerGas: bigint;
177
+ l1BatchNumber: bigint | null;
178
+ l1BatchTxIndex: bigint | null;
179
+ } | {
180
+ blockHash: `0x${string}` | null;
181
+ blockNumber: bigint | null;
182
+ from: import("abitype").Address;
183
+ gas: bigint;
184
+ hash: import("../../index.js").Hash;
185
+ input: import("../../index.js").Hex;
186
+ nonce: number;
187
+ r: import("../../index.js").Hex;
188
+ s: import("../../index.js").Hex;
189
+ to: import("abitype").Address | null;
190
+ transactionIndex: number | null;
191
+ typeHex: import("../../index.js").Hex | null;
192
+ v: bigint;
193
+ value: bigint;
194
+ yParity: number;
195
+ accessList: import("../../index.js").AccessList;
196
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
197
+ blobVersionedHashes?: undefined;
198
+ chainId: number;
199
+ type: "eip7702";
200
+ gasPrice?: undefined;
201
+ maxFeePerBlobGas?: undefined;
202
+ maxFeePerGas: bigint;
203
+ maxPriorityFeePerGas: bigint;
204
+ l1BatchNumber: bigint | null;
205
+ l1BatchTxIndex: bigint | null;
206
+ } | {
207
+ blockHash: `0x${string}` | null;
208
+ blockNumber: bigint | null;
209
+ from: import("abitype").Address;
210
+ gas: bigint;
211
+ hash: import("../../index.js").Hash;
212
+ input: import("../../index.js").Hex;
213
+ nonce: number;
214
+ r: import("../../index.js").Hex;
215
+ s: import("../../index.js").Hex;
216
+ to: import("abitype").Address | null;
217
+ transactionIndex: number | null;
218
+ typeHex: import("../../index.js").Hex | null;
219
+ v: bigint;
220
+ value: bigint;
221
+ yParity: number;
222
+ l1BatchNumber: bigint | null;
223
+ l1BatchTxIndex: bigint | null;
224
+ gasPrice?: undefined;
225
+ maxFeePerBlobGas?: undefined;
226
+ maxFeePerGas: bigint;
227
+ maxPriorityFeePerGas: bigint;
228
+ type: "priority";
229
+ } | {
230
+ blockHash: `0x${string}` | null;
231
+ blockNumber: bigint | null;
232
+ from: import("abitype").Address;
233
+ gas: bigint;
234
+ hash: import("../../index.js").Hash;
235
+ input: import("../../index.js").Hex;
236
+ nonce: number;
237
+ r: import("../../index.js").Hex;
238
+ s: import("../../index.js").Hex;
239
+ to: import("abitype").Address | null;
240
+ transactionIndex: number | null;
241
+ typeHex: import("../../index.js").Hex | null;
242
+ v: bigint;
243
+ value: bigint;
244
+ yParity: number;
245
+ l1BatchNumber: bigint | null;
246
+ l1BatchTxIndex: bigint | null;
247
+ gasPrice?: undefined;
248
+ maxFeePerBlobGas?: undefined;
249
+ maxFeePerGas: bigint;
250
+ maxPriorityFeePerGas: bigint;
251
+ type: "eip712" | "priority";
252
+ }) & {};
253
+ type: "transaction";
254
+ };
255
+ readonly transactionReceipt: {
256
+ exclude: [] | undefined;
257
+ format: (args: import("../index.js").ZkSyncRpcTransactionReceipt) => {
258
+ type: import("../index.js").ZkSyncTransactionType;
259
+ to: import("abitype").Address | null;
260
+ from: import("abitype").Address;
261
+ blockHash: import("../../index.js").Hash;
262
+ blockNumber: bigint;
263
+ transactionIndex: number;
264
+ status: "success" | "reverted";
265
+ logsBloom: import("../../index.js").Hex;
266
+ blobGasUsed?: bigint | undefined;
267
+ gasUsed: bigint;
268
+ contractAddress: import("abitype").Address | null | undefined;
269
+ transactionHash: import("../../index.js").Hash;
270
+ blobGasPrice?: bigint | undefined;
271
+ cumulativeGasUsed: bigint;
272
+ effectiveGasPrice: bigint;
273
+ root?: import("../../index.js").Hash | undefined;
274
+ l1BatchNumber: bigint | null;
275
+ l1BatchTxIndex: bigint | null;
276
+ logs: import("../index.js").ZkSyncLog[];
277
+ l2ToL1Logs: import("../index.js").ZkSyncL2ToL1Log[];
278
+ } & {};
279
+ type: "transactionReceipt";
280
+ };
281
+ readonly transactionRequest: {
282
+ exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
283
+ format: (args: import("../index.js").ZkSyncTransactionRequest) => ({
284
+ data?: import("../../index.js").Hex | undefined;
285
+ from: import("abitype").Address;
286
+ gas?: `0x${string}` | undefined;
287
+ nonce?: `0x${string}` | undefined;
288
+ to?: import("abitype").Address | null | undefined;
289
+ type?: "0x0" | undefined;
290
+ value?: `0x${string}` | undefined;
291
+ gasPrice?: `0x${string}` | undefined;
292
+ maxFeePerBlobGas?: undefined;
293
+ maxFeePerGas?: undefined;
294
+ maxPriorityFeePerGas?: undefined;
295
+ blobs?: undefined;
296
+ accessList?: undefined;
297
+ authorizationList?: undefined;
298
+ blobVersionedHashes?: undefined;
299
+ kzg?: undefined;
300
+ sidecars?: undefined;
301
+ eip712Meta?: undefined;
302
+ } | {
303
+ data?: import("../../index.js").Hex | undefined;
304
+ from: import("abitype").Address;
305
+ gas?: `0x${string}` | undefined;
306
+ nonce?: `0x${string}` | undefined;
307
+ to?: import("abitype").Address | null | undefined;
308
+ type?: "0x1" | undefined;
309
+ value?: `0x${string}` | undefined;
310
+ gasPrice?: `0x${string}` | undefined;
311
+ maxFeePerBlobGas?: undefined;
312
+ maxFeePerGas?: undefined;
313
+ maxPriorityFeePerGas?: undefined;
314
+ accessList?: import("../../index.js").AccessList | undefined;
315
+ blobs?: undefined;
316
+ authorizationList?: undefined;
317
+ blobVersionedHashes?: undefined;
318
+ kzg?: undefined;
319
+ sidecars?: undefined;
320
+ eip712Meta?: undefined;
321
+ } | {
322
+ data?: import("../../index.js").Hex | undefined;
323
+ from: import("abitype").Address;
324
+ gas?: `0x${string}` | undefined;
325
+ nonce?: `0x${string}` | undefined;
326
+ to?: import("abitype").Address | null | undefined;
327
+ type?: "0x2" | undefined;
328
+ value?: `0x${string}` | undefined;
329
+ gasPrice?: undefined;
330
+ maxFeePerBlobGas?: undefined;
331
+ maxFeePerGas?: `0x${string}` | undefined;
332
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
333
+ accessList?: import("../../index.js").AccessList | undefined;
334
+ blobs?: undefined;
335
+ authorizationList?: undefined;
336
+ blobVersionedHashes?: undefined;
337
+ kzg?: undefined;
338
+ sidecars?: undefined;
339
+ eip712Meta?: undefined;
340
+ } | {
341
+ type?: "0x3" | undefined;
342
+ data?: import("../../index.js").Hex | undefined;
343
+ from: import("abitype").Address;
344
+ gas?: `0x${string}` | undefined;
345
+ nonce?: `0x${string}` | undefined;
346
+ value?: `0x${string}` | undefined;
347
+ to: `0x${string}` | null;
348
+ gasPrice?: undefined;
349
+ maxFeePerGas?: `0x${string}` | undefined;
350
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
351
+ maxFeePerBlobGas: `0x${string}`;
352
+ accessList?: import("../../index.js").AccessList | undefined;
353
+ blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
354
+ blobVersionedHashes?: readonly import("../../index.js").Hex[] | undefined;
355
+ kzg?: import("../../index.js").Kzg | undefined;
356
+ sidecars?: readonly import("../../index.js").BlobSidecar<import("../../index.js").Hex>[] | undefined;
357
+ authorizationList?: undefined;
358
+ eip712Meta?: undefined;
359
+ } | {
360
+ type?: "0x4" | undefined;
361
+ gasPrice?: undefined;
362
+ maxFeePerBlobGas?: undefined;
363
+ maxFeePerGas?: `0x${string}` | undefined;
364
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
365
+ to?: import("abitype").Address | null | undefined;
366
+ data?: import("../../index.js").Hex | undefined;
367
+ from: import("abitype").Address;
368
+ gas?: `0x${string}` | undefined;
369
+ nonce?: `0x${string}` | undefined;
370
+ value?: `0x${string}` | undefined;
371
+ accessList?: import("../../index.js").AccessList | undefined;
372
+ authorizationList?: import("../../experimental/index.js").RpcAuthorizationList | undefined;
373
+ blobs?: undefined;
374
+ blobVersionedHashes?: undefined;
375
+ kzg?: undefined;
376
+ sidecars?: undefined;
377
+ eip712Meta?: undefined;
378
+ } | {
379
+ data?: import("../../index.js").Hex | undefined;
380
+ from: import("abitype").Address;
381
+ gas?: `0x${string}` | undefined;
382
+ nonce?: `0x${string}` | undefined;
383
+ to?: import("abitype").Address | null | undefined;
384
+ type: "0xff" | "0x71";
385
+ value?: `0x${string}` | undefined;
386
+ gasPrice?: undefined;
387
+ maxFeePerBlobGas?: undefined;
388
+ maxFeePerGas?: `0x${string}` | undefined;
389
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
390
+ eip712Meta: import("../index.js").ZkSyncEip712Meta;
391
+ }) & {
392
+ paymaster: never;
393
+ gasPerPubdata: never;
394
+ factoryDeps: never;
395
+ paymasterInput: never;
396
+ customSignature: never;
397
+ };
398
+ type: "transactionRequest";
399
+ };
400
+ };
401
+ serializers: {
402
+ readonly transaction: typeof import("../../zksync/serializers.js").serializeTransaction;
403
+ };
34
404
  };
35
405
  //# sourceMappingURL=abstractTestnet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abstractTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/abstractTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkB1B,CAAA"}
1
+ {"version":3,"file":"abstractTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/abstractTestnet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmB1B,CAAA"}
@@ -134,6 +134,7 @@ export declare const ancient8: {
134
134
  transactionIndex: number | null;
135
135
  typeHex: import("../../index.js").Hex | null;
136
136
  accessList?: undefined;
137
+ authorizationList?: undefined;
137
138
  blobVersionedHashes?: undefined;
138
139
  chainId?: number | undefined;
139
140
  yParity?: undefined;
@@ -162,6 +163,7 @@ export declare const ancient8: {
162
163
  value: bigint;
163
164
  yParity: number;
164
165
  accessList: import("../../index.js").AccessList;
166
+ authorizationList?: undefined;
165
167
  blobVersionedHashes?: undefined;
166
168
  chainId: number;
167
169
  type: "eip2930";
@@ -189,6 +191,7 @@ export declare const ancient8: {
189
191
  value: bigint;
190
192
  yParity: number;
191
193
  accessList: import("../../index.js").AccessList;
194
+ authorizationList?: undefined;
192
195
  blobVersionedHashes?: undefined;
193
196
  chainId: number;
194
197
  type: "eip1559";
@@ -216,6 +219,7 @@ export declare const ancient8: {
216
219
  value: bigint;
217
220
  yParity: number;
218
221
  accessList: import("../../index.js").AccessList;
222
+ authorizationList?: undefined;
219
223
  blobVersionedHashes: readonly import("../../index.js").Hex[];
220
224
  chainId: number;
221
225
  type: "eip4844";
@@ -226,6 +230,34 @@ export declare const ancient8: {
226
230
  isSystemTx?: undefined;
227
231
  mint?: undefined;
228
232
  sourceHash?: undefined;
233
+ } | {
234
+ blockHash: `0x${string}` | null;
235
+ blockNumber: bigint | null;
236
+ from: import("abitype").Address;
237
+ gas: bigint;
238
+ hash: import("../../index.js").Hash;
239
+ input: import("../../index.js").Hex;
240
+ nonce: number;
241
+ r: import("../../index.js").Hex;
242
+ s: import("../../index.js").Hex;
243
+ to: import("abitype").Address | null;
244
+ transactionIndex: number | null;
245
+ typeHex: import("../../index.js").Hex | null;
246
+ v: bigint;
247
+ value: bigint;
248
+ yParity: number;
249
+ accessList: import("../../index.js").AccessList;
250
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
251
+ blobVersionedHashes?: undefined;
252
+ chainId: number;
253
+ type: "eip7702";
254
+ gasPrice?: undefined;
255
+ maxFeePerBlobGas?: undefined;
256
+ maxFeePerGas: bigint;
257
+ maxPriorityFeePerGas: bigint;
258
+ isSystemTx?: undefined;
259
+ mint?: undefined;
260
+ sourceHash?: undefined;
229
261
  }) & {};
230
262
  type: "transaction";
231
263
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ancient8.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ancient8.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnB,CAAA"}
1
+ {"version":3,"file":"ancient8.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ancient8.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnB,CAAA"}
@@ -134,6 +134,7 @@ export declare const ancient8Sepolia: {
134
134
  transactionIndex: number | null;
135
135
  typeHex: import("../../index.js").Hex | null;
136
136
  accessList?: undefined;
137
+ authorizationList?: undefined;
137
138
  blobVersionedHashes?: undefined;
138
139
  chainId?: number | undefined;
139
140
  yParity?: undefined;
@@ -162,6 +163,7 @@ export declare const ancient8Sepolia: {
162
163
  value: bigint;
163
164
  yParity: number;
164
165
  accessList: import("../../index.js").AccessList;
166
+ authorizationList?: undefined;
165
167
  blobVersionedHashes?: undefined;
166
168
  chainId: number;
167
169
  type: "eip2930";
@@ -189,6 +191,7 @@ export declare const ancient8Sepolia: {
189
191
  value: bigint;
190
192
  yParity: number;
191
193
  accessList: import("../../index.js").AccessList;
194
+ authorizationList?: undefined;
192
195
  blobVersionedHashes?: undefined;
193
196
  chainId: number;
194
197
  type: "eip1559";
@@ -216,6 +219,7 @@ export declare const ancient8Sepolia: {
216
219
  value: bigint;
217
220
  yParity: number;
218
221
  accessList: import("../../index.js").AccessList;
222
+ authorizationList?: undefined;
219
223
  blobVersionedHashes: readonly import("../../index.js").Hex[];
220
224
  chainId: number;
221
225
  type: "eip4844";
@@ -226,6 +230,34 @@ export declare const ancient8Sepolia: {
226
230
  isSystemTx?: undefined;
227
231
  mint?: undefined;
228
232
  sourceHash?: undefined;
233
+ } | {
234
+ blockHash: `0x${string}` | null;
235
+ blockNumber: bigint | null;
236
+ from: import("abitype").Address;
237
+ gas: bigint;
238
+ hash: import("../../index.js").Hash;
239
+ input: import("../../index.js").Hex;
240
+ nonce: number;
241
+ r: import("../../index.js").Hex;
242
+ s: import("../../index.js").Hex;
243
+ to: import("abitype").Address | null;
244
+ transactionIndex: number | null;
245
+ typeHex: import("../../index.js").Hex | null;
246
+ v: bigint;
247
+ value: bigint;
248
+ yParity: number;
249
+ accessList: import("../../index.js").AccessList;
250
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
251
+ blobVersionedHashes?: undefined;
252
+ chainId: number;
253
+ type: "eip7702";
254
+ gasPrice?: undefined;
255
+ maxFeePerBlobGas?: undefined;
256
+ maxFeePerGas: bigint;
257
+ maxPriorityFeePerGas: bigint;
258
+ isSystemTx?: undefined;
259
+ mint?: undefined;
260
+ sourceHash?: undefined;
229
261
  }) & {};
230
262
  type: "transaction";
231
263
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ancient8Sepolia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ancient8Sepolia.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAA"}
1
+ {"version":3,"file":"ancient8Sepolia.d.ts","sourceRoot":"","sources":["../../../chains/definitions/ancient8Sepolia.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAA"}
@@ -138,6 +138,7 @@ export declare const base: {
138
138
  transactionIndex: number | null;
139
139
  typeHex: import("../../index.js").Hex | null;
140
140
  accessList?: undefined;
141
+ authorizationList?: undefined;
141
142
  blobVersionedHashes?: undefined;
142
143
  chainId?: number | undefined;
143
144
  yParity?: undefined;
@@ -166,6 +167,7 @@ export declare const base: {
166
167
  value: bigint;
167
168
  yParity: number;
168
169
  accessList: import("../../index.js").AccessList;
170
+ authorizationList?: undefined;
169
171
  blobVersionedHashes?: undefined;
170
172
  chainId: number;
171
173
  type: "eip2930";
@@ -193,6 +195,7 @@ export declare const base: {
193
195
  value: bigint;
194
196
  yParity: number;
195
197
  accessList: import("../../index.js").AccessList;
198
+ authorizationList?: undefined;
196
199
  blobVersionedHashes?: undefined;
197
200
  chainId: number;
198
201
  type: "eip1559";
@@ -220,6 +223,7 @@ export declare const base: {
220
223
  value: bigint;
221
224
  yParity: number;
222
225
  accessList: import("../../index.js").AccessList;
226
+ authorizationList?: undefined;
223
227
  blobVersionedHashes: readonly import("../../index.js").Hex[];
224
228
  chainId: number;
225
229
  type: "eip4844";
@@ -230,6 +234,34 @@ export declare const base: {
230
234
  isSystemTx?: undefined;
231
235
  mint?: undefined;
232
236
  sourceHash?: undefined;
237
+ } | {
238
+ blockHash: `0x${string}` | null;
239
+ blockNumber: bigint | null;
240
+ from: import("abitype").Address;
241
+ gas: bigint;
242
+ hash: import("../../index.js").Hash;
243
+ input: import("../../index.js").Hex;
244
+ nonce: number;
245
+ r: import("../../index.js").Hex;
246
+ s: import("../../index.js").Hex;
247
+ to: import("abitype").Address | null;
248
+ transactionIndex: number | null;
249
+ typeHex: import("../../index.js").Hex | null;
250
+ v: bigint;
251
+ value: bigint;
252
+ yParity: number;
253
+ accessList: import("../../index.js").AccessList;
254
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
255
+ blobVersionedHashes?: undefined;
256
+ chainId: number;
257
+ type: "eip7702";
258
+ gasPrice?: undefined;
259
+ maxFeePerBlobGas?: undefined;
260
+ maxFeePerGas: bigint;
261
+ maxPriorityFeePerGas: bigint;
262
+ isSystemTx?: undefined;
263
+ mint?: undefined;
264
+ sourceHash?: undefined;
233
265
  }) & {};
234
266
  type: "transaction";
235
267
  };
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Cf,CAAA"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../chains/definitions/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Cf,CAAA"}
@@ -136,6 +136,7 @@ export declare const baseGoerli: {
136
136
  transactionIndex: number | null;
137
137
  typeHex: import("../../index.js").Hex | null;
138
138
  accessList?: undefined;
139
+ authorizationList?: undefined;
139
140
  blobVersionedHashes?: undefined;
140
141
  chainId?: number | undefined;
141
142
  yParity?: undefined;
@@ -164,6 +165,7 @@ export declare const baseGoerli: {
164
165
  value: bigint;
165
166
  yParity: number;
166
167
  accessList: import("../../index.js").AccessList;
168
+ authorizationList?: undefined;
167
169
  blobVersionedHashes?: undefined;
168
170
  chainId: number;
169
171
  type: "eip2930";
@@ -191,6 +193,7 @@ export declare const baseGoerli: {
191
193
  value: bigint;
192
194
  yParity: number;
193
195
  accessList: import("../../index.js").AccessList;
196
+ authorizationList?: undefined;
194
197
  blobVersionedHashes?: undefined;
195
198
  chainId: number;
196
199
  type: "eip1559";
@@ -218,6 +221,7 @@ export declare const baseGoerli: {
218
221
  value: bigint;
219
222
  yParity: number;
220
223
  accessList: import("../../index.js").AccessList;
224
+ authorizationList?: undefined;
221
225
  blobVersionedHashes: readonly import("../../index.js").Hex[];
222
226
  chainId: number;
223
227
  type: "eip4844";
@@ -228,6 +232,34 @@ export declare const baseGoerli: {
228
232
  isSystemTx?: undefined;
229
233
  mint?: undefined;
230
234
  sourceHash?: undefined;
235
+ } | {
236
+ blockHash: `0x${string}` | null;
237
+ blockNumber: bigint | null;
238
+ from: import("abitype").Address;
239
+ gas: bigint;
240
+ hash: import("../../index.js").Hash;
241
+ input: import("../../index.js").Hex;
242
+ nonce: number;
243
+ r: import("../../index.js").Hex;
244
+ s: import("../../index.js").Hex;
245
+ to: import("abitype").Address | null;
246
+ transactionIndex: number | null;
247
+ typeHex: import("../../index.js").Hex | null;
248
+ v: bigint;
249
+ value: bigint;
250
+ yParity: number;
251
+ accessList: import("../../index.js").AccessList;
252
+ authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
253
+ blobVersionedHashes?: undefined;
254
+ chainId: number;
255
+ type: "eip7702";
256
+ gasPrice?: undefined;
257
+ maxFeePerBlobGas?: undefined;
258
+ maxFeePerGas: bigint;
259
+ maxPriorityFeePerGas: bigint;
260
+ isSystemTx?: undefined;
261
+ mint?: undefined;
262
+ sourceHash?: undefined;
231
263
  }) & {};
232
264
  type: "transaction";
233
265
  };