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