sablier 4.0.0 → 4.1.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 (55) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/evm/chains/chains.js +2 -2
  3. package/dist/cjs/evm/chains/chains.js.map +1 -1
  4. package/dist/cjs/evm/chains/custom.js +26 -1
  5. package/dist/cjs/evm/chains/custom.js.map +1 -1
  6. package/dist/cjs/evm/chains/specs.js +18 -0
  7. package/dist/cjs/evm/chains/specs.js.map +1 -1
  8. package/dist/cjs/evm/comptroller/deployments.js +3 -0
  9. package/dist/cjs/evm/comptroller/deployments.js.map +1 -1
  10. package/dist/cjs/evm/releases/airdrops/v2.0/deployments.js +9 -0
  11. package/dist/cjs/evm/releases/airdrops/v2.0/deployments.js.map +1 -1
  12. package/dist/cjs/evm/releases/airdrops/v3.0/deployments.js +16 -0
  13. package/dist/cjs/evm/releases/airdrops/v3.0/deployments.js.map +1 -1
  14. package/dist/cjs/evm/releases/flow/v2.0/deployments.js +4 -0
  15. package/dist/cjs/evm/releases/flow/v2.0/deployments.js.map +1 -1
  16. package/dist/cjs/evm/releases/flow/v3.0/deployments.js +4 -0
  17. package/dist/cjs/evm/releases/flow/v3.0/deployments.js.map +1 -1
  18. package/dist/cjs/evm/releases/lockup/v3.0/deployments.js +7 -0
  19. package/dist/cjs/evm/releases/lockup/v3.0/deployments.js.map +1 -1
  20. package/dist/cjs/evm/releases/lockup/v4.0/deployments.js +7 -0
  21. package/dist/cjs/evm/releases/lockup/v4.0/deployments.js.map +1 -1
  22. package/dist/esm/evm/chains/chains.js +1 -1
  23. package/dist/esm/evm/chains/chains.js.map +1 -1
  24. package/dist/esm/evm/chains/custom.js +25 -0
  25. package/dist/esm/evm/chains/custom.js.map +1 -1
  26. package/dist/esm/evm/chains/specs.js +19 -1
  27. package/dist/esm/evm/chains/specs.js.map +1 -1
  28. package/dist/esm/evm/comptroller/deployments.js +3 -0
  29. package/dist/esm/evm/comptroller/deployments.js.map +1 -1
  30. package/dist/esm/evm/releases/airdrops/v2.0/deployments.js +9 -0
  31. package/dist/esm/evm/releases/airdrops/v2.0/deployments.js.map +1 -1
  32. package/dist/esm/evm/releases/airdrops/v3.0/deployments.js +16 -0
  33. package/dist/esm/evm/releases/airdrops/v3.0/deployments.js.map +1 -1
  34. package/dist/esm/evm/releases/flow/v2.0/deployments.js +4 -0
  35. package/dist/esm/evm/releases/flow/v2.0/deployments.js.map +1 -1
  36. package/dist/esm/evm/releases/flow/v3.0/deployments.js +4 -0
  37. package/dist/esm/evm/releases/flow/v3.0/deployments.js.map +1 -1
  38. package/dist/esm/evm/releases/lockup/v3.0/deployments.js +7 -0
  39. package/dist/esm/evm/releases/lockup/v3.0/deployments.js.map +1 -1
  40. package/dist/esm/evm/releases/lockup/v4.0/deployments.js +7 -0
  41. package/dist/esm/evm/releases/lockup/v4.0/deployments.js.map +1 -1
  42. package/dist/types/evm/chains/chains.d.ts +1 -1
  43. package/dist/types/evm/chains/chains.d.ts.map +1 -1
  44. package/dist/types/evm/chains/custom.d.ts +46 -0
  45. package/dist/types/evm/chains/custom.d.ts.map +1 -1
  46. package/dist/types/evm/chains/specs.d.ts +106 -3518
  47. package/dist/types/evm/chains/specs.d.ts.map +1 -1
  48. package/dist/types/evm/comptroller/deployments.d.ts.map +1 -1
  49. package/dist/types/evm/releases/airdrops/v2.0/deployments.d.ts.map +1 -1
  50. package/dist/types/evm/releases/airdrops/v3.0/deployments.d.ts.map +1 -1
  51. package/dist/types/evm/releases/flow/v2.0/deployments.d.ts.map +1 -1
  52. package/dist/types/evm/releases/flow/v3.0/deployments.d.ts.map +1 -1
  53. package/dist/types/evm/releases/lockup/v3.0/deployments.d.ts.map +1 -1
  54. package/dist/types/evm/releases/lockup/v4.0/deployments.d.ts.map +1 -1
  55. package/package.json +2 -2
@@ -48,389 +48,22 @@ export declare const chainSpecs: {
48
48
  formatters: {
49
49
  readonly block: {
50
50
  exclude: [] | undefined;
51
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
52
- baseFeePerGas: bigint | null;
53
- blobGasUsed: bigint;
54
- difficulty: bigint;
55
- excessBlobGas: bigint;
56
- extraData: import("viem").Hex;
57
- gasLimit: bigint;
58
- gasUsed: bigint;
59
- hash: `0x${string}` | null;
60
- logsBloom: `0x${string}` | null;
61
- miner: import("abitype").Address;
62
- mixHash: import("viem").Hash;
63
- nonce: `0x${string}` | null;
64
- number: bigint | null;
65
- parentBeaconBlockRoot?: `0x${string}` | undefined;
66
- parentHash: import("viem").Hash;
67
- receiptsRoot: import("viem").Hex;
68
- sealFields: import("viem").Hex[];
69
- sha3Uncles: import("viem").Hash;
70
- size: bigint;
71
- stateRoot: import("viem").Hash;
72
- timestamp: bigint;
73
- totalDifficulty: bigint | null;
74
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
75
- transactionsRoot: import("viem").Hash;
76
- uncles: import("viem").Hash[];
77
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
78
- withdrawalsRoot?: `0x${string}` | undefined;
79
- l1BatchNumber: bigint | null;
80
- l1BatchTimestamp: bigint | null;
81
- } & {};
51
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
82
52
  type: "block";
83
53
  };
84
54
  readonly transaction: {
85
55
  exclude: [] | undefined;
86
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
87
- r: import("viem").Hex;
88
- s: import("viem").Hex;
89
- v: bigint;
90
- to: import("abitype").Address | null;
91
- from: import("abitype").Address;
92
- gas: bigint;
93
- nonce: number;
94
- value: bigint;
95
- blockHash: `0x${string}` | null;
96
- blockNumber: bigint | null;
97
- blockTimestamp?: bigint | undefined;
98
- hash: import("viem").Hash;
99
- input: import("viem").Hex;
100
- transactionIndex: number | null;
101
- typeHex: import("viem").Hex | null;
102
- accessList?: undefined | undefined;
103
- authorizationList?: undefined | undefined;
104
- blobVersionedHashes?: undefined | undefined;
105
- chainId?: number | undefined;
106
- yParity?: undefined | undefined;
107
- type: "legacy";
108
- gasPrice: bigint;
109
- maxFeePerBlobGas?: undefined | undefined;
110
- maxFeePerGas?: undefined | undefined;
111
- maxPriorityFeePerGas?: undefined | undefined;
112
- l1BatchNumber: bigint | null;
113
- l1BatchTxIndex: bigint | null;
114
- } | {
115
- blockHash: `0x${string}` | null;
116
- blockNumber: bigint | null;
117
- blockTimestamp?: bigint | undefined;
118
- from: import("abitype").Address;
119
- gas: bigint;
120
- hash: import("viem").Hash;
121
- input: import("viem").Hex;
122
- nonce: number;
123
- r: import("viem").Hex;
124
- s: import("viem").Hex;
125
- to: import("abitype").Address | null;
126
- transactionIndex: number | null;
127
- typeHex: import("viem").Hex | null;
128
- v: bigint;
129
- value: bigint;
130
- yParity: number;
131
- accessList: import("viem").AccessList;
132
- authorizationList?: undefined | undefined;
133
- blobVersionedHashes?: undefined | undefined;
134
- chainId: number;
135
- type: "eip2930";
136
- gasPrice: bigint;
137
- maxFeePerBlobGas?: undefined | undefined;
138
- maxFeePerGas?: undefined | undefined;
139
- maxPriorityFeePerGas?: undefined | undefined;
140
- l1BatchNumber: bigint | null;
141
- l1BatchTxIndex: bigint | null;
142
- } | {
143
- blockHash: `0x${string}` | null;
144
- blockNumber: bigint | null;
145
- blockTimestamp?: bigint | undefined;
146
- from: import("abitype").Address;
147
- gas: bigint;
148
- hash: import("viem").Hash;
149
- input: import("viem").Hex;
150
- nonce: number;
151
- r: import("viem").Hex;
152
- s: import("viem").Hex;
153
- to: import("abitype").Address | null;
154
- transactionIndex: number | null;
155
- typeHex: import("viem").Hex | null;
156
- v: bigint;
157
- value: bigint;
158
- yParity: number;
159
- accessList: import("viem").AccessList;
160
- authorizationList?: undefined | undefined;
161
- blobVersionedHashes?: undefined | undefined;
162
- chainId: number;
163
- type: "eip1559";
164
- gasPrice?: undefined | undefined;
165
- maxFeePerBlobGas?: undefined | undefined;
166
- maxFeePerGas: bigint;
167
- maxPriorityFeePerGas: bigint;
168
- l1BatchNumber: bigint | null;
169
- l1BatchTxIndex: bigint | null;
170
- } | {
171
- blockHash: `0x${string}` | null;
172
- blockNumber: bigint | null;
173
- blockTimestamp?: bigint | undefined;
174
- from: import("abitype").Address;
175
- gas: bigint;
176
- hash: import("viem").Hash;
177
- input: import("viem").Hex;
178
- nonce: number;
179
- r: import("viem").Hex;
180
- s: import("viem").Hex;
181
- to: import("abitype").Address | null;
182
- transactionIndex: number | null;
183
- typeHex: import("viem").Hex | null;
184
- v: bigint;
185
- value: bigint;
186
- yParity: number;
187
- accessList: import("viem").AccessList;
188
- authorizationList?: undefined | undefined;
189
- blobVersionedHashes: readonly import("viem").Hex[];
190
- chainId: number;
191
- type: "eip4844";
192
- gasPrice?: undefined | undefined;
193
- maxFeePerBlobGas: bigint;
194
- maxFeePerGas: bigint;
195
- maxPriorityFeePerGas: bigint;
196
- l1BatchNumber: bigint | null;
197
- l1BatchTxIndex: bigint | null;
198
- } | {
199
- blockHash: `0x${string}` | null;
200
- blockNumber: bigint | null;
201
- blockTimestamp?: bigint | undefined;
202
- from: import("abitype").Address;
203
- gas: bigint;
204
- hash: import("viem").Hash;
205
- input: import("viem").Hex;
206
- nonce: number;
207
- r: import("viem").Hex;
208
- s: import("viem").Hex;
209
- to: import("abitype").Address | null;
210
- transactionIndex: number | null;
211
- typeHex: import("viem").Hex | null;
212
- v: bigint;
213
- value: bigint;
214
- yParity: number;
215
- accessList: import("viem").AccessList;
216
- authorizationList: import("viem").SignedAuthorizationList;
217
- blobVersionedHashes?: undefined | undefined;
218
- chainId: number;
219
- type: "eip7702";
220
- gasPrice?: undefined | undefined;
221
- maxFeePerBlobGas?: undefined | undefined;
222
- maxFeePerGas: bigint;
223
- maxPriorityFeePerGas: bigint;
224
- l1BatchNumber: bigint | null;
225
- l1BatchTxIndex: bigint | null;
226
- } | {
227
- blockHash: `0x${string}` | null;
228
- blockNumber: bigint | null;
229
- blockTimestamp?: bigint | undefined;
230
- from: import("abitype").Address;
231
- gas: bigint;
232
- hash: import("viem").Hash;
233
- input: import("viem").Hex;
234
- nonce: number;
235
- r: import("viem").Hex;
236
- s: import("viem").Hex;
237
- to: import("abitype").Address | null;
238
- transactionIndex: number | null;
239
- typeHex: import("viem").Hex | null;
240
- v: bigint;
241
- value: bigint;
242
- yParity: number;
243
- l1BatchNumber: bigint | null;
244
- l1BatchTxIndex: bigint | null;
245
- gasPrice?: undefined | undefined;
246
- maxFeePerBlobGas?: undefined | undefined;
247
- maxFeePerGas: bigint;
248
- maxPriorityFeePerGas: bigint;
249
- type: "priority";
250
- } | {
251
- blockHash: `0x${string}` | null;
252
- blockNumber: bigint | null;
253
- blockTimestamp?: bigint | undefined;
254
- from: import("abitype").Address;
255
- gas: bigint;
256
- hash: import("viem").Hash;
257
- input: import("viem").Hex;
258
- nonce: number;
259
- r: import("viem").Hex;
260
- s: import("viem").Hex;
261
- to: import("abitype").Address | null;
262
- transactionIndex: number | null;
263
- typeHex: import("viem").Hex | null;
264
- v: bigint;
265
- value: bigint;
266
- yParity: number;
267
- l1BatchNumber: bigint | null;
268
- l1BatchTxIndex: bigint | null;
269
- gasPrice?: undefined | undefined;
270
- maxFeePerBlobGas?: undefined | undefined;
271
- maxFeePerGas: bigint;
272
- maxPriorityFeePerGas: bigint;
273
- type: "eip712" | "priority";
274
- }) & {};
56
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
275
57
  type: "transaction";
276
58
  };
277
59
  readonly transactionReceipt: {
278
60
  exclude: [] | undefined;
279
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
280
- type: import("viem/chains").ZkSyncTransactionType;
281
- contractAddress: import("abitype").Address | null | undefined;
282
- to: import("abitype").Address | null;
283
- from: import("abitype").Address;
284
- blockHash: import("viem").Hash;
285
- blockNumber: bigint;
286
- blockTimestamp?: bigint | undefined;
287
- transactionIndex: number;
288
- status: "success" | "reverted";
289
- transactionHash: import("viem").Hash;
290
- logsBloom: import("viem").Hex;
291
- blobGasUsed?: bigint | undefined;
292
- gasUsed: bigint;
293
- blobGasPrice?: bigint | undefined;
294
- cumulativeGasUsed: bigint;
295
- effectiveGasPrice: bigint;
296
- root?: `0x${string}` | undefined;
297
- l1BatchNumber: bigint | null;
298
- l1BatchTxIndex: bigint | null;
299
- logs: import("viem/chains").ZkSyncLog[];
300
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
301
- } & {};
61
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
302
62
  type: "transactionReceipt";
303
63
  };
304
64
  readonly transactionRequest: {
305
65
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
306
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
307
- data?: `0x${string}` | undefined;
308
- from?: `0x${string}` | undefined;
309
- gas?: `0x${string}` | undefined;
310
- nonce?: `0x${string}` | undefined;
311
- to?: `0x${string}` | null | undefined;
312
- type?: "0x0" | undefined;
313
- value?: `0x${string}` | undefined;
314
- gasPrice?: `0x${string}` | undefined;
315
- maxFeePerBlobGas?: undefined | undefined;
316
- maxFeePerGas?: undefined | undefined;
317
- maxPriorityFeePerGas?: undefined | undefined;
318
- blobs?: undefined;
319
- blobVersionedHashes?: undefined;
320
- kzg?: undefined;
321
- accessList?: undefined;
322
- sidecars?: undefined;
323
- authorizationList?: undefined;
324
- eip712Meta?: undefined | undefined;
325
- } | {
326
- data?: `0x${string}` | undefined;
327
- from?: `0x${string}` | undefined;
328
- gas?: `0x${string}` | undefined;
329
- nonce?: `0x${string}` | undefined;
330
- to?: `0x${string}` | null | undefined;
331
- type?: "0x1" | undefined;
332
- value?: `0x${string}` | undefined;
333
- gasPrice?: `0x${string}` | undefined;
334
- maxFeePerBlobGas?: undefined | undefined;
335
- maxFeePerGas?: undefined | undefined;
336
- maxPriorityFeePerGas?: undefined | undefined;
337
- accessList?: import("viem").AccessList | undefined;
338
- blobs?: undefined;
339
- blobVersionedHashes?: undefined;
340
- kzg?: undefined;
341
- sidecars?: undefined;
342
- authorizationList?: undefined;
343
- eip712Meta?: undefined | undefined;
344
- } | {
345
- data?: `0x${string}` | undefined;
346
- from?: `0x${string}` | undefined;
347
- gas?: `0x${string}` | undefined;
348
- nonce?: `0x${string}` | undefined;
349
- to?: `0x${string}` | null | undefined;
350
- type?: "0x2" | undefined;
351
- value?: `0x${string}` | undefined;
352
- gasPrice?: undefined | undefined;
353
- maxFeePerBlobGas?: undefined | undefined;
354
- maxFeePerGas?: `0x${string}` | undefined;
355
- maxPriorityFeePerGas?: `0x${string}` | undefined;
356
- accessList?: import("viem").AccessList | undefined;
357
- blobs?: undefined;
358
- blobVersionedHashes?: undefined;
359
- kzg?: undefined;
360
- sidecars?: undefined;
361
- authorizationList?: undefined;
362
- eip712Meta?: undefined | undefined;
363
- } | {
364
- type?: "0x3" | undefined;
365
- data?: `0x${string}` | undefined;
366
- from?: `0x${string}` | undefined;
367
- gas?: `0x${string}` | undefined;
368
- nonce?: `0x${string}` | undefined;
369
- value?: `0x${string}` | undefined;
370
- to: `0x${string}` | null;
371
- gasPrice?: undefined | undefined;
372
- maxFeePerBlobGas?: `0x${string}` | undefined;
373
- maxFeePerGas?: `0x${string}` | undefined;
374
- maxPriorityFeePerGas?: `0x${string}` | undefined;
375
- accessList?: import("viem").AccessList | undefined;
376
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
377
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
378
- blobVersionedHashes: readonly import("viem").Hex[];
379
- kzg?: undefined;
380
- authorizationList?: undefined;
381
- eip712Meta?: undefined | undefined;
382
- } | {
383
- type?: "0x3" | undefined;
384
- data?: `0x${string}` | undefined;
385
- from?: `0x${string}` | undefined;
386
- gas?: `0x${string}` | undefined;
387
- nonce?: `0x${string}` | undefined;
388
- value?: `0x${string}` | undefined;
389
- to: `0x${string}` | null;
390
- gasPrice?: undefined | undefined;
391
- maxFeePerBlobGas?: `0x${string}` | undefined;
392
- maxFeePerGas?: `0x${string}` | undefined;
393
- maxPriorityFeePerGas?: `0x${string}` | undefined;
394
- accessList?: import("viem").AccessList | undefined;
395
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
396
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
397
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
398
- kzg?: import("viem").Kzg | undefined;
399
- authorizationList?: undefined;
400
- eip712Meta?: undefined | undefined;
401
- } | {
402
- type?: "0x4" | undefined;
403
- gasPrice?: undefined | undefined;
404
- maxFeePerBlobGas?: undefined | undefined;
405
- maxFeePerGas?: `0x${string}` | undefined;
406
- maxPriorityFeePerGas?: `0x${string}` | undefined;
407
- to?: `0x${string}` | null | undefined;
408
- data?: `0x${string}` | undefined;
409
- from?: `0x${string}` | undefined;
410
- gas?: `0x${string}` | undefined;
411
- nonce?: `0x${string}` | undefined;
412
- value?: `0x${string}` | undefined;
413
- accessList?: import("viem").AccessList | undefined;
414
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
415
- blobs?: undefined;
416
- blobVersionedHashes?: undefined;
417
- kzg?: undefined;
418
- sidecars?: undefined;
419
- eip712Meta?: undefined | undefined;
420
- } | {
421
- data?: `0x${string}` | undefined;
422
- from?: `0x${string}` | undefined;
423
- gas?: `0x${string}` | undefined;
424
- nonce?: `0x${string}` | undefined;
425
- to?: `0x${string}` | null | undefined;
426
- type: "0xff" | "0x71";
427
- value?: `0x${string}` | undefined;
428
- gasPrice?: undefined | undefined;
429
- maxFeePerBlobGas?: undefined | undefined;
430
- maxFeePerGas?: `0x${string}` | undefined;
431
- maxPriorityFeePerGas?: `0x${string}` | undefined;
432
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
433
- }) & {
66
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
434
67
  paymaster: never;
435
68
  gasPerPubdata: never;
436
69
  factoryDeps: never;
@@ -735,240 +368,17 @@ export declare const chainSpecs: {
735
368
  formatters: {
736
369
  readonly block: {
737
370
  exclude: [] | undefined;
738
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
739
- baseFeePerGas: bigint | null;
740
- blobGasUsed: bigint;
741
- difficulty: bigint;
742
- excessBlobGas: bigint;
743
- extraData: import("viem").Hex;
744
- gasLimit: bigint;
745
- gasUsed: bigint;
746
- hash: `0x${string}` | null;
747
- logsBloom: `0x${string}` | null;
748
- miner: import("abitype").Address;
749
- mixHash: import("viem").Hash;
750
- nonce: `0x${string}` | null;
751
- number: bigint | null;
752
- parentBeaconBlockRoot?: `0x${string}` | undefined;
753
- parentHash: import("viem").Hash;
754
- receiptsRoot: import("viem").Hex;
755
- sealFields: import("viem").Hex[];
756
- sha3Uncles: import("viem").Hash;
757
- size: bigint;
758
- stateRoot: import("viem").Hash;
759
- timestamp: bigint;
760
- totalDifficulty: bigint | null;
761
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
762
- transactionsRoot: import("viem").Hash;
763
- uncles: import("viem").Hash[];
764
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
765
- withdrawalsRoot?: `0x${string}` | undefined;
766
- } & {};
371
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
767
372
  type: "block";
768
373
  };
769
374
  readonly transaction: {
770
375
  exclude: [] | undefined;
771
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
772
- blockHash: `0x${string}` | null;
773
- blockNumber: bigint | null;
774
- blockTimestamp?: bigint | undefined;
775
- from: import("abitype").Address;
776
- gas: bigint;
777
- hash: import("viem").Hash;
778
- input: import("viem").Hex;
779
- nonce: number;
780
- r: import("viem").Hex;
781
- s: import("viem").Hex;
782
- to: import("abitype").Address | null;
783
- transactionIndex: number | null;
784
- typeHex: import("viem").Hex | null;
785
- v: bigint;
786
- value: bigint;
787
- yParity: number;
788
- gasPrice?: undefined | undefined;
789
- maxFeePerBlobGas?: undefined | undefined;
790
- maxFeePerGas: bigint;
791
- maxPriorityFeePerGas: bigint;
792
- isSystemTx?: boolean;
793
- mint?: bigint | undefined | undefined;
794
- sourceHash: import("viem").Hex;
795
- type: "deposit";
796
- } | {
797
- r: import("viem").Hex;
798
- s: import("viem").Hex;
799
- v: bigint;
800
- to: import("abitype").Address | null;
801
- from: import("abitype").Address;
802
- gas: bigint;
803
- nonce: number;
804
- value: bigint;
805
- blockHash: `0x${string}` | null;
806
- blockNumber: bigint | null;
807
- blockTimestamp?: bigint | undefined;
808
- hash: import("viem").Hash;
809
- input: import("viem").Hex;
810
- transactionIndex: number | null;
811
- typeHex: import("viem").Hex | null;
812
- accessList?: undefined | undefined;
813
- authorizationList?: undefined | undefined;
814
- blobVersionedHashes?: undefined | undefined;
815
- chainId?: number | undefined;
816
- yParity?: undefined | undefined;
817
- type: "legacy";
818
- gasPrice: bigint;
819
- maxFeePerBlobGas?: undefined | undefined;
820
- maxFeePerGas?: undefined | undefined;
821
- maxPriorityFeePerGas?: undefined | undefined;
822
- isSystemTx?: undefined | undefined;
823
- mint?: undefined | undefined;
824
- sourceHash?: undefined | undefined;
825
- } | {
826
- blockHash: `0x${string}` | null;
827
- blockNumber: bigint | null;
828
- blockTimestamp?: bigint | undefined;
829
- from: import("abitype").Address;
830
- gas: bigint;
831
- hash: import("viem").Hash;
832
- input: import("viem").Hex;
833
- nonce: number;
834
- r: import("viem").Hex;
835
- s: import("viem").Hex;
836
- to: import("abitype").Address | null;
837
- transactionIndex: number | null;
838
- typeHex: import("viem").Hex | null;
839
- v: bigint;
840
- value: bigint;
841
- yParity: number;
842
- accessList: import("viem").AccessList;
843
- authorizationList?: undefined | undefined;
844
- blobVersionedHashes?: undefined | undefined;
845
- chainId: number;
846
- type: "eip2930";
847
- gasPrice: bigint;
848
- maxFeePerBlobGas?: undefined | undefined;
849
- maxFeePerGas?: undefined | undefined;
850
- maxPriorityFeePerGas?: undefined | undefined;
851
- isSystemTx?: undefined | undefined;
852
- mint?: undefined | undefined;
853
- sourceHash?: undefined | undefined;
854
- } | {
855
- blockHash: `0x${string}` | null;
856
- blockNumber: bigint | null;
857
- blockTimestamp?: bigint | undefined;
858
- from: import("abitype").Address;
859
- gas: bigint;
860
- hash: import("viem").Hash;
861
- input: import("viem").Hex;
862
- nonce: number;
863
- r: import("viem").Hex;
864
- s: import("viem").Hex;
865
- to: import("abitype").Address | null;
866
- transactionIndex: number | null;
867
- typeHex: import("viem").Hex | null;
868
- v: bigint;
869
- value: bigint;
870
- yParity: number;
871
- accessList: import("viem").AccessList;
872
- authorizationList?: undefined | undefined;
873
- blobVersionedHashes?: undefined | undefined;
874
- chainId: number;
875
- type: "eip1559";
876
- gasPrice?: undefined | undefined;
877
- maxFeePerBlobGas?: undefined | undefined;
878
- maxFeePerGas: bigint;
879
- maxPriorityFeePerGas: bigint;
880
- isSystemTx?: undefined | undefined;
881
- mint?: undefined | undefined;
882
- sourceHash?: undefined | undefined;
883
- } | {
884
- blockHash: `0x${string}` | null;
885
- blockNumber: bigint | null;
886
- blockTimestamp?: bigint | undefined;
887
- from: import("abitype").Address;
888
- gas: bigint;
889
- hash: import("viem").Hash;
890
- input: import("viem").Hex;
891
- nonce: number;
892
- r: import("viem").Hex;
893
- s: import("viem").Hex;
894
- to: import("abitype").Address | null;
895
- transactionIndex: number | null;
896
- typeHex: import("viem").Hex | null;
897
- v: bigint;
898
- value: bigint;
899
- yParity: number;
900
- accessList: import("viem").AccessList;
901
- authorizationList?: undefined | undefined;
902
- blobVersionedHashes: readonly import("viem").Hex[];
903
- chainId: number;
904
- type: "eip4844";
905
- gasPrice?: undefined | undefined;
906
- maxFeePerBlobGas: bigint;
907
- maxFeePerGas: bigint;
908
- maxPriorityFeePerGas: bigint;
909
- isSystemTx?: undefined | undefined;
910
- mint?: undefined | undefined;
911
- sourceHash?: undefined | undefined;
912
- } | {
913
- blockHash: `0x${string}` | null;
914
- blockNumber: bigint | null;
915
- blockTimestamp?: bigint | undefined;
916
- from: import("abitype").Address;
917
- gas: bigint;
918
- hash: import("viem").Hash;
919
- input: import("viem").Hex;
920
- nonce: number;
921
- r: import("viem").Hex;
922
- s: import("viem").Hex;
923
- to: import("abitype").Address | null;
924
- transactionIndex: number | null;
925
- typeHex: import("viem").Hex | null;
926
- v: bigint;
927
- value: bigint;
928
- yParity: number;
929
- accessList: import("viem").AccessList;
930
- authorizationList: import("viem").SignedAuthorizationList;
931
- blobVersionedHashes?: undefined | undefined;
932
- chainId: number;
933
- type: "eip7702";
934
- gasPrice?: undefined | undefined;
935
- maxFeePerBlobGas?: undefined | undefined;
936
- maxFeePerGas: bigint;
937
- maxPriorityFeePerGas: bigint;
938
- isSystemTx?: undefined | undefined;
939
- mint?: undefined | undefined;
940
- sourceHash?: undefined | undefined;
941
- }) & {};
376
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
942
377
  type: "transaction";
943
378
  };
944
379
  readonly transactionReceipt: {
945
380
  exclude: [] | undefined;
946
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
947
- blobGasPrice?: bigint | undefined;
948
- blobGasUsed?: bigint | undefined;
949
- blockHash: import("viem").Hash;
950
- blockNumber: bigint;
951
- blockTimestamp?: bigint | undefined;
952
- contractAddress: import("abitype").Address | null | undefined;
953
- cumulativeGasUsed: bigint;
954
- effectiveGasPrice: bigint;
955
- from: import("abitype").Address;
956
- gasUsed: bigint;
957
- logs: import("viem").Log<bigint, number, false>[];
958
- logsBloom: import("viem").Hex;
959
- root?: `0x${string}` | undefined;
960
- status: "success" | "reverted";
961
- to: import("abitype").Address | null;
962
- transactionHash: import("viem").Hash;
963
- transactionIndex: number;
964
- type: import("viem").TransactionType;
965
- depositNonce?: bigint | undefined | undefined;
966
- depositReceiptVersion?: number | undefined | undefined;
967
- l1GasPrice: bigint | null;
968
- l1GasUsed: bigint | null;
969
- l1Fee: bigint | null;
970
- l1FeeScalar: number | null;
971
- } & {};
381
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
972
382
  type: "transactionReceipt";
973
383
  };
974
384
  };
@@ -1077,240 +487,17 @@ export declare const chainSpecs: {
1077
487
  formatters: {
1078
488
  readonly block: {
1079
489
  exclude: [] | undefined;
1080
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1081
- baseFeePerGas: bigint | null;
1082
- blobGasUsed: bigint;
1083
- difficulty: bigint;
1084
- excessBlobGas: bigint;
1085
- extraData: import("viem").Hex;
1086
- gasLimit: bigint;
1087
- gasUsed: bigint;
1088
- hash: `0x${string}` | null;
1089
- logsBloom: `0x${string}` | null;
1090
- miner: import("abitype").Address;
1091
- mixHash: import("viem").Hash;
1092
- nonce: `0x${string}` | null;
1093
- number: bigint | null;
1094
- parentBeaconBlockRoot?: `0x${string}` | undefined;
1095
- parentHash: import("viem").Hash;
1096
- receiptsRoot: import("viem").Hex;
1097
- sealFields: import("viem").Hex[];
1098
- sha3Uncles: import("viem").Hash;
1099
- size: bigint;
1100
- stateRoot: import("viem").Hash;
1101
- timestamp: bigint;
1102
- totalDifficulty: bigint | null;
1103
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1104
- transactionsRoot: import("viem").Hash;
1105
- uncles: import("viem").Hash[];
1106
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1107
- withdrawalsRoot?: `0x${string}` | undefined;
1108
- } & {};
490
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
1109
491
  type: "block";
1110
492
  };
1111
493
  readonly transaction: {
1112
494
  exclude: [] | undefined;
1113
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1114
- blockHash: `0x${string}` | null;
1115
- blockNumber: bigint | null;
1116
- blockTimestamp?: bigint | undefined;
1117
- from: import("abitype").Address;
1118
- gas: bigint;
1119
- hash: import("viem").Hash;
1120
- input: import("viem").Hex;
1121
- nonce: number;
1122
- r: import("viem").Hex;
1123
- s: import("viem").Hex;
1124
- to: import("abitype").Address | null;
1125
- transactionIndex: number | null;
1126
- typeHex: import("viem").Hex | null;
1127
- v: bigint;
1128
- value: bigint;
1129
- yParity: number;
1130
- gasPrice?: undefined | undefined;
1131
- maxFeePerBlobGas?: undefined | undefined;
1132
- maxFeePerGas: bigint;
1133
- maxPriorityFeePerGas: bigint;
1134
- isSystemTx?: boolean;
1135
- mint?: bigint | undefined | undefined;
1136
- sourceHash: import("viem").Hex;
1137
- type: "deposit";
1138
- } | {
1139
- r: import("viem").Hex;
1140
- s: import("viem").Hex;
1141
- v: bigint;
1142
- to: import("abitype").Address | null;
1143
- from: import("abitype").Address;
1144
- gas: bigint;
1145
- nonce: number;
1146
- value: bigint;
1147
- blockHash: `0x${string}` | null;
1148
- blockNumber: bigint | null;
1149
- blockTimestamp?: bigint | undefined;
1150
- hash: import("viem").Hash;
1151
- input: import("viem").Hex;
1152
- transactionIndex: number | null;
1153
- typeHex: import("viem").Hex | null;
1154
- accessList?: undefined | undefined;
1155
- authorizationList?: undefined | undefined;
1156
- blobVersionedHashes?: undefined | undefined;
1157
- chainId?: number | undefined;
1158
- yParity?: undefined | undefined;
1159
- type: "legacy";
1160
- gasPrice: bigint;
1161
- maxFeePerBlobGas?: undefined | undefined;
1162
- maxFeePerGas?: undefined | undefined;
1163
- maxPriorityFeePerGas?: undefined | undefined;
1164
- isSystemTx?: undefined | undefined;
1165
- mint?: undefined | undefined;
1166
- sourceHash?: undefined | undefined;
1167
- } | {
1168
- blockHash: `0x${string}` | null;
1169
- blockNumber: bigint | null;
1170
- blockTimestamp?: bigint | undefined;
1171
- from: import("abitype").Address;
1172
- gas: bigint;
1173
- hash: import("viem").Hash;
1174
- input: import("viem").Hex;
1175
- nonce: number;
1176
- r: import("viem").Hex;
1177
- s: import("viem").Hex;
1178
- to: import("abitype").Address | null;
1179
- transactionIndex: number | null;
1180
- typeHex: import("viem").Hex | null;
1181
- v: bigint;
1182
- value: bigint;
1183
- yParity: number;
1184
- accessList: import("viem").AccessList;
1185
- authorizationList?: undefined | undefined;
1186
- blobVersionedHashes?: undefined | undefined;
1187
- chainId: number;
1188
- type: "eip2930";
1189
- gasPrice: bigint;
1190
- maxFeePerBlobGas?: undefined | undefined;
1191
- maxFeePerGas?: undefined | undefined;
1192
- maxPriorityFeePerGas?: undefined | undefined;
1193
- isSystemTx?: undefined | undefined;
1194
- mint?: undefined | undefined;
1195
- sourceHash?: undefined | undefined;
1196
- } | {
1197
- blockHash: `0x${string}` | null;
1198
- blockNumber: bigint | null;
1199
- blockTimestamp?: bigint | undefined;
1200
- from: import("abitype").Address;
1201
- gas: bigint;
1202
- hash: import("viem").Hash;
1203
- input: import("viem").Hex;
1204
- nonce: number;
1205
- r: import("viem").Hex;
1206
- s: import("viem").Hex;
1207
- to: import("abitype").Address | null;
1208
- transactionIndex: number | null;
1209
- typeHex: import("viem").Hex | null;
1210
- v: bigint;
1211
- value: bigint;
1212
- yParity: number;
1213
- accessList: import("viem").AccessList;
1214
- authorizationList?: undefined | undefined;
1215
- blobVersionedHashes?: undefined | undefined;
1216
- chainId: number;
1217
- type: "eip1559";
1218
- gasPrice?: undefined | undefined;
1219
- maxFeePerBlobGas?: undefined | undefined;
1220
- maxFeePerGas: bigint;
1221
- maxPriorityFeePerGas: bigint;
1222
- isSystemTx?: undefined | undefined;
1223
- mint?: undefined | undefined;
1224
- sourceHash?: undefined | undefined;
1225
- } | {
1226
- blockHash: `0x${string}` | null;
1227
- blockNumber: bigint | null;
1228
- blockTimestamp?: bigint | undefined;
1229
- from: import("abitype").Address;
1230
- gas: bigint;
1231
- hash: import("viem").Hash;
1232
- input: import("viem").Hex;
1233
- nonce: number;
1234
- r: import("viem").Hex;
1235
- s: import("viem").Hex;
1236
- to: import("abitype").Address | null;
1237
- transactionIndex: number | null;
1238
- typeHex: import("viem").Hex | null;
1239
- v: bigint;
1240
- value: bigint;
1241
- yParity: number;
1242
- accessList: import("viem").AccessList;
1243
- authorizationList?: undefined | undefined;
1244
- blobVersionedHashes: readonly import("viem").Hex[];
1245
- chainId: number;
1246
- type: "eip4844";
1247
- gasPrice?: undefined | undefined;
1248
- maxFeePerBlobGas: bigint;
1249
- maxFeePerGas: bigint;
1250
- maxPriorityFeePerGas: bigint;
1251
- isSystemTx?: undefined | undefined;
1252
- mint?: undefined | undefined;
1253
- sourceHash?: undefined | undefined;
1254
- } | {
1255
- blockHash: `0x${string}` | null;
1256
- blockNumber: bigint | null;
1257
- blockTimestamp?: bigint | undefined;
1258
- from: import("abitype").Address;
1259
- gas: bigint;
1260
- hash: import("viem").Hash;
1261
- input: import("viem").Hex;
1262
- nonce: number;
1263
- r: import("viem").Hex;
1264
- s: import("viem").Hex;
1265
- to: import("abitype").Address | null;
1266
- transactionIndex: number | null;
1267
- typeHex: import("viem").Hex | null;
1268
- v: bigint;
1269
- value: bigint;
1270
- yParity: number;
1271
- accessList: import("viem").AccessList;
1272
- authorizationList: import("viem").SignedAuthorizationList;
1273
- blobVersionedHashes?: undefined | undefined;
1274
- chainId: number;
1275
- type: "eip7702";
1276
- gasPrice?: undefined | undefined;
1277
- maxFeePerBlobGas?: undefined | undefined;
1278
- maxFeePerGas: bigint;
1279
- maxPriorityFeePerGas: bigint;
1280
- isSystemTx?: undefined | undefined;
1281
- mint?: undefined | undefined;
1282
- sourceHash?: undefined | undefined;
1283
- }) & {};
495
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
1284
496
  type: "transaction";
1285
497
  };
1286
498
  readonly transactionReceipt: {
1287
499
  exclude: [] | undefined;
1288
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1289
- blobGasPrice?: bigint | undefined;
1290
- blobGasUsed?: bigint | undefined;
1291
- blockHash: import("viem").Hash;
1292
- blockNumber: bigint;
1293
- blockTimestamp?: bigint | undefined;
1294
- contractAddress: import("abitype").Address | null | undefined;
1295
- cumulativeGasUsed: bigint;
1296
- effectiveGasPrice: bigint;
1297
- from: import("abitype").Address;
1298
- gasUsed: bigint;
1299
- logs: import("viem").Log<bigint, number, false>[];
1300
- logsBloom: import("viem").Hex;
1301
- root?: `0x${string}` | undefined;
1302
- status: "success" | "reverted";
1303
- to: import("abitype").Address | null;
1304
- transactionHash: import("viem").Hash;
1305
- transactionIndex: number;
1306
- type: import("viem").TransactionType;
1307
- depositNonce?: bigint | undefined | undefined;
1308
- depositReceiptVersion?: number | undefined | undefined;
1309
- l1GasPrice: bigint | null;
1310
- l1GasUsed: bigint | null;
1311
- l1Fee: bigint | null;
1312
- l1FeeScalar: number | null;
1313
- } & {};
500
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
1314
501
  type: "transactionReceipt";
1315
502
  };
1316
503
  };
@@ -1483,240 +670,17 @@ export declare const chainSpecs: {
1483
670
  formatters: {
1484
671
  readonly block: {
1485
672
  exclude: [] | undefined;
1486
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1487
- baseFeePerGas: bigint | null;
1488
- blobGasUsed: bigint;
1489
- difficulty: bigint;
1490
- excessBlobGas: bigint;
1491
- extraData: import("viem").Hex;
1492
- gasLimit: bigint;
1493
- gasUsed: bigint;
1494
- hash: `0x${string}` | null;
1495
- logsBloom: `0x${string}` | null;
1496
- miner: import("abitype").Address;
1497
- mixHash: import("viem").Hash;
1498
- nonce: `0x${string}` | null;
1499
- number: bigint | null;
1500
- parentBeaconBlockRoot?: `0x${string}` | undefined;
1501
- parentHash: import("viem").Hash;
1502
- receiptsRoot: import("viem").Hex;
1503
- sealFields: import("viem").Hex[];
1504
- sha3Uncles: import("viem").Hash;
1505
- size: bigint;
1506
- stateRoot: import("viem").Hash;
1507
- timestamp: bigint;
1508
- totalDifficulty: bigint | null;
1509
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1510
- transactionsRoot: import("viem").Hash;
1511
- uncles: import("viem").Hash[];
1512
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1513
- withdrawalsRoot?: `0x${string}` | undefined;
1514
- } & {};
673
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
1515
674
  type: "block";
1516
675
  };
1517
676
  readonly transaction: {
1518
677
  exclude: [] | undefined;
1519
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1520
- blockHash: `0x${string}` | null;
1521
- blockNumber: bigint | null;
1522
- blockTimestamp?: bigint | undefined;
1523
- from: import("abitype").Address;
1524
- gas: bigint;
1525
- hash: import("viem").Hash;
1526
- input: import("viem").Hex;
1527
- nonce: number;
1528
- r: import("viem").Hex;
1529
- s: import("viem").Hex;
1530
- to: import("abitype").Address | null;
1531
- transactionIndex: number | null;
1532
- typeHex: import("viem").Hex | null;
1533
- v: bigint;
1534
- value: bigint;
1535
- yParity: number;
1536
- gasPrice?: undefined | undefined;
1537
- maxFeePerBlobGas?: undefined | undefined;
1538
- maxFeePerGas: bigint;
1539
- maxPriorityFeePerGas: bigint;
1540
- isSystemTx?: boolean;
1541
- mint?: bigint | undefined | undefined;
1542
- sourceHash: import("viem").Hex;
1543
- type: "deposit";
1544
- } | {
1545
- r: import("viem").Hex;
1546
- s: import("viem").Hex;
1547
- v: bigint;
1548
- to: import("abitype").Address | null;
1549
- from: import("abitype").Address;
1550
- gas: bigint;
1551
- nonce: number;
1552
- value: bigint;
1553
- blockHash: `0x${string}` | null;
1554
- blockNumber: bigint | null;
1555
- blockTimestamp?: bigint | undefined;
1556
- hash: import("viem").Hash;
1557
- input: import("viem").Hex;
1558
- transactionIndex: number | null;
1559
- typeHex: import("viem").Hex | null;
1560
- accessList?: undefined | undefined;
1561
- authorizationList?: undefined | undefined;
1562
- blobVersionedHashes?: undefined | undefined;
1563
- chainId?: number | undefined;
1564
- yParity?: undefined | undefined;
1565
- type: "legacy";
1566
- gasPrice: bigint;
1567
- maxFeePerBlobGas?: undefined | undefined;
1568
- maxFeePerGas?: undefined | undefined;
1569
- maxPriorityFeePerGas?: undefined | undefined;
1570
- isSystemTx?: undefined | undefined;
1571
- mint?: undefined | undefined;
1572
- sourceHash?: undefined | undefined;
1573
- } | {
1574
- blockHash: `0x${string}` | null;
1575
- blockNumber: bigint | null;
1576
- blockTimestamp?: bigint | undefined;
1577
- from: import("abitype").Address;
1578
- gas: bigint;
1579
- hash: import("viem").Hash;
1580
- input: import("viem").Hex;
1581
- nonce: number;
1582
- r: import("viem").Hex;
1583
- s: import("viem").Hex;
1584
- to: import("abitype").Address | null;
1585
- transactionIndex: number | null;
1586
- typeHex: import("viem").Hex | null;
1587
- v: bigint;
1588
- value: bigint;
1589
- yParity: number;
1590
- accessList: import("viem").AccessList;
1591
- authorizationList?: undefined | undefined;
1592
- blobVersionedHashes?: undefined | undefined;
1593
- chainId: number;
1594
- type: "eip2930";
1595
- gasPrice: bigint;
1596
- maxFeePerBlobGas?: undefined | undefined;
1597
- maxFeePerGas?: undefined | undefined;
1598
- maxPriorityFeePerGas?: undefined | undefined;
1599
- isSystemTx?: undefined | undefined;
1600
- mint?: undefined | undefined;
1601
- sourceHash?: undefined | undefined;
1602
- } | {
1603
- blockHash: `0x${string}` | null;
1604
- blockNumber: bigint | null;
1605
- blockTimestamp?: bigint | undefined;
1606
- from: import("abitype").Address;
1607
- gas: bigint;
1608
- hash: import("viem").Hash;
1609
- input: import("viem").Hex;
1610
- nonce: number;
1611
- r: import("viem").Hex;
1612
- s: import("viem").Hex;
1613
- to: import("abitype").Address | null;
1614
- transactionIndex: number | null;
1615
- typeHex: import("viem").Hex | null;
1616
- v: bigint;
1617
- value: bigint;
1618
- yParity: number;
1619
- accessList: import("viem").AccessList;
1620
- authorizationList?: undefined | undefined;
1621
- blobVersionedHashes?: undefined | undefined;
1622
- chainId: number;
1623
- type: "eip1559";
1624
- gasPrice?: undefined | undefined;
1625
- maxFeePerBlobGas?: undefined | undefined;
1626
- maxFeePerGas: bigint;
1627
- maxPriorityFeePerGas: bigint;
1628
- isSystemTx?: undefined | undefined;
1629
- mint?: undefined | undefined;
1630
- sourceHash?: undefined | undefined;
1631
- } | {
1632
- blockHash: `0x${string}` | null;
1633
- blockNumber: bigint | null;
1634
- blockTimestamp?: bigint | undefined;
1635
- from: import("abitype").Address;
1636
- gas: bigint;
1637
- hash: import("viem").Hash;
1638
- input: import("viem").Hex;
1639
- nonce: number;
1640
- r: import("viem").Hex;
1641
- s: import("viem").Hex;
1642
- to: import("abitype").Address | null;
1643
- transactionIndex: number | null;
1644
- typeHex: import("viem").Hex | null;
1645
- v: bigint;
1646
- value: bigint;
1647
- yParity: number;
1648
- accessList: import("viem").AccessList;
1649
- authorizationList?: undefined | undefined;
1650
- blobVersionedHashes: readonly import("viem").Hex[];
1651
- chainId: number;
1652
- type: "eip4844";
1653
- gasPrice?: undefined | undefined;
1654
- maxFeePerBlobGas: bigint;
1655
- maxFeePerGas: bigint;
1656
- maxPriorityFeePerGas: bigint;
1657
- isSystemTx?: undefined | undefined;
1658
- mint?: undefined | undefined;
1659
- sourceHash?: undefined | undefined;
1660
- } | {
1661
- blockHash: `0x${string}` | null;
1662
- blockNumber: bigint | null;
1663
- blockTimestamp?: bigint | undefined;
1664
- from: import("abitype").Address;
1665
- gas: bigint;
1666
- hash: import("viem").Hash;
1667
- input: import("viem").Hex;
1668
- nonce: number;
1669
- r: import("viem").Hex;
1670
- s: import("viem").Hex;
1671
- to: import("abitype").Address | null;
1672
- transactionIndex: number | null;
1673
- typeHex: import("viem").Hex | null;
1674
- v: bigint;
1675
- value: bigint;
1676
- yParity: number;
1677
- accessList: import("viem").AccessList;
1678
- authorizationList: import("viem").SignedAuthorizationList;
1679
- blobVersionedHashes?: undefined | undefined;
1680
- chainId: number;
1681
- type: "eip7702";
1682
- gasPrice?: undefined | undefined;
1683
- maxFeePerBlobGas?: undefined | undefined;
1684
- maxFeePerGas: bigint;
1685
- maxPriorityFeePerGas: bigint;
1686
- isSystemTx?: undefined | undefined;
1687
- mint?: undefined | undefined;
1688
- sourceHash?: undefined | undefined;
1689
- }) & {};
678
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
1690
679
  type: "transaction";
1691
680
  };
1692
681
  readonly transactionReceipt: {
1693
682
  exclude: [] | undefined;
1694
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1695
- blobGasPrice?: bigint | undefined;
1696
- blobGasUsed?: bigint | undefined;
1697
- blockHash: import("viem").Hash;
1698
- blockNumber: bigint;
1699
- blockTimestamp?: bigint | undefined;
1700
- contractAddress: import("abitype").Address | null | undefined;
1701
- cumulativeGasUsed: bigint;
1702
- effectiveGasPrice: bigint;
1703
- from: import("abitype").Address;
1704
- gasUsed: bigint;
1705
- logs: import("viem").Log<bigint, number, false>[];
1706
- logsBloom: import("viem").Hex;
1707
- root?: `0x${string}` | undefined;
1708
- status: "success" | "reverted";
1709
- to: import("abitype").Address | null;
1710
- transactionHash: import("viem").Hash;
1711
- transactionIndex: number;
1712
- type: import("viem").TransactionType;
1713
- depositNonce?: bigint | undefined | undefined;
1714
- depositReceiptVersion?: number | undefined | undefined;
1715
- l1GasPrice: bigint | null;
1716
- l1GasUsed: bigint | null;
1717
- l1Fee: bigint | null;
1718
- l1FeeScalar: number | null;
1719
- } & {};
683
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
1720
684
  type: "transactionReceipt";
1721
685
  };
1722
686
  };
@@ -1936,6 +900,62 @@ export declare const chainSpecs: {
1936
900
  coinGeckoId: string;
1937
901
  };
1938
902
  };
903
+ denergy: {
904
+ base: {
905
+ blockExplorers: {
906
+ readonly default: {
907
+ readonly name: "Explorer";
908
+ readonly url: "https://explorer.denergychain.com";
909
+ };
910
+ };
911
+ blockTime?: number | undefined | undefined;
912
+ contracts: {
913
+ readonly multicall3: {
914
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
915
+ };
916
+ };
917
+ ensTlds?: readonly string[] | undefined;
918
+ id: 369369;
919
+ name: "Denergy";
920
+ nativeCurrency: {
921
+ readonly decimals: 18;
922
+ readonly name: "Watt";
923
+ readonly symbol: "WATT";
924
+ };
925
+ experimental_preconfirmationTime?: number | undefined | undefined;
926
+ rpcUrls: {
927
+ readonly default: {
928
+ readonly http: readonly ["https://rpc.d.energy"];
929
+ };
930
+ };
931
+ sourceId?: number | undefined | undefined;
932
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
933
+ testnet: false;
934
+ custom?: Record<string, unknown> | undefined;
935
+ extendSchema?: Record<string, unknown> | undefined;
936
+ fees?: import("viem").ChainFees<undefined> | undefined;
937
+ formatters?: undefined;
938
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
939
+ client: import("viem").Client;
940
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
941
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
942
+ client: import("viem").Client;
943
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
944
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
945
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
946
+ }] | undefined;
947
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
948
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
949
+ };
950
+ meta: {};
951
+ nativeCurrency: {
952
+ coinGeckoId: string;
953
+ wrapperContract: string;
954
+ };
955
+ rpc: {
956
+ routemesh: false;
957
+ };
958
+ };
1939
959
  gnosis: {
1940
960
  base: {
1941
961
  blockExplorers: {
@@ -2324,6 +1344,13 @@ export declare const chainSpecs: {
2324
1344
  coinGeckoId: "ethereum";
2325
1345
  wrapperContract: string;
2326
1346
  };
1347
+ overrides: {
1348
+ rpcUrls: {
1349
+ default: {
1350
+ http: string[];
1351
+ };
1352
+ };
1353
+ };
2327
1354
  rpc: {
2328
1355
  alchemy: string;
2329
1356
  infura: string;
@@ -2405,240 +1432,17 @@ export declare const chainSpecs: {
2405
1432
  formatters: {
2406
1433
  readonly block: {
2407
1434
  exclude: [] | undefined;
2408
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
2409
- baseFeePerGas: bigint | null;
2410
- blobGasUsed: bigint;
2411
- difficulty: bigint;
2412
- excessBlobGas: bigint;
2413
- extraData: import("viem").Hex;
2414
- gasLimit: bigint;
2415
- gasUsed: bigint;
2416
- hash: `0x${string}` | null;
2417
- logsBloom: `0x${string}` | null;
2418
- miner: import("abitype").Address;
2419
- mixHash: import("viem").Hash;
2420
- nonce: `0x${string}` | null;
2421
- number: bigint | null;
2422
- parentBeaconBlockRoot?: `0x${string}` | undefined;
2423
- parentHash: import("viem").Hash;
2424
- receiptsRoot: import("viem").Hex;
2425
- sealFields: import("viem").Hex[];
2426
- sha3Uncles: import("viem").Hash;
2427
- size: bigint;
2428
- stateRoot: import("viem").Hash;
2429
- timestamp: bigint;
2430
- totalDifficulty: bigint | null;
2431
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
2432
- transactionsRoot: import("viem").Hash;
2433
- uncles: import("viem").Hash[];
2434
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
2435
- withdrawalsRoot?: `0x${string}` | undefined;
2436
- } & {};
1435
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
2437
1436
  type: "block";
2438
1437
  };
2439
1438
  readonly transaction: {
2440
1439
  exclude: [] | undefined;
2441
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
2442
- blockHash: `0x${string}` | null;
2443
- blockNumber: bigint | null;
2444
- blockTimestamp?: bigint | undefined;
2445
- from: import("abitype").Address;
2446
- gas: bigint;
2447
- hash: import("viem").Hash;
2448
- input: import("viem").Hex;
2449
- nonce: number;
2450
- r: import("viem").Hex;
2451
- s: import("viem").Hex;
2452
- to: import("abitype").Address | null;
2453
- transactionIndex: number | null;
2454
- typeHex: import("viem").Hex | null;
2455
- v: bigint;
2456
- value: bigint;
2457
- yParity: number;
2458
- gasPrice?: undefined | undefined;
2459
- maxFeePerBlobGas?: undefined | undefined;
2460
- maxFeePerGas: bigint;
2461
- maxPriorityFeePerGas: bigint;
2462
- isSystemTx?: boolean;
2463
- mint?: bigint | undefined | undefined;
2464
- sourceHash: import("viem").Hex;
2465
- type: "deposit";
2466
- } | {
2467
- r: import("viem").Hex;
2468
- s: import("viem").Hex;
2469
- v: bigint;
2470
- to: import("abitype").Address | null;
2471
- from: import("abitype").Address;
2472
- gas: bigint;
2473
- nonce: number;
2474
- value: bigint;
2475
- blockHash: `0x${string}` | null;
2476
- blockNumber: bigint | null;
2477
- blockTimestamp?: bigint | undefined;
2478
- hash: import("viem").Hash;
2479
- input: import("viem").Hex;
2480
- transactionIndex: number | null;
2481
- typeHex: import("viem").Hex | null;
2482
- accessList?: undefined | undefined;
2483
- authorizationList?: undefined | undefined;
2484
- blobVersionedHashes?: undefined | undefined;
2485
- chainId?: number | undefined;
2486
- yParity?: undefined | undefined;
2487
- type: "legacy";
2488
- gasPrice: bigint;
2489
- maxFeePerBlobGas?: undefined | undefined;
2490
- maxFeePerGas?: undefined | undefined;
2491
- maxPriorityFeePerGas?: undefined | undefined;
2492
- isSystemTx?: undefined | undefined;
2493
- mint?: undefined | undefined;
2494
- sourceHash?: undefined | undefined;
2495
- } | {
2496
- blockHash: `0x${string}` | null;
2497
- blockNumber: bigint | null;
2498
- blockTimestamp?: bigint | undefined;
2499
- from: import("abitype").Address;
2500
- gas: bigint;
2501
- hash: import("viem").Hash;
2502
- input: import("viem").Hex;
2503
- nonce: number;
2504
- r: import("viem").Hex;
2505
- s: import("viem").Hex;
2506
- to: import("abitype").Address | null;
2507
- transactionIndex: number | null;
2508
- typeHex: import("viem").Hex | null;
2509
- v: bigint;
2510
- value: bigint;
2511
- yParity: number;
2512
- accessList: import("viem").AccessList;
2513
- authorizationList?: undefined | undefined;
2514
- blobVersionedHashes?: undefined | undefined;
2515
- chainId: number;
2516
- type: "eip2930";
2517
- gasPrice: bigint;
2518
- maxFeePerBlobGas?: undefined | undefined;
2519
- maxFeePerGas?: undefined | undefined;
2520
- maxPriorityFeePerGas?: undefined | undefined;
2521
- isSystemTx?: undefined | undefined;
2522
- mint?: undefined | undefined;
2523
- sourceHash?: undefined | undefined;
2524
- } | {
2525
- blockHash: `0x${string}` | null;
2526
- blockNumber: bigint | null;
2527
- blockTimestamp?: bigint | undefined;
2528
- from: import("abitype").Address;
2529
- gas: bigint;
2530
- hash: import("viem").Hash;
2531
- input: import("viem").Hex;
2532
- nonce: number;
2533
- r: import("viem").Hex;
2534
- s: import("viem").Hex;
2535
- to: import("abitype").Address | null;
2536
- transactionIndex: number | null;
2537
- typeHex: import("viem").Hex | null;
2538
- v: bigint;
2539
- value: bigint;
2540
- yParity: number;
2541
- accessList: import("viem").AccessList;
2542
- authorizationList?: undefined | undefined;
2543
- blobVersionedHashes?: undefined | undefined;
2544
- chainId: number;
2545
- type: "eip1559";
2546
- gasPrice?: undefined | undefined;
2547
- maxFeePerBlobGas?: undefined | undefined;
2548
- maxFeePerGas: bigint;
2549
- maxPriorityFeePerGas: bigint;
2550
- isSystemTx?: undefined | undefined;
2551
- mint?: undefined | undefined;
2552
- sourceHash?: undefined | undefined;
2553
- } | {
2554
- blockHash: `0x${string}` | null;
2555
- blockNumber: bigint | null;
2556
- blockTimestamp?: bigint | undefined;
2557
- from: import("abitype").Address;
2558
- gas: bigint;
2559
- hash: import("viem").Hash;
2560
- input: import("viem").Hex;
2561
- nonce: number;
2562
- r: import("viem").Hex;
2563
- s: import("viem").Hex;
2564
- to: import("abitype").Address | null;
2565
- transactionIndex: number | null;
2566
- typeHex: import("viem").Hex | null;
2567
- v: bigint;
2568
- value: bigint;
2569
- yParity: number;
2570
- accessList: import("viem").AccessList;
2571
- authorizationList?: undefined | undefined;
2572
- blobVersionedHashes: readonly import("viem").Hex[];
2573
- chainId: number;
2574
- type: "eip4844";
2575
- gasPrice?: undefined | undefined;
2576
- maxFeePerBlobGas: bigint;
2577
- maxFeePerGas: bigint;
2578
- maxPriorityFeePerGas: bigint;
2579
- isSystemTx?: undefined | undefined;
2580
- mint?: undefined | undefined;
2581
- sourceHash?: undefined | undefined;
2582
- } | {
2583
- blockHash: `0x${string}` | null;
2584
- blockNumber: bigint | null;
2585
- blockTimestamp?: bigint | undefined;
2586
- from: import("abitype").Address;
2587
- gas: bigint;
2588
- hash: import("viem").Hash;
2589
- input: import("viem").Hex;
2590
- nonce: number;
2591
- r: import("viem").Hex;
2592
- s: import("viem").Hex;
2593
- to: import("abitype").Address | null;
2594
- transactionIndex: number | null;
2595
- typeHex: import("viem").Hex | null;
2596
- v: bigint;
2597
- value: bigint;
2598
- yParity: number;
2599
- accessList: import("viem").AccessList;
2600
- authorizationList: import("viem").SignedAuthorizationList;
2601
- blobVersionedHashes?: undefined | undefined;
2602
- chainId: number;
2603
- type: "eip7702";
2604
- gasPrice?: undefined | undefined;
2605
- maxFeePerBlobGas?: undefined | undefined;
2606
- maxFeePerGas: bigint;
2607
- maxPriorityFeePerGas: bigint;
2608
- isSystemTx?: undefined | undefined;
2609
- mint?: undefined | undefined;
2610
- sourceHash?: undefined | undefined;
2611
- }) & {};
1440
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
2612
1441
  type: "transaction";
2613
1442
  };
2614
1443
  readonly transactionReceipt: {
2615
1444
  exclude: [] | undefined;
2616
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
2617
- blobGasPrice?: bigint | undefined;
2618
- blobGasUsed?: bigint | undefined;
2619
- blockHash: import("viem").Hash;
2620
- blockNumber: bigint;
2621
- blockTimestamp?: bigint | undefined;
2622
- contractAddress: import("abitype").Address | null | undefined;
2623
- cumulativeGasUsed: bigint;
2624
- effectiveGasPrice: bigint;
2625
- from: import("abitype").Address;
2626
- gasUsed: bigint;
2627
- logs: import("viem").Log<bigint, number, false>[];
2628
- logsBloom: import("viem").Hex;
2629
- root?: `0x${string}` | undefined;
2630
- status: "success" | "reverted";
2631
- to: import("abitype").Address | null;
2632
- transactionHash: import("viem").Hash;
2633
- transactionIndex: number;
2634
- type: import("viem").TransactionType;
2635
- depositNonce?: bigint | undefined | undefined;
2636
- depositReceiptVersion?: number | undefined | undefined;
2637
- l1GasPrice: bigint | null;
2638
- l1GasUsed: bigint | null;
2639
- l1Fee: bigint | null;
2640
- l1FeeScalar: number | null;
2641
- } & {};
1445
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
2642
1446
  type: "transactionReceipt";
2643
1447
  };
2644
1448
  };
@@ -2881,240 +1685,17 @@ export declare const chainSpecs: {
2881
1685
  formatters: {
2882
1686
  readonly block: {
2883
1687
  exclude: [] | undefined;
2884
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
2885
- baseFeePerGas: bigint | null;
2886
- blobGasUsed: bigint;
2887
- difficulty: bigint;
2888
- excessBlobGas: bigint;
2889
- extraData: import("viem").Hex;
2890
- gasLimit: bigint;
2891
- gasUsed: bigint;
2892
- hash: `0x${string}` | null;
2893
- logsBloom: `0x${string}` | null;
2894
- miner: import("abitype").Address;
2895
- mixHash: import("viem").Hash;
2896
- nonce: `0x${string}` | null;
2897
- number: bigint | null;
2898
- parentBeaconBlockRoot?: `0x${string}` | undefined;
2899
- parentHash: import("viem").Hash;
2900
- receiptsRoot: import("viem").Hex;
2901
- sealFields: import("viem").Hex[];
2902
- sha3Uncles: import("viem").Hash;
2903
- size: bigint;
2904
- stateRoot: import("viem").Hash;
2905
- timestamp: bigint;
2906
- totalDifficulty: bigint | null;
2907
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
2908
- transactionsRoot: import("viem").Hash;
2909
- uncles: import("viem").Hash[];
2910
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
2911
- withdrawalsRoot?: `0x${string}` | undefined;
2912
- } & {};
1688
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
2913
1689
  type: "block";
2914
1690
  };
2915
1691
  readonly transaction: {
2916
1692
  exclude: [] | undefined;
2917
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
2918
- blockHash: `0x${string}` | null;
2919
- blockNumber: bigint | null;
2920
- blockTimestamp?: bigint | undefined;
2921
- from: import("abitype").Address;
2922
- gas: bigint;
2923
- hash: import("viem").Hash;
2924
- input: import("viem").Hex;
2925
- nonce: number;
2926
- r: import("viem").Hex;
2927
- s: import("viem").Hex;
2928
- to: import("abitype").Address | null;
2929
- transactionIndex: number | null;
2930
- typeHex: import("viem").Hex | null;
2931
- v: bigint;
2932
- value: bigint;
2933
- yParity: number;
2934
- gasPrice?: undefined | undefined;
2935
- maxFeePerBlobGas?: undefined | undefined;
2936
- maxFeePerGas: bigint;
2937
- maxPriorityFeePerGas: bigint;
2938
- isSystemTx?: boolean;
2939
- mint?: bigint | undefined | undefined;
2940
- sourceHash: import("viem").Hex;
2941
- type: "deposit";
2942
- } | {
2943
- r: import("viem").Hex;
2944
- s: import("viem").Hex;
2945
- v: bigint;
2946
- to: import("abitype").Address | null;
2947
- from: import("abitype").Address;
2948
- gas: bigint;
2949
- nonce: number;
2950
- value: bigint;
2951
- blockHash: `0x${string}` | null;
2952
- blockNumber: bigint | null;
2953
- blockTimestamp?: bigint | undefined;
2954
- hash: import("viem").Hash;
2955
- input: import("viem").Hex;
2956
- transactionIndex: number | null;
2957
- typeHex: import("viem").Hex | null;
2958
- accessList?: undefined | undefined;
2959
- authorizationList?: undefined | undefined;
2960
- blobVersionedHashes?: undefined | undefined;
2961
- chainId?: number | undefined;
2962
- yParity?: undefined | undefined;
2963
- type: "legacy";
2964
- gasPrice: bigint;
2965
- maxFeePerBlobGas?: undefined | undefined;
2966
- maxFeePerGas?: undefined | undefined;
2967
- maxPriorityFeePerGas?: undefined | undefined;
2968
- isSystemTx?: undefined | undefined;
2969
- mint?: undefined | undefined;
2970
- sourceHash?: undefined | undefined;
2971
- } | {
2972
- blockHash: `0x${string}` | null;
2973
- blockNumber: bigint | null;
2974
- blockTimestamp?: bigint | undefined;
2975
- from: import("abitype").Address;
2976
- gas: bigint;
2977
- hash: import("viem").Hash;
2978
- input: import("viem").Hex;
2979
- nonce: number;
2980
- r: import("viem").Hex;
2981
- s: import("viem").Hex;
2982
- to: import("abitype").Address | null;
2983
- transactionIndex: number | null;
2984
- typeHex: import("viem").Hex | null;
2985
- v: bigint;
2986
- value: bigint;
2987
- yParity: number;
2988
- accessList: import("viem").AccessList;
2989
- authorizationList?: undefined | undefined;
2990
- blobVersionedHashes?: undefined | undefined;
2991
- chainId: number;
2992
- type: "eip2930";
2993
- gasPrice: bigint;
2994
- maxFeePerBlobGas?: undefined | undefined;
2995
- maxFeePerGas?: undefined | undefined;
2996
- maxPriorityFeePerGas?: undefined | undefined;
2997
- isSystemTx?: undefined | undefined;
2998
- mint?: undefined | undefined;
2999
- sourceHash?: undefined | undefined;
3000
- } | {
3001
- blockHash: `0x${string}` | null;
3002
- blockNumber: bigint | null;
3003
- blockTimestamp?: bigint | undefined;
3004
- from: import("abitype").Address;
3005
- gas: bigint;
3006
- hash: import("viem").Hash;
3007
- input: import("viem").Hex;
3008
- nonce: number;
3009
- r: import("viem").Hex;
3010
- s: import("viem").Hex;
3011
- to: import("abitype").Address | null;
3012
- transactionIndex: number | null;
3013
- typeHex: import("viem").Hex | null;
3014
- v: bigint;
3015
- value: bigint;
3016
- yParity: number;
3017
- accessList: import("viem").AccessList;
3018
- authorizationList?: undefined | undefined;
3019
- blobVersionedHashes?: undefined | undefined;
3020
- chainId: number;
3021
- type: "eip1559";
3022
- gasPrice?: undefined | undefined;
3023
- maxFeePerBlobGas?: undefined | undefined;
3024
- maxFeePerGas: bigint;
3025
- maxPriorityFeePerGas: bigint;
3026
- isSystemTx?: undefined | undefined;
3027
- mint?: undefined | undefined;
3028
- sourceHash?: undefined | undefined;
3029
- } | {
3030
- blockHash: `0x${string}` | null;
3031
- blockNumber: bigint | null;
3032
- blockTimestamp?: bigint | undefined;
3033
- from: import("abitype").Address;
3034
- gas: bigint;
3035
- hash: import("viem").Hash;
3036
- input: import("viem").Hex;
3037
- nonce: number;
3038
- r: import("viem").Hex;
3039
- s: import("viem").Hex;
3040
- to: import("abitype").Address | null;
3041
- transactionIndex: number | null;
3042
- typeHex: import("viem").Hex | null;
3043
- v: bigint;
3044
- value: bigint;
3045
- yParity: number;
3046
- accessList: import("viem").AccessList;
3047
- authorizationList?: undefined | undefined;
3048
- blobVersionedHashes: readonly import("viem").Hex[];
3049
- chainId: number;
3050
- type: "eip4844";
3051
- gasPrice?: undefined | undefined;
3052
- maxFeePerBlobGas: bigint;
3053
- maxFeePerGas: bigint;
3054
- maxPriorityFeePerGas: bigint;
3055
- isSystemTx?: undefined | undefined;
3056
- mint?: undefined | undefined;
3057
- sourceHash?: undefined | undefined;
3058
- } | {
3059
- blockHash: `0x${string}` | null;
3060
- blockNumber: bigint | null;
3061
- blockTimestamp?: bigint | undefined;
3062
- from: import("abitype").Address;
3063
- gas: bigint;
3064
- hash: import("viem").Hash;
3065
- input: import("viem").Hex;
3066
- nonce: number;
3067
- r: import("viem").Hex;
3068
- s: import("viem").Hex;
3069
- to: import("abitype").Address | null;
3070
- transactionIndex: number | null;
3071
- typeHex: import("viem").Hex | null;
3072
- v: bigint;
3073
- value: bigint;
3074
- yParity: number;
3075
- accessList: import("viem").AccessList;
3076
- authorizationList: import("viem").SignedAuthorizationList;
3077
- blobVersionedHashes?: undefined | undefined;
3078
- chainId: number;
3079
- type: "eip7702";
3080
- gasPrice?: undefined | undefined;
3081
- maxFeePerBlobGas?: undefined | undefined;
3082
- maxFeePerGas: bigint;
3083
- maxPriorityFeePerGas: bigint;
3084
- isSystemTx?: undefined | undefined;
3085
- mint?: undefined | undefined;
3086
- sourceHash?: undefined | undefined;
3087
- }) & {};
1693
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
3088
1694
  type: "transaction";
3089
1695
  };
3090
1696
  readonly transactionReceipt: {
3091
1697
  exclude: [] | undefined;
3092
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
3093
- blobGasPrice?: bigint | undefined;
3094
- blobGasUsed?: bigint | undefined;
3095
- blockHash: import("viem").Hash;
3096
- blockNumber: bigint;
3097
- blockTimestamp?: bigint | undefined;
3098
- contractAddress: import("abitype").Address | null | undefined;
3099
- cumulativeGasUsed: bigint;
3100
- effectiveGasPrice: bigint;
3101
- from: import("abitype").Address;
3102
- gasUsed: bigint;
3103
- logs: import("viem").Log<bigint, number, false>[];
3104
- logsBloom: import("viem").Hex;
3105
- root?: `0x${string}` | undefined;
3106
- status: "success" | "reverted";
3107
- to: import("abitype").Address | null;
3108
- transactionHash: import("viem").Hash;
3109
- transactionIndex: number;
3110
- type: import("viem").TransactionType;
3111
- depositNonce?: bigint | undefined | undefined;
3112
- depositReceiptVersion?: number | undefined | undefined;
3113
- l1GasPrice: bigint | null;
3114
- l1GasUsed: bigint | null;
3115
- l1Fee: bigint | null;
3116
- l1FeeScalar: number | null;
3117
- } & {};
1698
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
3118
1699
  type: "transactionReceipt";
3119
1700
  };
3120
1701
  };
@@ -3221,240 +1802,17 @@ export declare const chainSpecs: {
3221
1802
  formatters: {
3222
1803
  readonly block: {
3223
1804
  exclude: [] | undefined;
3224
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
3225
- baseFeePerGas: bigint | null;
3226
- blobGasUsed: bigint;
3227
- difficulty: bigint;
3228
- excessBlobGas: bigint;
3229
- extraData: import("viem").Hex;
3230
- gasLimit: bigint;
3231
- gasUsed: bigint;
3232
- hash: `0x${string}` | null;
3233
- logsBloom: `0x${string}` | null;
3234
- miner: import("abitype").Address;
3235
- mixHash: import("viem").Hash;
3236
- nonce: `0x${string}` | null;
3237
- number: bigint | null;
3238
- parentBeaconBlockRoot?: `0x${string}` | undefined;
3239
- parentHash: import("viem").Hash;
3240
- receiptsRoot: import("viem").Hex;
3241
- sealFields: import("viem").Hex[];
3242
- sha3Uncles: import("viem").Hash;
3243
- size: bigint;
3244
- stateRoot: import("viem").Hash;
3245
- timestamp: bigint;
3246
- totalDifficulty: bigint | null;
3247
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
3248
- transactionsRoot: import("viem").Hash;
3249
- uncles: import("viem").Hash[];
3250
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
3251
- withdrawalsRoot?: `0x${string}` | undefined;
3252
- } & {};
1805
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
3253
1806
  type: "block";
3254
1807
  };
3255
1808
  readonly transaction: {
3256
1809
  exclude: [] | undefined;
3257
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
3258
- blockHash: `0x${string}` | null;
3259
- blockNumber: bigint | null;
3260
- blockTimestamp?: bigint | undefined;
3261
- from: import("abitype").Address;
3262
- gas: bigint;
3263
- hash: import("viem").Hash;
3264
- input: import("viem").Hex;
3265
- nonce: number;
3266
- r: import("viem").Hex;
3267
- s: import("viem").Hex;
3268
- to: import("abitype").Address | null;
3269
- transactionIndex: number | null;
3270
- typeHex: import("viem").Hex | null;
3271
- v: bigint;
3272
- value: bigint;
3273
- yParity: number;
3274
- gasPrice?: undefined | undefined;
3275
- maxFeePerBlobGas?: undefined | undefined;
3276
- maxFeePerGas: bigint;
3277
- maxPriorityFeePerGas: bigint;
3278
- isSystemTx?: boolean;
3279
- mint?: bigint | undefined | undefined;
3280
- sourceHash: import("viem").Hex;
3281
- type: "deposit";
3282
- } | {
3283
- r: import("viem").Hex;
3284
- s: import("viem").Hex;
3285
- v: bigint;
3286
- to: import("abitype").Address | null;
3287
- from: import("abitype").Address;
3288
- gas: bigint;
3289
- nonce: number;
3290
- value: bigint;
3291
- blockHash: `0x${string}` | null;
3292
- blockNumber: bigint | null;
3293
- blockTimestamp?: bigint | undefined;
3294
- hash: import("viem").Hash;
3295
- input: import("viem").Hex;
3296
- transactionIndex: number | null;
3297
- typeHex: import("viem").Hex | null;
3298
- accessList?: undefined | undefined;
3299
- authorizationList?: undefined | undefined;
3300
- blobVersionedHashes?: undefined | undefined;
3301
- chainId?: number | undefined;
3302
- yParity?: undefined | undefined;
3303
- type: "legacy";
3304
- gasPrice: bigint;
3305
- maxFeePerBlobGas?: undefined | undefined;
3306
- maxFeePerGas?: undefined | undefined;
3307
- maxPriorityFeePerGas?: undefined | undefined;
3308
- isSystemTx?: undefined | undefined;
3309
- mint?: undefined | undefined;
3310
- sourceHash?: undefined | undefined;
3311
- } | {
3312
- blockHash: `0x${string}` | null;
3313
- blockNumber: bigint | null;
3314
- blockTimestamp?: bigint | undefined;
3315
- from: import("abitype").Address;
3316
- gas: bigint;
3317
- hash: import("viem").Hash;
3318
- input: import("viem").Hex;
3319
- nonce: number;
3320
- r: import("viem").Hex;
3321
- s: import("viem").Hex;
3322
- to: import("abitype").Address | null;
3323
- transactionIndex: number | null;
3324
- typeHex: import("viem").Hex | null;
3325
- v: bigint;
3326
- value: bigint;
3327
- yParity: number;
3328
- accessList: import("viem").AccessList;
3329
- authorizationList?: undefined | undefined;
3330
- blobVersionedHashes?: undefined | undefined;
3331
- chainId: number;
3332
- type: "eip2930";
3333
- gasPrice: bigint;
3334
- maxFeePerBlobGas?: undefined | undefined;
3335
- maxFeePerGas?: undefined | undefined;
3336
- maxPriorityFeePerGas?: undefined | undefined;
3337
- isSystemTx?: undefined | undefined;
3338
- mint?: undefined | undefined;
3339
- sourceHash?: undefined | undefined;
3340
- } | {
3341
- blockHash: `0x${string}` | null;
3342
- blockNumber: bigint | null;
3343
- blockTimestamp?: bigint | undefined;
3344
- from: import("abitype").Address;
3345
- gas: bigint;
3346
- hash: import("viem").Hash;
3347
- input: import("viem").Hex;
3348
- nonce: number;
3349
- r: import("viem").Hex;
3350
- s: import("viem").Hex;
3351
- to: import("abitype").Address | null;
3352
- transactionIndex: number | null;
3353
- typeHex: import("viem").Hex | null;
3354
- v: bigint;
3355
- value: bigint;
3356
- yParity: number;
3357
- accessList: import("viem").AccessList;
3358
- authorizationList?: undefined | undefined;
3359
- blobVersionedHashes?: undefined | undefined;
3360
- chainId: number;
3361
- type: "eip1559";
3362
- gasPrice?: undefined | undefined;
3363
- maxFeePerBlobGas?: undefined | undefined;
3364
- maxFeePerGas: bigint;
3365
- maxPriorityFeePerGas: bigint;
3366
- isSystemTx?: undefined | undefined;
3367
- mint?: undefined | undefined;
3368
- sourceHash?: undefined | undefined;
3369
- } | {
3370
- blockHash: `0x${string}` | null;
3371
- blockNumber: bigint | null;
3372
- blockTimestamp?: bigint | undefined;
3373
- from: import("abitype").Address;
3374
- gas: bigint;
3375
- hash: import("viem").Hash;
3376
- input: import("viem").Hex;
3377
- nonce: number;
3378
- r: import("viem").Hex;
3379
- s: import("viem").Hex;
3380
- to: import("abitype").Address | null;
3381
- transactionIndex: number | null;
3382
- typeHex: import("viem").Hex | null;
3383
- v: bigint;
3384
- value: bigint;
3385
- yParity: number;
3386
- accessList: import("viem").AccessList;
3387
- authorizationList?: undefined | undefined;
3388
- blobVersionedHashes: readonly import("viem").Hex[];
3389
- chainId: number;
3390
- type: "eip4844";
3391
- gasPrice?: undefined | undefined;
3392
- maxFeePerBlobGas: bigint;
3393
- maxFeePerGas: bigint;
3394
- maxPriorityFeePerGas: bigint;
3395
- isSystemTx?: undefined | undefined;
3396
- mint?: undefined | undefined;
3397
- sourceHash?: undefined | undefined;
3398
- } | {
3399
- blockHash: `0x${string}` | null;
3400
- blockNumber: bigint | null;
3401
- blockTimestamp?: bigint | undefined;
3402
- from: import("abitype").Address;
3403
- gas: bigint;
3404
- hash: import("viem").Hash;
3405
- input: import("viem").Hex;
3406
- nonce: number;
3407
- r: import("viem").Hex;
3408
- s: import("viem").Hex;
3409
- to: import("abitype").Address | null;
3410
- transactionIndex: number | null;
3411
- typeHex: import("viem").Hex | null;
3412
- v: bigint;
3413
- value: bigint;
3414
- yParity: number;
3415
- accessList: import("viem").AccessList;
3416
- authorizationList: import("viem").SignedAuthorizationList;
3417
- blobVersionedHashes?: undefined | undefined;
3418
- chainId: number;
3419
- type: "eip7702";
3420
- gasPrice?: undefined | undefined;
3421
- maxFeePerBlobGas?: undefined | undefined;
3422
- maxFeePerGas: bigint;
3423
- maxPriorityFeePerGas: bigint;
3424
- isSystemTx?: undefined | undefined;
3425
- mint?: undefined | undefined;
3426
- sourceHash?: undefined | undefined;
3427
- }) & {};
1810
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
3428
1811
  type: "transaction";
3429
1812
  };
3430
1813
  readonly transactionReceipt: {
3431
1814
  exclude: [] | undefined;
3432
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
3433
- blobGasPrice?: bigint | undefined;
3434
- blobGasUsed?: bigint | undefined;
3435
- blockHash: import("viem").Hash;
3436
- blockNumber: bigint;
3437
- blockTimestamp?: bigint | undefined;
3438
- contractAddress: import("abitype").Address | null | undefined;
3439
- cumulativeGasUsed: bigint;
3440
- effectiveGasPrice: bigint;
3441
- from: import("abitype").Address;
3442
- gasUsed: bigint;
3443
- logs: import("viem").Log<bigint, number, false>[];
3444
- logsBloom: import("viem").Hex;
3445
- root?: `0x${string}` | undefined;
3446
- status: "success" | "reverted";
3447
- to: import("abitype").Address | null;
3448
- transactionHash: import("viem").Hash;
3449
- transactionIndex: number;
3450
- type: import("viem").TransactionType;
3451
- depositNonce?: bigint | undefined | undefined;
3452
- depositReceiptVersion?: number | undefined | undefined;
3453
- l1GasPrice: bigint | null;
3454
- l1GasUsed: bigint | null;
3455
- l1Fee: bigint | null;
3456
- l1FeeScalar: number | null;
3457
- } & {};
1815
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
3458
1816
  type: "transactionReceipt";
3459
1817
  };
3460
1818
  };
@@ -3972,389 +2330,22 @@ export declare const chainSpecs: {
3972
2330
  formatters: {
3973
2331
  readonly block: {
3974
2332
  exclude: [] | undefined;
3975
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
3976
- baseFeePerGas: bigint | null;
3977
- blobGasUsed: bigint;
3978
- difficulty: bigint;
3979
- excessBlobGas: bigint;
3980
- extraData: import("viem").Hex;
3981
- gasLimit: bigint;
3982
- gasUsed: bigint;
3983
- hash: `0x${string}` | null;
3984
- logsBloom: `0x${string}` | null;
3985
- miner: import("abitype").Address;
3986
- mixHash: import("viem").Hash;
3987
- nonce: `0x${string}` | null;
3988
- number: bigint | null;
3989
- parentBeaconBlockRoot?: `0x${string}` | undefined;
3990
- parentHash: import("viem").Hash;
3991
- receiptsRoot: import("viem").Hex;
3992
- sealFields: import("viem").Hex[];
3993
- sha3Uncles: import("viem").Hash;
3994
- size: bigint;
3995
- stateRoot: import("viem").Hash;
3996
- timestamp: bigint;
3997
- totalDifficulty: bigint | null;
3998
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
3999
- transactionsRoot: import("viem").Hash;
4000
- uncles: import("viem").Hash[];
4001
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
4002
- withdrawalsRoot?: `0x${string}` | undefined;
4003
- l1BatchNumber: bigint | null;
4004
- l1BatchTimestamp: bigint | null;
4005
- } & {};
2333
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
4006
2334
  type: "block";
4007
2335
  };
4008
2336
  readonly transaction: {
4009
2337
  exclude: [] | undefined;
4010
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
4011
- r: import("viem").Hex;
4012
- s: import("viem").Hex;
4013
- v: bigint;
4014
- to: import("abitype").Address | null;
4015
- from: import("abitype").Address;
4016
- gas: bigint;
4017
- nonce: number;
4018
- value: bigint;
4019
- blockHash: `0x${string}` | null;
4020
- blockNumber: bigint | null;
4021
- blockTimestamp?: bigint | undefined;
4022
- hash: import("viem").Hash;
4023
- input: import("viem").Hex;
4024
- transactionIndex: number | null;
4025
- typeHex: import("viem").Hex | null;
4026
- accessList?: undefined | undefined;
4027
- authorizationList?: undefined | undefined;
4028
- blobVersionedHashes?: undefined | undefined;
4029
- chainId?: number | undefined;
4030
- yParity?: undefined | undefined;
4031
- type: "legacy";
4032
- gasPrice: bigint;
4033
- maxFeePerBlobGas?: undefined | undefined;
4034
- maxFeePerGas?: undefined | undefined;
4035
- maxPriorityFeePerGas?: undefined | undefined;
4036
- l1BatchNumber: bigint | null;
4037
- l1BatchTxIndex: bigint | null;
4038
- } | {
4039
- blockHash: `0x${string}` | null;
4040
- blockNumber: bigint | null;
4041
- blockTimestamp?: bigint | undefined;
4042
- from: import("abitype").Address;
4043
- gas: bigint;
4044
- hash: import("viem").Hash;
4045
- input: import("viem").Hex;
4046
- nonce: number;
4047
- r: import("viem").Hex;
4048
- s: import("viem").Hex;
4049
- to: import("abitype").Address | null;
4050
- transactionIndex: number | null;
4051
- typeHex: import("viem").Hex | null;
4052
- v: bigint;
4053
- value: bigint;
4054
- yParity: number;
4055
- accessList: import("viem").AccessList;
4056
- authorizationList?: undefined | undefined;
4057
- blobVersionedHashes?: undefined | undefined;
4058
- chainId: number;
4059
- type: "eip2930";
4060
- gasPrice: bigint;
4061
- maxFeePerBlobGas?: undefined | undefined;
4062
- maxFeePerGas?: undefined | undefined;
4063
- maxPriorityFeePerGas?: undefined | undefined;
4064
- l1BatchNumber: bigint | null;
4065
- l1BatchTxIndex: bigint | null;
4066
- } | {
4067
- blockHash: `0x${string}` | null;
4068
- blockNumber: bigint | null;
4069
- blockTimestamp?: bigint | undefined;
4070
- from: import("abitype").Address;
4071
- gas: bigint;
4072
- hash: import("viem").Hash;
4073
- input: import("viem").Hex;
4074
- nonce: number;
4075
- r: import("viem").Hex;
4076
- s: import("viem").Hex;
4077
- to: import("abitype").Address | null;
4078
- transactionIndex: number | null;
4079
- typeHex: import("viem").Hex | null;
4080
- v: bigint;
4081
- value: bigint;
4082
- yParity: number;
4083
- accessList: import("viem").AccessList;
4084
- authorizationList?: undefined | undefined;
4085
- blobVersionedHashes?: undefined | undefined;
4086
- chainId: number;
4087
- type: "eip1559";
4088
- gasPrice?: undefined | undefined;
4089
- maxFeePerBlobGas?: undefined | undefined;
4090
- maxFeePerGas: bigint;
4091
- maxPriorityFeePerGas: bigint;
4092
- l1BatchNumber: bigint | null;
4093
- l1BatchTxIndex: bigint | null;
4094
- } | {
4095
- blockHash: `0x${string}` | null;
4096
- blockNumber: bigint | null;
4097
- blockTimestamp?: bigint | undefined;
4098
- from: import("abitype").Address;
4099
- gas: bigint;
4100
- hash: import("viem").Hash;
4101
- input: import("viem").Hex;
4102
- nonce: number;
4103
- r: import("viem").Hex;
4104
- s: import("viem").Hex;
4105
- to: import("abitype").Address | null;
4106
- transactionIndex: number | null;
4107
- typeHex: import("viem").Hex | null;
4108
- v: bigint;
4109
- value: bigint;
4110
- yParity: number;
4111
- accessList: import("viem").AccessList;
4112
- authorizationList?: undefined | undefined;
4113
- blobVersionedHashes: readonly import("viem").Hex[];
4114
- chainId: number;
4115
- type: "eip4844";
4116
- gasPrice?: undefined | undefined;
4117
- maxFeePerBlobGas: bigint;
4118
- maxFeePerGas: bigint;
4119
- maxPriorityFeePerGas: bigint;
4120
- l1BatchNumber: bigint | null;
4121
- l1BatchTxIndex: bigint | null;
4122
- } | {
4123
- blockHash: `0x${string}` | null;
4124
- blockNumber: bigint | null;
4125
- blockTimestamp?: bigint | undefined;
4126
- from: import("abitype").Address;
4127
- gas: bigint;
4128
- hash: import("viem").Hash;
4129
- input: import("viem").Hex;
4130
- nonce: number;
4131
- r: import("viem").Hex;
4132
- s: import("viem").Hex;
4133
- to: import("abitype").Address | null;
4134
- transactionIndex: number | null;
4135
- typeHex: import("viem").Hex | null;
4136
- v: bigint;
4137
- value: bigint;
4138
- yParity: number;
4139
- accessList: import("viem").AccessList;
4140
- authorizationList: import("viem").SignedAuthorizationList;
4141
- blobVersionedHashes?: undefined | undefined;
4142
- chainId: number;
4143
- type: "eip7702";
4144
- gasPrice?: undefined | undefined;
4145
- maxFeePerBlobGas?: undefined | undefined;
4146
- maxFeePerGas: bigint;
4147
- maxPriorityFeePerGas: bigint;
4148
- l1BatchNumber: bigint | null;
4149
- l1BatchTxIndex: bigint | null;
4150
- } | {
4151
- blockHash: `0x${string}` | null;
4152
- blockNumber: bigint | null;
4153
- blockTimestamp?: bigint | undefined;
4154
- from: import("abitype").Address;
4155
- gas: bigint;
4156
- hash: import("viem").Hash;
4157
- input: import("viem").Hex;
4158
- nonce: number;
4159
- r: import("viem").Hex;
4160
- s: import("viem").Hex;
4161
- to: import("abitype").Address | null;
4162
- transactionIndex: number | null;
4163
- typeHex: import("viem").Hex | null;
4164
- v: bigint;
4165
- value: bigint;
4166
- yParity: number;
4167
- l1BatchNumber: bigint | null;
4168
- l1BatchTxIndex: bigint | null;
4169
- gasPrice?: undefined | undefined;
4170
- maxFeePerBlobGas?: undefined | undefined;
4171
- maxFeePerGas: bigint;
4172
- maxPriorityFeePerGas: bigint;
4173
- type: "priority";
4174
- } | {
4175
- blockHash: `0x${string}` | null;
4176
- blockNumber: bigint | null;
4177
- blockTimestamp?: bigint | undefined;
4178
- from: import("abitype").Address;
4179
- gas: bigint;
4180
- hash: import("viem").Hash;
4181
- input: import("viem").Hex;
4182
- nonce: number;
4183
- r: import("viem").Hex;
4184
- s: import("viem").Hex;
4185
- to: import("abitype").Address | null;
4186
- transactionIndex: number | null;
4187
- typeHex: import("viem").Hex | null;
4188
- v: bigint;
4189
- value: bigint;
4190
- yParity: number;
4191
- l1BatchNumber: bigint | null;
4192
- l1BatchTxIndex: bigint | null;
4193
- gasPrice?: undefined | undefined;
4194
- maxFeePerBlobGas?: undefined | undefined;
4195
- maxFeePerGas: bigint;
4196
- maxPriorityFeePerGas: bigint;
4197
- type: "eip712" | "priority";
4198
- }) & {};
2338
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
4199
2339
  type: "transaction";
4200
2340
  };
4201
2341
  readonly transactionReceipt: {
4202
2342
  exclude: [] | undefined;
4203
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
4204
- type: import("viem/chains").ZkSyncTransactionType;
4205
- contractAddress: import("abitype").Address | null | undefined;
4206
- to: import("abitype").Address | null;
4207
- from: import("abitype").Address;
4208
- blockHash: import("viem").Hash;
4209
- blockNumber: bigint;
4210
- blockTimestamp?: bigint | undefined;
4211
- transactionIndex: number;
4212
- status: "success" | "reverted";
4213
- transactionHash: import("viem").Hash;
4214
- logsBloom: import("viem").Hex;
4215
- blobGasUsed?: bigint | undefined;
4216
- gasUsed: bigint;
4217
- blobGasPrice?: bigint | undefined;
4218
- cumulativeGasUsed: bigint;
4219
- effectiveGasPrice: bigint;
4220
- root?: `0x${string}` | undefined;
4221
- l1BatchNumber: bigint | null;
4222
- l1BatchTxIndex: bigint | null;
4223
- logs: import("viem/chains").ZkSyncLog[];
4224
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
4225
- } & {};
2343
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
4226
2344
  type: "transactionReceipt";
4227
2345
  };
4228
2346
  readonly transactionRequest: {
4229
2347
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
4230
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
4231
- data?: `0x${string}` | undefined;
4232
- from?: `0x${string}` | undefined;
4233
- gas?: `0x${string}` | undefined;
4234
- nonce?: `0x${string}` | undefined;
4235
- to?: `0x${string}` | null | undefined;
4236
- type?: "0x0" | undefined;
4237
- value?: `0x${string}` | undefined;
4238
- gasPrice?: `0x${string}` | undefined;
4239
- maxFeePerBlobGas?: undefined | undefined;
4240
- maxFeePerGas?: undefined | undefined;
4241
- maxPriorityFeePerGas?: undefined | undefined;
4242
- blobs?: undefined;
4243
- blobVersionedHashes?: undefined;
4244
- kzg?: undefined;
4245
- accessList?: undefined;
4246
- sidecars?: undefined;
4247
- authorizationList?: undefined;
4248
- eip712Meta?: undefined | undefined;
4249
- } | {
4250
- data?: `0x${string}` | undefined;
4251
- from?: `0x${string}` | undefined;
4252
- gas?: `0x${string}` | undefined;
4253
- nonce?: `0x${string}` | undefined;
4254
- to?: `0x${string}` | null | undefined;
4255
- type?: "0x1" | undefined;
4256
- value?: `0x${string}` | undefined;
4257
- gasPrice?: `0x${string}` | undefined;
4258
- maxFeePerBlobGas?: undefined | undefined;
4259
- maxFeePerGas?: undefined | undefined;
4260
- maxPriorityFeePerGas?: undefined | undefined;
4261
- accessList?: import("viem").AccessList | undefined;
4262
- blobs?: undefined;
4263
- blobVersionedHashes?: undefined;
4264
- kzg?: undefined;
4265
- sidecars?: undefined;
4266
- authorizationList?: undefined;
4267
- eip712Meta?: undefined | undefined;
4268
- } | {
4269
- data?: `0x${string}` | undefined;
4270
- from?: `0x${string}` | undefined;
4271
- gas?: `0x${string}` | undefined;
4272
- nonce?: `0x${string}` | undefined;
4273
- to?: `0x${string}` | null | undefined;
4274
- type?: "0x2" | undefined;
4275
- value?: `0x${string}` | undefined;
4276
- gasPrice?: undefined | undefined;
4277
- maxFeePerBlobGas?: undefined | undefined;
4278
- maxFeePerGas?: `0x${string}` | undefined;
4279
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4280
- accessList?: import("viem").AccessList | undefined;
4281
- blobs?: undefined;
4282
- blobVersionedHashes?: undefined;
4283
- kzg?: undefined;
4284
- sidecars?: undefined;
4285
- authorizationList?: undefined;
4286
- eip712Meta?: undefined | undefined;
4287
- } | {
4288
- type?: "0x3" | undefined;
4289
- data?: `0x${string}` | undefined;
4290
- from?: `0x${string}` | undefined;
4291
- gas?: `0x${string}` | undefined;
4292
- nonce?: `0x${string}` | undefined;
4293
- value?: `0x${string}` | undefined;
4294
- to: `0x${string}` | null;
4295
- gasPrice?: undefined | undefined;
4296
- maxFeePerBlobGas?: `0x${string}` | undefined;
4297
- maxFeePerGas?: `0x${string}` | undefined;
4298
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4299
- accessList?: import("viem").AccessList | undefined;
4300
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
4301
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
4302
- blobVersionedHashes: readonly import("viem").Hex[];
4303
- kzg?: undefined;
4304
- authorizationList?: undefined;
4305
- eip712Meta?: undefined | undefined;
4306
- } | {
4307
- type?: "0x3" | undefined;
4308
- data?: `0x${string}` | undefined;
4309
- from?: `0x${string}` | undefined;
4310
- gas?: `0x${string}` | undefined;
4311
- nonce?: `0x${string}` | undefined;
4312
- value?: `0x${string}` | undefined;
4313
- to: `0x${string}` | null;
4314
- gasPrice?: undefined | undefined;
4315
- maxFeePerBlobGas?: `0x${string}` | undefined;
4316
- maxFeePerGas?: `0x${string}` | undefined;
4317
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4318
- accessList?: import("viem").AccessList | undefined;
4319
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
4320
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
4321
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4322
- kzg?: import("viem").Kzg | undefined;
4323
- authorizationList?: undefined;
4324
- eip712Meta?: undefined | undefined;
4325
- } | {
4326
- type?: "0x4" | undefined;
4327
- gasPrice?: undefined | undefined;
4328
- maxFeePerBlobGas?: undefined | undefined;
4329
- maxFeePerGas?: `0x${string}` | undefined;
4330
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4331
- to?: `0x${string}` | null | undefined;
4332
- data?: `0x${string}` | undefined;
4333
- from?: `0x${string}` | undefined;
4334
- gas?: `0x${string}` | undefined;
4335
- nonce?: `0x${string}` | undefined;
4336
- value?: `0x${string}` | undefined;
4337
- accessList?: import("viem").AccessList | undefined;
4338
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
4339
- blobs?: undefined;
4340
- blobVersionedHashes?: undefined;
4341
- kzg?: undefined;
4342
- sidecars?: undefined;
4343
- eip712Meta?: undefined | undefined;
4344
- } | {
4345
- data?: `0x${string}` | undefined;
4346
- from?: `0x${string}` | undefined;
4347
- gas?: `0x${string}` | undefined;
4348
- nonce?: `0x${string}` | undefined;
4349
- to?: `0x${string}` | null | undefined;
4350
- type: "0xff" | "0x71";
4351
- value?: `0x${string}` | undefined;
4352
- gasPrice?: undefined | undefined;
4353
- maxFeePerBlobGas?: undefined | undefined;
4354
- maxFeePerGas?: `0x${string}` | undefined;
4355
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4356
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
4357
- }) & {
2348
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
4358
2349
  paymaster: never;
4359
2350
  gasPerPubdata: never;
4360
2351
  factoryDeps: never;
@@ -4475,240 +2466,17 @@ export declare const chainSpecs: {
4475
2466
  formatters: {
4476
2467
  readonly block: {
4477
2468
  exclude: [] | undefined;
4478
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4479
- baseFeePerGas: bigint | null;
4480
- blobGasUsed: bigint;
4481
- difficulty: bigint;
4482
- excessBlobGas: bigint;
4483
- extraData: import("viem").Hex;
4484
- gasLimit: bigint;
4485
- gasUsed: bigint;
4486
- hash: `0x${string}` | null;
4487
- logsBloom: `0x${string}` | null;
4488
- miner: import("abitype").Address;
4489
- mixHash: import("viem").Hash;
4490
- nonce: `0x${string}` | null;
4491
- number: bigint | null;
4492
- parentBeaconBlockRoot?: `0x${string}` | undefined;
4493
- parentHash: import("viem").Hash;
4494
- receiptsRoot: import("viem").Hex;
4495
- sealFields: import("viem").Hex[];
4496
- sha3Uncles: import("viem").Hash;
4497
- size: bigint;
4498
- stateRoot: import("viem").Hash;
4499
- timestamp: bigint;
4500
- totalDifficulty: bigint | null;
4501
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
4502
- transactionsRoot: import("viem").Hash;
4503
- uncles: import("viem").Hash[];
4504
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
4505
- withdrawalsRoot?: `0x${string}` | undefined;
4506
- } & {};
2469
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
4507
2470
  type: "block";
4508
2471
  };
4509
2472
  readonly transaction: {
4510
2473
  exclude: [] | undefined;
4511
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4512
- blockHash: `0x${string}` | null;
4513
- blockNumber: bigint | null;
4514
- blockTimestamp?: bigint | undefined;
4515
- from: import("abitype").Address;
4516
- gas: bigint;
4517
- hash: import("viem").Hash;
4518
- input: import("viem").Hex;
4519
- nonce: number;
4520
- r: import("viem").Hex;
4521
- s: import("viem").Hex;
4522
- to: import("abitype").Address | null;
4523
- transactionIndex: number | null;
4524
- typeHex: import("viem").Hex | null;
4525
- v: bigint;
4526
- value: bigint;
4527
- yParity: number;
4528
- gasPrice?: undefined | undefined;
4529
- maxFeePerBlobGas?: undefined | undefined;
4530
- maxFeePerGas: bigint;
4531
- maxPriorityFeePerGas: bigint;
4532
- isSystemTx?: boolean;
4533
- mint?: bigint | undefined | undefined;
4534
- sourceHash: import("viem").Hex;
4535
- type: "deposit";
4536
- } | {
4537
- r: import("viem").Hex;
4538
- s: import("viem").Hex;
4539
- v: bigint;
4540
- to: import("abitype").Address | null;
4541
- from: import("abitype").Address;
4542
- gas: bigint;
4543
- nonce: number;
4544
- value: bigint;
4545
- blockHash: `0x${string}` | null;
4546
- blockNumber: bigint | null;
4547
- blockTimestamp?: bigint | undefined;
4548
- hash: import("viem").Hash;
4549
- input: import("viem").Hex;
4550
- transactionIndex: number | null;
4551
- typeHex: import("viem").Hex | null;
4552
- accessList?: undefined | undefined;
4553
- authorizationList?: undefined | undefined;
4554
- blobVersionedHashes?: undefined | undefined;
4555
- chainId?: number | undefined;
4556
- yParity?: undefined | undefined;
4557
- type: "legacy";
4558
- gasPrice: bigint;
4559
- maxFeePerBlobGas?: undefined | undefined;
4560
- maxFeePerGas?: undefined | undefined;
4561
- maxPriorityFeePerGas?: undefined | undefined;
4562
- isSystemTx?: undefined | undefined;
4563
- mint?: undefined | undefined;
4564
- sourceHash?: undefined | undefined;
4565
- } | {
4566
- blockHash: `0x${string}` | null;
4567
- blockNumber: bigint | null;
4568
- blockTimestamp?: bigint | undefined;
4569
- from: import("abitype").Address;
4570
- gas: bigint;
4571
- hash: import("viem").Hash;
4572
- input: import("viem").Hex;
4573
- nonce: number;
4574
- r: import("viem").Hex;
4575
- s: import("viem").Hex;
4576
- to: import("abitype").Address | null;
4577
- transactionIndex: number | null;
4578
- typeHex: import("viem").Hex | null;
4579
- v: bigint;
4580
- value: bigint;
4581
- yParity: number;
4582
- accessList: import("viem").AccessList;
4583
- authorizationList?: undefined | undefined;
4584
- blobVersionedHashes?: undefined | undefined;
4585
- chainId: number;
4586
- type: "eip2930";
4587
- gasPrice: bigint;
4588
- maxFeePerBlobGas?: undefined | undefined;
4589
- maxFeePerGas?: undefined | undefined;
4590
- maxPriorityFeePerGas?: undefined | undefined;
4591
- isSystemTx?: undefined | undefined;
4592
- mint?: undefined | undefined;
4593
- sourceHash?: undefined | undefined;
4594
- } | {
4595
- blockHash: `0x${string}` | null;
4596
- blockNumber: bigint | null;
4597
- blockTimestamp?: bigint | undefined;
4598
- from: import("abitype").Address;
4599
- gas: bigint;
4600
- hash: import("viem").Hash;
4601
- input: import("viem").Hex;
4602
- nonce: number;
4603
- r: import("viem").Hex;
4604
- s: import("viem").Hex;
4605
- to: import("abitype").Address | null;
4606
- transactionIndex: number | null;
4607
- typeHex: import("viem").Hex | null;
4608
- v: bigint;
4609
- value: bigint;
4610
- yParity: number;
4611
- accessList: import("viem").AccessList;
4612
- authorizationList?: undefined | undefined;
4613
- blobVersionedHashes?: undefined | undefined;
4614
- chainId: number;
4615
- type: "eip1559";
4616
- gasPrice?: undefined | undefined;
4617
- maxFeePerBlobGas?: undefined | undefined;
4618
- maxFeePerGas: bigint;
4619
- maxPriorityFeePerGas: bigint;
4620
- isSystemTx?: undefined | undefined;
4621
- mint?: undefined | undefined;
4622
- sourceHash?: undefined | undefined;
4623
- } | {
4624
- blockHash: `0x${string}` | null;
4625
- blockNumber: bigint | null;
4626
- blockTimestamp?: bigint | undefined;
4627
- from: import("abitype").Address;
4628
- gas: bigint;
4629
- hash: import("viem").Hash;
4630
- input: import("viem").Hex;
4631
- nonce: number;
4632
- r: import("viem").Hex;
4633
- s: import("viem").Hex;
4634
- to: import("abitype").Address | null;
4635
- transactionIndex: number | null;
4636
- typeHex: import("viem").Hex | null;
4637
- v: bigint;
4638
- value: bigint;
4639
- yParity: number;
4640
- accessList: import("viem").AccessList;
4641
- authorizationList?: undefined | undefined;
4642
- blobVersionedHashes: readonly import("viem").Hex[];
4643
- chainId: number;
4644
- type: "eip4844";
4645
- gasPrice?: undefined | undefined;
4646
- maxFeePerBlobGas: bigint;
4647
- maxFeePerGas: bigint;
4648
- maxPriorityFeePerGas: bigint;
4649
- isSystemTx?: undefined | undefined;
4650
- mint?: undefined | undefined;
4651
- sourceHash?: undefined | undefined;
4652
- } | {
4653
- blockHash: `0x${string}` | null;
4654
- blockNumber: bigint | null;
4655
- blockTimestamp?: bigint | undefined;
4656
- from: import("abitype").Address;
4657
- gas: bigint;
4658
- hash: import("viem").Hash;
4659
- input: import("viem").Hex;
4660
- nonce: number;
4661
- r: import("viem").Hex;
4662
- s: import("viem").Hex;
4663
- to: import("abitype").Address | null;
4664
- transactionIndex: number | null;
4665
- typeHex: import("viem").Hex | null;
4666
- v: bigint;
4667
- value: bigint;
4668
- yParity: number;
4669
- accessList: import("viem").AccessList;
4670
- authorizationList: import("viem").SignedAuthorizationList;
4671
- blobVersionedHashes?: undefined | undefined;
4672
- chainId: number;
4673
- type: "eip7702";
4674
- gasPrice?: undefined | undefined;
4675
- maxFeePerBlobGas?: undefined | undefined;
4676
- maxFeePerGas: bigint;
4677
- maxPriorityFeePerGas: bigint;
4678
- isSystemTx?: undefined | undefined;
4679
- mint?: undefined | undefined;
4680
- sourceHash?: undefined | undefined;
4681
- }) & {};
2474
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
4682
2475
  type: "transaction";
4683
2476
  };
4684
2477
  readonly transactionReceipt: {
4685
2478
  exclude: [] | undefined;
4686
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4687
- blobGasPrice?: bigint | undefined;
4688
- blobGasUsed?: bigint | undefined;
4689
- blockHash: import("viem").Hash;
4690
- blockNumber: bigint;
4691
- blockTimestamp?: bigint | undefined;
4692
- contractAddress: import("abitype").Address | null | undefined;
4693
- cumulativeGasUsed: bigint;
4694
- effectiveGasPrice: bigint;
4695
- from: import("abitype").Address;
4696
- gasUsed: bigint;
4697
- logs: import("viem").Log<bigint, number, false>[];
4698
- logsBloom: import("viem").Hex;
4699
- root?: `0x${string}` | undefined;
4700
- status: "success" | "reverted";
4701
- to: import("abitype").Address | null;
4702
- transactionHash: import("viem").Hash;
4703
- transactionIndex: number;
4704
- type: import("viem").TransactionType;
4705
- depositNonce?: bigint | undefined | undefined;
4706
- depositReceiptVersion?: number | undefined | undefined;
4707
- l1GasPrice: bigint | null;
4708
- l1GasUsed: bigint | null;
4709
- l1Fee: bigint | null;
4710
- l1FeeScalar: number | null;
4711
- } & {};
2479
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
4712
2480
  type: "transactionReceipt";
4713
2481
  };
4714
2482
  };
@@ -4804,240 +2572,17 @@ export declare const chainSpecs: {
4804
2572
  formatters: {
4805
2573
  readonly block: {
4806
2574
  exclude: [] | undefined;
4807
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4808
- baseFeePerGas: bigint | null;
4809
- blobGasUsed: bigint;
4810
- difficulty: bigint;
4811
- excessBlobGas: bigint;
4812
- extraData: import("viem").Hex;
4813
- gasLimit: bigint;
4814
- gasUsed: bigint;
4815
- hash: `0x${string}` | null;
4816
- logsBloom: `0x${string}` | null;
4817
- miner: import("abitype").Address;
4818
- mixHash: import("viem").Hash;
4819
- nonce: `0x${string}` | null;
4820
- number: bigint | null;
4821
- parentBeaconBlockRoot?: `0x${string}` | undefined;
4822
- parentHash: import("viem").Hash;
4823
- receiptsRoot: import("viem").Hex;
4824
- sealFields: import("viem").Hex[];
4825
- sha3Uncles: import("viem").Hash;
4826
- size: bigint;
4827
- stateRoot: import("viem").Hash;
4828
- timestamp: bigint;
4829
- totalDifficulty: bigint | null;
4830
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
4831
- transactionsRoot: import("viem").Hash;
4832
- uncles: import("viem").Hash[];
4833
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
4834
- withdrawalsRoot?: `0x${string}` | undefined;
4835
- } & {};
2575
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
4836
2576
  type: "block";
4837
2577
  };
4838
2578
  readonly transaction: {
4839
2579
  exclude: [] | undefined;
4840
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4841
- blockHash: `0x${string}` | null;
4842
- blockNumber: bigint | null;
4843
- blockTimestamp?: bigint | undefined;
4844
- from: import("abitype").Address;
4845
- gas: bigint;
4846
- hash: import("viem").Hash;
4847
- input: import("viem").Hex;
4848
- nonce: number;
4849
- r: import("viem").Hex;
4850
- s: import("viem").Hex;
4851
- to: import("abitype").Address | null;
4852
- transactionIndex: number | null;
4853
- typeHex: import("viem").Hex | null;
4854
- v: bigint;
4855
- value: bigint;
4856
- yParity: number;
4857
- gasPrice?: undefined | undefined;
4858
- maxFeePerBlobGas?: undefined | undefined;
4859
- maxFeePerGas: bigint;
4860
- maxPriorityFeePerGas: bigint;
4861
- isSystemTx?: boolean;
4862
- mint?: bigint | undefined | undefined;
4863
- sourceHash: import("viem").Hex;
4864
- type: "deposit";
4865
- } | {
4866
- r: import("viem").Hex;
4867
- s: import("viem").Hex;
4868
- v: bigint;
4869
- to: import("abitype").Address | null;
4870
- from: import("abitype").Address;
4871
- gas: bigint;
4872
- nonce: number;
4873
- value: bigint;
4874
- blockHash: `0x${string}` | null;
4875
- blockNumber: bigint | null;
4876
- blockTimestamp?: bigint | undefined;
4877
- hash: import("viem").Hash;
4878
- input: import("viem").Hex;
4879
- transactionIndex: number | null;
4880
- typeHex: import("viem").Hex | null;
4881
- accessList?: undefined | undefined;
4882
- authorizationList?: undefined | undefined;
4883
- blobVersionedHashes?: undefined | undefined;
4884
- chainId?: number | undefined;
4885
- yParity?: undefined | undefined;
4886
- type: "legacy";
4887
- gasPrice: bigint;
4888
- maxFeePerBlobGas?: undefined | undefined;
4889
- maxFeePerGas?: undefined | undefined;
4890
- maxPriorityFeePerGas?: undefined | undefined;
4891
- isSystemTx?: undefined | undefined;
4892
- mint?: undefined | undefined;
4893
- sourceHash?: undefined | undefined;
4894
- } | {
4895
- blockHash: `0x${string}` | null;
4896
- blockNumber: bigint | null;
4897
- blockTimestamp?: bigint | undefined;
4898
- from: import("abitype").Address;
4899
- gas: bigint;
4900
- hash: import("viem").Hash;
4901
- input: import("viem").Hex;
4902
- nonce: number;
4903
- r: import("viem").Hex;
4904
- s: import("viem").Hex;
4905
- to: import("abitype").Address | null;
4906
- transactionIndex: number | null;
4907
- typeHex: import("viem").Hex | null;
4908
- v: bigint;
4909
- value: bigint;
4910
- yParity: number;
4911
- accessList: import("viem").AccessList;
4912
- authorizationList?: undefined | undefined;
4913
- blobVersionedHashes?: undefined | undefined;
4914
- chainId: number;
4915
- type: "eip2930";
4916
- gasPrice: bigint;
4917
- maxFeePerBlobGas?: undefined | undefined;
4918
- maxFeePerGas?: undefined | undefined;
4919
- maxPriorityFeePerGas?: undefined | undefined;
4920
- isSystemTx?: undefined | undefined;
4921
- mint?: undefined | undefined;
4922
- sourceHash?: undefined | undefined;
4923
- } | {
4924
- blockHash: `0x${string}` | null;
4925
- blockNumber: bigint | null;
4926
- blockTimestamp?: bigint | undefined;
4927
- from: import("abitype").Address;
4928
- gas: bigint;
4929
- hash: import("viem").Hash;
4930
- input: import("viem").Hex;
4931
- nonce: number;
4932
- r: import("viem").Hex;
4933
- s: import("viem").Hex;
4934
- to: import("abitype").Address | null;
4935
- transactionIndex: number | null;
4936
- typeHex: import("viem").Hex | null;
4937
- v: bigint;
4938
- value: bigint;
4939
- yParity: number;
4940
- accessList: import("viem").AccessList;
4941
- authorizationList?: undefined | undefined;
4942
- blobVersionedHashes?: undefined | undefined;
4943
- chainId: number;
4944
- type: "eip1559";
4945
- gasPrice?: undefined | undefined;
4946
- maxFeePerBlobGas?: undefined | undefined;
4947
- maxFeePerGas: bigint;
4948
- maxPriorityFeePerGas: bigint;
4949
- isSystemTx?: undefined | undefined;
4950
- mint?: undefined | undefined;
4951
- sourceHash?: undefined | undefined;
4952
- } | {
4953
- blockHash: `0x${string}` | null;
4954
- blockNumber: bigint | null;
4955
- blockTimestamp?: bigint | undefined;
4956
- from: import("abitype").Address;
4957
- gas: bigint;
4958
- hash: import("viem").Hash;
4959
- input: import("viem").Hex;
4960
- nonce: number;
4961
- r: import("viem").Hex;
4962
- s: import("viem").Hex;
4963
- to: import("abitype").Address | null;
4964
- transactionIndex: number | null;
4965
- typeHex: import("viem").Hex | null;
4966
- v: bigint;
4967
- value: bigint;
4968
- yParity: number;
4969
- accessList: import("viem").AccessList;
4970
- authorizationList?: undefined | undefined;
4971
- blobVersionedHashes: readonly import("viem").Hex[];
4972
- chainId: number;
4973
- type: "eip4844";
4974
- gasPrice?: undefined | undefined;
4975
- maxFeePerBlobGas: bigint;
4976
- maxFeePerGas: bigint;
4977
- maxPriorityFeePerGas: bigint;
4978
- isSystemTx?: undefined | undefined;
4979
- mint?: undefined | undefined;
4980
- sourceHash?: undefined | undefined;
4981
- } | {
4982
- blockHash: `0x${string}` | null;
4983
- blockNumber: bigint | null;
4984
- blockTimestamp?: bigint | undefined;
4985
- from: import("abitype").Address;
4986
- gas: bigint;
4987
- hash: import("viem").Hash;
4988
- input: import("viem").Hex;
4989
- nonce: number;
4990
- r: import("viem").Hex;
4991
- s: import("viem").Hex;
4992
- to: import("abitype").Address | null;
4993
- transactionIndex: number | null;
4994
- typeHex: import("viem").Hex | null;
4995
- v: bigint;
4996
- value: bigint;
4997
- yParity: number;
4998
- accessList: import("viem").AccessList;
4999
- authorizationList: import("viem").SignedAuthorizationList;
5000
- blobVersionedHashes?: undefined | undefined;
5001
- chainId: number;
5002
- type: "eip7702";
5003
- gasPrice?: undefined | undefined;
5004
- maxFeePerBlobGas?: undefined | undefined;
5005
- maxFeePerGas: bigint;
5006
- maxPriorityFeePerGas: bigint;
5007
- isSystemTx?: undefined | undefined;
5008
- mint?: undefined | undefined;
5009
- sourceHash?: undefined | undefined;
5010
- }) & {};
2580
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
5011
2581
  type: "transaction";
5012
2582
  };
5013
2583
  readonly transactionReceipt: {
5014
2584
  exclude: [] | undefined;
5015
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5016
- blobGasPrice?: bigint | undefined;
5017
- blobGasUsed?: bigint | undefined;
5018
- blockHash: import("viem").Hash;
5019
- blockNumber: bigint;
5020
- blockTimestamp?: bigint | undefined;
5021
- contractAddress: import("abitype").Address | null | undefined;
5022
- cumulativeGasUsed: bigint;
5023
- effectiveGasPrice: bigint;
5024
- from: import("abitype").Address;
5025
- gasUsed: bigint;
5026
- logs: import("viem").Log<bigint, number, false>[];
5027
- logsBloom: import("viem").Hex;
5028
- root?: `0x${string}` | undefined;
5029
- status: "success" | "reverted";
5030
- to: import("abitype").Address | null;
5031
- transactionHash: import("viem").Hash;
5032
- transactionIndex: number;
5033
- type: import("viem").TransactionType;
5034
- depositNonce?: bigint | undefined | undefined;
5035
- depositReceiptVersion?: number | undefined | undefined;
5036
- l1GasPrice: bigint | null;
5037
- l1GasUsed: bigint | null;
5038
- l1Fee: bigint | null;
5039
- l1FeeScalar: number | null;
5040
- } & {};
2585
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
5041
2586
  type: "transactionReceipt";
5042
2587
  };
5043
2588
  };
@@ -5249,240 +2794,17 @@ export declare const chainSpecs: {
5249
2794
  formatters: {
5250
2795
  readonly block: {
5251
2796
  exclude: [] | undefined;
5252
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
5253
- baseFeePerGas: bigint | null;
5254
- blobGasUsed: bigint;
5255
- difficulty: bigint;
5256
- excessBlobGas: bigint;
5257
- extraData: import("viem").Hex;
5258
- gasLimit: bigint;
5259
- gasUsed: bigint;
5260
- hash: `0x${string}` | null;
5261
- logsBloom: `0x${string}` | null;
5262
- miner: import("abitype").Address;
5263
- mixHash: import("viem").Hash;
5264
- nonce: `0x${string}` | null;
5265
- number: bigint | null;
5266
- parentBeaconBlockRoot?: `0x${string}` | undefined;
5267
- parentHash: import("viem").Hash;
5268
- receiptsRoot: import("viem").Hex;
5269
- sealFields: import("viem").Hex[];
5270
- sha3Uncles: import("viem").Hash;
5271
- size: bigint;
5272
- stateRoot: import("viem").Hash;
5273
- timestamp: bigint;
5274
- totalDifficulty: bigint | null;
5275
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
5276
- transactionsRoot: import("viem").Hash;
5277
- uncles: import("viem").Hash[];
5278
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
5279
- withdrawalsRoot?: `0x${string}` | undefined;
5280
- } & {};
2797
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
5281
2798
  type: "block";
5282
2799
  };
5283
2800
  readonly transaction: {
5284
2801
  exclude: [] | undefined;
5285
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
5286
- blockHash: `0x${string}` | null;
5287
- blockNumber: bigint | null;
5288
- blockTimestamp?: bigint | undefined;
5289
- from: import("abitype").Address;
5290
- gas: bigint;
5291
- hash: import("viem").Hash;
5292
- input: import("viem").Hex;
5293
- nonce: number;
5294
- r: import("viem").Hex;
5295
- s: import("viem").Hex;
5296
- to: import("abitype").Address | null;
5297
- transactionIndex: number | null;
5298
- typeHex: import("viem").Hex | null;
5299
- v: bigint;
5300
- value: bigint;
5301
- yParity: number;
5302
- gasPrice?: undefined | undefined;
5303
- maxFeePerBlobGas?: undefined | undefined;
5304
- maxFeePerGas: bigint;
5305
- maxPriorityFeePerGas: bigint;
5306
- isSystemTx?: boolean;
5307
- mint?: bigint | undefined | undefined;
5308
- sourceHash: import("viem").Hex;
5309
- type: "deposit";
5310
- } | {
5311
- r: import("viem").Hex;
5312
- s: import("viem").Hex;
5313
- v: bigint;
5314
- to: import("abitype").Address | null;
5315
- from: import("abitype").Address;
5316
- gas: bigint;
5317
- nonce: number;
5318
- value: bigint;
5319
- blockHash: `0x${string}` | null;
5320
- blockNumber: bigint | null;
5321
- blockTimestamp?: bigint | undefined;
5322
- hash: import("viem").Hash;
5323
- input: import("viem").Hex;
5324
- transactionIndex: number | null;
5325
- typeHex: import("viem").Hex | null;
5326
- accessList?: undefined | undefined;
5327
- authorizationList?: undefined | undefined;
5328
- blobVersionedHashes?: undefined | undefined;
5329
- chainId?: number | undefined;
5330
- yParity?: undefined | undefined;
5331
- type: "legacy";
5332
- gasPrice: bigint;
5333
- maxFeePerBlobGas?: undefined | undefined;
5334
- maxFeePerGas?: undefined | undefined;
5335
- maxPriorityFeePerGas?: undefined | undefined;
5336
- isSystemTx?: undefined | undefined;
5337
- mint?: undefined | undefined;
5338
- sourceHash?: undefined | undefined;
5339
- } | {
5340
- blockHash: `0x${string}` | null;
5341
- blockNumber: bigint | null;
5342
- blockTimestamp?: bigint | undefined;
5343
- from: import("abitype").Address;
5344
- gas: bigint;
5345
- hash: import("viem").Hash;
5346
- input: import("viem").Hex;
5347
- nonce: number;
5348
- r: import("viem").Hex;
5349
- s: import("viem").Hex;
5350
- to: import("abitype").Address | null;
5351
- transactionIndex: number | null;
5352
- typeHex: import("viem").Hex | null;
5353
- v: bigint;
5354
- value: bigint;
5355
- yParity: number;
5356
- accessList: import("viem").AccessList;
5357
- authorizationList?: undefined | undefined;
5358
- blobVersionedHashes?: undefined | undefined;
5359
- chainId: number;
5360
- type: "eip2930";
5361
- gasPrice: bigint;
5362
- maxFeePerBlobGas?: undefined | undefined;
5363
- maxFeePerGas?: undefined | undefined;
5364
- maxPriorityFeePerGas?: undefined | undefined;
5365
- isSystemTx?: undefined | undefined;
5366
- mint?: undefined | undefined;
5367
- sourceHash?: undefined | undefined;
5368
- } | {
5369
- blockHash: `0x${string}` | null;
5370
- blockNumber: bigint | null;
5371
- blockTimestamp?: bigint | undefined;
5372
- from: import("abitype").Address;
5373
- gas: bigint;
5374
- hash: import("viem").Hash;
5375
- input: import("viem").Hex;
5376
- nonce: number;
5377
- r: import("viem").Hex;
5378
- s: import("viem").Hex;
5379
- to: import("abitype").Address | null;
5380
- transactionIndex: number | null;
5381
- typeHex: import("viem").Hex | null;
5382
- v: bigint;
5383
- value: bigint;
5384
- yParity: number;
5385
- accessList: import("viem").AccessList;
5386
- authorizationList?: undefined | undefined;
5387
- blobVersionedHashes?: undefined | undefined;
5388
- chainId: number;
5389
- type: "eip1559";
5390
- gasPrice?: undefined | undefined;
5391
- maxFeePerBlobGas?: undefined | undefined;
5392
- maxFeePerGas: bigint;
5393
- maxPriorityFeePerGas: bigint;
5394
- isSystemTx?: undefined | undefined;
5395
- mint?: undefined | undefined;
5396
- sourceHash?: undefined | undefined;
5397
- } | {
5398
- blockHash: `0x${string}` | null;
5399
- blockNumber: bigint | null;
5400
- blockTimestamp?: bigint | undefined;
5401
- from: import("abitype").Address;
5402
- gas: bigint;
5403
- hash: import("viem").Hash;
5404
- input: import("viem").Hex;
5405
- nonce: number;
5406
- r: import("viem").Hex;
5407
- s: import("viem").Hex;
5408
- to: import("abitype").Address | null;
5409
- transactionIndex: number | null;
5410
- typeHex: import("viem").Hex | null;
5411
- v: bigint;
5412
- value: bigint;
5413
- yParity: number;
5414
- accessList: import("viem").AccessList;
5415
- authorizationList?: undefined | undefined;
5416
- blobVersionedHashes: readonly import("viem").Hex[];
5417
- chainId: number;
5418
- type: "eip4844";
5419
- gasPrice?: undefined | undefined;
5420
- maxFeePerBlobGas: bigint;
5421
- maxFeePerGas: bigint;
5422
- maxPriorityFeePerGas: bigint;
5423
- isSystemTx?: undefined | undefined;
5424
- mint?: undefined | undefined;
5425
- sourceHash?: undefined | undefined;
5426
- } | {
5427
- blockHash: `0x${string}` | null;
5428
- blockNumber: bigint | null;
5429
- blockTimestamp?: bigint | undefined;
5430
- from: import("abitype").Address;
5431
- gas: bigint;
5432
- hash: import("viem").Hash;
5433
- input: import("viem").Hex;
5434
- nonce: number;
5435
- r: import("viem").Hex;
5436
- s: import("viem").Hex;
5437
- to: import("abitype").Address | null;
5438
- transactionIndex: number | null;
5439
- typeHex: import("viem").Hex | null;
5440
- v: bigint;
5441
- value: bigint;
5442
- yParity: number;
5443
- accessList: import("viem").AccessList;
5444
- authorizationList: import("viem").SignedAuthorizationList;
5445
- blobVersionedHashes?: undefined | undefined;
5446
- chainId: number;
5447
- type: "eip7702";
5448
- gasPrice?: undefined | undefined;
5449
- maxFeePerBlobGas?: undefined | undefined;
5450
- maxFeePerGas: bigint;
5451
- maxPriorityFeePerGas: bigint;
5452
- isSystemTx?: undefined | undefined;
5453
- mint?: undefined | undefined;
5454
- sourceHash?: undefined | undefined;
5455
- }) & {};
2802
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
5456
2803
  type: "transaction";
5457
2804
  };
5458
2805
  readonly transactionReceipt: {
5459
2806
  exclude: [] | undefined;
5460
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5461
- blobGasPrice?: bigint | undefined;
5462
- blobGasUsed?: bigint | undefined;
5463
- blockHash: import("viem").Hash;
5464
- blockNumber: bigint;
5465
- blockTimestamp?: bigint | undefined;
5466
- contractAddress: import("abitype").Address | null | undefined;
5467
- cumulativeGasUsed: bigint;
5468
- effectiveGasPrice: bigint;
5469
- from: import("abitype").Address;
5470
- gasUsed: bigint;
5471
- logs: import("viem").Log<bigint, number, false>[];
5472
- logsBloom: import("viem").Hex;
5473
- root?: `0x${string}` | undefined;
5474
- status: "success" | "reverted";
5475
- to: import("abitype").Address | null;
5476
- transactionHash: import("viem").Hash;
5477
- transactionIndex: number;
5478
- type: import("viem").TransactionType;
5479
- depositNonce?: bigint | undefined | undefined;
5480
- depositReceiptVersion?: number | undefined | undefined;
5481
- l1GasPrice: bigint | null;
5482
- l1GasUsed: bigint | null;
5483
- l1Fee: bigint | null;
5484
- l1FeeScalar: number | null;
5485
- } & {};
2807
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
5486
2808
  type: "transactionReceipt";
5487
2809
  };
5488
2810
  };
@@ -5616,389 +2938,22 @@ export declare const chainSpecs: {
5616
2938
  formatters: {
5617
2939
  readonly block: {
5618
2940
  exclude: [] | undefined;
5619
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
5620
- baseFeePerGas: bigint | null;
5621
- blobGasUsed: bigint;
5622
- difficulty: bigint;
5623
- excessBlobGas: bigint;
5624
- extraData: import("viem").Hex;
5625
- gasLimit: bigint;
5626
- gasUsed: bigint;
5627
- hash: `0x${string}` | null;
5628
- logsBloom: `0x${string}` | null;
5629
- miner: import("abitype").Address;
5630
- mixHash: import("viem").Hash;
5631
- nonce: `0x${string}` | null;
5632
- number: bigint | null;
5633
- parentBeaconBlockRoot?: `0x${string}` | undefined;
5634
- parentHash: import("viem").Hash;
5635
- receiptsRoot: import("viem").Hex;
5636
- sealFields: import("viem").Hex[];
5637
- sha3Uncles: import("viem").Hash;
5638
- size: bigint;
5639
- stateRoot: import("viem").Hash;
5640
- timestamp: bigint;
5641
- totalDifficulty: bigint | null;
5642
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
5643
- transactionsRoot: import("viem").Hash;
5644
- uncles: import("viem").Hash[];
5645
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
5646
- withdrawalsRoot?: `0x${string}` | undefined;
5647
- l1BatchNumber: bigint | null;
5648
- l1BatchTimestamp: bigint | null;
5649
- } & {};
2941
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
5650
2942
  type: "block";
5651
2943
  };
5652
2944
  readonly transaction: {
5653
2945
  exclude: [] | undefined;
5654
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
5655
- r: import("viem").Hex;
5656
- s: import("viem").Hex;
5657
- v: bigint;
5658
- to: import("abitype").Address | null;
5659
- from: import("abitype").Address;
5660
- gas: bigint;
5661
- nonce: number;
5662
- value: bigint;
5663
- blockHash: `0x${string}` | null;
5664
- blockNumber: bigint | null;
5665
- blockTimestamp?: bigint | undefined;
5666
- hash: import("viem").Hash;
5667
- input: import("viem").Hex;
5668
- transactionIndex: number | null;
5669
- typeHex: import("viem").Hex | null;
5670
- accessList?: undefined | undefined;
5671
- authorizationList?: undefined | undefined;
5672
- blobVersionedHashes?: undefined | undefined;
5673
- chainId?: number | undefined;
5674
- yParity?: undefined | undefined;
5675
- type: "legacy";
5676
- gasPrice: bigint;
5677
- maxFeePerBlobGas?: undefined | undefined;
5678
- maxFeePerGas?: undefined | undefined;
5679
- maxPriorityFeePerGas?: undefined | undefined;
5680
- l1BatchNumber: bigint | null;
5681
- l1BatchTxIndex: bigint | null;
5682
- } | {
5683
- blockHash: `0x${string}` | null;
5684
- blockNumber: bigint | null;
5685
- blockTimestamp?: bigint | undefined;
5686
- from: import("abitype").Address;
5687
- gas: bigint;
5688
- hash: import("viem").Hash;
5689
- input: import("viem").Hex;
5690
- nonce: number;
5691
- r: import("viem").Hex;
5692
- s: import("viem").Hex;
5693
- to: import("abitype").Address | null;
5694
- transactionIndex: number | null;
5695
- typeHex: import("viem").Hex | null;
5696
- v: bigint;
5697
- value: bigint;
5698
- yParity: number;
5699
- accessList: import("viem").AccessList;
5700
- authorizationList?: undefined | undefined;
5701
- blobVersionedHashes?: undefined | undefined;
5702
- chainId: number;
5703
- type: "eip2930";
5704
- gasPrice: bigint;
5705
- maxFeePerBlobGas?: undefined | undefined;
5706
- maxFeePerGas?: undefined | undefined;
5707
- maxPriorityFeePerGas?: undefined | undefined;
5708
- l1BatchNumber: bigint | null;
5709
- l1BatchTxIndex: bigint | null;
5710
- } | {
5711
- blockHash: `0x${string}` | null;
5712
- blockNumber: bigint | null;
5713
- blockTimestamp?: bigint | undefined;
5714
- from: import("abitype").Address;
5715
- gas: bigint;
5716
- hash: import("viem").Hash;
5717
- input: import("viem").Hex;
5718
- nonce: number;
5719
- r: import("viem").Hex;
5720
- s: import("viem").Hex;
5721
- to: import("abitype").Address | null;
5722
- transactionIndex: number | null;
5723
- typeHex: import("viem").Hex | null;
5724
- v: bigint;
5725
- value: bigint;
5726
- yParity: number;
5727
- accessList: import("viem").AccessList;
5728
- authorizationList?: undefined | undefined;
5729
- blobVersionedHashes?: undefined | undefined;
5730
- chainId: number;
5731
- type: "eip1559";
5732
- gasPrice?: undefined | undefined;
5733
- maxFeePerBlobGas?: undefined | undefined;
5734
- maxFeePerGas: bigint;
5735
- maxPriorityFeePerGas: bigint;
5736
- l1BatchNumber: bigint | null;
5737
- l1BatchTxIndex: bigint | null;
5738
- } | {
5739
- blockHash: `0x${string}` | null;
5740
- blockNumber: bigint | null;
5741
- blockTimestamp?: bigint | undefined;
5742
- from: import("abitype").Address;
5743
- gas: bigint;
5744
- hash: import("viem").Hash;
5745
- input: import("viem").Hex;
5746
- nonce: number;
5747
- r: import("viem").Hex;
5748
- s: import("viem").Hex;
5749
- to: import("abitype").Address | null;
5750
- transactionIndex: number | null;
5751
- typeHex: import("viem").Hex | null;
5752
- v: bigint;
5753
- value: bigint;
5754
- yParity: number;
5755
- accessList: import("viem").AccessList;
5756
- authorizationList?: undefined | undefined;
5757
- blobVersionedHashes: readonly import("viem").Hex[];
5758
- chainId: number;
5759
- type: "eip4844";
5760
- gasPrice?: undefined | undefined;
5761
- maxFeePerBlobGas: bigint;
5762
- maxFeePerGas: bigint;
5763
- maxPriorityFeePerGas: bigint;
5764
- l1BatchNumber: bigint | null;
5765
- l1BatchTxIndex: bigint | null;
5766
- } | {
5767
- blockHash: `0x${string}` | null;
5768
- blockNumber: bigint | null;
5769
- blockTimestamp?: bigint | undefined;
5770
- from: import("abitype").Address;
5771
- gas: bigint;
5772
- hash: import("viem").Hash;
5773
- input: import("viem").Hex;
5774
- nonce: number;
5775
- r: import("viem").Hex;
5776
- s: import("viem").Hex;
5777
- to: import("abitype").Address | null;
5778
- transactionIndex: number | null;
5779
- typeHex: import("viem").Hex | null;
5780
- v: bigint;
5781
- value: bigint;
5782
- yParity: number;
5783
- accessList: import("viem").AccessList;
5784
- authorizationList: import("viem").SignedAuthorizationList;
5785
- blobVersionedHashes?: undefined | undefined;
5786
- chainId: number;
5787
- type: "eip7702";
5788
- gasPrice?: undefined | undefined;
5789
- maxFeePerBlobGas?: undefined | undefined;
5790
- maxFeePerGas: bigint;
5791
- maxPriorityFeePerGas: bigint;
5792
- l1BatchNumber: bigint | null;
5793
- l1BatchTxIndex: bigint | null;
5794
- } | {
5795
- blockHash: `0x${string}` | null;
5796
- blockNumber: bigint | null;
5797
- blockTimestamp?: bigint | undefined;
5798
- from: import("abitype").Address;
5799
- gas: bigint;
5800
- hash: import("viem").Hash;
5801
- input: import("viem").Hex;
5802
- nonce: number;
5803
- r: import("viem").Hex;
5804
- s: import("viem").Hex;
5805
- to: import("abitype").Address | null;
5806
- transactionIndex: number | null;
5807
- typeHex: import("viem").Hex | null;
5808
- v: bigint;
5809
- value: bigint;
5810
- yParity: number;
5811
- l1BatchNumber: bigint | null;
5812
- l1BatchTxIndex: bigint | null;
5813
- gasPrice?: undefined | undefined;
5814
- maxFeePerBlobGas?: undefined | undefined;
5815
- maxFeePerGas: bigint;
5816
- maxPriorityFeePerGas: bigint;
5817
- type: "priority";
5818
- } | {
5819
- blockHash: `0x${string}` | null;
5820
- blockNumber: bigint | null;
5821
- blockTimestamp?: bigint | undefined;
5822
- from: import("abitype").Address;
5823
- gas: bigint;
5824
- hash: import("viem").Hash;
5825
- input: import("viem").Hex;
5826
- nonce: number;
5827
- r: import("viem").Hex;
5828
- s: import("viem").Hex;
5829
- to: import("abitype").Address | null;
5830
- transactionIndex: number | null;
5831
- typeHex: import("viem").Hex | null;
5832
- v: bigint;
5833
- value: bigint;
5834
- yParity: number;
5835
- l1BatchNumber: bigint | null;
5836
- l1BatchTxIndex: bigint | null;
5837
- gasPrice?: undefined | undefined;
5838
- maxFeePerBlobGas?: undefined | undefined;
5839
- maxFeePerGas: bigint;
5840
- maxPriorityFeePerGas: bigint;
5841
- type: "eip712" | "priority";
5842
- }) & {};
2946
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
5843
2947
  type: "transaction";
5844
2948
  };
5845
2949
  readonly transactionReceipt: {
5846
2950
  exclude: [] | undefined;
5847
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
5848
- type: import("viem/chains").ZkSyncTransactionType;
5849
- contractAddress: import("abitype").Address | null | undefined;
5850
- to: import("abitype").Address | null;
5851
- from: import("abitype").Address;
5852
- blockHash: import("viem").Hash;
5853
- blockNumber: bigint;
5854
- blockTimestamp?: bigint | undefined;
5855
- transactionIndex: number;
5856
- status: "success" | "reverted";
5857
- transactionHash: import("viem").Hash;
5858
- logsBloom: import("viem").Hex;
5859
- blobGasUsed?: bigint | undefined;
5860
- gasUsed: bigint;
5861
- blobGasPrice?: bigint | undefined;
5862
- cumulativeGasUsed: bigint;
5863
- effectiveGasPrice: bigint;
5864
- root?: `0x${string}` | undefined;
5865
- l1BatchNumber: bigint | null;
5866
- l1BatchTxIndex: bigint | null;
5867
- logs: import("viem/chains").ZkSyncLog[];
5868
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
5869
- } & {};
2951
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
5870
2952
  type: "transactionReceipt";
5871
2953
  };
5872
2954
  readonly transactionRequest: {
5873
2955
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
5874
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
5875
- data?: `0x${string}` | undefined;
5876
- from?: `0x${string}` | undefined;
5877
- gas?: `0x${string}` | undefined;
5878
- nonce?: `0x${string}` | undefined;
5879
- to?: `0x${string}` | null | undefined;
5880
- type?: "0x0" | undefined;
5881
- value?: `0x${string}` | undefined;
5882
- gasPrice?: `0x${string}` | undefined;
5883
- maxFeePerBlobGas?: undefined | undefined;
5884
- maxFeePerGas?: undefined | undefined;
5885
- maxPriorityFeePerGas?: undefined | undefined;
5886
- blobs?: undefined;
5887
- blobVersionedHashes?: undefined;
5888
- kzg?: undefined;
5889
- accessList?: undefined;
5890
- sidecars?: undefined;
5891
- authorizationList?: undefined;
5892
- eip712Meta?: undefined | undefined;
5893
- } | {
5894
- data?: `0x${string}` | undefined;
5895
- from?: `0x${string}` | undefined;
5896
- gas?: `0x${string}` | undefined;
5897
- nonce?: `0x${string}` | undefined;
5898
- to?: `0x${string}` | null | undefined;
5899
- type?: "0x1" | undefined;
5900
- value?: `0x${string}` | undefined;
5901
- gasPrice?: `0x${string}` | undefined;
5902
- maxFeePerBlobGas?: undefined | undefined;
5903
- maxFeePerGas?: undefined | undefined;
5904
- maxPriorityFeePerGas?: undefined | undefined;
5905
- accessList?: import("viem").AccessList | undefined;
5906
- blobs?: undefined;
5907
- blobVersionedHashes?: undefined;
5908
- kzg?: undefined;
5909
- sidecars?: undefined;
5910
- authorizationList?: undefined;
5911
- eip712Meta?: undefined | undefined;
5912
- } | {
5913
- data?: `0x${string}` | undefined;
5914
- from?: `0x${string}` | undefined;
5915
- gas?: `0x${string}` | undefined;
5916
- nonce?: `0x${string}` | undefined;
5917
- to?: `0x${string}` | null | undefined;
5918
- type?: "0x2" | undefined;
5919
- value?: `0x${string}` | undefined;
5920
- gasPrice?: undefined | undefined;
5921
- maxFeePerBlobGas?: undefined | undefined;
5922
- maxFeePerGas?: `0x${string}` | undefined;
5923
- maxPriorityFeePerGas?: `0x${string}` | undefined;
5924
- accessList?: import("viem").AccessList | undefined;
5925
- blobs?: undefined;
5926
- blobVersionedHashes?: undefined;
5927
- kzg?: undefined;
5928
- sidecars?: undefined;
5929
- authorizationList?: undefined;
5930
- eip712Meta?: undefined | undefined;
5931
- } | {
5932
- type?: "0x3" | undefined;
5933
- data?: `0x${string}` | undefined;
5934
- from?: `0x${string}` | undefined;
5935
- gas?: `0x${string}` | undefined;
5936
- nonce?: `0x${string}` | undefined;
5937
- value?: `0x${string}` | undefined;
5938
- to: `0x${string}` | null;
5939
- gasPrice?: undefined | undefined;
5940
- maxFeePerBlobGas?: `0x${string}` | undefined;
5941
- maxFeePerGas?: `0x${string}` | undefined;
5942
- maxPriorityFeePerGas?: `0x${string}` | undefined;
5943
- accessList?: import("viem").AccessList | undefined;
5944
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
5945
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
5946
- blobVersionedHashes: readonly import("viem").Hex[];
5947
- kzg?: undefined;
5948
- authorizationList?: undefined;
5949
- eip712Meta?: undefined | undefined;
5950
- } | {
5951
- type?: "0x3" | undefined;
5952
- data?: `0x${string}` | undefined;
5953
- from?: `0x${string}` | undefined;
5954
- gas?: `0x${string}` | undefined;
5955
- nonce?: `0x${string}` | undefined;
5956
- value?: `0x${string}` | undefined;
5957
- to: `0x${string}` | null;
5958
- gasPrice?: undefined | undefined;
5959
- maxFeePerBlobGas?: `0x${string}` | undefined;
5960
- maxFeePerGas?: `0x${string}` | undefined;
5961
- maxPriorityFeePerGas?: `0x${string}` | undefined;
5962
- accessList?: import("viem").AccessList | undefined;
5963
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
5964
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
5965
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5966
- kzg?: import("viem").Kzg | undefined;
5967
- authorizationList?: undefined;
5968
- eip712Meta?: undefined | undefined;
5969
- } | {
5970
- type?: "0x4" | undefined;
5971
- gasPrice?: undefined | undefined;
5972
- maxFeePerBlobGas?: undefined | undefined;
5973
- maxFeePerGas?: `0x${string}` | undefined;
5974
- maxPriorityFeePerGas?: `0x${string}` | undefined;
5975
- to?: `0x${string}` | null | undefined;
5976
- data?: `0x${string}` | undefined;
5977
- from?: `0x${string}` | undefined;
5978
- gas?: `0x${string}` | undefined;
5979
- nonce?: `0x${string}` | undefined;
5980
- value?: `0x${string}` | undefined;
5981
- accessList?: import("viem").AccessList | undefined;
5982
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
5983
- blobs?: undefined;
5984
- blobVersionedHashes?: undefined;
5985
- kzg?: undefined;
5986
- sidecars?: undefined;
5987
- eip712Meta?: undefined | undefined;
5988
- } | {
5989
- data?: `0x${string}` | undefined;
5990
- from?: `0x${string}` | undefined;
5991
- gas?: `0x${string}` | undefined;
5992
- nonce?: `0x${string}` | undefined;
5993
- to?: `0x${string}` | null | undefined;
5994
- type: "0xff" | "0x71";
5995
- value?: `0x${string}` | undefined;
5996
- gasPrice?: undefined | undefined;
5997
- maxFeePerBlobGas?: undefined | undefined;
5998
- maxFeePerGas?: `0x${string}` | undefined;
5999
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6000
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
6001
- }) & {
2956
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
6002
2957
  paymaster: never;
6003
2958
  gasPerPubdata: never;
6004
2959
  factoryDeps: never;
@@ -6090,389 +3045,22 @@ export declare const chainSpecs: {
6090
3045
  formatters: {
6091
3046
  readonly block: {
6092
3047
  exclude: [] | undefined;
6093
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
6094
- baseFeePerGas: bigint | null;
6095
- blobGasUsed: bigint;
6096
- difficulty: bigint;
6097
- excessBlobGas: bigint;
6098
- extraData: import("viem").Hex;
6099
- gasLimit: bigint;
6100
- gasUsed: bigint;
6101
- hash: `0x${string}` | null;
6102
- logsBloom: `0x${string}` | null;
6103
- miner: import("abitype").Address;
6104
- mixHash: import("viem").Hash;
6105
- nonce: `0x${string}` | null;
6106
- number: bigint | null;
6107
- parentBeaconBlockRoot?: `0x${string}` | undefined;
6108
- parentHash: import("viem").Hash;
6109
- receiptsRoot: import("viem").Hex;
6110
- sealFields: import("viem").Hex[];
6111
- sha3Uncles: import("viem").Hash;
6112
- size: bigint;
6113
- stateRoot: import("viem").Hash;
6114
- timestamp: bigint;
6115
- totalDifficulty: bigint | null;
6116
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
6117
- transactionsRoot: import("viem").Hash;
6118
- uncles: import("viem").Hash[];
6119
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
6120
- withdrawalsRoot?: `0x${string}` | undefined;
6121
- l1BatchNumber: bigint | null;
6122
- l1BatchTimestamp: bigint | null;
6123
- } & {};
3048
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
6124
3049
  type: "block";
6125
3050
  };
6126
3051
  readonly transaction: {
6127
3052
  exclude: [] | undefined;
6128
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
6129
- r: import("viem").Hex;
6130
- s: import("viem").Hex;
6131
- v: bigint;
6132
- to: import("abitype").Address | null;
6133
- from: import("abitype").Address;
6134
- gas: bigint;
6135
- nonce: number;
6136
- value: bigint;
6137
- blockHash: `0x${string}` | null;
6138
- blockNumber: bigint | null;
6139
- blockTimestamp?: bigint | undefined;
6140
- hash: import("viem").Hash;
6141
- input: import("viem").Hex;
6142
- transactionIndex: number | null;
6143
- typeHex: import("viem").Hex | null;
6144
- accessList?: undefined | undefined;
6145
- authorizationList?: undefined | undefined;
6146
- blobVersionedHashes?: undefined | undefined;
6147
- chainId?: number | undefined;
6148
- yParity?: undefined | undefined;
6149
- type: "legacy";
6150
- gasPrice: bigint;
6151
- maxFeePerBlobGas?: undefined | undefined;
6152
- maxFeePerGas?: undefined | undefined;
6153
- maxPriorityFeePerGas?: undefined | undefined;
6154
- l1BatchNumber: bigint | null;
6155
- l1BatchTxIndex: bigint | null;
6156
- } | {
6157
- blockHash: `0x${string}` | null;
6158
- blockNumber: bigint | null;
6159
- blockTimestamp?: bigint | undefined;
6160
- from: import("abitype").Address;
6161
- gas: bigint;
6162
- hash: import("viem").Hash;
6163
- input: import("viem").Hex;
6164
- nonce: number;
6165
- r: import("viem").Hex;
6166
- s: import("viem").Hex;
6167
- to: import("abitype").Address | null;
6168
- transactionIndex: number | null;
6169
- typeHex: import("viem").Hex | null;
6170
- v: bigint;
6171
- value: bigint;
6172
- yParity: number;
6173
- accessList: import("viem").AccessList;
6174
- authorizationList?: undefined | undefined;
6175
- blobVersionedHashes?: undefined | undefined;
6176
- chainId: number;
6177
- type: "eip2930";
6178
- gasPrice: bigint;
6179
- maxFeePerBlobGas?: undefined | undefined;
6180
- maxFeePerGas?: undefined | undefined;
6181
- maxPriorityFeePerGas?: undefined | undefined;
6182
- l1BatchNumber: bigint | null;
6183
- l1BatchTxIndex: bigint | null;
6184
- } | {
6185
- blockHash: `0x${string}` | null;
6186
- blockNumber: bigint | null;
6187
- blockTimestamp?: bigint | undefined;
6188
- from: import("abitype").Address;
6189
- gas: bigint;
6190
- hash: import("viem").Hash;
6191
- input: import("viem").Hex;
6192
- nonce: number;
6193
- r: import("viem").Hex;
6194
- s: import("viem").Hex;
6195
- to: import("abitype").Address | null;
6196
- transactionIndex: number | null;
6197
- typeHex: import("viem").Hex | null;
6198
- v: bigint;
6199
- value: bigint;
6200
- yParity: number;
6201
- accessList: import("viem").AccessList;
6202
- authorizationList?: undefined | undefined;
6203
- blobVersionedHashes?: undefined | undefined;
6204
- chainId: number;
6205
- type: "eip1559";
6206
- gasPrice?: undefined | undefined;
6207
- maxFeePerBlobGas?: undefined | undefined;
6208
- maxFeePerGas: bigint;
6209
- maxPriorityFeePerGas: bigint;
6210
- l1BatchNumber: bigint | null;
6211
- l1BatchTxIndex: bigint | null;
6212
- } | {
6213
- blockHash: `0x${string}` | null;
6214
- blockNumber: bigint | null;
6215
- blockTimestamp?: bigint | undefined;
6216
- from: import("abitype").Address;
6217
- gas: bigint;
6218
- hash: import("viem").Hash;
6219
- input: import("viem").Hex;
6220
- nonce: number;
6221
- r: import("viem").Hex;
6222
- s: import("viem").Hex;
6223
- to: import("abitype").Address | null;
6224
- transactionIndex: number | null;
6225
- typeHex: import("viem").Hex | null;
6226
- v: bigint;
6227
- value: bigint;
6228
- yParity: number;
6229
- accessList: import("viem").AccessList;
6230
- authorizationList?: undefined | undefined;
6231
- blobVersionedHashes: readonly import("viem").Hex[];
6232
- chainId: number;
6233
- type: "eip4844";
6234
- gasPrice?: undefined | undefined;
6235
- maxFeePerBlobGas: bigint;
6236
- maxFeePerGas: bigint;
6237
- maxPriorityFeePerGas: bigint;
6238
- l1BatchNumber: bigint | null;
6239
- l1BatchTxIndex: bigint | null;
6240
- } | {
6241
- blockHash: `0x${string}` | null;
6242
- blockNumber: bigint | null;
6243
- blockTimestamp?: bigint | undefined;
6244
- from: import("abitype").Address;
6245
- gas: bigint;
6246
- hash: import("viem").Hash;
6247
- input: import("viem").Hex;
6248
- nonce: number;
6249
- r: import("viem").Hex;
6250
- s: import("viem").Hex;
6251
- to: import("abitype").Address | null;
6252
- transactionIndex: number | null;
6253
- typeHex: import("viem").Hex | null;
6254
- v: bigint;
6255
- value: bigint;
6256
- yParity: number;
6257
- accessList: import("viem").AccessList;
6258
- authorizationList: import("viem").SignedAuthorizationList;
6259
- blobVersionedHashes?: undefined | undefined;
6260
- chainId: number;
6261
- type: "eip7702";
6262
- gasPrice?: undefined | undefined;
6263
- maxFeePerBlobGas?: undefined | undefined;
6264
- maxFeePerGas: bigint;
6265
- maxPriorityFeePerGas: bigint;
6266
- l1BatchNumber: bigint | null;
6267
- l1BatchTxIndex: bigint | null;
6268
- } | {
6269
- blockHash: `0x${string}` | null;
6270
- blockNumber: bigint | null;
6271
- blockTimestamp?: bigint | undefined;
6272
- from: import("abitype").Address;
6273
- gas: bigint;
6274
- hash: import("viem").Hash;
6275
- input: import("viem").Hex;
6276
- nonce: number;
6277
- r: import("viem").Hex;
6278
- s: import("viem").Hex;
6279
- to: import("abitype").Address | null;
6280
- transactionIndex: number | null;
6281
- typeHex: import("viem").Hex | null;
6282
- v: bigint;
6283
- value: bigint;
6284
- yParity: number;
6285
- l1BatchNumber: bigint | null;
6286
- l1BatchTxIndex: bigint | null;
6287
- gasPrice?: undefined | undefined;
6288
- maxFeePerBlobGas?: undefined | undefined;
6289
- maxFeePerGas: bigint;
6290
- maxPriorityFeePerGas: bigint;
6291
- type: "priority";
6292
- } | {
6293
- blockHash: `0x${string}` | null;
6294
- blockNumber: bigint | null;
6295
- blockTimestamp?: bigint | undefined;
6296
- from: import("abitype").Address;
6297
- gas: bigint;
6298
- hash: import("viem").Hash;
6299
- input: import("viem").Hex;
6300
- nonce: number;
6301
- r: import("viem").Hex;
6302
- s: import("viem").Hex;
6303
- to: import("abitype").Address | null;
6304
- transactionIndex: number | null;
6305
- typeHex: import("viem").Hex | null;
6306
- v: bigint;
6307
- value: bigint;
6308
- yParity: number;
6309
- l1BatchNumber: bigint | null;
6310
- l1BatchTxIndex: bigint | null;
6311
- gasPrice?: undefined | undefined;
6312
- maxFeePerBlobGas?: undefined | undefined;
6313
- maxFeePerGas: bigint;
6314
- maxPriorityFeePerGas: bigint;
6315
- type: "eip712" | "priority";
6316
- }) & {};
3053
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
6317
3054
  type: "transaction";
6318
3055
  };
6319
3056
  readonly transactionReceipt: {
6320
3057
  exclude: [] | undefined;
6321
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
6322
- type: import("viem/chains").ZkSyncTransactionType;
6323
- contractAddress: import("abitype").Address | null | undefined;
6324
- to: import("abitype").Address | null;
6325
- from: import("abitype").Address;
6326
- blockHash: import("viem").Hash;
6327
- blockNumber: bigint;
6328
- blockTimestamp?: bigint | undefined;
6329
- transactionIndex: number;
6330
- status: "success" | "reverted";
6331
- transactionHash: import("viem").Hash;
6332
- logsBloom: import("viem").Hex;
6333
- blobGasUsed?: bigint | undefined;
6334
- gasUsed: bigint;
6335
- blobGasPrice?: bigint | undefined;
6336
- cumulativeGasUsed: bigint;
6337
- effectiveGasPrice: bigint;
6338
- root?: `0x${string}` | undefined;
6339
- l1BatchNumber: bigint | null;
6340
- l1BatchTxIndex: bigint | null;
6341
- logs: import("viem/chains").ZkSyncLog[];
6342
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
6343
- } & {};
3058
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
6344
3059
  type: "transactionReceipt";
6345
3060
  };
6346
3061
  readonly transactionRequest: {
6347
3062
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
6348
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
6349
- data?: `0x${string}` | undefined;
6350
- from?: `0x${string}` | undefined;
6351
- gas?: `0x${string}` | undefined;
6352
- nonce?: `0x${string}` | undefined;
6353
- to?: `0x${string}` | null | undefined;
6354
- type?: "0x0" | undefined;
6355
- value?: `0x${string}` | undefined;
6356
- gasPrice?: `0x${string}` | undefined;
6357
- maxFeePerBlobGas?: undefined | undefined;
6358
- maxFeePerGas?: undefined | undefined;
6359
- maxPriorityFeePerGas?: undefined | undefined;
6360
- blobs?: undefined;
6361
- blobVersionedHashes?: undefined;
6362
- kzg?: undefined;
6363
- accessList?: undefined;
6364
- sidecars?: undefined;
6365
- authorizationList?: undefined;
6366
- eip712Meta?: undefined | undefined;
6367
- } | {
6368
- data?: `0x${string}` | undefined;
6369
- from?: `0x${string}` | undefined;
6370
- gas?: `0x${string}` | undefined;
6371
- nonce?: `0x${string}` | undefined;
6372
- to?: `0x${string}` | null | undefined;
6373
- type?: "0x1" | undefined;
6374
- value?: `0x${string}` | undefined;
6375
- gasPrice?: `0x${string}` | undefined;
6376
- maxFeePerBlobGas?: undefined | undefined;
6377
- maxFeePerGas?: undefined | undefined;
6378
- maxPriorityFeePerGas?: undefined | undefined;
6379
- accessList?: import("viem").AccessList | undefined;
6380
- blobs?: undefined;
6381
- blobVersionedHashes?: undefined;
6382
- kzg?: undefined;
6383
- sidecars?: undefined;
6384
- authorizationList?: undefined;
6385
- eip712Meta?: undefined | undefined;
6386
- } | {
6387
- data?: `0x${string}` | undefined;
6388
- from?: `0x${string}` | undefined;
6389
- gas?: `0x${string}` | undefined;
6390
- nonce?: `0x${string}` | undefined;
6391
- to?: `0x${string}` | null | undefined;
6392
- type?: "0x2" | undefined;
6393
- value?: `0x${string}` | undefined;
6394
- gasPrice?: undefined | undefined;
6395
- maxFeePerBlobGas?: undefined | undefined;
6396
- maxFeePerGas?: `0x${string}` | undefined;
6397
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6398
- accessList?: import("viem").AccessList | undefined;
6399
- blobs?: undefined;
6400
- blobVersionedHashes?: undefined;
6401
- kzg?: undefined;
6402
- sidecars?: undefined;
6403
- authorizationList?: undefined;
6404
- eip712Meta?: undefined | undefined;
6405
- } | {
6406
- type?: "0x3" | undefined;
6407
- data?: `0x${string}` | undefined;
6408
- from?: `0x${string}` | undefined;
6409
- gas?: `0x${string}` | undefined;
6410
- nonce?: `0x${string}` | undefined;
6411
- value?: `0x${string}` | undefined;
6412
- to: `0x${string}` | null;
6413
- gasPrice?: undefined | undefined;
6414
- maxFeePerBlobGas?: `0x${string}` | undefined;
6415
- maxFeePerGas?: `0x${string}` | undefined;
6416
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6417
- accessList?: import("viem").AccessList | undefined;
6418
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
6419
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
6420
- blobVersionedHashes: readonly import("viem").Hex[];
6421
- kzg?: undefined;
6422
- authorizationList?: undefined;
6423
- eip712Meta?: undefined | undefined;
6424
- } | {
6425
- type?: "0x3" | undefined;
6426
- data?: `0x${string}` | undefined;
6427
- from?: `0x${string}` | undefined;
6428
- gas?: `0x${string}` | undefined;
6429
- nonce?: `0x${string}` | undefined;
6430
- value?: `0x${string}` | undefined;
6431
- to: `0x${string}` | null;
6432
- gasPrice?: undefined | undefined;
6433
- maxFeePerBlobGas?: `0x${string}` | undefined;
6434
- maxFeePerGas?: `0x${string}` | undefined;
6435
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6436
- accessList?: import("viem").AccessList | undefined;
6437
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
6438
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
6439
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6440
- kzg?: import("viem").Kzg | undefined;
6441
- authorizationList?: undefined;
6442
- eip712Meta?: undefined | undefined;
6443
- } | {
6444
- type?: "0x4" | undefined;
6445
- gasPrice?: undefined | undefined;
6446
- maxFeePerBlobGas?: undefined | undefined;
6447
- maxFeePerGas?: `0x${string}` | undefined;
6448
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6449
- to?: `0x${string}` | null | undefined;
6450
- data?: `0x${string}` | undefined;
6451
- from?: `0x${string}` | undefined;
6452
- gas?: `0x${string}` | undefined;
6453
- nonce?: `0x${string}` | undefined;
6454
- value?: `0x${string}` | undefined;
6455
- accessList?: import("viem").AccessList | undefined;
6456
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
6457
- blobs?: undefined;
6458
- blobVersionedHashes?: undefined;
6459
- kzg?: undefined;
6460
- sidecars?: undefined;
6461
- eip712Meta?: undefined | undefined;
6462
- } | {
6463
- data?: `0x${string}` | undefined;
6464
- from?: `0x${string}` | undefined;
6465
- gas?: `0x${string}` | undefined;
6466
- nonce?: `0x${string}` | undefined;
6467
- to?: `0x${string}` | null | undefined;
6468
- type: "0xff" | "0x71";
6469
- value?: `0x${string}` | undefined;
6470
- gasPrice?: undefined | undefined;
6471
- maxFeePerBlobGas?: undefined | undefined;
6472
- maxFeePerGas?: `0x${string}` | undefined;
6473
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6474
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
6475
- }) & {
3063
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
6476
3064
  paymaster: never;
6477
3065
  gasPerPubdata: never;
6478
3066
  factoryDeps: never;