viem 2.0.0-rc.0 → 2.0.0-rc.1

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 (259) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/_cjs/actions/public/getFilterChanges.js +3 -2
  3. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  4. package/_cjs/actions/public/getFilterLogs.js +3 -2
  5. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  6. package/_cjs/actions/public/getLogs.js +3 -2
  7. package/_cjs/actions/public/getLogs.js.map +1 -1
  8. package/_cjs/actions/public/verifyTypedData.js +2 -1
  9. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  10. package/_cjs/chains/celo/formatters.js +0 -10
  11. package/_cjs/chains/celo/formatters.js.map +1 -1
  12. package/_cjs/chains/definitions/astar.js +0 -1
  13. package/_cjs/chains/definitions/astar.js.map +1 -1
  14. package/_cjs/chains/definitions/astarZkatana.js +0 -6
  15. package/_cjs/chains/definitions/astarZkatana.js.map +1 -1
  16. package/_cjs/chains/definitions/baseSepolia.js +0 -3
  17. package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
  18. package/_cjs/chains/definitions/bscTestnet.js +0 -1
  19. package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
  20. package/_cjs/chains/definitions/confluxESpaceTestnet.js +0 -4
  21. package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -1
  22. package/_cjs/chains/definitions/fantomSonicTestnet.js +0 -1
  23. package/_cjs/chains/definitions/fantomSonicTestnet.js.map +1 -1
  24. package/_cjs/chains/definitions/kava.js +0 -1
  25. package/_cjs/chains/definitions/kava.js.map +1 -1
  26. package/_cjs/chains/definitions/kavaTestnet.js +0 -1
  27. package/_cjs/chains/definitions/kavaTestnet.js.map +1 -1
  28. package/_cjs/chains/definitions/klaytnBaobab.js +0 -1
  29. package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -1
  30. package/_cjs/chains/definitions/lukso.js +0 -4
  31. package/_cjs/chains/definitions/lukso.js.map +1 -1
  32. package/_cjs/chains/definitions/manta.js +0 -1
  33. package/_cjs/chains/definitions/manta.js.map +1 -1
  34. package/_cjs/chains/definitions/mantaTestnet.js +0 -1
  35. package/_cjs/chains/definitions/mantaTestnet.js.map +1 -1
  36. package/_cjs/chains/definitions/neonMainnet.js +0 -3
  37. package/_cjs/chains/definitions/neonMainnet.js.map +1 -1
  38. package/_cjs/chains/definitions/pgn.js +0 -3
  39. package/_cjs/chains/definitions/pgn.js.map +1 -1
  40. package/_cjs/chains/definitions/pgnTestnet.js +0 -3
  41. package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
  42. package/_cjs/chains/definitions/rootstock.js +0 -1
  43. package/_cjs/chains/definitions/rootstock.js.map +1 -1
  44. package/_cjs/chains/definitions/sapphire.js +0 -4
  45. package/_cjs/chains/definitions/sapphire.js.map +1 -1
  46. package/_cjs/chains/definitions/sapphireTestnet.js +0 -4
  47. package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -1
  48. package/_cjs/chains/definitions/shibarium.js +0 -3
  49. package/_cjs/chains/definitions/shibarium.js.map +1 -1
  50. package/_cjs/chains/definitions/shimmer.js +0 -3
  51. package/_cjs/chains/definitions/shimmer.js.map +1 -1
  52. package/_cjs/chains/definitions/shimmerTestnet.js +0 -3
  53. package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -1
  54. package/_cjs/chains/definitions/taikoJolnir.js +2 -2
  55. package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
  56. package/_cjs/chains/definitions/tenet.js +0 -1
  57. package/_cjs/chains/definitions/tenet.js.map +1 -1
  58. package/_cjs/chains/definitions/zilliqa.js +0 -3
  59. package/_cjs/chains/definitions/zilliqa.js.map +1 -1
  60. package/_cjs/chains/definitions/zilliqaTestnet.js +0 -3
  61. package/_cjs/chains/definitions/zilliqaTestnet.js.map +1 -1
  62. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
  63. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
  64. package/_cjs/chains/definitions/zkSyncTestnet.js +0 -4
  65. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  66. package/_cjs/chains/definitions/zoraSepolia.js +0 -4
  67. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
  68. package/_cjs/errors/version.js +1 -1
  69. package/_esm/actions/public/getFilterChanges.js +3 -2
  70. package/_esm/actions/public/getFilterChanges.js.map +1 -1
  71. package/_esm/actions/public/getFilterLogs.js +3 -2
  72. package/_esm/actions/public/getFilterLogs.js.map +1 -1
  73. package/_esm/actions/public/getLogs.js +3 -2
  74. package/_esm/actions/public/getLogs.js.map +1 -1
  75. package/_esm/actions/public/verifyTypedData.js +2 -1
  76. package/_esm/actions/public/verifyTypedData.js.map +1 -1
  77. package/_esm/chains/celo/formatters.js +0 -10
  78. package/_esm/chains/celo/formatters.js.map +1 -1
  79. package/_esm/chains/definitions/astar.js +0 -1
  80. package/_esm/chains/definitions/astar.js.map +1 -1
  81. package/_esm/chains/definitions/astarZkatana.js +0 -6
  82. package/_esm/chains/definitions/astarZkatana.js.map +1 -1
  83. package/_esm/chains/definitions/baseSepolia.js +0 -3
  84. package/_esm/chains/definitions/baseSepolia.js.map +1 -1
  85. package/_esm/chains/definitions/bscTestnet.js +0 -1
  86. package/_esm/chains/definitions/bscTestnet.js.map +1 -1
  87. package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -4
  88. package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -1
  89. package/_esm/chains/definitions/fantomSonicTestnet.js +0 -1
  90. package/_esm/chains/definitions/fantomSonicTestnet.js.map +1 -1
  91. package/_esm/chains/definitions/kava.js +0 -1
  92. package/_esm/chains/definitions/kava.js.map +1 -1
  93. package/_esm/chains/definitions/kavaTestnet.js +0 -1
  94. package/_esm/chains/definitions/kavaTestnet.js.map +1 -1
  95. package/_esm/chains/definitions/klaytnBaobab.js +0 -1
  96. package/_esm/chains/definitions/klaytnBaobab.js.map +1 -1
  97. package/_esm/chains/definitions/lukso.js +0 -4
  98. package/_esm/chains/definitions/lukso.js.map +1 -1
  99. package/_esm/chains/definitions/manta.js +0 -1
  100. package/_esm/chains/definitions/manta.js.map +1 -1
  101. package/_esm/chains/definitions/mantaTestnet.js +0 -1
  102. package/_esm/chains/definitions/mantaTestnet.js.map +1 -1
  103. package/_esm/chains/definitions/neonMainnet.js +0 -3
  104. package/_esm/chains/definitions/neonMainnet.js.map +1 -1
  105. package/_esm/chains/definitions/pgn.js +0 -3
  106. package/_esm/chains/definitions/pgn.js.map +1 -1
  107. package/_esm/chains/definitions/pgnTestnet.js +0 -3
  108. package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
  109. package/_esm/chains/definitions/rootstock.js +0 -1
  110. package/_esm/chains/definitions/rootstock.js.map +1 -1
  111. package/_esm/chains/definitions/sapphire.js +0 -4
  112. package/_esm/chains/definitions/sapphire.js.map +1 -1
  113. package/_esm/chains/definitions/sapphireTestnet.js +0 -4
  114. package/_esm/chains/definitions/sapphireTestnet.js.map +1 -1
  115. package/_esm/chains/definitions/shibarium.js +0 -3
  116. package/_esm/chains/definitions/shibarium.js.map +1 -1
  117. package/_esm/chains/definitions/shimmer.js +0 -3
  118. package/_esm/chains/definitions/shimmer.js.map +1 -1
  119. package/_esm/chains/definitions/shimmerTestnet.js +0 -3
  120. package/_esm/chains/definitions/shimmerTestnet.js.map +1 -1
  121. package/_esm/chains/definitions/taikoJolnir.js +2 -2
  122. package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
  123. package/_esm/chains/definitions/tenet.js +0 -1
  124. package/_esm/chains/definitions/tenet.js.map +1 -1
  125. package/_esm/chains/definitions/zilliqa.js +0 -3
  126. package/_esm/chains/definitions/zilliqa.js.map +1 -1
  127. package/_esm/chains/definitions/zilliqaTestnet.js +0 -3
  128. package/_esm/chains/definitions/zilliqaTestnet.js.map +1 -1
  129. package/_esm/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
  130. package/_esm/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
  131. package/_esm/chains/definitions/zkSyncTestnet.js +0 -4
  132. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  133. package/_esm/chains/definitions/zoraSepolia.js +0 -4
  134. package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
  135. package/_esm/errors/version.js +1 -1
  136. package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
  137. package/_types/actions/public/verifyTypedData.d.ts +2 -4
  138. package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
  139. package/_types/chains/celo/chainConfig.d.ts +154 -177
  140. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  141. package/_types/chains/celo/formatters.d.ts +155 -178
  142. package/_types/chains/celo/formatters.d.ts.map +1 -1
  143. package/_types/chains/celo/index.d.ts +1 -1
  144. package/_types/chains/celo/index.d.ts.map +1 -1
  145. package/_types/chains/celo/types.d.ts +2 -14
  146. package/_types/chains/celo/types.d.ts.map +1 -1
  147. package/_types/chains/definitions/astar.d.ts +0 -3
  148. package/_types/chains/definitions/astar.d.ts.map +1 -1
  149. package/_types/chains/definitions/astarZkatana.d.ts +0 -3
  150. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
  151. package/_types/chains/definitions/base.d.ts +116 -116
  152. package/_types/chains/definitions/baseGoerli.d.ts +116 -116
  153. package/_types/chains/definitions/baseSepolia.d.ts +116 -119
  154. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  155. package/_types/chains/definitions/bscTestnet.d.ts +0 -3
  156. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  157. package/_types/chains/definitions/celo.d.ts +154 -177
  158. package/_types/chains/definitions/celo.d.ts.map +1 -1
  159. package/_types/chains/definitions/celoAlfajores.d.ts +154 -177
  160. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  161. package/_types/chains/definitions/celoCannoli.d.ts +154 -177
  162. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  163. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -4
  164. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -1
  165. package/_types/chains/definitions/fantomSonicTestnet.d.ts +0 -3
  166. package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -1
  167. package/_types/chains/definitions/kava.d.ts +0 -3
  168. package/_types/chains/definitions/kava.d.ts.map +1 -1
  169. package/_types/chains/definitions/kavaTestnet.d.ts +0 -3
  170. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -1
  171. package/_types/chains/definitions/klaytnBaobab.d.ts +0 -3
  172. package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -1
  173. package/_types/chains/definitions/lukso.d.ts +0 -4
  174. package/_types/chains/definitions/lukso.d.ts.map +1 -1
  175. package/_types/chains/definitions/manta.d.ts +0 -3
  176. package/_types/chains/definitions/manta.d.ts.map +1 -1
  177. package/_types/chains/definitions/mantaTestnet.d.ts +0 -3
  178. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
  179. package/_types/chains/definitions/neonMainnet.d.ts +0 -3
  180. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -1
  181. package/_types/chains/definitions/optimism.d.ts +116 -116
  182. package/_types/chains/definitions/optimismGoerli.d.ts +116 -116
  183. package/_types/chains/definitions/optimismSepolia.d.ts +116 -116
  184. package/_types/chains/definitions/pgn.d.ts +116 -119
  185. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  186. package/_types/chains/definitions/pgnTestnet.d.ts +116 -119
  187. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  188. package/_types/chains/definitions/rootstock.d.ts +0 -3
  189. package/_types/chains/definitions/rootstock.d.ts.map +1 -1
  190. package/_types/chains/definitions/sapphire.d.ts +0 -4
  191. package/_types/chains/definitions/sapphire.d.ts.map +1 -1
  192. package/_types/chains/definitions/sapphireTestnet.d.ts +0 -4
  193. package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -1
  194. package/_types/chains/definitions/shibarium.d.ts +0 -3
  195. package/_types/chains/definitions/shibarium.d.ts.map +1 -1
  196. package/_types/chains/definitions/shimmer.d.ts +0 -3
  197. package/_types/chains/definitions/shimmer.d.ts.map +1 -1
  198. package/_types/chains/definitions/shimmerTestnet.d.ts +0 -3
  199. package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -1
  200. package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
  201. package/_types/chains/definitions/tenet.d.ts +0 -3
  202. package/_types/chains/definitions/tenet.d.ts.map +1 -1
  203. package/_types/chains/definitions/zilliqa.d.ts +0 -3
  204. package/_types/chains/definitions/zilliqa.d.ts.map +1 -1
  205. package/_types/chains/definitions/zilliqaTestnet.d.ts +0 -3
  206. package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -1
  207. package/_types/chains/definitions/zkSync.d.ts +27 -27
  208. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +27 -31
  209. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  210. package/_types/chains/definitions/zkSyncTestnet.d.ts +27 -31
  211. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  212. package/_types/chains/definitions/zora.d.ts +116 -116
  213. package/_types/chains/definitions/zoraSepolia.d.ts +116 -120
  214. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  215. package/_types/chains/definitions/zoraTestnet.d.ts +116 -116
  216. package/_types/chains/opStack/chainConfig.d.ts +116 -116
  217. package/_types/chains/opStack/formatters.d.ts +116 -116
  218. package/_types/chains/zksync/chainConfig.d.ts +27 -27
  219. package/_types/chains/zksync/formatters.d.ts +27 -27
  220. package/_types/errors/version.d.ts +1 -1
  221. package/_types/utils/formatters/transaction.d.ts +1 -1
  222. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  223. package/actions/public/getFilterChanges.ts +3 -5
  224. package/actions/public/getFilterLogs.ts +3 -3
  225. package/actions/public/getLogs.ts +3 -3
  226. package/actions/public/verifyTypedData.ts +13 -8
  227. package/chains/celo/formatters.ts +0 -14
  228. package/chains/celo/index.ts +0 -4
  229. package/chains/celo/types.ts +0 -18
  230. package/chains/definitions/astar.ts +0 -1
  231. package/chains/definitions/astarZkatana.ts +0 -6
  232. package/chains/definitions/baseSepolia.ts +0 -3
  233. package/chains/definitions/bscTestnet.ts +0 -1
  234. package/chains/definitions/confluxESpaceTestnet.ts +0 -4
  235. package/chains/definitions/fantomSonicTestnet.ts +0 -1
  236. package/chains/definitions/kava.ts +0 -1
  237. package/chains/definitions/kavaTestnet.ts +0 -1
  238. package/chains/definitions/klaytnBaobab.ts +0 -1
  239. package/chains/definitions/lukso.ts +0 -4
  240. package/chains/definitions/manta.ts +0 -1
  241. package/chains/definitions/mantaTestnet.ts +0 -1
  242. package/chains/definitions/neonMainnet.ts +0 -3
  243. package/chains/definitions/pgn.ts +0 -3
  244. package/chains/definitions/pgnTestnet.ts +0 -3
  245. package/chains/definitions/rootstock.ts +0 -1
  246. package/chains/definitions/sapphire.ts +0 -4
  247. package/chains/definitions/sapphireTestnet.ts +0 -4
  248. package/chains/definitions/shibarium.ts +0 -3
  249. package/chains/definitions/shimmer.ts +0 -3
  250. package/chains/definitions/shimmerTestnet.ts +0 -3
  251. package/chains/definitions/taikoJolnir.ts +2 -2
  252. package/chains/definitions/tenet.ts +0 -1
  253. package/chains/definitions/zilliqa.ts +0 -3
  254. package/chains/definitions/zilliqaTestnet.ts +0 -3
  255. package/chains/definitions/zkSyncSepoliaTestnet.ts +0 -4
  256. package/chains/definitions/zkSyncTestnet.ts +0 -4
  257. package/chains/definitions/zoraSepolia.ts +0 -4
  258. package/errors/version.ts +1 -1
  259. package/package.json +1 -1
@@ -63,20 +63,20 @@ export declare const zkSync: {
63
63
  readonly transaction: {
64
64
  exclude: [] | undefined;
65
65
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../zksync/types.js").ZkSyncRpcTransaction>) => ({
66
- gas: bigint;
67
- nonce: number;
68
- from: `0x${string}`;
69
- to: `0x${string}` | null;
70
- value: bigint;
71
- r: `0x${string}`;
72
- s: `0x${string}`;
73
- v: bigint;
74
66
  blockHash: `0x${string}` | null;
75
67
  blockNumber: bigint | null;
68
+ from: `0x${string}`;
69
+ gas: bigint;
76
70
  hash: `0x${string}`;
77
71
  input: `0x${string}`;
72
+ nonce: number;
73
+ r: `0x${string}`;
74
+ s: `0x${string}`;
75
+ to: `0x${string}` | null;
78
76
  transactionIndex: number | null;
79
77
  typeHex: `0x${string}` | null;
78
+ v: bigint;
79
+ value: bigint;
80
80
  gasPrice: bigint;
81
81
  maxFeePerGas?: undefined;
82
82
  maxPriorityFeePerGas?: undefined;
@@ -87,20 +87,20 @@ export declare const zkSync: {
87
87
  l1BatchNumber: bigint | null;
88
88
  l1BatchTxIndex: bigint | null;
89
89
  } | {
90
- gas: bigint;
91
- nonce: number;
92
- from: `0x${string}`;
93
- to: `0x${string}` | null;
94
- value: bigint;
95
- r: `0x${string}`;
96
- s: `0x${string}`;
97
- v: bigint;
98
90
  blockHash: `0x${string}` | null;
99
91
  blockNumber: bigint | null;
92
+ from: `0x${string}`;
93
+ gas: bigint;
100
94
  hash: `0x${string}`;
101
95
  input: `0x${string}`;
96
+ nonce: number;
97
+ r: `0x${string}`;
98
+ s: `0x${string}`;
99
+ to: `0x${string}` | null;
102
100
  transactionIndex: number | null;
103
101
  typeHex: `0x${string}` | null;
102
+ v: bigint;
103
+ value: bigint;
104
104
  gasPrice: undefined;
105
105
  maxFeePerGas: bigint;
106
106
  maxPriorityFeePerGas: bigint;
@@ -111,27 +111,27 @@ export declare const zkSync: {
111
111
  l1BatchNumber: bigint | null;
112
112
  l1BatchTxIndex: bigint | null;
113
113
  } | {
114
- gas: bigint;
115
- nonce: number;
116
- from: `0x${string}`;
117
- to: `0x${string}` | null;
118
- value: bigint;
119
- r: `0x${string}`;
120
- s: `0x${string}`;
121
- v: bigint;
122
114
  blockHash: `0x${string}` | null;
123
115
  blockNumber: bigint | null;
116
+ from: `0x${string}`;
117
+ gas: bigint;
124
118
  hash: `0x${string}`;
125
119
  input: `0x${string}`;
120
+ nonce: number;
121
+ r: `0x${string}`;
122
+ s: `0x${string}`;
123
+ to: `0x${string}` | null;
126
124
  transactionIndex: number | null;
127
125
  typeHex: `0x${string}` | null;
126
+ v: bigint;
127
+ value: bigint;
128
128
  gasPrice: undefined;
129
129
  maxFeePerGas: bigint;
130
130
  maxPriorityFeePerGas: bigint;
131
131
  accessList?: undefined;
132
132
  chainId?: number | undefined;
133
133
  yParity: number;
134
- type: "priority" | "eip712";
134
+ type: "eip712" | "priority";
135
135
  l1BatchNumber: bigint | null;
136
136
  l1BatchTxIndex: bigint | null;
137
137
  } | {
@@ -227,7 +227,7 @@ export declare const zkSync: {
227
227
  maxPriorityFeePerGas: bigint;
228
228
  accessList: import("../../index.js").AccessList;
229
229
  chainId: number;
230
- type: "priority" | "eip712";
230
+ type: "eip712" | "priority";
231
231
  l1BatchNumber: bigint | null;
232
232
  l1BatchTxIndex: bigint | null;
233
233
  } | {
@@ -323,7 +323,7 @@ export declare const zkSync: {
323
323
  maxPriorityFeePerGas: bigint;
324
324
  accessList: import("../../index.js").AccessList;
325
325
  chainId: number;
326
- type: "priority" | "eip712";
326
+ type: "eip712" | "priority";
327
327
  l1BatchNumber: bigint | null;
328
328
  l1BatchTxIndex: bigint | null;
329
329
  }) & {};
@@ -22,10 +22,6 @@ export declare const zkSyncSepoliaTestnet: {
22
22
  readonly http: readonly ["https://sepolia.era.zksync.dev"];
23
23
  readonly webSocket: readonly ["wss://sepolia.era.zksync.dev/ws"];
24
24
  };
25
- readonly public: {
26
- readonly http: readonly ["https://sepolia.era.zksync.dev"];
27
- readonly webSocket: readonly ["wss://sepolia.era.zksync.dev/ws"];
28
- };
29
25
  };
30
26
  sourceId?: number | undefined;
31
27
  testnet: true;
@@ -67,20 +63,20 @@ export declare const zkSyncSepoliaTestnet: {
67
63
  readonly transaction: {
68
64
  exclude: [] | undefined;
69
65
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../zksync/types.js").ZkSyncRpcTransaction>) => ({
70
- gas: bigint;
71
- nonce: number;
72
- from: `0x${string}`;
73
- to: `0x${string}` | null;
74
- value: bigint;
75
- r: `0x${string}`;
76
- s: `0x${string}`;
77
- v: bigint;
78
66
  blockHash: `0x${string}` | null;
79
67
  blockNumber: bigint | null;
68
+ from: `0x${string}`;
69
+ gas: bigint;
80
70
  hash: `0x${string}`;
81
71
  input: `0x${string}`;
72
+ nonce: number;
73
+ r: `0x${string}`;
74
+ s: `0x${string}`;
75
+ to: `0x${string}` | null;
82
76
  transactionIndex: number | null;
83
77
  typeHex: `0x${string}` | null;
78
+ v: bigint;
79
+ value: bigint;
84
80
  gasPrice: bigint;
85
81
  maxFeePerGas?: undefined;
86
82
  maxPriorityFeePerGas?: undefined;
@@ -91,20 +87,20 @@ export declare const zkSyncSepoliaTestnet: {
91
87
  l1BatchNumber: bigint | null;
92
88
  l1BatchTxIndex: bigint | null;
93
89
  } | {
94
- gas: bigint;
95
- nonce: number;
96
- from: `0x${string}`;
97
- to: `0x${string}` | null;
98
- value: bigint;
99
- r: `0x${string}`;
100
- s: `0x${string}`;
101
- v: bigint;
102
90
  blockHash: `0x${string}` | null;
103
91
  blockNumber: bigint | null;
92
+ from: `0x${string}`;
93
+ gas: bigint;
104
94
  hash: `0x${string}`;
105
95
  input: `0x${string}`;
96
+ nonce: number;
97
+ r: `0x${string}`;
98
+ s: `0x${string}`;
99
+ to: `0x${string}` | null;
106
100
  transactionIndex: number | null;
107
101
  typeHex: `0x${string}` | null;
102
+ v: bigint;
103
+ value: bigint;
108
104
  gasPrice: undefined;
109
105
  maxFeePerGas: bigint;
110
106
  maxPriorityFeePerGas: bigint;
@@ -115,27 +111,27 @@ export declare const zkSyncSepoliaTestnet: {
115
111
  l1BatchNumber: bigint | null;
116
112
  l1BatchTxIndex: bigint | null;
117
113
  } | {
118
- gas: bigint;
119
- nonce: number;
120
- from: `0x${string}`;
121
- to: `0x${string}` | null;
122
- value: bigint;
123
- r: `0x${string}`;
124
- s: `0x${string}`;
125
- v: bigint;
126
114
  blockHash: `0x${string}` | null;
127
115
  blockNumber: bigint | null;
116
+ from: `0x${string}`;
117
+ gas: bigint;
128
118
  hash: `0x${string}`;
129
119
  input: `0x${string}`;
120
+ nonce: number;
121
+ r: `0x${string}`;
122
+ s: `0x${string}`;
123
+ to: `0x${string}` | null;
130
124
  transactionIndex: number | null;
131
125
  typeHex: `0x${string}` | null;
126
+ v: bigint;
127
+ value: bigint;
132
128
  gasPrice: undefined;
133
129
  maxFeePerGas: bigint;
134
130
  maxPriorityFeePerGas: bigint;
135
131
  accessList?: undefined;
136
132
  chainId?: number | undefined;
137
133
  yParity: number;
138
- type: "priority" | "eip712";
134
+ type: "eip712" | "priority";
139
135
  l1BatchNumber: bigint | null;
140
136
  l1BatchTxIndex: bigint | null;
141
137
  } | {
@@ -231,7 +227,7 @@ export declare const zkSyncSepoliaTestnet: {
231
227
  maxPriorityFeePerGas: bigint;
232
228
  accessList: import("../../index.js").AccessList;
233
229
  chainId: number;
234
- type: "priority" | "eip712";
230
+ type: "eip712" | "priority";
235
231
  l1BatchNumber: bigint | null;
236
232
  l1BatchTxIndex: bigint | null;
237
233
  } | {
@@ -327,7 +323,7 @@ export declare const zkSyncSepoliaTestnet: {
327
323
  maxPriorityFeePerGas: bigint;
328
324
  accessList: import("../../index.js").AccessList;
329
325
  chainId: number;
330
- type: "priority" | "eip712";
326
+ type: "eip712" | "priority";
331
327
  l1BatchNumber: bigint | null;
332
328
  l1BatchTxIndex: bigint | null;
333
329
  }) & {};
@@ -1 +1 @@
1
- {"version":3,"file":"zkSyncSepoliaTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zkSyncSepoliaTestnet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B/B,CAAA"}
1
+ {"version":3,"file":"zkSyncSepoliaTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zkSyncSepoliaTestnet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB/B,CAAA"}
@@ -23,10 +23,6 @@ export declare const zkSyncTestnet: {
23
23
  readonly http: readonly ["https://testnet.era.zksync.dev"];
24
24
  readonly webSocket: readonly ["wss://testnet.era.zksync.dev/ws"];
25
25
  };
26
- readonly public: {
27
- readonly http: readonly ["https://testnet.era.zksync.dev"];
28
- readonly webSocket: readonly ["wss://testnet.era.zksync.dev/ws"];
29
- };
30
26
  };
31
27
  sourceId?: number | undefined;
32
28
  testnet: true;
@@ -68,20 +64,20 @@ export declare const zkSyncTestnet: {
68
64
  readonly transaction: {
69
65
  exclude: [] | undefined;
70
66
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransaction>, import("../zksync/types.js").ZkSyncRpcTransaction>) => ({
71
- gas: bigint;
72
- nonce: number;
73
- from: `0x${string}`;
74
- to: `0x${string}` | null;
75
- value: bigint;
76
- r: `0x${string}`;
77
- s: `0x${string}`;
78
- v: bigint;
79
67
  blockHash: `0x${string}` | null;
80
68
  blockNumber: bigint | null;
69
+ from: `0x${string}`;
70
+ gas: bigint;
81
71
  hash: `0x${string}`;
82
72
  input: `0x${string}`;
73
+ nonce: number;
74
+ r: `0x${string}`;
75
+ s: `0x${string}`;
76
+ to: `0x${string}` | null;
83
77
  transactionIndex: number | null;
84
78
  typeHex: `0x${string}` | null;
79
+ v: bigint;
80
+ value: bigint;
85
81
  gasPrice: bigint;
86
82
  maxFeePerGas?: undefined;
87
83
  maxPriorityFeePerGas?: undefined;
@@ -92,20 +88,20 @@ export declare const zkSyncTestnet: {
92
88
  l1BatchNumber: bigint | null;
93
89
  l1BatchTxIndex: bigint | null;
94
90
  } | {
95
- gas: bigint;
96
- nonce: number;
97
- from: `0x${string}`;
98
- to: `0x${string}` | null;
99
- value: bigint;
100
- r: `0x${string}`;
101
- s: `0x${string}`;
102
- v: bigint;
103
91
  blockHash: `0x${string}` | null;
104
92
  blockNumber: bigint | null;
93
+ from: `0x${string}`;
94
+ gas: bigint;
105
95
  hash: `0x${string}`;
106
96
  input: `0x${string}`;
97
+ nonce: number;
98
+ r: `0x${string}`;
99
+ s: `0x${string}`;
100
+ to: `0x${string}` | null;
107
101
  transactionIndex: number | null;
108
102
  typeHex: `0x${string}` | null;
103
+ v: bigint;
104
+ value: bigint;
109
105
  gasPrice: undefined;
110
106
  maxFeePerGas: bigint;
111
107
  maxPriorityFeePerGas: bigint;
@@ -116,27 +112,27 @@ export declare const zkSyncTestnet: {
116
112
  l1BatchNumber: bigint | null;
117
113
  l1BatchTxIndex: bigint | null;
118
114
  } | {
119
- gas: bigint;
120
- nonce: number;
121
- from: `0x${string}`;
122
- to: `0x${string}` | null;
123
- value: bigint;
124
- r: `0x${string}`;
125
- s: `0x${string}`;
126
- v: bigint;
127
115
  blockHash: `0x${string}` | null;
128
116
  blockNumber: bigint | null;
117
+ from: `0x${string}`;
118
+ gas: bigint;
129
119
  hash: `0x${string}`;
130
120
  input: `0x${string}`;
121
+ nonce: number;
122
+ r: `0x${string}`;
123
+ s: `0x${string}`;
124
+ to: `0x${string}` | null;
131
125
  transactionIndex: number | null;
132
126
  typeHex: `0x${string}` | null;
127
+ v: bigint;
128
+ value: bigint;
133
129
  gasPrice: undefined;
134
130
  maxFeePerGas: bigint;
135
131
  maxPriorityFeePerGas: bigint;
136
132
  accessList?: undefined;
137
133
  chainId?: number | undefined;
138
134
  yParity: number;
139
- type: "priority" | "eip712";
135
+ type: "eip712" | "priority";
140
136
  l1BatchNumber: bigint | null;
141
137
  l1BatchTxIndex: bigint | null;
142
138
  } | {
@@ -232,7 +228,7 @@ export declare const zkSyncTestnet: {
232
228
  maxPriorityFeePerGas: bigint;
233
229
  accessList: import("../../index.js").AccessList;
234
230
  chainId: number;
235
- type: "priority" | "eip712";
231
+ type: "eip712" | "priority";
236
232
  l1BatchNumber: bigint | null;
237
233
  l1BatchTxIndex: bigint | null;
238
234
  } | {
@@ -328,7 +324,7 @@ export declare const zkSyncTestnet: {
328
324
  maxPriorityFeePerGas: bigint;
329
325
  accessList: import("../../index.js").AccessList;
330
326
  chainId: number;
331
- type: "priority" | "eip712";
327
+ type: "eip712" | "priority";
332
328
  l1BatchNumber: bigint | null;
333
329
  l1BatchTxIndex: bigint | null;
334
330
  }) & {};
@@ -1 +1 @@
1
- {"version":3,"file":"zkSyncTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zkSyncTestnet.ts"],"names":[],"mappings":"AAGA,6CAA6C;AAC7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BxB,CAAA"}
1
+ {"version":3,"file":"zkSyncTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/zkSyncTestnet.ts"],"names":[],"mappings":"AAGA,6CAA6C;AAC7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAA"}