viem 2.0.0-alpha.18 → 2.0.0-alpha.19

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 (341) hide show
  1. package/_cjs/chains/definitions/mainnet.js.map +1 -1
  2. package/_cjs/clients/decorators/wallet.js.map +1 -1
  3. package/_cjs/errors/node.js +11 -11
  4. package/_cjs/errors/node.js.map +1 -1
  5. package/_cjs/errors/rpc.js +18 -18
  6. package/_cjs/errors/rpc.js.map +1 -1
  7. package/_cjs/errors/version.js +1 -1
  8. package/_esm/chains/definitions/mainnet.js.map +1 -1
  9. package/_esm/clients/decorators/wallet.js.map +1 -1
  10. package/_esm/errors/node.js +22 -11
  11. package/_esm/errors/node.js.map +1 -1
  12. package/_esm/errors/rpc.js +36 -18
  13. package/_esm/errors/rpc.js.map +1 -1
  14. package/_esm/errors/version.js +1 -1
  15. package/_types/chains/definitions/arbitrum.d.ts +5 -2
  16. package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
  17. package/_types/chains/definitions/arbitrumGoerli.d.ts +5 -2
  18. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
  19. package/_types/chains/definitions/arbitrumNova.d.ts +5 -2
  20. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
  21. package/_types/chains/definitions/arbitrumSepolia.d.ts +5 -2
  22. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
  23. package/_types/chains/definitions/astarZkatana.d.ts +5 -2
  24. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
  25. package/_types/chains/definitions/aurora.d.ts +5 -2
  26. package/_types/chains/definitions/aurora.d.ts.map +1 -1
  27. package/_types/chains/definitions/auroraTestnet.d.ts +5 -2
  28. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
  29. package/_types/chains/definitions/avalanche.d.ts +5 -2
  30. package/_types/chains/definitions/avalanche.d.ts.map +1 -1
  31. package/_types/chains/definitions/avalancheFuji.d.ts +5 -2
  32. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
  33. package/_types/chains/definitions/base.d.ts +1496 -499
  34. package/_types/chains/definitions/base.d.ts.map +1 -1
  35. package/_types/chains/definitions/baseGoerli.d.ts +1496 -499
  36. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  37. package/_types/chains/definitions/baseSepolia.d.ts +1496 -499
  38. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  39. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +5 -2
  40. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
  41. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +5 -2
  42. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
  43. package/_types/chains/definitions/boba.d.ts +5 -2
  44. package/_types/chains/definitions/boba.d.ts.map +1 -1
  45. package/_types/chains/definitions/bronos.d.ts +5 -2
  46. package/_types/chains/definitions/bronos.d.ts.map +1 -1
  47. package/_types/chains/definitions/bronosTestnet.d.ts +5 -2
  48. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
  49. package/_types/chains/definitions/bsc.d.ts +5 -2
  50. package/_types/chains/definitions/bsc.d.ts.map +1 -1
  51. package/_types/chains/definitions/bscTestnet.d.ts +5 -2
  52. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  53. package/_types/chains/definitions/bxn.d.ts +5 -2
  54. package/_types/chains/definitions/bxn.d.ts.map +1 -1
  55. package/_types/chains/definitions/bxnTestnet.d.ts +5 -2
  56. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
  57. package/_types/chains/definitions/canto.d.ts +5 -2
  58. package/_types/chains/definitions/canto.d.ts.map +1 -1
  59. package/_types/chains/definitions/celo.d.ts +2634 -877
  60. package/_types/chains/definitions/celo.d.ts.map +1 -1
  61. package/_types/chains/definitions/celoAlfajores.d.ts +2634 -877
  62. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  63. package/_types/chains/definitions/celoCannoli.d.ts +2634 -877
  64. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  65. package/_types/chains/definitions/classic.d.ts +5 -2
  66. package/_types/chains/definitions/classic.d.ts.map +1 -1
  67. package/_types/chains/definitions/confluxESpace.d.ts +5 -2
  68. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
  69. package/_types/chains/definitions/coreDao.d.ts +5 -2
  70. package/_types/chains/definitions/coreDao.d.ts.map +1 -1
  71. package/_types/chains/definitions/cronos.d.ts +5 -2
  72. package/_types/chains/definitions/cronos.d.ts.map +1 -1
  73. package/_types/chains/definitions/cronosTestnet.d.ts +5 -2
  74. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
  75. package/_types/chains/definitions/crossbell.d.ts +5 -2
  76. package/_types/chains/definitions/crossbell.d.ts.map +1 -1
  77. package/_types/chains/definitions/dfk.d.ts +5 -2
  78. package/_types/chains/definitions/dfk.d.ts.map +1 -1
  79. package/_types/chains/definitions/dogechain.d.ts +5 -2
  80. package/_types/chains/definitions/dogechain.d.ts.map +1 -1
  81. package/_types/chains/definitions/edgeware.d.ts +5 -2
  82. package/_types/chains/definitions/edgeware.d.ts.map +1 -1
  83. package/_types/chains/definitions/edgewareTestnet.d.ts +5 -2
  84. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
  85. package/_types/chains/definitions/ekta.d.ts +5 -2
  86. package/_types/chains/definitions/ekta.d.ts.map +1 -1
  87. package/_types/chains/definitions/ektaTestnet.d.ts +5 -2
  88. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
  89. package/_types/chains/definitions/eon.d.ts +5 -2
  90. package/_types/chains/definitions/eon.d.ts.map +1 -1
  91. package/_types/chains/definitions/eos.d.ts +5 -2
  92. package/_types/chains/definitions/eos.d.ts.map +1 -1
  93. package/_types/chains/definitions/eosTestnet.d.ts +5 -2
  94. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
  95. package/_types/chains/definitions/evmos.d.ts +5 -2
  96. package/_types/chains/definitions/evmos.d.ts.map +1 -1
  97. package/_types/chains/definitions/evmosTestnet.d.ts +5 -2
  98. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
  99. package/_types/chains/definitions/fantom.d.ts +5 -2
  100. package/_types/chains/definitions/fantom.d.ts.map +1 -1
  101. package/_types/chains/definitions/fantomTestnet.d.ts +5 -2
  102. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
  103. package/_types/chains/definitions/fibo.d.ts +5 -2
  104. package/_types/chains/definitions/fibo.d.ts.map +1 -1
  105. package/_types/chains/definitions/filecoin.d.ts +5 -2
  106. package/_types/chains/definitions/filecoin.d.ts.map +1 -1
  107. package/_types/chains/definitions/filecoinCalibration.d.ts +5 -2
  108. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
  109. package/_types/chains/definitions/filecoinHyperspace.d.ts +5 -2
  110. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
  111. package/_types/chains/definitions/flare.d.ts +5 -2
  112. package/_types/chains/definitions/flare.d.ts.map +1 -1
  113. package/_types/chains/definitions/flareTestnet.d.ts +5 -2
  114. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
  115. package/_types/chains/definitions/foundry.d.ts +5 -2
  116. package/_types/chains/definitions/foundry.d.ts.map +1 -1
  117. package/_types/chains/definitions/fuse.d.ts +5 -2
  118. package/_types/chains/definitions/fuse.d.ts.map +1 -1
  119. package/_types/chains/definitions/fuseSparknet.d.ts +5 -2
  120. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
  121. package/_types/chains/definitions/gnosis.d.ts +5 -2
  122. package/_types/chains/definitions/gnosis.d.ts.map +1 -1
  123. package/_types/chains/definitions/gnosisChiado.d.ts +5 -2
  124. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
  125. package/_types/chains/definitions/gobi.d.ts +5 -2
  126. package/_types/chains/definitions/gobi.d.ts.map +1 -1
  127. package/_types/chains/definitions/goerli.d.ts +5 -2
  128. package/_types/chains/definitions/goerli.d.ts.map +1 -1
  129. package/_types/chains/definitions/haqqMainnet.d.ts +5 -2
  130. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
  131. package/_types/chains/definitions/haqqTestedge2.d.ts +5 -2
  132. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
  133. package/_types/chains/definitions/hardhat.d.ts +5 -2
  134. package/_types/chains/definitions/hardhat.d.ts.map +1 -1
  135. package/_types/chains/definitions/harmonyOne.d.ts +5 -2
  136. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
  137. package/_types/chains/definitions/holesky.d.ts +5 -2
  138. package/_types/chains/definitions/holesky.d.ts.map +1 -1
  139. package/_types/chains/definitions/iotex.d.ts +5 -2
  140. package/_types/chains/definitions/iotex.d.ts.map +1 -1
  141. package/_types/chains/definitions/iotexTestnet.d.ts +5 -2
  142. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
  143. package/_types/chains/definitions/klaytn.d.ts +5 -2
  144. package/_types/chains/definitions/klaytn.d.ts.map +1 -1
  145. package/_types/chains/definitions/kroma.d.ts +5 -2
  146. package/_types/chains/definitions/kroma.d.ts.map +1 -1
  147. package/_types/chains/definitions/kromaSepolia.d.ts +5 -2
  148. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
  149. package/_types/chains/definitions/linea.d.ts +5 -2
  150. package/_types/chains/definitions/linea.d.ts.map +1 -1
  151. package/_types/chains/definitions/lineaTestnet.d.ts +5 -2
  152. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
  153. package/_types/chains/definitions/localhost.d.ts +5 -2
  154. package/_types/chains/definitions/localhost.d.ts.map +1 -1
  155. package/_types/chains/definitions/mainnet.d.ts +5 -2
  156. package/_types/chains/definitions/mainnet.d.ts.map +1 -1
  157. package/_types/chains/definitions/manta.d.ts +5 -2
  158. package/_types/chains/definitions/manta.d.ts.map +1 -1
  159. package/_types/chains/definitions/mantaTestnet.d.ts +5 -2
  160. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
  161. package/_types/chains/definitions/mantle.d.ts +5 -2
  162. package/_types/chains/definitions/mantle.d.ts.map +1 -1
  163. package/_types/chains/definitions/mantleTestnet.d.ts +5 -2
  164. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
  165. package/_types/chains/definitions/meter.d.ts +5 -2
  166. package/_types/chains/definitions/meter.d.ts.map +1 -1
  167. package/_types/chains/definitions/meterTestnet.d.ts +5 -2
  168. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
  169. package/_types/chains/definitions/metis.d.ts +5 -2
  170. package/_types/chains/definitions/metis.d.ts.map +1 -1
  171. package/_types/chains/definitions/metisGoerli.d.ts +5 -2
  172. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
  173. package/_types/chains/definitions/mev.d.ts +5 -2
  174. package/_types/chains/definitions/mev.d.ts.map +1 -1
  175. package/_types/chains/definitions/mevTestnet.d.ts +5 -2
  176. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
  177. package/_types/chains/definitions/modeTestnet.d.ts +5 -2
  178. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  179. package/_types/chains/definitions/moonbaseAlpha.d.ts +5 -2
  180. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
  181. package/_types/chains/definitions/moonbeam.d.ts +5 -2
  182. package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
  183. package/_types/chains/definitions/moonbeamDev.d.ts +5 -2
  184. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -1
  185. package/_types/chains/definitions/moonriver.d.ts +5 -2
  186. package/_types/chains/definitions/moonriver.d.ts.map +1 -1
  187. package/_types/chains/definitions/neonDevnet.d.ts +5 -2
  188. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
  189. package/_types/chains/definitions/nexi.d.ts +5 -2
  190. package/_types/chains/definitions/nexi.d.ts.map +1 -1
  191. package/_types/chains/definitions/nexilix.d.ts +5 -2
  192. package/_types/chains/definitions/nexilix.d.ts.map +1 -1
  193. package/_types/chains/definitions/oasys.d.ts +5 -2
  194. package/_types/chains/definitions/oasys.d.ts.map +1 -1
  195. package/_types/chains/definitions/okc.d.ts +5 -2
  196. package/_types/chains/definitions/okc.d.ts.map +1 -1
  197. package/_types/chains/definitions/opBNB.d.ts +5 -2
  198. package/_types/chains/definitions/opBNB.d.ts.map +1 -1
  199. package/_types/chains/definitions/opBNBTestnet.d.ts +5 -2
  200. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
  201. package/_types/chains/definitions/optimism.d.ts +1496 -499
  202. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  203. package/_types/chains/definitions/optimismGoerli.d.ts +1496 -499
  204. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  205. package/_types/chains/definitions/optimismSepolia.d.ts +1496 -499
  206. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  207. package/_types/chains/definitions/plinga.d.ts +5 -2
  208. package/_types/chains/definitions/plinga.d.ts.map +1 -1
  209. package/_types/chains/definitions/polygon.d.ts +5 -2
  210. package/_types/chains/definitions/polygon.d.ts.map +1 -1
  211. package/_types/chains/definitions/polygonMumbai.d.ts +5 -2
  212. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
  213. package/_types/chains/definitions/polygonZkEvm.d.ts +5 -2
  214. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
  215. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +5 -2
  216. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
  217. package/_types/chains/definitions/pulsechain.d.ts +5 -2
  218. package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
  219. package/_types/chains/definitions/pulsechainV4.d.ts +5 -2
  220. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
  221. package/_types/chains/definitions/qMainnet.d.ts +5 -2
  222. package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
  223. package/_types/chains/definitions/qTestnet.d.ts +5 -2
  224. package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
  225. package/_types/chains/definitions/rollux.d.ts +5 -2
  226. package/_types/chains/definitions/rollux.d.ts.map +1 -1
  227. package/_types/chains/definitions/rolluxTestnet.d.ts +5 -2
  228. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
  229. package/_types/chains/definitions/ronin.d.ts +5 -2
  230. package/_types/chains/definitions/ronin.d.ts.map +1 -1
  231. package/_types/chains/definitions/saigon.d.ts +5 -2
  232. package/_types/chains/definitions/saigon.d.ts.map +1 -1
  233. package/_types/chains/definitions/scroll.d.ts +5 -2
  234. package/_types/chains/definitions/scroll.d.ts.map +1 -1
  235. package/_types/chains/definitions/scrollSepolia.d.ts +5 -2
  236. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
  237. package/_types/chains/definitions/scrollTestnet.d.ts +5 -2
  238. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
  239. package/_types/chains/definitions/sepolia.d.ts +5 -2
  240. package/_types/chains/definitions/sepolia.d.ts.map +1 -1
  241. package/_types/chains/definitions/shardeumSphinx.d.ts +5 -2
  242. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
  243. package/_types/chains/definitions/skale/brawl.d.ts +5 -2
  244. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
  245. package/_types/chains/definitions/skale/calypso.d.ts +5 -2
  246. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
  247. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +5 -2
  248. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
  249. package/_types/chains/definitions/skale/chaosTestnet.d.ts +5 -2
  250. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
  251. package/_types/chains/definitions/skale/cryptoBlades.d.ts +5 -2
  252. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
  253. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +5 -2
  254. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
  255. package/_types/chains/definitions/skale/europa.d.ts +5 -2
  256. package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
  257. package/_types/chains/definitions/skale/europaTestnet.d.ts +5 -2
  258. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
  259. package/_types/chains/definitions/skale/exorde.d.ts +5 -2
  260. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
  261. package/_types/chains/definitions/skale/humanProtocol.d.ts +5 -2
  262. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
  263. package/_types/chains/definitions/skale/nebula.d.ts +5 -2
  264. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
  265. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +5 -2
  266. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
  267. package/_types/chains/definitions/skale/razor.d.ts +5 -2
  268. package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
  269. package/_types/chains/definitions/skale/titan.d.ts +5 -2
  270. package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
  271. package/_types/chains/definitions/skale/titanTestnet.d.ts +5 -2
  272. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
  273. package/_types/chains/definitions/songbird.d.ts +5 -2
  274. package/_types/chains/definitions/songbird.d.ts.map +1 -1
  275. package/_types/chains/definitions/songbirdTestnet.d.ts +5 -2
  276. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
  277. package/_types/chains/definitions/syscoin.d.ts +5 -2
  278. package/_types/chains/definitions/syscoin.d.ts.map +1 -1
  279. package/_types/chains/definitions/syscoinTestnet.d.ts +5 -2
  280. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
  281. package/_types/chains/definitions/taikoJolnir.d.ts +5 -2
  282. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
  283. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +5 -2
  284. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
  285. package/_types/chains/definitions/taraxa.d.ts +5 -2
  286. package/_types/chains/definitions/taraxa.d.ts.map +1 -1
  287. package/_types/chains/definitions/taraxaTestnet.d.ts +5 -2
  288. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
  289. package/_types/chains/definitions/telos.d.ts +5 -2
  290. package/_types/chains/definitions/telos.d.ts.map +1 -1
  291. package/_types/chains/definitions/telosTestnet.d.ts +5 -2
  292. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
  293. package/_types/chains/definitions/thunderTestnet.d.ts +5 -2
  294. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
  295. package/_types/chains/definitions/vechain.d.ts +5 -2
  296. package/_types/chains/definitions/vechain.d.ts.map +1 -1
  297. package/_types/chains/definitions/wanchain.d.ts +5 -2
  298. package/_types/chains/definitions/wanchain.d.ts.map +1 -1
  299. package/_types/chains/definitions/wanchainTestnet.d.ts +5 -2
  300. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
  301. package/_types/chains/definitions/xdc.d.ts +5 -2
  302. package/_types/chains/definitions/xdc.d.ts.map +1 -1
  303. package/_types/chains/definitions/xdcTestnet.d.ts +5 -2
  304. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
  305. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +5 -2
  306. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
  307. package/_types/chains/definitions/zhejiang.d.ts +5 -2
  308. package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
  309. package/_types/chains/definitions/zkSync.d.ts +1453 -484
  310. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  311. package/_types/chains/definitions/zkSyncTestnet.d.ts +1453 -484
  312. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  313. package/_types/chains/definitions/zora.d.ts +1496 -499
  314. package/_types/chains/definitions/zora.d.ts.map +1 -1
  315. package/_types/chains/definitions/zoraSepolia.d.ts +1496 -499
  316. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  317. package/_types/chains/definitions/zoraTestnet.d.ts +1496 -499
  318. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  319. package/_types/chains/index.d.ts +1 -1
  320. package/_types/chains/index.d.ts.map +1 -1
  321. package/_types/clients/decorators/wallet.d.ts +3 -3
  322. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  323. package/_types/errors/version.d.ts +1 -1
  324. package/_types/types/utils.d.ts.map +1 -1
  325. package/_types/utils/chain/defineChain.d.ts +2 -2
  326. package/_types/utils/chain/defineChain.d.ts.map +1 -1
  327. package/actions/ens/getEnsAddress.ts +1 -1
  328. package/actions/public/call.ts +1 -1
  329. package/actions/public/verifyHash.ts +1 -1
  330. package/actions/public/verifyMessage.ts +1 -1
  331. package/actions/public/verifyTypedData.ts +1 -1
  332. package/actions/wallet/sendRawTransaction.ts +1 -1
  333. package/chains/definitions/mainnet.ts +2 -2
  334. package/chains/index.ts +1 -1
  335. package/clients/decorators/wallet.ts +3 -5
  336. package/errors/version.ts +1 -1
  337. package/package.json +1 -1
  338. package/types/utils.ts +1 -1
  339. package/utils/ccip.ts +1 -1
  340. package/utils/chain/defineChain.ts +2 -2
  341. package/utils/rpc.ts +1 -1
@@ -1,4 +1,4 @@
1
- export declare const zkSyncTestnet: import("../index.js").Assign<{
1
+ export declare const zkSyncTestnet: {
2
2
  readonly id: 280;
3
3
  readonly name: "zkSync Era Testnet";
4
4
  readonly network: "zksync-era-testnet";
@@ -25,488 +25,1457 @@ export declare const zkSyncTestnet: import("../index.js").Assign<{
25
25
  };
26
26
  };
27
27
  readonly testnet: true;
28
- }, import("../../index.js").ChainConfig<{
29
- readonly block: {
30
- exclude: [] | undefined;
31
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").ZkSyncRpcBlockOverrides & {
32
- transactions: `0x${string}`[] | import("../utils.js").ZkSyncRpcTransaction[];
33
- }>) => {
34
- baseFeePerGas: bigint | null;
35
- difficulty: bigint;
36
- extraData: `0x${string}`;
37
- gasLimit: bigint;
38
- gasUsed: bigint;
39
- hash: `0x${string}` | null;
40
- logsBloom: `0x${string}` | null;
41
- miner: `0x${string}`;
42
- mixHash: `0x${string}`;
43
- nonce: `0x${string}` | null;
44
- number: bigint | null;
45
- parentHash: `0x${string}`;
46
- receiptsRoot: `0x${string}`;
47
- sealFields: `0x${string}`[];
48
- sha3Uncles: `0x${string}`;
49
- size: bigint;
50
- stateRoot: `0x${string}`;
51
- timestamp: bigint;
52
- totalDifficulty: bigint | null;
53
- transactions: `0x${string}`[] | import("../utils.js").ZkSyncTransaction[];
54
- transactionsRoot: `0x${string}`;
55
- uncles: `0x${string}`[];
56
- withdrawals?: import("../../index.js").Withdrawal[] | undefined;
57
- withdrawalsRoot?: `0x${string}` | undefined;
58
- l1BatchNumber: bigint | null;
59
- l1BatchTimestamp: bigint | null;
60
- } & {};
61
- type: "block";
62
- };
63
- readonly transaction: {
64
- exclude: [] | undefined;
65
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../utils.js").ZkSyncRpcTransaction>) => ({
66
- blockHash: `0x${string}` | null;
67
- blockNumber: bigint | null;
68
- from: `0x${string}`;
69
- gas: bigint;
70
- hash: `0x${string}`;
71
- input: `0x${string}`;
72
- nonce: number;
73
- r: `0x${string}`;
74
- s: `0x${string}`;
75
- to: `0x${string}` | null;
76
- transactionIndex: number | null;
77
- typeHex: `0x${string}` | null;
78
- v: bigint;
79
- value: bigint;
80
- gasPrice: bigint;
81
- maxFeePerGas?: undefined;
82
- maxPriorityFeePerGas?: undefined;
83
- accessList?: undefined;
84
- chainId?: number | undefined;
85
- type: "legacy";
86
- l1BatchNumber: bigint | null;
87
- l1BatchTxIndex: bigint | null;
88
- } | {
89
- blockHash: `0x${string}` | null;
90
- blockNumber: bigint | null;
91
- from: `0x${string}`;
92
- gas: bigint;
93
- hash: `0x${string}`;
94
- input: `0x${string}`;
95
- nonce: number;
96
- r: `0x${string}`;
97
- s: `0x${string}`;
98
- to: `0x${string}` | null;
99
- transactionIndex: number | null;
100
- typeHex: `0x${string}` | null;
101
- v: bigint;
102
- value: bigint;
103
- gasPrice: undefined;
104
- maxFeePerGas: bigint;
105
- maxPriorityFeePerGas: bigint;
106
- accessList?: undefined;
107
- chainId?: number | undefined;
108
- type: "priority";
109
- l1BatchNumber: bigint | null;
110
- l1BatchTxIndex: bigint | null;
111
- } | {
112
- blockHash: `0x${string}` | null;
113
- blockNumber: bigint | null;
114
- from: `0x${string}`;
115
- gas: bigint;
116
- hash: `0x${string}`;
117
- input: `0x${string}`;
118
- nonce: number;
119
- r: `0x${string}`;
120
- s: `0x${string}`;
121
- to: `0x${string}` | null;
122
- transactionIndex: number | null;
123
- typeHex: `0x${string}` | null;
124
- v: bigint;
125
- value: bigint;
126
- gasPrice: undefined;
127
- maxFeePerGas: bigint;
128
- maxPriorityFeePerGas: bigint;
129
- accessList?: undefined;
130
- chainId?: number | undefined;
131
- type: "priority" | "eip712";
132
- l1BatchNumber: bigint | null;
133
- l1BatchTxIndex: bigint | null;
134
- } | {
135
- blockHash: `0x${string}` | null;
136
- blockNumber: bigint | null;
137
- from: `0x${string}`;
138
- gas: bigint;
139
- hash: `0x${string}`;
140
- input: `0x${string}`;
141
- nonce: number;
142
- r: `0x${string}`;
143
- s: `0x${string}`;
144
- to: `0x${string}` | null;
145
- transactionIndex: number | null;
146
- typeHex: `0x${string}` | null;
147
- v: bigint;
148
- value: bigint;
149
- gasPrice: bigint;
150
- maxFeePerGas?: undefined;
151
- maxPriorityFeePerGas?: undefined;
152
- accessList: import("../../index.js").AccessList;
153
- chainId: number;
154
- type: "eip2930";
155
- l1BatchNumber: bigint | null;
156
- l1BatchTxIndex: bigint | null;
157
- } | {
158
- blockHash: `0x${string}` | null;
159
- blockNumber: bigint | null;
160
- from: `0x${string}`;
161
- gas: bigint;
162
- hash: `0x${string}`;
163
- input: `0x${string}`;
164
- nonce: number;
165
- r: `0x${string}`;
166
- s: `0x${string}`;
167
- to: `0x${string}` | null;
168
- transactionIndex: number | null;
169
- typeHex: `0x${string}` | null;
170
- v: bigint;
171
- value: bigint;
172
- gasPrice: undefined;
173
- maxFeePerGas: bigint;
174
- maxPriorityFeePerGas: bigint;
175
- accessList: import("../../index.js").AccessList;
176
- chainId: number;
177
- type: "eip1559";
178
- l1BatchNumber: bigint | null;
179
- l1BatchTxIndex: bigint | null;
180
- } | {
181
- blockHash: `0x${string}` | null;
182
- blockNumber: bigint | null;
183
- from: `0x${string}`;
184
- gas: bigint;
185
- hash: `0x${string}`;
186
- input: `0x${string}`;
187
- nonce: number;
188
- r: `0x${string}`;
189
- s: `0x${string}`;
190
- to: `0x${string}` | null;
191
- transactionIndex: number | null;
192
- typeHex: `0x${string}` | null;
193
- v: bigint;
194
- value: bigint;
195
- gasPrice: undefined;
196
- maxFeePerGas: bigint;
197
- maxPriorityFeePerGas: bigint;
198
- accessList: import("../../index.js").AccessList;
199
- chainId: number;
200
- type: "priority";
201
- l1BatchNumber: bigint | null;
202
- l1BatchTxIndex: bigint | null;
203
- } | {
204
- blockHash: `0x${string}` | null;
205
- blockNumber: bigint | null;
206
- from: `0x${string}`;
207
- gas: bigint;
208
- hash: `0x${string}`;
209
- input: `0x${string}`;
210
- nonce: number;
211
- r: `0x${string}`;
212
- s: `0x${string}`;
213
- to: `0x${string}` | null;
214
- transactionIndex: number | null;
215
- typeHex: `0x${string}` | null;
216
- v: bigint;
217
- value: bigint;
218
- gasPrice: undefined;
219
- maxFeePerGas: bigint;
220
- maxPriorityFeePerGas: bigint;
221
- accessList: import("../../index.js").AccessList;
222
- chainId: number;
223
- type: "priority" | "eip712";
224
- l1BatchNumber: bigint | null;
225
- l1BatchTxIndex: bigint | null;
226
- } | {
227
- blockHash: `0x${string}` | null;
228
- blockNumber: bigint | null;
229
- from: `0x${string}`;
230
- gas: bigint;
231
- hash: `0x${string}`;
232
- input: `0x${string}`;
233
- nonce: number;
234
- r: `0x${string}`;
235
- s: `0x${string}`;
236
- to: `0x${string}` | null;
237
- transactionIndex: number | null;
238
- typeHex: `0x${string}` | null;
239
- v: bigint;
240
- value: bigint;
241
- gasPrice: bigint;
242
- maxFeePerGas: undefined;
243
- maxPriorityFeePerGas: undefined;
244
- accessList: import("../../index.js").AccessList;
245
- chainId: number;
246
- type: "eip2930";
247
- l1BatchNumber: bigint | null;
248
- l1BatchTxIndex: bigint | null;
249
- } | {
250
- blockHash: `0x${string}` | null;
251
- blockNumber: bigint | null;
252
- from: `0x${string}`;
253
- gas: bigint;
254
- hash: `0x${string}`;
255
- input: `0x${string}`;
256
- nonce: number;
257
- r: `0x${string}`;
258
- s: `0x${string}`;
259
- to: `0x${string}` | null;
260
- transactionIndex: number | null;
261
- typeHex: `0x${string}` | null;
262
- v: bigint;
263
- value: bigint;
264
- gasPrice?: undefined;
265
- maxFeePerGas: bigint;
266
- maxPriorityFeePerGas: bigint;
267
- accessList: import("../../index.js").AccessList;
268
- chainId: number;
269
- type: "eip1559";
270
- l1BatchNumber: bigint | null;
271
- l1BatchTxIndex: bigint | null;
272
- } | {
273
- blockHash: `0x${string}` | null;
274
- blockNumber: bigint | null;
275
- from: `0x${string}`;
276
- gas: bigint;
277
- hash: `0x${string}`;
278
- input: `0x${string}`;
279
- nonce: number;
280
- r: `0x${string}`;
281
- s: `0x${string}`;
282
- to: `0x${string}` | null;
283
- transactionIndex: number | null;
284
- typeHex: `0x${string}` | null;
285
- v: bigint;
286
- value: bigint;
287
- gasPrice?: undefined;
288
- maxFeePerGas: bigint;
289
- maxPriorityFeePerGas: bigint;
290
- accessList: import("../../index.js").AccessList;
291
- chainId: number;
292
- type: "priority";
293
- l1BatchNumber: bigint | null;
294
- l1BatchTxIndex: bigint | null;
295
- } | {
296
- blockHash: `0x${string}` | null;
297
- blockNumber: bigint | null;
298
- from: `0x${string}`;
299
- gas: bigint;
300
- hash: `0x${string}`;
301
- input: `0x${string}`;
302
- nonce: number;
303
- r: `0x${string}`;
304
- s: `0x${string}`;
305
- to: `0x${string}` | null;
306
- transactionIndex: number | null;
307
- typeHex: `0x${string}` | null;
308
- v: bigint;
309
- value: bigint;
310
- gasPrice?: undefined;
311
- maxFeePerGas: bigint;
312
- maxPriorityFeePerGas: bigint;
313
- accessList: import("../../index.js").AccessList;
314
- chainId: number;
315
- type: "priority" | "eip712";
316
- l1BatchNumber: bigint | null;
317
- l1BatchTxIndex: bigint | null;
318
- }) & {};
319
- type: "transaction";
320
- };
321
- readonly transactionReceipt: {
322
- exclude: [] | undefined;
323
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").ZkSyncRpcTransactionReceiptOverrides>) => {
324
- blockHash: `0x${string}`;
325
- blockNumber: bigint;
326
- contractAddress: `0x${string}` | null;
327
- cumulativeGasUsed: bigint;
328
- effectiveGasPrice: bigint;
329
- from: `0x${string}`;
330
- gasUsed: bigint;
331
- logs: import("../utils.js").ZkSyncLog<bigint, number, boolean, undefined, undefined, undefined, undefined>[];
332
- logsBloom: `0x${string}`;
333
- status: "success" | "reverted";
334
- to: `0x${string}` | null;
335
- transactionHash: `0x${string}`;
336
- transactionIndex: number;
337
- type: import("../utils.js").ZkSyncTransactionType;
338
- l1BatchNumber: bigint | null;
339
- l1BatchTxIndex: bigint | null;
340
- l2ToL1Logs: import("../utils.js").ZkSyncL2ToL1Log[];
341
- } & {};
342
- type: "transactionReceipt";
343
- };
344
- readonly transactionRequest: {
345
- exclude: ("customSignature" | "factoryDeps" | "gasPerPubdata" | "paymaster" | "paymasterInput")[] | undefined;
346
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").ZkSyncTransactionRequest>) => ({
347
- data?: `0x${string}` | undefined;
348
- from: `0x${string}`;
349
- gas?: `0x${string}` | undefined;
350
- nonce?: `0x${string}` | undefined;
351
- to?: `0x${string}` | null | undefined;
352
- value?: `0x${string}` | undefined;
353
- gasPrice?: `0x${string}` | undefined;
354
- maxFeePerGas?: undefined;
355
- maxPriorityFeePerGas?: undefined;
356
- accessList?: undefined;
357
- type?: "0x0" | undefined;
358
- eip712Meta?: undefined;
359
- } | {
360
- data?: `0x${string}` | undefined;
361
- from: `0x${string}`;
362
- gas?: `0x${string}` | undefined;
363
- nonce?: `0x${string}` | undefined;
364
- to?: `0x${string}` | null | undefined;
365
- value?: `0x${string}` | undefined;
366
- gasPrice?: `0x${string}` | undefined;
367
- maxFeePerGas?: undefined;
368
- maxPriorityFeePerGas?: undefined;
369
- accessList?: undefined;
370
- type?: "0x1" | undefined;
371
- eip712Meta?: undefined;
372
- } | {
373
- data?: `0x${string}` | undefined;
374
- from: `0x${string}`;
375
- gas?: `0x${string}` | undefined;
376
- nonce?: `0x${string}` | undefined;
377
- to?: `0x${string}` | null | undefined;
378
- value?: `0x${string}` | undefined;
379
- gasPrice?: undefined;
380
- maxFeePerGas?: `0x${string}` | undefined;
381
- maxPriorityFeePerGas?: `0x${string}` | undefined;
382
- accessList?: undefined;
383
- type?: "0x2" | undefined;
384
- eip712Meta?: undefined;
385
- } | {
386
- data?: `0x${string}` | undefined;
387
- from: `0x${string}`;
388
- gas?: `0x${string}` | undefined;
389
- nonce?: `0x${string}` | undefined;
390
- to?: `0x${string}` | null | undefined;
391
- value?: `0x${string}` | undefined;
392
- gasPrice?: undefined;
393
- maxFeePerGas?: `0x${string}` | undefined;
394
- maxPriorityFeePerGas?: `0x${string}` | undefined;
395
- accessList?: undefined;
396
- type: "0xff" | "0x71";
397
- eip712Meta: import("../utils.js").ZkSyncEip712Meta;
398
- } | {
399
- data?: `0x${string}` | undefined;
400
- from: `0x${string}`;
401
- gas?: `0x${string}` | undefined;
402
- nonce?: `0x${string}` | undefined;
403
- to?: `0x${string}` | null | undefined;
404
- value?: `0x${string}` | undefined;
405
- gasPrice?: `0x${string}` | undefined;
406
- maxFeePerGas?: undefined;
407
- maxPriorityFeePerGas?: undefined;
408
- accessList?: undefined;
409
- type?: "0x0" | undefined;
410
- eip712Meta?: undefined;
411
- } | {
412
- data?: `0x${string}` | undefined;
413
- from: `0x${string}`;
414
- gas?: `0x${string}` | undefined;
415
- nonce?: `0x${string}` | undefined;
416
- to?: `0x${string}` | null | undefined;
417
- value?: `0x${string}` | undefined;
418
- gasPrice?: `0x${string}` | undefined;
419
- maxFeePerGas?: undefined;
420
- maxPriorityFeePerGas?: undefined;
421
- accessList?: import("../../index.js").AccessList | undefined;
422
- type?: "0x1" | undefined;
423
- eip712Meta?: undefined;
424
- } | {
425
- data?: `0x${string}` | undefined;
426
- from: `0x${string}`;
427
- gas?: `0x${string}` | undefined;
428
- nonce?: `0x${string}` | undefined;
429
- to?: `0x${string}` | null | undefined;
430
- value?: `0x${string}` | undefined;
431
- gasPrice?: undefined;
432
- maxFeePerGas?: `0x${string}` | undefined;
433
- maxPriorityFeePerGas?: `0x${string}` | undefined;
434
- accessList?: import("../../index.js").AccessList | undefined;
435
- type?: "0x2" | undefined;
436
- eip712Meta?: undefined;
437
- } | {
438
- data?: `0x${string}` | undefined;
439
- from: `0x${string}`;
440
- gas?: `0x${string}` | undefined;
441
- nonce?: `0x${string}` | undefined;
442
- to?: `0x${string}` | null | undefined;
443
- value?: `0x${string}` | undefined;
444
- gasPrice?: undefined;
445
- maxFeePerGas?: `0x${string}` | undefined;
446
- maxPriorityFeePerGas?: `0x${string}` | undefined;
447
- accessList?: import("../../index.js").AccessList | undefined;
448
- type: "0xff" | "0x71";
449
- eip712Meta: import("../utils.js").ZkSyncEip712Meta;
450
- } | {
451
- data?: `0x${string}` | undefined;
452
- from: `0x${string}`;
453
- gas?: `0x${string}` | undefined;
454
- nonce?: `0x${string}` | undefined;
455
- to?: `0x${string}` | null | undefined;
456
- value?: `0x${string}` | undefined;
457
- gasPrice?: `0x${string}` | undefined;
458
- maxFeePerGas?: undefined;
459
- maxPriorityFeePerGas?: undefined;
460
- accessList?: undefined;
461
- type?: "0x0" | undefined;
462
- eip712Meta?: undefined;
463
- } | {
464
- data?: `0x${string}` | undefined;
465
- from: `0x${string}`;
466
- gas?: `0x${string}` | undefined;
467
- nonce?: `0x${string}` | undefined;
468
- to?: `0x${string}` | null | undefined;
469
- value?: `0x${string}` | undefined;
470
- gasPrice?: `0x${string}` | undefined;
471
- maxFeePerGas?: undefined;
472
- maxPriorityFeePerGas?: undefined;
473
- accessList?: import("../../index.js").AccessList | undefined;
474
- type?: "0x1" | undefined;
475
- eip712Meta?: undefined;
476
- } | {
477
- data?: `0x${string}` | undefined;
478
- from: `0x${string}`;
479
- gas?: `0x${string}` | undefined;
480
- nonce?: `0x${string}` | undefined;
481
- to?: `0x${string}` | null | undefined;
482
- value?: `0x${string}` | undefined;
483
- gasPrice?: undefined;
484
- maxFeePerGas?: `0x${string}` | undefined;
485
- maxPriorityFeePerGas?: `0x${string}` | undefined;
486
- accessList?: import("../../index.js").AccessList | undefined;
487
- type?: "0x2" | undefined;
488
- eip712Meta?: undefined;
489
- } | {
490
- data?: `0x${string}` | undefined;
491
- from: `0x${string}`;
492
- gas?: `0x${string}` | undefined;
493
- nonce?: `0x${string}` | undefined;
494
- to?: `0x${string}` | null | undefined;
495
- value?: `0x${string}` | undefined;
496
- gasPrice?: undefined;
497
- maxFeePerGas?: `0x${string}` | undefined;
498
- maxPriorityFeePerGas?: `0x${string}` | undefined;
499
- accessList?: import("../../index.js").AccessList | undefined;
500
- type: "0xff" | "0x71";
501
- eip712Meta: import("../utils.js").ZkSyncEip712Meta;
502
- }) & {
503
- customSignature: never;
504
- factoryDeps: never;
505
- gasPerPubdata: never;
506
- paymaster: never;
507
- paymasterInput: never;
28
+ formatters?: {
29
+ readonly block: {
30
+ exclude: [] | undefined;
31
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").ZkSyncRpcBlockOverrides & {
32
+ transactions: `0x${string}`[] | import("../utils.js").ZkSyncRpcTransaction[];
33
+ }>) => {
34
+ baseFeePerGas: bigint | null;
35
+ difficulty: bigint;
36
+ extraData: `0x${string}`;
37
+ gasLimit: bigint;
38
+ gasUsed: bigint;
39
+ hash: `0x${string}` | null;
40
+ logsBloom: `0x${string}` | null;
41
+ miner: `0x${string}`;
42
+ mixHash: `0x${string}`;
43
+ nonce: `0x${string}` | null;
44
+ number: bigint | null;
45
+ parentHash: `0x${string}`;
46
+ receiptsRoot: `0x${string}`;
47
+ sealFields: `0x${string}`[];
48
+ sha3Uncles: `0x${string}`;
49
+ size: bigint;
50
+ stateRoot: `0x${string}`;
51
+ timestamp: bigint;
52
+ totalDifficulty: bigint | null;
53
+ transactions: `0x${string}`[] | import("../utils.js").ZkSyncTransaction[];
54
+ transactionsRoot: `0x${string}`;
55
+ uncles: `0x${string}`[];
56
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
57
+ withdrawalsRoot?: `0x${string}` | undefined;
58
+ l1BatchNumber: bigint | null;
59
+ l1BatchTimestamp: bigint | null;
60
+ } & {};
61
+ type: "block";
508
62
  };
509
- type: "transactionRequest";
510
- };
511
- }>>;
63
+ readonly transaction: {
64
+ exclude: [] | undefined;
65
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../utils.js").ZkSyncRpcTransaction>) => ({
66
+ blockHash: `0x${string}` | null;
67
+ blockNumber: bigint | null;
68
+ from: `0x${string}`;
69
+ gas: bigint;
70
+ hash: `0x${string}`;
71
+ input: `0x${string}`;
72
+ nonce: number;
73
+ r: `0x${string}`;
74
+ s: `0x${string}`;
75
+ to: `0x${string}` | null;
76
+ transactionIndex: number | null;
77
+ typeHex: `0x${string}` | null;
78
+ v: bigint;
79
+ value: bigint;
80
+ gasPrice: bigint;
81
+ maxFeePerGas?: undefined;
82
+ maxPriorityFeePerGas?: undefined;
83
+ accessList?: undefined;
84
+ chainId?: number | undefined;
85
+ type: "legacy";
86
+ l1BatchNumber: bigint | null;
87
+ l1BatchTxIndex: bigint | null;
88
+ } | {
89
+ blockHash: `0x${string}` | null;
90
+ blockNumber: bigint | null;
91
+ from: `0x${string}`;
92
+ gas: bigint;
93
+ hash: `0x${string}`;
94
+ input: `0x${string}`;
95
+ nonce: number;
96
+ r: `0x${string}`;
97
+ s: `0x${string}`;
98
+ to: `0x${string}` | null;
99
+ transactionIndex: number | null;
100
+ typeHex: `0x${string}` | null;
101
+ v: bigint;
102
+ value: bigint;
103
+ gasPrice: undefined;
104
+ maxFeePerGas: bigint;
105
+ maxPriorityFeePerGas: bigint;
106
+ accessList?: undefined;
107
+ chainId?: number | undefined;
108
+ type: "priority";
109
+ l1BatchNumber: bigint | null;
110
+ l1BatchTxIndex: bigint | null;
111
+ } | {
112
+ blockHash: `0x${string}` | null;
113
+ blockNumber: bigint | null;
114
+ from: `0x${string}`;
115
+ gas: bigint;
116
+ hash: `0x${string}`;
117
+ input: `0x${string}`;
118
+ nonce: number;
119
+ r: `0x${string}`;
120
+ s: `0x${string}`;
121
+ to: `0x${string}` | null;
122
+ transactionIndex: number | null;
123
+ typeHex: `0x${string}` | null;
124
+ v: bigint;
125
+ value: bigint;
126
+ gasPrice: undefined;
127
+ maxFeePerGas: bigint;
128
+ maxPriorityFeePerGas: bigint;
129
+ accessList?: undefined;
130
+ chainId?: number | undefined;
131
+ type: "priority" | "eip712";
132
+ l1BatchNumber: bigint | null;
133
+ l1BatchTxIndex: bigint | null;
134
+ } | {
135
+ blockHash: `0x${string}` | null;
136
+ blockNumber: bigint | null;
137
+ from: `0x${string}`;
138
+ gas: bigint;
139
+ hash: `0x${string}`;
140
+ input: `0x${string}`;
141
+ nonce: number;
142
+ r: `0x${string}`;
143
+ s: `0x${string}`;
144
+ to: `0x${string}` | null;
145
+ transactionIndex: number | null;
146
+ typeHex: `0x${string}` | null;
147
+ v: bigint;
148
+ value: bigint;
149
+ gasPrice: bigint;
150
+ maxFeePerGas?: undefined;
151
+ maxPriorityFeePerGas?: undefined;
152
+ accessList: import("../../index.js").AccessList;
153
+ chainId: number;
154
+ type: "eip2930";
155
+ l1BatchNumber: bigint | null;
156
+ l1BatchTxIndex: bigint | null;
157
+ } | {
158
+ blockHash: `0x${string}` | null;
159
+ blockNumber: bigint | null;
160
+ from: `0x${string}`;
161
+ gas: bigint;
162
+ hash: `0x${string}`;
163
+ input: `0x${string}`;
164
+ nonce: number;
165
+ r: `0x${string}`;
166
+ s: `0x${string}`;
167
+ to: `0x${string}` | null;
168
+ transactionIndex: number | null;
169
+ typeHex: `0x${string}` | null;
170
+ v: bigint;
171
+ value: bigint;
172
+ gasPrice: undefined;
173
+ maxFeePerGas: bigint;
174
+ maxPriorityFeePerGas: bigint;
175
+ accessList: import("../../index.js").AccessList;
176
+ chainId: number;
177
+ type: "eip1559";
178
+ l1BatchNumber: bigint | null;
179
+ l1BatchTxIndex: bigint | null;
180
+ } | {
181
+ blockHash: `0x${string}` | null;
182
+ blockNumber: bigint | null;
183
+ from: `0x${string}`;
184
+ gas: bigint;
185
+ hash: `0x${string}`;
186
+ input: `0x${string}`;
187
+ nonce: number;
188
+ r: `0x${string}`;
189
+ s: `0x${string}`;
190
+ to: `0x${string}` | null;
191
+ transactionIndex: number | null;
192
+ typeHex: `0x${string}` | null;
193
+ v: bigint;
194
+ value: bigint;
195
+ gasPrice: undefined;
196
+ maxFeePerGas: bigint;
197
+ maxPriorityFeePerGas: bigint;
198
+ accessList: import("../../index.js").AccessList;
199
+ chainId: number;
200
+ type: "priority";
201
+ l1BatchNumber: bigint | null;
202
+ l1BatchTxIndex: bigint | null;
203
+ } | {
204
+ blockHash: `0x${string}` | null;
205
+ blockNumber: bigint | null;
206
+ from: `0x${string}`;
207
+ gas: bigint;
208
+ hash: `0x${string}`;
209
+ input: `0x${string}`;
210
+ nonce: number;
211
+ r: `0x${string}`;
212
+ s: `0x${string}`;
213
+ to: `0x${string}` | null;
214
+ transactionIndex: number | null;
215
+ typeHex: `0x${string}` | null;
216
+ v: bigint;
217
+ value: bigint;
218
+ gasPrice: undefined;
219
+ maxFeePerGas: bigint;
220
+ maxPriorityFeePerGas: bigint;
221
+ accessList: import("../../index.js").AccessList;
222
+ chainId: number;
223
+ type: "priority" | "eip712";
224
+ l1BatchNumber: bigint | null;
225
+ l1BatchTxIndex: bigint | null;
226
+ } | {
227
+ blockHash: `0x${string}` | null;
228
+ blockNumber: bigint | null;
229
+ from: `0x${string}`;
230
+ gas: bigint;
231
+ hash: `0x${string}`;
232
+ input: `0x${string}`;
233
+ nonce: number;
234
+ r: `0x${string}`;
235
+ s: `0x${string}`;
236
+ to: `0x${string}` | null;
237
+ transactionIndex: number | null;
238
+ typeHex: `0x${string}` | null;
239
+ v: bigint;
240
+ value: bigint;
241
+ gasPrice: bigint;
242
+ maxFeePerGas: undefined;
243
+ maxPriorityFeePerGas: undefined;
244
+ accessList: import("../../index.js").AccessList;
245
+ chainId: number;
246
+ type: "eip2930";
247
+ l1BatchNumber: bigint | null;
248
+ l1BatchTxIndex: bigint | null;
249
+ } | {
250
+ blockHash: `0x${string}` | null;
251
+ blockNumber: bigint | null;
252
+ from: `0x${string}`;
253
+ gas: bigint;
254
+ hash: `0x${string}`;
255
+ input: `0x${string}`;
256
+ nonce: number;
257
+ r: `0x${string}`;
258
+ s: `0x${string}`;
259
+ to: `0x${string}` | null;
260
+ transactionIndex: number | null;
261
+ typeHex: `0x${string}` | null;
262
+ v: bigint;
263
+ value: bigint;
264
+ gasPrice?: undefined;
265
+ maxFeePerGas: bigint;
266
+ maxPriorityFeePerGas: bigint;
267
+ accessList: import("../../index.js").AccessList;
268
+ chainId: number;
269
+ type: "eip1559";
270
+ l1BatchNumber: bigint | null;
271
+ l1BatchTxIndex: bigint | null;
272
+ } | {
273
+ blockHash: `0x${string}` | null;
274
+ blockNumber: bigint | null;
275
+ from: `0x${string}`;
276
+ gas: bigint;
277
+ hash: `0x${string}`;
278
+ input: `0x${string}`;
279
+ nonce: number;
280
+ r: `0x${string}`;
281
+ s: `0x${string}`;
282
+ to: `0x${string}` | null;
283
+ transactionIndex: number | null;
284
+ typeHex: `0x${string}` | null;
285
+ v: bigint;
286
+ value: bigint;
287
+ gasPrice?: undefined;
288
+ maxFeePerGas: bigint;
289
+ maxPriorityFeePerGas: bigint;
290
+ accessList: import("../../index.js").AccessList;
291
+ chainId: number;
292
+ type: "priority";
293
+ l1BatchNumber: bigint | null;
294
+ l1BatchTxIndex: bigint | null;
295
+ } | {
296
+ blockHash: `0x${string}` | null;
297
+ blockNumber: bigint | null;
298
+ from: `0x${string}`;
299
+ gas: bigint;
300
+ hash: `0x${string}`;
301
+ input: `0x${string}`;
302
+ nonce: number;
303
+ r: `0x${string}`;
304
+ s: `0x${string}`;
305
+ to: `0x${string}` | null;
306
+ transactionIndex: number | null;
307
+ typeHex: `0x${string}` | null;
308
+ v: bigint;
309
+ value: bigint;
310
+ gasPrice?: undefined;
311
+ maxFeePerGas: bigint;
312
+ maxPriorityFeePerGas: bigint;
313
+ accessList: import("../../index.js").AccessList;
314
+ chainId: number;
315
+ type: "priority" | "eip712";
316
+ l1BatchNumber: bigint | null;
317
+ l1BatchTxIndex: bigint | null;
318
+ }) & {};
319
+ type: "transaction";
320
+ };
321
+ readonly transactionReceipt: {
322
+ exclude: [] | undefined;
323
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").ZkSyncRpcTransactionReceiptOverrides>) => {
324
+ blockHash: `0x${string}`;
325
+ blockNumber: bigint;
326
+ contractAddress: `0x${string}` | null;
327
+ cumulativeGasUsed: bigint;
328
+ effectiveGasPrice: bigint;
329
+ from: `0x${string}`;
330
+ gasUsed: bigint;
331
+ logs: import("../utils.js").ZkSyncLog<bigint, number, boolean, undefined, undefined, undefined, undefined>[];
332
+ logsBloom: `0x${string}`;
333
+ status: "success" | "reverted";
334
+ to: `0x${string}` | null;
335
+ transactionHash: `0x${string}`;
336
+ transactionIndex: number;
337
+ type: import("../utils.js").ZkSyncTransactionType;
338
+ l1BatchNumber: bigint | null;
339
+ l1BatchTxIndex: bigint | null;
340
+ l2ToL1Logs: import("../utils.js").ZkSyncL2ToL1Log[];
341
+ } & {};
342
+ type: "transactionReceipt";
343
+ };
344
+ readonly transactionRequest: {
345
+ exclude: ("customSignature" | "factoryDeps" | "gasPerPubdata" | "paymaster" | "paymasterInput")[] | undefined;
346
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").ZkSyncTransactionRequest>) => ({
347
+ data?: `0x${string}` | undefined;
348
+ from: `0x${string}`;
349
+ gas?: `0x${string}` | undefined;
350
+ nonce?: `0x${string}` | undefined;
351
+ to?: `0x${string}` | null | undefined;
352
+ value?: `0x${string}` | undefined;
353
+ gasPrice?: `0x${string}` | undefined;
354
+ maxFeePerGas?: undefined;
355
+ maxPriorityFeePerGas?: undefined;
356
+ accessList?: undefined;
357
+ type?: "0x0" | undefined;
358
+ eip712Meta?: undefined;
359
+ } | {
360
+ data?: `0x${string}` | undefined;
361
+ from: `0x${string}`;
362
+ gas?: `0x${string}` | undefined;
363
+ nonce?: `0x${string}` | undefined;
364
+ to?: `0x${string}` | null | undefined;
365
+ value?: `0x${string}` | undefined;
366
+ gasPrice?: `0x${string}` | undefined;
367
+ maxFeePerGas?: undefined;
368
+ maxPriorityFeePerGas?: undefined;
369
+ accessList?: undefined;
370
+ type?: "0x1" | undefined;
371
+ eip712Meta?: undefined;
372
+ } | {
373
+ data?: `0x${string}` | undefined;
374
+ from: `0x${string}`;
375
+ gas?: `0x${string}` | undefined;
376
+ nonce?: `0x${string}` | undefined;
377
+ to?: `0x${string}` | null | undefined;
378
+ value?: `0x${string}` | undefined;
379
+ gasPrice?: undefined;
380
+ maxFeePerGas?: `0x${string}` | undefined;
381
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
382
+ accessList?: undefined;
383
+ type?: "0x2" | undefined;
384
+ eip712Meta?: undefined;
385
+ } | {
386
+ data?: `0x${string}` | undefined;
387
+ from: `0x${string}`;
388
+ gas?: `0x${string}` | undefined;
389
+ nonce?: `0x${string}` | undefined;
390
+ to?: `0x${string}` | null | undefined;
391
+ value?: `0x${string}` | undefined;
392
+ gasPrice?: undefined;
393
+ maxFeePerGas?: `0x${string}` | undefined;
394
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
395
+ accessList?: undefined;
396
+ type: "0xff" | "0x71";
397
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
398
+ } | {
399
+ data?: `0x${string}` | undefined;
400
+ from: `0x${string}`;
401
+ gas?: `0x${string}` | undefined;
402
+ nonce?: `0x${string}` | undefined;
403
+ to?: `0x${string}` | null | undefined;
404
+ value?: `0x${string}` | undefined;
405
+ gasPrice?: `0x${string}` | undefined;
406
+ maxFeePerGas?: undefined;
407
+ maxPriorityFeePerGas?: undefined;
408
+ accessList?: undefined;
409
+ type?: "0x0" | undefined;
410
+ eip712Meta?: undefined;
411
+ } | {
412
+ data?: `0x${string}` | undefined;
413
+ from: `0x${string}`;
414
+ gas?: `0x${string}` | undefined;
415
+ nonce?: `0x${string}` | undefined;
416
+ to?: `0x${string}` | null | undefined;
417
+ value?: `0x${string}` | undefined;
418
+ gasPrice?: `0x${string}` | undefined;
419
+ maxFeePerGas?: undefined;
420
+ maxPriorityFeePerGas?: undefined;
421
+ accessList?: import("../../index.js").AccessList | undefined;
422
+ type?: "0x1" | undefined;
423
+ eip712Meta?: undefined;
424
+ } | {
425
+ data?: `0x${string}` | undefined;
426
+ from: `0x${string}`;
427
+ gas?: `0x${string}` | undefined;
428
+ nonce?: `0x${string}` | undefined;
429
+ to?: `0x${string}` | null | undefined;
430
+ value?: `0x${string}` | undefined;
431
+ gasPrice?: undefined;
432
+ maxFeePerGas?: `0x${string}` | undefined;
433
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
434
+ accessList?: import("../../index.js").AccessList | undefined;
435
+ type?: "0x2" | undefined;
436
+ eip712Meta?: undefined;
437
+ } | {
438
+ data?: `0x${string}` | undefined;
439
+ from: `0x${string}`;
440
+ gas?: `0x${string}` | undefined;
441
+ nonce?: `0x${string}` | undefined;
442
+ to?: `0x${string}` | null | undefined;
443
+ value?: `0x${string}` | undefined;
444
+ gasPrice?: undefined;
445
+ maxFeePerGas?: `0x${string}` | undefined;
446
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
447
+ accessList?: import("../../index.js").AccessList | undefined;
448
+ type: "0xff" | "0x71";
449
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
450
+ } | {
451
+ data?: `0x${string}` | undefined;
452
+ from: `0x${string}`;
453
+ gas?: `0x${string}` | undefined;
454
+ nonce?: `0x${string}` | undefined;
455
+ to?: `0x${string}` | null | undefined;
456
+ value?: `0x${string}` | undefined;
457
+ gasPrice?: `0x${string}` | undefined;
458
+ maxFeePerGas?: undefined;
459
+ maxPriorityFeePerGas?: undefined;
460
+ accessList?: undefined;
461
+ type?: "0x0" | undefined;
462
+ eip712Meta?: undefined;
463
+ } | {
464
+ data?: `0x${string}` | undefined;
465
+ from: `0x${string}`;
466
+ gas?: `0x${string}` | undefined;
467
+ nonce?: `0x${string}` | undefined;
468
+ to?: `0x${string}` | null | undefined;
469
+ value?: `0x${string}` | undefined;
470
+ gasPrice?: `0x${string}` | undefined;
471
+ maxFeePerGas?: undefined;
472
+ maxPriorityFeePerGas?: undefined;
473
+ accessList?: import("../../index.js").AccessList | undefined;
474
+ type?: "0x1" | undefined;
475
+ eip712Meta?: undefined;
476
+ } | {
477
+ data?: `0x${string}` | undefined;
478
+ from: `0x${string}`;
479
+ gas?: `0x${string}` | undefined;
480
+ nonce?: `0x${string}` | undefined;
481
+ to?: `0x${string}` | null | undefined;
482
+ value?: `0x${string}` | undefined;
483
+ gasPrice?: undefined;
484
+ maxFeePerGas?: `0x${string}` | undefined;
485
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
486
+ accessList?: import("../../index.js").AccessList | undefined;
487
+ type?: "0x2" | undefined;
488
+ eip712Meta?: undefined;
489
+ } | {
490
+ data?: `0x${string}` | undefined;
491
+ from: `0x${string}`;
492
+ gas?: `0x${string}` | undefined;
493
+ nonce?: `0x${string}` | undefined;
494
+ to?: `0x${string}` | null | undefined;
495
+ value?: `0x${string}` | undefined;
496
+ gasPrice?: undefined;
497
+ maxFeePerGas?: `0x${string}` | undefined;
498
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
499
+ accessList?: import("../../index.js").AccessList | undefined;
500
+ type: "0xff" | "0x71";
501
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
502
+ }) & {
503
+ customSignature: never;
504
+ factoryDeps: never;
505
+ gasPerPubdata: never;
506
+ paymaster: never;
507
+ paymasterInput: never;
508
+ };
509
+ type: "transactionRequest";
510
+ };
511
+ } | undefined;
512
+ serializers?: import("../../index.js").ChainSerializers<{
513
+ readonly block: {
514
+ exclude: [] | undefined;
515
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").ZkSyncRpcBlockOverrides & {
516
+ transactions: `0x${string}`[] | import("../utils.js").ZkSyncRpcTransaction[];
517
+ }>) => {
518
+ baseFeePerGas: bigint | null;
519
+ difficulty: bigint;
520
+ extraData: `0x${string}`;
521
+ gasLimit: bigint;
522
+ gasUsed: bigint;
523
+ hash: `0x${string}` | null;
524
+ logsBloom: `0x${string}` | null;
525
+ miner: `0x${string}`;
526
+ mixHash: `0x${string}`;
527
+ nonce: `0x${string}` | null;
528
+ number: bigint | null;
529
+ parentHash: `0x${string}`;
530
+ receiptsRoot: `0x${string}`;
531
+ sealFields: `0x${string}`[];
532
+ sha3Uncles: `0x${string}`;
533
+ size: bigint;
534
+ stateRoot: `0x${string}`;
535
+ timestamp: bigint;
536
+ totalDifficulty: bigint | null;
537
+ transactions: `0x${string}`[] | import("../utils.js").ZkSyncTransaction[];
538
+ transactionsRoot: `0x${string}`;
539
+ uncles: `0x${string}`[];
540
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
541
+ withdrawalsRoot?: `0x${string}` | undefined;
542
+ l1BatchNumber: bigint | null;
543
+ l1BatchTimestamp: bigint | null;
544
+ } & {};
545
+ type: "block";
546
+ };
547
+ readonly transaction: {
548
+ exclude: [] | undefined;
549
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../utils.js").ZkSyncRpcTransaction>) => ({
550
+ blockHash: `0x${string}` | null;
551
+ blockNumber: bigint | null;
552
+ from: `0x${string}`;
553
+ gas: bigint;
554
+ hash: `0x${string}`;
555
+ input: `0x${string}`;
556
+ nonce: number;
557
+ r: `0x${string}`;
558
+ s: `0x${string}`;
559
+ to: `0x${string}` | null;
560
+ transactionIndex: number | null;
561
+ typeHex: `0x${string}` | null;
562
+ v: bigint;
563
+ value: bigint;
564
+ gasPrice: bigint;
565
+ maxFeePerGas?: undefined;
566
+ maxPriorityFeePerGas?: undefined;
567
+ accessList?: undefined;
568
+ chainId?: number | undefined;
569
+ type: "legacy";
570
+ l1BatchNumber: bigint | null;
571
+ l1BatchTxIndex: bigint | null;
572
+ } | {
573
+ blockHash: `0x${string}` | null;
574
+ blockNumber: bigint | null;
575
+ from: `0x${string}`;
576
+ gas: bigint;
577
+ hash: `0x${string}`;
578
+ input: `0x${string}`;
579
+ nonce: number;
580
+ r: `0x${string}`;
581
+ s: `0x${string}`;
582
+ to: `0x${string}` | null;
583
+ transactionIndex: number | null;
584
+ typeHex: `0x${string}` | null;
585
+ v: bigint;
586
+ value: bigint;
587
+ gasPrice: undefined;
588
+ maxFeePerGas: bigint;
589
+ maxPriorityFeePerGas: bigint;
590
+ accessList?: undefined;
591
+ chainId?: number | undefined;
592
+ type: "priority";
593
+ l1BatchNumber: bigint | null;
594
+ l1BatchTxIndex: bigint | null;
595
+ } | {
596
+ blockHash: `0x${string}` | null;
597
+ blockNumber: bigint | null;
598
+ from: `0x${string}`;
599
+ gas: bigint;
600
+ hash: `0x${string}`;
601
+ input: `0x${string}`;
602
+ nonce: number;
603
+ r: `0x${string}`;
604
+ s: `0x${string}`;
605
+ to: `0x${string}` | null;
606
+ transactionIndex: number | null;
607
+ typeHex: `0x${string}` | null;
608
+ v: bigint;
609
+ value: bigint;
610
+ gasPrice: undefined;
611
+ maxFeePerGas: bigint;
612
+ maxPriorityFeePerGas: bigint;
613
+ accessList?: undefined;
614
+ chainId?: number | undefined;
615
+ type: "priority" | "eip712";
616
+ l1BatchNumber: bigint | null;
617
+ l1BatchTxIndex: bigint | null;
618
+ } | {
619
+ blockHash: `0x${string}` | null;
620
+ blockNumber: bigint | null;
621
+ from: `0x${string}`;
622
+ gas: bigint;
623
+ hash: `0x${string}`;
624
+ input: `0x${string}`;
625
+ nonce: number;
626
+ r: `0x${string}`;
627
+ s: `0x${string}`;
628
+ to: `0x${string}` | null;
629
+ transactionIndex: number | null;
630
+ typeHex: `0x${string}` | null;
631
+ v: bigint;
632
+ value: bigint;
633
+ gasPrice: bigint;
634
+ maxFeePerGas?: undefined;
635
+ maxPriorityFeePerGas?: undefined;
636
+ accessList: import("../../index.js").AccessList;
637
+ chainId: number;
638
+ type: "eip2930";
639
+ l1BatchNumber: bigint | null;
640
+ l1BatchTxIndex: bigint | null;
641
+ } | {
642
+ blockHash: `0x${string}` | null;
643
+ blockNumber: bigint | null;
644
+ from: `0x${string}`;
645
+ gas: bigint;
646
+ hash: `0x${string}`;
647
+ input: `0x${string}`;
648
+ nonce: number;
649
+ r: `0x${string}`;
650
+ s: `0x${string}`;
651
+ to: `0x${string}` | null;
652
+ transactionIndex: number | null;
653
+ typeHex: `0x${string}` | null;
654
+ v: bigint;
655
+ value: bigint;
656
+ gasPrice: undefined;
657
+ maxFeePerGas: bigint;
658
+ maxPriorityFeePerGas: bigint;
659
+ accessList: import("../../index.js").AccessList;
660
+ chainId: number;
661
+ type: "eip1559";
662
+ l1BatchNumber: bigint | null;
663
+ l1BatchTxIndex: bigint | null;
664
+ } | {
665
+ blockHash: `0x${string}` | null;
666
+ blockNumber: bigint | null;
667
+ from: `0x${string}`;
668
+ gas: bigint;
669
+ hash: `0x${string}`;
670
+ input: `0x${string}`;
671
+ nonce: number;
672
+ r: `0x${string}`;
673
+ s: `0x${string}`;
674
+ to: `0x${string}` | null;
675
+ transactionIndex: number | null;
676
+ typeHex: `0x${string}` | null;
677
+ v: bigint;
678
+ value: bigint;
679
+ gasPrice: undefined;
680
+ maxFeePerGas: bigint;
681
+ maxPriorityFeePerGas: bigint;
682
+ accessList: import("../../index.js").AccessList;
683
+ chainId: number;
684
+ type: "priority";
685
+ l1BatchNumber: bigint | null;
686
+ l1BatchTxIndex: bigint | null;
687
+ } | {
688
+ blockHash: `0x${string}` | null;
689
+ blockNumber: bigint | null;
690
+ from: `0x${string}`;
691
+ gas: bigint;
692
+ hash: `0x${string}`;
693
+ input: `0x${string}`;
694
+ nonce: number;
695
+ r: `0x${string}`;
696
+ s: `0x${string}`;
697
+ to: `0x${string}` | null;
698
+ transactionIndex: number | null;
699
+ typeHex: `0x${string}` | null;
700
+ v: bigint;
701
+ value: bigint;
702
+ gasPrice: undefined;
703
+ maxFeePerGas: bigint;
704
+ maxPriorityFeePerGas: bigint;
705
+ accessList: import("../../index.js").AccessList;
706
+ chainId: number;
707
+ type: "priority" | "eip712";
708
+ l1BatchNumber: bigint | null;
709
+ l1BatchTxIndex: bigint | null;
710
+ } | {
711
+ blockHash: `0x${string}` | null;
712
+ blockNumber: bigint | null;
713
+ from: `0x${string}`;
714
+ gas: bigint;
715
+ hash: `0x${string}`;
716
+ input: `0x${string}`;
717
+ nonce: number;
718
+ r: `0x${string}`;
719
+ s: `0x${string}`;
720
+ to: `0x${string}` | null;
721
+ transactionIndex: number | null;
722
+ typeHex: `0x${string}` | null;
723
+ v: bigint;
724
+ value: bigint;
725
+ gasPrice: bigint;
726
+ maxFeePerGas: undefined;
727
+ maxPriorityFeePerGas: undefined;
728
+ accessList: import("../../index.js").AccessList;
729
+ chainId: number;
730
+ type: "eip2930";
731
+ l1BatchNumber: bigint | null;
732
+ l1BatchTxIndex: bigint | null;
733
+ } | {
734
+ blockHash: `0x${string}` | null;
735
+ blockNumber: bigint | null;
736
+ from: `0x${string}`;
737
+ gas: bigint;
738
+ hash: `0x${string}`;
739
+ input: `0x${string}`;
740
+ nonce: number;
741
+ r: `0x${string}`;
742
+ s: `0x${string}`;
743
+ to: `0x${string}` | null;
744
+ transactionIndex: number | null;
745
+ typeHex: `0x${string}` | null;
746
+ v: bigint;
747
+ value: bigint;
748
+ gasPrice?: undefined;
749
+ maxFeePerGas: bigint;
750
+ maxPriorityFeePerGas: bigint;
751
+ accessList: import("../../index.js").AccessList;
752
+ chainId: number;
753
+ type: "eip1559";
754
+ l1BatchNumber: bigint | null;
755
+ l1BatchTxIndex: bigint | null;
756
+ } | {
757
+ blockHash: `0x${string}` | null;
758
+ blockNumber: bigint | null;
759
+ from: `0x${string}`;
760
+ gas: bigint;
761
+ hash: `0x${string}`;
762
+ input: `0x${string}`;
763
+ nonce: number;
764
+ r: `0x${string}`;
765
+ s: `0x${string}`;
766
+ to: `0x${string}` | null;
767
+ transactionIndex: number | null;
768
+ typeHex: `0x${string}` | null;
769
+ v: bigint;
770
+ value: bigint;
771
+ gasPrice?: undefined;
772
+ maxFeePerGas: bigint;
773
+ maxPriorityFeePerGas: bigint;
774
+ accessList: import("../../index.js").AccessList;
775
+ chainId: number;
776
+ type: "priority";
777
+ l1BatchNumber: bigint | null;
778
+ l1BatchTxIndex: bigint | null;
779
+ } | {
780
+ blockHash: `0x${string}` | null;
781
+ blockNumber: bigint | null;
782
+ from: `0x${string}`;
783
+ gas: bigint;
784
+ hash: `0x${string}`;
785
+ input: `0x${string}`;
786
+ nonce: number;
787
+ r: `0x${string}`;
788
+ s: `0x${string}`;
789
+ to: `0x${string}` | null;
790
+ transactionIndex: number | null;
791
+ typeHex: `0x${string}` | null;
792
+ v: bigint;
793
+ value: bigint;
794
+ gasPrice?: undefined;
795
+ maxFeePerGas: bigint;
796
+ maxPriorityFeePerGas: bigint;
797
+ accessList: import("../../index.js").AccessList;
798
+ chainId: number;
799
+ type: "priority" | "eip712";
800
+ l1BatchNumber: bigint | null;
801
+ l1BatchTxIndex: bigint | null;
802
+ }) & {};
803
+ type: "transaction";
804
+ };
805
+ readonly transactionReceipt: {
806
+ exclude: [] | undefined;
807
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").ZkSyncRpcTransactionReceiptOverrides>) => {
808
+ blockHash: `0x${string}`;
809
+ blockNumber: bigint;
810
+ contractAddress: `0x${string}` | null;
811
+ cumulativeGasUsed: bigint;
812
+ effectiveGasPrice: bigint;
813
+ from: `0x${string}`;
814
+ gasUsed: bigint;
815
+ logs: import("../utils.js").ZkSyncLog<bigint, number, boolean, undefined, undefined, undefined, undefined>[];
816
+ logsBloom: `0x${string}`;
817
+ status: "success" | "reverted";
818
+ to: `0x${string}` | null;
819
+ transactionHash: `0x${string}`;
820
+ transactionIndex: number;
821
+ type: import("../utils.js").ZkSyncTransactionType;
822
+ l1BatchNumber: bigint | null;
823
+ l1BatchTxIndex: bigint | null;
824
+ l2ToL1Logs: import("../utils.js").ZkSyncL2ToL1Log[];
825
+ } & {};
826
+ type: "transactionReceipt";
827
+ };
828
+ readonly transactionRequest: {
829
+ exclude: ("customSignature" | "factoryDeps" | "gasPerPubdata" | "paymaster" | "paymasterInput")[] | undefined;
830
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").ZkSyncTransactionRequest>) => ({
831
+ data?: `0x${string}` | undefined;
832
+ from: `0x${string}`;
833
+ gas?: `0x${string}` | undefined;
834
+ nonce?: `0x${string}` | undefined;
835
+ to?: `0x${string}` | null | undefined;
836
+ value?: `0x${string}` | undefined;
837
+ gasPrice?: `0x${string}` | undefined;
838
+ maxFeePerGas?: undefined;
839
+ maxPriorityFeePerGas?: undefined;
840
+ accessList?: undefined;
841
+ type?: "0x0" | undefined;
842
+ eip712Meta?: undefined;
843
+ } | {
844
+ data?: `0x${string}` | undefined;
845
+ from: `0x${string}`;
846
+ gas?: `0x${string}` | undefined;
847
+ nonce?: `0x${string}` | undefined;
848
+ to?: `0x${string}` | null | undefined;
849
+ value?: `0x${string}` | undefined;
850
+ gasPrice?: `0x${string}` | undefined;
851
+ maxFeePerGas?: undefined;
852
+ maxPriorityFeePerGas?: undefined;
853
+ accessList?: undefined;
854
+ type?: "0x1" | undefined;
855
+ eip712Meta?: undefined;
856
+ } | {
857
+ data?: `0x${string}` | undefined;
858
+ from: `0x${string}`;
859
+ gas?: `0x${string}` | undefined;
860
+ nonce?: `0x${string}` | undefined;
861
+ to?: `0x${string}` | null | undefined;
862
+ value?: `0x${string}` | undefined;
863
+ gasPrice?: undefined;
864
+ maxFeePerGas?: `0x${string}` | undefined;
865
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
866
+ accessList?: undefined;
867
+ type?: "0x2" | undefined;
868
+ eip712Meta?: undefined;
869
+ } | {
870
+ data?: `0x${string}` | undefined;
871
+ from: `0x${string}`;
872
+ gas?: `0x${string}` | undefined;
873
+ nonce?: `0x${string}` | undefined;
874
+ to?: `0x${string}` | null | undefined;
875
+ value?: `0x${string}` | undefined;
876
+ gasPrice?: undefined;
877
+ maxFeePerGas?: `0x${string}` | undefined;
878
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
879
+ accessList?: undefined;
880
+ type: "0xff" | "0x71";
881
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
882
+ } | {
883
+ data?: `0x${string}` | undefined;
884
+ from: `0x${string}`;
885
+ gas?: `0x${string}` | undefined;
886
+ nonce?: `0x${string}` | undefined;
887
+ to?: `0x${string}` | null | undefined;
888
+ value?: `0x${string}` | undefined;
889
+ gasPrice?: `0x${string}` | undefined;
890
+ maxFeePerGas?: undefined;
891
+ maxPriorityFeePerGas?: undefined;
892
+ accessList?: undefined;
893
+ type?: "0x0" | undefined;
894
+ eip712Meta?: undefined;
895
+ } | {
896
+ data?: `0x${string}` | undefined;
897
+ from: `0x${string}`;
898
+ gas?: `0x${string}` | undefined;
899
+ nonce?: `0x${string}` | undefined;
900
+ to?: `0x${string}` | null | undefined;
901
+ value?: `0x${string}` | undefined;
902
+ gasPrice?: `0x${string}` | undefined;
903
+ maxFeePerGas?: undefined;
904
+ maxPriorityFeePerGas?: undefined;
905
+ accessList?: import("../../index.js").AccessList | undefined;
906
+ type?: "0x1" | undefined;
907
+ eip712Meta?: undefined;
908
+ } | {
909
+ data?: `0x${string}` | undefined;
910
+ from: `0x${string}`;
911
+ gas?: `0x${string}` | undefined;
912
+ nonce?: `0x${string}` | undefined;
913
+ to?: `0x${string}` | null | undefined;
914
+ value?: `0x${string}` | undefined;
915
+ gasPrice?: undefined;
916
+ maxFeePerGas?: `0x${string}` | undefined;
917
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
918
+ accessList?: import("../../index.js").AccessList | undefined;
919
+ type?: "0x2" | undefined;
920
+ eip712Meta?: undefined;
921
+ } | {
922
+ data?: `0x${string}` | undefined;
923
+ from: `0x${string}`;
924
+ gas?: `0x${string}` | undefined;
925
+ nonce?: `0x${string}` | undefined;
926
+ to?: `0x${string}` | null | undefined;
927
+ value?: `0x${string}` | undefined;
928
+ gasPrice?: undefined;
929
+ maxFeePerGas?: `0x${string}` | undefined;
930
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
931
+ accessList?: import("../../index.js").AccessList | undefined;
932
+ type: "0xff" | "0x71";
933
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
934
+ } | {
935
+ data?: `0x${string}` | undefined;
936
+ from: `0x${string}`;
937
+ gas?: `0x${string}` | undefined;
938
+ nonce?: `0x${string}` | undefined;
939
+ to?: `0x${string}` | null | undefined;
940
+ value?: `0x${string}` | undefined;
941
+ gasPrice?: `0x${string}` | undefined;
942
+ maxFeePerGas?: undefined;
943
+ maxPriorityFeePerGas?: undefined;
944
+ accessList?: undefined;
945
+ type?: "0x0" | undefined;
946
+ eip712Meta?: undefined;
947
+ } | {
948
+ data?: `0x${string}` | undefined;
949
+ from: `0x${string}`;
950
+ gas?: `0x${string}` | undefined;
951
+ nonce?: `0x${string}` | undefined;
952
+ to?: `0x${string}` | null | undefined;
953
+ value?: `0x${string}` | undefined;
954
+ gasPrice?: `0x${string}` | undefined;
955
+ maxFeePerGas?: undefined;
956
+ maxPriorityFeePerGas?: undefined;
957
+ accessList?: import("../../index.js").AccessList | undefined;
958
+ type?: "0x1" | undefined;
959
+ eip712Meta?: undefined;
960
+ } | {
961
+ data?: `0x${string}` | undefined;
962
+ from: `0x${string}`;
963
+ gas?: `0x${string}` | undefined;
964
+ nonce?: `0x${string}` | undefined;
965
+ to?: `0x${string}` | null | undefined;
966
+ value?: `0x${string}` | undefined;
967
+ gasPrice?: undefined;
968
+ maxFeePerGas?: `0x${string}` | undefined;
969
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
970
+ accessList?: import("../../index.js").AccessList | undefined;
971
+ type?: "0x2" | undefined;
972
+ eip712Meta?: undefined;
973
+ } | {
974
+ data?: `0x${string}` | undefined;
975
+ from: `0x${string}`;
976
+ gas?: `0x${string}` | undefined;
977
+ nonce?: `0x${string}` | undefined;
978
+ to?: `0x${string}` | null | undefined;
979
+ value?: `0x${string}` | undefined;
980
+ gasPrice?: undefined;
981
+ maxFeePerGas?: `0x${string}` | undefined;
982
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
983
+ accessList?: import("../../index.js").AccessList | undefined;
984
+ type: "0xff" | "0x71";
985
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
986
+ }) & {
987
+ customSignature: never;
988
+ factoryDeps: never;
989
+ gasPerPubdata: never;
990
+ paymaster: never;
991
+ paymasterInput: never;
992
+ };
993
+ type: "transactionRequest";
994
+ };
995
+ }> | undefined;
996
+ fees?: import("../../index.js").ChainFees<{
997
+ readonly block: {
998
+ exclude: [] | undefined;
999
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").ZkSyncRpcBlockOverrides & {
1000
+ transactions: `0x${string}`[] | import("../utils.js").ZkSyncRpcTransaction[];
1001
+ }>) => {
1002
+ baseFeePerGas: bigint | null;
1003
+ difficulty: bigint;
1004
+ extraData: `0x${string}`;
1005
+ gasLimit: bigint;
1006
+ gasUsed: bigint;
1007
+ hash: `0x${string}` | null;
1008
+ logsBloom: `0x${string}` | null;
1009
+ miner: `0x${string}`;
1010
+ mixHash: `0x${string}`;
1011
+ nonce: `0x${string}` | null;
1012
+ number: bigint | null;
1013
+ parentHash: `0x${string}`;
1014
+ receiptsRoot: `0x${string}`;
1015
+ sealFields: `0x${string}`[];
1016
+ sha3Uncles: `0x${string}`;
1017
+ size: bigint;
1018
+ stateRoot: `0x${string}`;
1019
+ timestamp: bigint;
1020
+ totalDifficulty: bigint | null;
1021
+ transactions: `0x${string}`[] | import("../utils.js").ZkSyncTransaction[];
1022
+ transactionsRoot: `0x${string}`;
1023
+ uncles: `0x${string}`[];
1024
+ withdrawals?: import("../../index.js").Withdrawal[] | undefined;
1025
+ withdrawalsRoot?: `0x${string}` | undefined;
1026
+ l1BatchNumber: bigint | null;
1027
+ l1BatchTimestamp: bigint | null;
1028
+ } & {};
1029
+ type: "block";
1030
+ };
1031
+ readonly transaction: {
1032
+ exclude: [] | undefined;
1033
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../utils.js").ZkSyncRpcTransaction>) => ({
1034
+ blockHash: `0x${string}` | null;
1035
+ blockNumber: bigint | null;
1036
+ from: `0x${string}`;
1037
+ gas: bigint;
1038
+ hash: `0x${string}`;
1039
+ input: `0x${string}`;
1040
+ nonce: number;
1041
+ r: `0x${string}`;
1042
+ s: `0x${string}`;
1043
+ to: `0x${string}` | null;
1044
+ transactionIndex: number | null;
1045
+ typeHex: `0x${string}` | null;
1046
+ v: bigint;
1047
+ value: bigint;
1048
+ gasPrice: bigint;
1049
+ maxFeePerGas?: undefined;
1050
+ maxPriorityFeePerGas?: undefined;
1051
+ accessList?: undefined;
1052
+ chainId?: number | undefined;
1053
+ type: "legacy";
1054
+ l1BatchNumber: bigint | null;
1055
+ l1BatchTxIndex: bigint | null;
1056
+ } | {
1057
+ blockHash: `0x${string}` | null;
1058
+ blockNumber: bigint | null;
1059
+ from: `0x${string}`;
1060
+ gas: bigint;
1061
+ hash: `0x${string}`;
1062
+ input: `0x${string}`;
1063
+ nonce: number;
1064
+ r: `0x${string}`;
1065
+ s: `0x${string}`;
1066
+ to: `0x${string}` | null;
1067
+ transactionIndex: number | null;
1068
+ typeHex: `0x${string}` | null;
1069
+ v: bigint;
1070
+ value: bigint;
1071
+ gasPrice: undefined;
1072
+ maxFeePerGas: bigint;
1073
+ maxPriorityFeePerGas: bigint;
1074
+ accessList?: undefined;
1075
+ chainId?: number | undefined;
1076
+ type: "priority";
1077
+ l1BatchNumber: bigint | null;
1078
+ l1BatchTxIndex: bigint | null;
1079
+ } | {
1080
+ blockHash: `0x${string}` | null;
1081
+ blockNumber: bigint | null;
1082
+ from: `0x${string}`;
1083
+ gas: bigint;
1084
+ hash: `0x${string}`;
1085
+ input: `0x${string}`;
1086
+ nonce: number;
1087
+ r: `0x${string}`;
1088
+ s: `0x${string}`;
1089
+ to: `0x${string}` | null;
1090
+ transactionIndex: number | null;
1091
+ typeHex: `0x${string}` | null;
1092
+ v: bigint;
1093
+ value: bigint;
1094
+ gasPrice: undefined;
1095
+ maxFeePerGas: bigint;
1096
+ maxPriorityFeePerGas: bigint;
1097
+ accessList?: undefined;
1098
+ chainId?: number | undefined;
1099
+ type: "priority" | "eip712";
1100
+ l1BatchNumber: bigint | null;
1101
+ l1BatchTxIndex: bigint | null;
1102
+ } | {
1103
+ blockHash: `0x${string}` | null;
1104
+ blockNumber: bigint | null;
1105
+ from: `0x${string}`;
1106
+ gas: bigint;
1107
+ hash: `0x${string}`;
1108
+ input: `0x${string}`;
1109
+ nonce: number;
1110
+ r: `0x${string}`;
1111
+ s: `0x${string}`;
1112
+ to: `0x${string}` | null;
1113
+ transactionIndex: number | null;
1114
+ typeHex: `0x${string}` | null;
1115
+ v: bigint;
1116
+ value: bigint;
1117
+ gasPrice: bigint;
1118
+ maxFeePerGas?: undefined;
1119
+ maxPriorityFeePerGas?: undefined;
1120
+ accessList: import("../../index.js").AccessList;
1121
+ chainId: number;
1122
+ type: "eip2930";
1123
+ l1BatchNumber: bigint | null;
1124
+ l1BatchTxIndex: bigint | null;
1125
+ } | {
1126
+ blockHash: `0x${string}` | null;
1127
+ blockNumber: bigint | null;
1128
+ from: `0x${string}`;
1129
+ gas: bigint;
1130
+ hash: `0x${string}`;
1131
+ input: `0x${string}`;
1132
+ nonce: number;
1133
+ r: `0x${string}`;
1134
+ s: `0x${string}`;
1135
+ to: `0x${string}` | null;
1136
+ transactionIndex: number | null;
1137
+ typeHex: `0x${string}` | null;
1138
+ v: bigint;
1139
+ value: bigint;
1140
+ gasPrice: undefined;
1141
+ maxFeePerGas: bigint;
1142
+ maxPriorityFeePerGas: bigint;
1143
+ accessList: import("../../index.js").AccessList;
1144
+ chainId: number;
1145
+ type: "eip1559";
1146
+ l1BatchNumber: bigint | null;
1147
+ l1BatchTxIndex: bigint | null;
1148
+ } | {
1149
+ blockHash: `0x${string}` | null;
1150
+ blockNumber: bigint | null;
1151
+ from: `0x${string}`;
1152
+ gas: bigint;
1153
+ hash: `0x${string}`;
1154
+ input: `0x${string}`;
1155
+ nonce: number;
1156
+ r: `0x${string}`;
1157
+ s: `0x${string}`;
1158
+ to: `0x${string}` | null;
1159
+ transactionIndex: number | null;
1160
+ typeHex: `0x${string}` | null;
1161
+ v: bigint;
1162
+ value: bigint;
1163
+ gasPrice: undefined;
1164
+ maxFeePerGas: bigint;
1165
+ maxPriorityFeePerGas: bigint;
1166
+ accessList: import("../../index.js").AccessList;
1167
+ chainId: number;
1168
+ type: "priority";
1169
+ l1BatchNumber: bigint | null;
1170
+ l1BatchTxIndex: bigint | null;
1171
+ } | {
1172
+ blockHash: `0x${string}` | null;
1173
+ blockNumber: bigint | null;
1174
+ from: `0x${string}`;
1175
+ gas: bigint;
1176
+ hash: `0x${string}`;
1177
+ input: `0x${string}`;
1178
+ nonce: number;
1179
+ r: `0x${string}`;
1180
+ s: `0x${string}`;
1181
+ to: `0x${string}` | null;
1182
+ transactionIndex: number | null;
1183
+ typeHex: `0x${string}` | null;
1184
+ v: bigint;
1185
+ value: bigint;
1186
+ gasPrice: undefined;
1187
+ maxFeePerGas: bigint;
1188
+ maxPriorityFeePerGas: bigint;
1189
+ accessList: import("../../index.js").AccessList;
1190
+ chainId: number;
1191
+ type: "priority" | "eip712";
1192
+ l1BatchNumber: bigint | null;
1193
+ l1BatchTxIndex: bigint | null;
1194
+ } | {
1195
+ blockHash: `0x${string}` | null;
1196
+ blockNumber: bigint | null;
1197
+ from: `0x${string}`;
1198
+ gas: bigint;
1199
+ hash: `0x${string}`;
1200
+ input: `0x${string}`;
1201
+ nonce: number;
1202
+ r: `0x${string}`;
1203
+ s: `0x${string}`;
1204
+ to: `0x${string}` | null;
1205
+ transactionIndex: number | null;
1206
+ typeHex: `0x${string}` | null;
1207
+ v: bigint;
1208
+ value: bigint;
1209
+ gasPrice: bigint;
1210
+ maxFeePerGas: undefined;
1211
+ maxPriorityFeePerGas: undefined;
1212
+ accessList: import("../../index.js").AccessList;
1213
+ chainId: number;
1214
+ type: "eip2930";
1215
+ l1BatchNumber: bigint | null;
1216
+ l1BatchTxIndex: bigint | null;
1217
+ } | {
1218
+ blockHash: `0x${string}` | null;
1219
+ blockNumber: bigint | null;
1220
+ from: `0x${string}`;
1221
+ gas: bigint;
1222
+ hash: `0x${string}`;
1223
+ input: `0x${string}`;
1224
+ nonce: number;
1225
+ r: `0x${string}`;
1226
+ s: `0x${string}`;
1227
+ to: `0x${string}` | null;
1228
+ transactionIndex: number | null;
1229
+ typeHex: `0x${string}` | null;
1230
+ v: bigint;
1231
+ value: bigint;
1232
+ gasPrice?: undefined;
1233
+ maxFeePerGas: bigint;
1234
+ maxPriorityFeePerGas: bigint;
1235
+ accessList: import("../../index.js").AccessList;
1236
+ chainId: number;
1237
+ type: "eip1559";
1238
+ l1BatchNumber: bigint | null;
1239
+ l1BatchTxIndex: bigint | null;
1240
+ } | {
1241
+ blockHash: `0x${string}` | null;
1242
+ blockNumber: bigint | null;
1243
+ from: `0x${string}`;
1244
+ gas: bigint;
1245
+ hash: `0x${string}`;
1246
+ input: `0x${string}`;
1247
+ nonce: number;
1248
+ r: `0x${string}`;
1249
+ s: `0x${string}`;
1250
+ to: `0x${string}` | null;
1251
+ transactionIndex: number | null;
1252
+ typeHex: `0x${string}` | null;
1253
+ v: bigint;
1254
+ value: bigint;
1255
+ gasPrice?: undefined;
1256
+ maxFeePerGas: bigint;
1257
+ maxPriorityFeePerGas: bigint;
1258
+ accessList: import("../../index.js").AccessList;
1259
+ chainId: number;
1260
+ type: "priority";
1261
+ l1BatchNumber: bigint | null;
1262
+ l1BatchTxIndex: bigint | null;
1263
+ } | {
1264
+ blockHash: `0x${string}` | null;
1265
+ blockNumber: bigint | null;
1266
+ from: `0x${string}`;
1267
+ gas: bigint;
1268
+ hash: `0x${string}`;
1269
+ input: `0x${string}`;
1270
+ nonce: number;
1271
+ r: `0x${string}`;
1272
+ s: `0x${string}`;
1273
+ to: `0x${string}` | null;
1274
+ transactionIndex: number | null;
1275
+ typeHex: `0x${string}` | null;
1276
+ v: bigint;
1277
+ value: bigint;
1278
+ gasPrice?: undefined;
1279
+ maxFeePerGas: bigint;
1280
+ maxPriorityFeePerGas: bigint;
1281
+ accessList: import("../../index.js").AccessList;
1282
+ chainId: number;
1283
+ type: "priority" | "eip712";
1284
+ l1BatchNumber: bigint | null;
1285
+ l1BatchTxIndex: bigint | null;
1286
+ }) & {};
1287
+ type: "transaction";
1288
+ };
1289
+ readonly transactionReceipt: {
1290
+ exclude: [] | undefined;
1291
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").ZkSyncRpcTransactionReceiptOverrides>) => {
1292
+ blockHash: `0x${string}`;
1293
+ blockNumber: bigint;
1294
+ contractAddress: `0x${string}` | null;
1295
+ cumulativeGasUsed: bigint;
1296
+ effectiveGasPrice: bigint;
1297
+ from: `0x${string}`;
1298
+ gasUsed: bigint;
1299
+ logs: import("../utils.js").ZkSyncLog<bigint, number, boolean, undefined, undefined, undefined, undefined>[];
1300
+ logsBloom: `0x${string}`;
1301
+ status: "success" | "reverted";
1302
+ to: `0x${string}` | null;
1303
+ transactionHash: `0x${string}`;
1304
+ transactionIndex: number;
1305
+ type: import("../utils.js").ZkSyncTransactionType;
1306
+ l1BatchNumber: bigint | null;
1307
+ l1BatchTxIndex: bigint | null;
1308
+ l2ToL1Logs: import("../utils.js").ZkSyncL2ToL1Log[];
1309
+ } & {};
1310
+ type: "transactionReceipt";
1311
+ };
1312
+ readonly transactionRequest: {
1313
+ exclude: ("customSignature" | "factoryDeps" | "gasPerPubdata" | "paymaster" | "paymasterInput")[] | undefined;
1314
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").ZkSyncTransactionRequest>) => ({
1315
+ data?: `0x${string}` | undefined;
1316
+ from: `0x${string}`;
1317
+ gas?: `0x${string}` | undefined;
1318
+ nonce?: `0x${string}` | undefined;
1319
+ to?: `0x${string}` | null | undefined;
1320
+ value?: `0x${string}` | undefined;
1321
+ gasPrice?: `0x${string}` | undefined;
1322
+ maxFeePerGas?: undefined;
1323
+ maxPriorityFeePerGas?: undefined;
1324
+ accessList?: undefined;
1325
+ type?: "0x0" | undefined;
1326
+ eip712Meta?: undefined;
1327
+ } | {
1328
+ data?: `0x${string}` | undefined;
1329
+ from: `0x${string}`;
1330
+ gas?: `0x${string}` | undefined;
1331
+ nonce?: `0x${string}` | undefined;
1332
+ to?: `0x${string}` | null | undefined;
1333
+ value?: `0x${string}` | undefined;
1334
+ gasPrice?: `0x${string}` | undefined;
1335
+ maxFeePerGas?: undefined;
1336
+ maxPriorityFeePerGas?: undefined;
1337
+ accessList?: undefined;
1338
+ type?: "0x1" | undefined;
1339
+ eip712Meta?: undefined;
1340
+ } | {
1341
+ data?: `0x${string}` | undefined;
1342
+ from: `0x${string}`;
1343
+ gas?: `0x${string}` | undefined;
1344
+ nonce?: `0x${string}` | undefined;
1345
+ to?: `0x${string}` | null | undefined;
1346
+ value?: `0x${string}` | undefined;
1347
+ gasPrice?: undefined;
1348
+ maxFeePerGas?: `0x${string}` | undefined;
1349
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1350
+ accessList?: undefined;
1351
+ type?: "0x2" | undefined;
1352
+ eip712Meta?: undefined;
1353
+ } | {
1354
+ data?: `0x${string}` | undefined;
1355
+ from: `0x${string}`;
1356
+ gas?: `0x${string}` | undefined;
1357
+ nonce?: `0x${string}` | undefined;
1358
+ to?: `0x${string}` | null | undefined;
1359
+ value?: `0x${string}` | undefined;
1360
+ gasPrice?: undefined;
1361
+ maxFeePerGas?: `0x${string}` | undefined;
1362
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1363
+ accessList?: undefined;
1364
+ type: "0xff" | "0x71";
1365
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
1366
+ } | {
1367
+ data?: `0x${string}` | undefined;
1368
+ from: `0x${string}`;
1369
+ gas?: `0x${string}` | undefined;
1370
+ nonce?: `0x${string}` | undefined;
1371
+ to?: `0x${string}` | null | undefined;
1372
+ value?: `0x${string}` | undefined;
1373
+ gasPrice?: `0x${string}` | undefined;
1374
+ maxFeePerGas?: undefined;
1375
+ maxPriorityFeePerGas?: undefined;
1376
+ accessList?: undefined;
1377
+ type?: "0x0" | undefined;
1378
+ eip712Meta?: undefined;
1379
+ } | {
1380
+ data?: `0x${string}` | undefined;
1381
+ from: `0x${string}`;
1382
+ gas?: `0x${string}` | undefined;
1383
+ nonce?: `0x${string}` | undefined;
1384
+ to?: `0x${string}` | null | undefined;
1385
+ value?: `0x${string}` | undefined;
1386
+ gasPrice?: `0x${string}` | undefined;
1387
+ maxFeePerGas?: undefined;
1388
+ maxPriorityFeePerGas?: undefined;
1389
+ accessList?: import("../../index.js").AccessList | undefined;
1390
+ type?: "0x1" | undefined;
1391
+ eip712Meta?: undefined;
1392
+ } | {
1393
+ data?: `0x${string}` | undefined;
1394
+ from: `0x${string}`;
1395
+ gas?: `0x${string}` | undefined;
1396
+ nonce?: `0x${string}` | undefined;
1397
+ to?: `0x${string}` | null | undefined;
1398
+ value?: `0x${string}` | undefined;
1399
+ gasPrice?: undefined;
1400
+ maxFeePerGas?: `0x${string}` | undefined;
1401
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1402
+ accessList?: import("../../index.js").AccessList | undefined;
1403
+ type?: "0x2" | undefined;
1404
+ eip712Meta?: undefined;
1405
+ } | {
1406
+ data?: `0x${string}` | undefined;
1407
+ from: `0x${string}`;
1408
+ gas?: `0x${string}` | undefined;
1409
+ nonce?: `0x${string}` | undefined;
1410
+ to?: `0x${string}` | null | undefined;
1411
+ value?: `0x${string}` | undefined;
1412
+ gasPrice?: undefined;
1413
+ maxFeePerGas?: `0x${string}` | undefined;
1414
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1415
+ accessList?: import("../../index.js").AccessList | undefined;
1416
+ type: "0xff" | "0x71";
1417
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
1418
+ } | {
1419
+ data?: `0x${string}` | undefined;
1420
+ from: `0x${string}`;
1421
+ gas?: `0x${string}` | undefined;
1422
+ nonce?: `0x${string}` | undefined;
1423
+ to?: `0x${string}` | null | undefined;
1424
+ value?: `0x${string}` | undefined;
1425
+ gasPrice?: `0x${string}` | undefined;
1426
+ maxFeePerGas?: undefined;
1427
+ maxPriorityFeePerGas?: undefined;
1428
+ accessList?: undefined;
1429
+ type?: "0x0" | undefined;
1430
+ eip712Meta?: undefined;
1431
+ } | {
1432
+ data?: `0x${string}` | undefined;
1433
+ from: `0x${string}`;
1434
+ gas?: `0x${string}` | undefined;
1435
+ nonce?: `0x${string}` | undefined;
1436
+ to?: `0x${string}` | null | undefined;
1437
+ value?: `0x${string}` | undefined;
1438
+ gasPrice?: `0x${string}` | undefined;
1439
+ maxFeePerGas?: undefined;
1440
+ maxPriorityFeePerGas?: undefined;
1441
+ accessList?: import("../../index.js").AccessList | undefined;
1442
+ type?: "0x1" | undefined;
1443
+ eip712Meta?: undefined;
1444
+ } | {
1445
+ data?: `0x${string}` | undefined;
1446
+ from: `0x${string}`;
1447
+ gas?: `0x${string}` | undefined;
1448
+ nonce?: `0x${string}` | undefined;
1449
+ to?: `0x${string}` | null | undefined;
1450
+ value?: `0x${string}` | undefined;
1451
+ gasPrice?: undefined;
1452
+ maxFeePerGas?: `0x${string}` | undefined;
1453
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1454
+ accessList?: import("../../index.js").AccessList | undefined;
1455
+ type?: "0x2" | undefined;
1456
+ eip712Meta?: undefined;
1457
+ } | {
1458
+ data?: `0x${string}` | undefined;
1459
+ from: `0x${string}`;
1460
+ gas?: `0x${string}` | undefined;
1461
+ nonce?: `0x${string}` | undefined;
1462
+ to?: `0x${string}` | null | undefined;
1463
+ value?: `0x${string}` | undefined;
1464
+ gasPrice?: undefined;
1465
+ maxFeePerGas?: `0x${string}` | undefined;
1466
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1467
+ accessList?: import("../../index.js").AccessList | undefined;
1468
+ type: "0xff" | "0x71";
1469
+ eip712Meta: import("../utils.js").ZkSyncEip712Meta;
1470
+ }) & {
1471
+ customSignature: never;
1472
+ factoryDeps: never;
1473
+ gasPerPubdata: never;
1474
+ paymaster: never;
1475
+ paymasterInput: never;
1476
+ };
1477
+ type: "transactionRequest";
1478
+ };
1479
+ }> | undefined;
1480
+ };
512
1481
  //# sourceMappingURL=zkSyncTestnet.d.ts.map