sablier 4.1.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.
@@ -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
  };
@@ -2380,6 +1344,13 @@ export declare const chainSpecs: {
2380
1344
  coinGeckoId: "ethereum";
2381
1345
  wrapperContract: string;
2382
1346
  };
1347
+ overrides: {
1348
+ rpcUrls: {
1349
+ default: {
1350
+ http: string[];
1351
+ };
1352
+ };
1353
+ };
2383
1354
  rpc: {
2384
1355
  alchemy: string;
2385
1356
  infura: string;
@@ -2461,240 +1432,17 @@ export declare const chainSpecs: {
2461
1432
  formatters: {
2462
1433
  readonly block: {
2463
1434
  exclude: [] | undefined;
2464
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
2465
- baseFeePerGas: bigint | null;
2466
- blobGasUsed: bigint;
2467
- difficulty: bigint;
2468
- excessBlobGas: bigint;
2469
- extraData: import("viem").Hex;
2470
- gasLimit: bigint;
2471
- gasUsed: bigint;
2472
- hash: `0x${string}` | null;
2473
- logsBloom: `0x${string}` | null;
2474
- miner: import("abitype").Address;
2475
- mixHash: import("viem").Hash;
2476
- nonce: `0x${string}` | null;
2477
- number: bigint | null;
2478
- parentBeaconBlockRoot?: `0x${string}` | undefined;
2479
- parentHash: import("viem").Hash;
2480
- receiptsRoot: import("viem").Hex;
2481
- sealFields: import("viem").Hex[];
2482
- sha3Uncles: import("viem").Hash;
2483
- size: bigint;
2484
- stateRoot: import("viem").Hash;
2485
- timestamp: bigint;
2486
- totalDifficulty: bigint | null;
2487
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
2488
- transactionsRoot: import("viem").Hash;
2489
- uncles: import("viem").Hash[];
2490
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
2491
- withdrawalsRoot?: `0x${string}` | undefined;
2492
- } & {};
1435
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
2493
1436
  type: "block";
2494
1437
  };
2495
1438
  readonly transaction: {
2496
1439
  exclude: [] | undefined;
2497
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
2498
- blockHash: `0x${string}` | null;
2499
- blockNumber: bigint | null;
2500
- blockTimestamp?: bigint | undefined;
2501
- from: import("abitype").Address;
2502
- gas: bigint;
2503
- hash: import("viem").Hash;
2504
- input: import("viem").Hex;
2505
- nonce: number;
2506
- r: import("viem").Hex;
2507
- s: import("viem").Hex;
2508
- to: import("abitype").Address | null;
2509
- transactionIndex: number | null;
2510
- typeHex: import("viem").Hex | null;
2511
- v: bigint;
2512
- value: bigint;
2513
- yParity: number;
2514
- gasPrice?: undefined | undefined;
2515
- maxFeePerBlobGas?: undefined | undefined;
2516
- maxFeePerGas: bigint;
2517
- maxPriorityFeePerGas: bigint;
2518
- isSystemTx?: boolean;
2519
- mint?: bigint | undefined | undefined;
2520
- sourceHash: import("viem").Hex;
2521
- type: "deposit";
2522
- } | {
2523
- r: import("viem").Hex;
2524
- s: import("viem").Hex;
2525
- v: bigint;
2526
- to: import("abitype").Address | null;
2527
- from: import("abitype").Address;
2528
- gas: bigint;
2529
- nonce: number;
2530
- value: bigint;
2531
- blockHash: `0x${string}` | null;
2532
- blockNumber: bigint | null;
2533
- blockTimestamp?: bigint | undefined;
2534
- hash: import("viem").Hash;
2535
- input: import("viem").Hex;
2536
- transactionIndex: number | null;
2537
- typeHex: import("viem").Hex | null;
2538
- accessList?: undefined | undefined;
2539
- authorizationList?: undefined | undefined;
2540
- blobVersionedHashes?: undefined | undefined;
2541
- chainId?: number | undefined;
2542
- yParity?: undefined | undefined;
2543
- type: "legacy";
2544
- gasPrice: bigint;
2545
- maxFeePerBlobGas?: undefined | undefined;
2546
- maxFeePerGas?: undefined | undefined;
2547
- maxPriorityFeePerGas?: undefined | undefined;
2548
- isSystemTx?: undefined | undefined;
2549
- mint?: undefined | undefined;
2550
- sourceHash?: undefined | undefined;
2551
- } | {
2552
- blockHash: `0x${string}` | null;
2553
- blockNumber: bigint | null;
2554
- blockTimestamp?: bigint | undefined;
2555
- from: import("abitype").Address;
2556
- gas: bigint;
2557
- hash: import("viem").Hash;
2558
- input: import("viem").Hex;
2559
- nonce: number;
2560
- r: import("viem").Hex;
2561
- s: import("viem").Hex;
2562
- to: import("abitype").Address | null;
2563
- transactionIndex: number | null;
2564
- typeHex: import("viem").Hex | null;
2565
- v: bigint;
2566
- value: bigint;
2567
- yParity: number;
2568
- accessList: import("viem").AccessList;
2569
- authorizationList?: undefined | undefined;
2570
- blobVersionedHashes?: undefined | undefined;
2571
- chainId: number;
2572
- type: "eip2930";
2573
- gasPrice: bigint;
2574
- maxFeePerBlobGas?: undefined | undefined;
2575
- maxFeePerGas?: undefined | undefined;
2576
- maxPriorityFeePerGas?: undefined | undefined;
2577
- isSystemTx?: undefined | undefined;
2578
- mint?: undefined | undefined;
2579
- sourceHash?: undefined | undefined;
2580
- } | {
2581
- blockHash: `0x${string}` | null;
2582
- blockNumber: bigint | null;
2583
- blockTimestamp?: bigint | undefined;
2584
- from: import("abitype").Address;
2585
- gas: bigint;
2586
- hash: import("viem").Hash;
2587
- input: import("viem").Hex;
2588
- nonce: number;
2589
- r: import("viem").Hex;
2590
- s: import("viem").Hex;
2591
- to: import("abitype").Address | null;
2592
- transactionIndex: number | null;
2593
- typeHex: import("viem").Hex | null;
2594
- v: bigint;
2595
- value: bigint;
2596
- yParity: number;
2597
- accessList: import("viem").AccessList;
2598
- authorizationList?: undefined | undefined;
2599
- blobVersionedHashes?: undefined | undefined;
2600
- chainId: number;
2601
- type: "eip1559";
2602
- gasPrice?: undefined | undefined;
2603
- maxFeePerBlobGas?: undefined | undefined;
2604
- maxFeePerGas: bigint;
2605
- maxPriorityFeePerGas: bigint;
2606
- isSystemTx?: undefined | undefined;
2607
- mint?: undefined | undefined;
2608
- sourceHash?: undefined | undefined;
2609
- } | {
2610
- blockHash: `0x${string}` | null;
2611
- blockNumber: bigint | null;
2612
- blockTimestamp?: bigint | undefined;
2613
- from: import("abitype").Address;
2614
- gas: bigint;
2615
- hash: import("viem").Hash;
2616
- input: import("viem").Hex;
2617
- nonce: number;
2618
- r: import("viem").Hex;
2619
- s: import("viem").Hex;
2620
- to: import("abitype").Address | null;
2621
- transactionIndex: number | null;
2622
- typeHex: import("viem").Hex | null;
2623
- v: bigint;
2624
- value: bigint;
2625
- yParity: number;
2626
- accessList: import("viem").AccessList;
2627
- authorizationList?: undefined | undefined;
2628
- blobVersionedHashes: readonly import("viem").Hex[];
2629
- chainId: number;
2630
- type: "eip4844";
2631
- gasPrice?: undefined | undefined;
2632
- maxFeePerBlobGas: bigint;
2633
- maxFeePerGas: bigint;
2634
- maxPriorityFeePerGas: bigint;
2635
- isSystemTx?: undefined | undefined;
2636
- mint?: undefined | undefined;
2637
- sourceHash?: undefined | undefined;
2638
- } | {
2639
- blockHash: `0x${string}` | null;
2640
- blockNumber: bigint | null;
2641
- blockTimestamp?: bigint | undefined;
2642
- from: import("abitype").Address;
2643
- gas: bigint;
2644
- hash: import("viem").Hash;
2645
- input: import("viem").Hex;
2646
- nonce: number;
2647
- r: import("viem").Hex;
2648
- s: import("viem").Hex;
2649
- to: import("abitype").Address | null;
2650
- transactionIndex: number | null;
2651
- typeHex: import("viem").Hex | null;
2652
- v: bigint;
2653
- value: bigint;
2654
- yParity: number;
2655
- accessList: import("viem").AccessList;
2656
- authorizationList: import("viem").SignedAuthorizationList;
2657
- blobVersionedHashes?: undefined | undefined;
2658
- chainId: number;
2659
- type: "eip7702";
2660
- gasPrice?: undefined | undefined;
2661
- maxFeePerBlobGas?: undefined | undefined;
2662
- maxFeePerGas: bigint;
2663
- maxPriorityFeePerGas: bigint;
2664
- isSystemTx?: undefined | undefined;
2665
- mint?: undefined | undefined;
2666
- sourceHash?: undefined | undefined;
2667
- }) & {};
1440
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
2668
1441
  type: "transaction";
2669
1442
  };
2670
1443
  readonly transactionReceipt: {
2671
1444
  exclude: [] | undefined;
2672
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
2673
- blobGasPrice?: bigint | undefined;
2674
- blobGasUsed?: bigint | undefined;
2675
- blockHash: import("viem").Hash;
2676
- blockNumber: bigint;
2677
- blockTimestamp?: bigint | undefined;
2678
- contractAddress: import("abitype").Address | null | undefined;
2679
- cumulativeGasUsed: bigint;
2680
- effectiveGasPrice: bigint;
2681
- from: import("abitype").Address;
2682
- gasUsed: bigint;
2683
- logs: import("viem").Log<bigint, number, false>[];
2684
- logsBloom: import("viem").Hex;
2685
- root?: `0x${string}` | undefined;
2686
- status: "success" | "reverted";
2687
- to: import("abitype").Address | null;
2688
- transactionHash: import("viem").Hash;
2689
- transactionIndex: number;
2690
- type: import("viem").TransactionType;
2691
- depositNonce?: bigint | undefined | undefined;
2692
- depositReceiptVersion?: number | undefined | undefined;
2693
- l1GasPrice: bigint | null;
2694
- l1GasUsed: bigint | null;
2695
- l1Fee: bigint | null;
2696
- l1FeeScalar: number | null;
2697
- } & {};
1445
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
2698
1446
  type: "transactionReceipt";
2699
1447
  };
2700
1448
  };
@@ -2937,240 +1685,17 @@ export declare const chainSpecs: {
2937
1685
  formatters: {
2938
1686
  readonly block: {
2939
1687
  exclude: [] | undefined;
2940
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
2941
- baseFeePerGas: bigint | null;
2942
- blobGasUsed: bigint;
2943
- difficulty: bigint;
2944
- excessBlobGas: bigint;
2945
- extraData: import("viem").Hex;
2946
- gasLimit: bigint;
2947
- gasUsed: bigint;
2948
- hash: `0x${string}` | null;
2949
- logsBloom: `0x${string}` | null;
2950
- miner: import("abitype").Address;
2951
- mixHash: import("viem").Hash;
2952
- nonce: `0x${string}` | null;
2953
- number: bigint | null;
2954
- parentBeaconBlockRoot?: `0x${string}` | undefined;
2955
- parentHash: import("viem").Hash;
2956
- receiptsRoot: import("viem").Hex;
2957
- sealFields: import("viem").Hex[];
2958
- sha3Uncles: import("viem").Hash;
2959
- size: bigint;
2960
- stateRoot: import("viem").Hash;
2961
- timestamp: bigint;
2962
- totalDifficulty: bigint | null;
2963
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
2964
- transactionsRoot: import("viem").Hash;
2965
- uncles: import("viem").Hash[];
2966
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
2967
- withdrawalsRoot?: `0x${string}` | undefined;
2968
- } & {};
1688
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
2969
1689
  type: "block";
2970
1690
  };
2971
1691
  readonly transaction: {
2972
1692
  exclude: [] | undefined;
2973
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
2974
- blockHash: `0x${string}` | null;
2975
- blockNumber: bigint | null;
2976
- blockTimestamp?: bigint | undefined;
2977
- from: import("abitype").Address;
2978
- gas: bigint;
2979
- hash: import("viem").Hash;
2980
- input: import("viem").Hex;
2981
- nonce: number;
2982
- r: import("viem").Hex;
2983
- s: import("viem").Hex;
2984
- to: import("abitype").Address | null;
2985
- transactionIndex: number | null;
2986
- typeHex: import("viem").Hex | null;
2987
- v: bigint;
2988
- value: bigint;
2989
- yParity: number;
2990
- gasPrice?: undefined | undefined;
2991
- maxFeePerBlobGas?: undefined | undefined;
2992
- maxFeePerGas: bigint;
2993
- maxPriorityFeePerGas: bigint;
2994
- isSystemTx?: boolean;
2995
- mint?: bigint | undefined | undefined;
2996
- sourceHash: import("viem").Hex;
2997
- type: "deposit";
2998
- } | {
2999
- r: import("viem").Hex;
3000
- s: import("viem").Hex;
3001
- v: bigint;
3002
- to: import("abitype").Address | null;
3003
- from: import("abitype").Address;
3004
- gas: bigint;
3005
- nonce: number;
3006
- value: bigint;
3007
- blockHash: `0x${string}` | null;
3008
- blockNumber: bigint | null;
3009
- blockTimestamp?: bigint | undefined;
3010
- hash: import("viem").Hash;
3011
- input: import("viem").Hex;
3012
- transactionIndex: number | null;
3013
- typeHex: import("viem").Hex | null;
3014
- accessList?: undefined | undefined;
3015
- authorizationList?: undefined | undefined;
3016
- blobVersionedHashes?: undefined | undefined;
3017
- chainId?: number | undefined;
3018
- yParity?: undefined | undefined;
3019
- type: "legacy";
3020
- gasPrice: bigint;
3021
- maxFeePerBlobGas?: undefined | undefined;
3022
- maxFeePerGas?: undefined | undefined;
3023
- maxPriorityFeePerGas?: undefined | undefined;
3024
- isSystemTx?: undefined | undefined;
3025
- mint?: undefined | undefined;
3026
- sourceHash?: undefined | undefined;
3027
- } | {
3028
- blockHash: `0x${string}` | null;
3029
- blockNumber: bigint | null;
3030
- blockTimestamp?: bigint | undefined;
3031
- from: import("abitype").Address;
3032
- gas: bigint;
3033
- hash: import("viem").Hash;
3034
- input: import("viem").Hex;
3035
- nonce: number;
3036
- r: import("viem").Hex;
3037
- s: import("viem").Hex;
3038
- to: import("abitype").Address | null;
3039
- transactionIndex: number | null;
3040
- typeHex: import("viem").Hex | null;
3041
- v: bigint;
3042
- value: bigint;
3043
- yParity: number;
3044
- accessList: import("viem").AccessList;
3045
- authorizationList?: undefined | undefined;
3046
- blobVersionedHashes?: undefined | undefined;
3047
- chainId: number;
3048
- type: "eip2930";
3049
- gasPrice: bigint;
3050
- maxFeePerBlobGas?: undefined | undefined;
3051
- maxFeePerGas?: undefined | undefined;
3052
- maxPriorityFeePerGas?: undefined | undefined;
3053
- isSystemTx?: undefined | undefined;
3054
- mint?: undefined | undefined;
3055
- sourceHash?: undefined | undefined;
3056
- } | {
3057
- blockHash: `0x${string}` | null;
3058
- blockNumber: bigint | null;
3059
- blockTimestamp?: bigint | undefined;
3060
- from: import("abitype").Address;
3061
- gas: bigint;
3062
- hash: import("viem").Hash;
3063
- input: import("viem").Hex;
3064
- nonce: number;
3065
- r: import("viem").Hex;
3066
- s: import("viem").Hex;
3067
- to: import("abitype").Address | null;
3068
- transactionIndex: number | null;
3069
- typeHex: import("viem").Hex | null;
3070
- v: bigint;
3071
- value: bigint;
3072
- yParity: number;
3073
- accessList: import("viem").AccessList;
3074
- authorizationList?: undefined | undefined;
3075
- blobVersionedHashes?: undefined | undefined;
3076
- chainId: number;
3077
- type: "eip1559";
3078
- gasPrice?: undefined | undefined;
3079
- maxFeePerBlobGas?: undefined | undefined;
3080
- maxFeePerGas: bigint;
3081
- maxPriorityFeePerGas: bigint;
3082
- isSystemTx?: undefined | undefined;
3083
- mint?: undefined | undefined;
3084
- sourceHash?: undefined | undefined;
3085
- } | {
3086
- blockHash: `0x${string}` | null;
3087
- blockNumber: bigint | null;
3088
- blockTimestamp?: bigint | undefined;
3089
- from: import("abitype").Address;
3090
- gas: bigint;
3091
- hash: import("viem").Hash;
3092
- input: import("viem").Hex;
3093
- nonce: number;
3094
- r: import("viem").Hex;
3095
- s: import("viem").Hex;
3096
- to: import("abitype").Address | null;
3097
- transactionIndex: number | null;
3098
- typeHex: import("viem").Hex | null;
3099
- v: bigint;
3100
- value: bigint;
3101
- yParity: number;
3102
- accessList: import("viem").AccessList;
3103
- authorizationList?: undefined | undefined;
3104
- blobVersionedHashes: readonly import("viem").Hex[];
3105
- chainId: number;
3106
- type: "eip4844";
3107
- gasPrice?: undefined | undefined;
3108
- maxFeePerBlobGas: bigint;
3109
- maxFeePerGas: bigint;
3110
- maxPriorityFeePerGas: bigint;
3111
- isSystemTx?: undefined | undefined;
3112
- mint?: undefined | undefined;
3113
- sourceHash?: undefined | undefined;
3114
- } | {
3115
- blockHash: `0x${string}` | null;
3116
- blockNumber: bigint | null;
3117
- blockTimestamp?: bigint | undefined;
3118
- from: import("abitype").Address;
3119
- gas: bigint;
3120
- hash: import("viem").Hash;
3121
- input: import("viem").Hex;
3122
- nonce: number;
3123
- r: import("viem").Hex;
3124
- s: import("viem").Hex;
3125
- to: import("abitype").Address | null;
3126
- transactionIndex: number | null;
3127
- typeHex: import("viem").Hex | null;
3128
- v: bigint;
3129
- value: bigint;
3130
- yParity: number;
3131
- accessList: import("viem").AccessList;
3132
- authorizationList: import("viem").SignedAuthorizationList;
3133
- blobVersionedHashes?: undefined | undefined;
3134
- chainId: number;
3135
- type: "eip7702";
3136
- gasPrice?: undefined | undefined;
3137
- maxFeePerBlobGas?: undefined | undefined;
3138
- maxFeePerGas: bigint;
3139
- maxPriorityFeePerGas: bigint;
3140
- isSystemTx?: undefined | undefined;
3141
- mint?: undefined | undefined;
3142
- sourceHash?: undefined | undefined;
3143
- }) & {};
1693
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
3144
1694
  type: "transaction";
3145
1695
  };
3146
1696
  readonly transactionReceipt: {
3147
1697
  exclude: [] | undefined;
3148
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
3149
- blobGasPrice?: bigint | undefined;
3150
- blobGasUsed?: bigint | undefined;
3151
- blockHash: import("viem").Hash;
3152
- blockNumber: bigint;
3153
- blockTimestamp?: bigint | undefined;
3154
- contractAddress: import("abitype").Address | null | undefined;
3155
- cumulativeGasUsed: bigint;
3156
- effectiveGasPrice: bigint;
3157
- from: import("abitype").Address;
3158
- gasUsed: bigint;
3159
- logs: import("viem").Log<bigint, number, false>[];
3160
- logsBloom: import("viem").Hex;
3161
- root?: `0x${string}` | undefined;
3162
- status: "success" | "reverted";
3163
- to: import("abitype").Address | null;
3164
- transactionHash: import("viem").Hash;
3165
- transactionIndex: number;
3166
- type: import("viem").TransactionType;
3167
- depositNonce?: bigint | undefined | undefined;
3168
- depositReceiptVersion?: number | undefined | undefined;
3169
- l1GasPrice: bigint | null;
3170
- l1GasUsed: bigint | null;
3171
- l1Fee: bigint | null;
3172
- l1FeeScalar: number | null;
3173
- } & {};
1698
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
3174
1699
  type: "transactionReceipt";
3175
1700
  };
3176
1701
  };
@@ -3277,240 +1802,17 @@ export declare const chainSpecs: {
3277
1802
  formatters: {
3278
1803
  readonly block: {
3279
1804
  exclude: [] | undefined;
3280
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
3281
- baseFeePerGas: bigint | null;
3282
- blobGasUsed: bigint;
3283
- difficulty: bigint;
3284
- excessBlobGas: bigint;
3285
- extraData: import("viem").Hex;
3286
- gasLimit: bigint;
3287
- gasUsed: bigint;
3288
- hash: `0x${string}` | null;
3289
- logsBloom: `0x${string}` | null;
3290
- miner: import("abitype").Address;
3291
- mixHash: import("viem").Hash;
3292
- nonce: `0x${string}` | null;
3293
- number: bigint | null;
3294
- parentBeaconBlockRoot?: `0x${string}` | undefined;
3295
- parentHash: import("viem").Hash;
3296
- receiptsRoot: import("viem").Hex;
3297
- sealFields: import("viem").Hex[];
3298
- sha3Uncles: import("viem").Hash;
3299
- size: bigint;
3300
- stateRoot: import("viem").Hash;
3301
- timestamp: bigint;
3302
- totalDifficulty: bigint | null;
3303
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
3304
- transactionsRoot: import("viem").Hash;
3305
- uncles: import("viem").Hash[];
3306
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
3307
- withdrawalsRoot?: `0x${string}` | undefined;
3308
- } & {};
1805
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
3309
1806
  type: "block";
3310
1807
  };
3311
1808
  readonly transaction: {
3312
1809
  exclude: [] | undefined;
3313
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
3314
- blockHash: `0x${string}` | null;
3315
- blockNumber: bigint | null;
3316
- blockTimestamp?: bigint | undefined;
3317
- from: import("abitype").Address;
3318
- gas: bigint;
3319
- hash: import("viem").Hash;
3320
- input: import("viem").Hex;
3321
- nonce: number;
3322
- r: import("viem").Hex;
3323
- s: import("viem").Hex;
3324
- to: import("abitype").Address | null;
3325
- transactionIndex: number | null;
3326
- typeHex: import("viem").Hex | null;
3327
- v: bigint;
3328
- value: bigint;
3329
- yParity: number;
3330
- gasPrice?: undefined | undefined;
3331
- maxFeePerBlobGas?: undefined | undefined;
3332
- maxFeePerGas: bigint;
3333
- maxPriorityFeePerGas: bigint;
3334
- isSystemTx?: boolean;
3335
- mint?: bigint | undefined | undefined;
3336
- sourceHash: import("viem").Hex;
3337
- type: "deposit";
3338
- } | {
3339
- r: import("viem").Hex;
3340
- s: import("viem").Hex;
3341
- v: bigint;
3342
- to: import("abitype").Address | null;
3343
- from: import("abitype").Address;
3344
- gas: bigint;
3345
- nonce: number;
3346
- value: bigint;
3347
- blockHash: `0x${string}` | null;
3348
- blockNumber: bigint | null;
3349
- blockTimestamp?: bigint | undefined;
3350
- hash: import("viem").Hash;
3351
- input: import("viem").Hex;
3352
- transactionIndex: number | null;
3353
- typeHex: import("viem").Hex | null;
3354
- accessList?: undefined | undefined;
3355
- authorizationList?: undefined | undefined;
3356
- blobVersionedHashes?: undefined | undefined;
3357
- chainId?: number | undefined;
3358
- yParity?: undefined | undefined;
3359
- type: "legacy";
3360
- gasPrice: bigint;
3361
- maxFeePerBlobGas?: undefined | undefined;
3362
- maxFeePerGas?: undefined | undefined;
3363
- maxPriorityFeePerGas?: undefined | undefined;
3364
- isSystemTx?: undefined | undefined;
3365
- mint?: undefined | undefined;
3366
- sourceHash?: undefined | undefined;
3367
- } | {
3368
- blockHash: `0x${string}` | null;
3369
- blockNumber: bigint | null;
3370
- blockTimestamp?: bigint | undefined;
3371
- from: import("abitype").Address;
3372
- gas: bigint;
3373
- hash: import("viem").Hash;
3374
- input: import("viem").Hex;
3375
- nonce: number;
3376
- r: import("viem").Hex;
3377
- s: import("viem").Hex;
3378
- to: import("abitype").Address | null;
3379
- transactionIndex: number | null;
3380
- typeHex: import("viem").Hex | null;
3381
- v: bigint;
3382
- value: bigint;
3383
- yParity: number;
3384
- accessList: import("viem").AccessList;
3385
- authorizationList?: undefined | undefined;
3386
- blobVersionedHashes?: undefined | undefined;
3387
- chainId: number;
3388
- type: "eip2930";
3389
- gasPrice: bigint;
3390
- maxFeePerBlobGas?: undefined | undefined;
3391
- maxFeePerGas?: undefined | undefined;
3392
- maxPriorityFeePerGas?: undefined | undefined;
3393
- isSystemTx?: undefined | undefined;
3394
- mint?: undefined | undefined;
3395
- sourceHash?: undefined | undefined;
3396
- } | {
3397
- blockHash: `0x${string}` | null;
3398
- blockNumber: bigint | null;
3399
- blockTimestamp?: bigint | undefined;
3400
- from: import("abitype").Address;
3401
- gas: bigint;
3402
- hash: import("viem").Hash;
3403
- input: import("viem").Hex;
3404
- nonce: number;
3405
- r: import("viem").Hex;
3406
- s: import("viem").Hex;
3407
- to: import("abitype").Address | null;
3408
- transactionIndex: number | null;
3409
- typeHex: import("viem").Hex | null;
3410
- v: bigint;
3411
- value: bigint;
3412
- yParity: number;
3413
- accessList: import("viem").AccessList;
3414
- authorizationList?: undefined | undefined;
3415
- blobVersionedHashes?: undefined | undefined;
3416
- chainId: number;
3417
- type: "eip1559";
3418
- gasPrice?: undefined | undefined;
3419
- maxFeePerBlobGas?: undefined | undefined;
3420
- maxFeePerGas: bigint;
3421
- maxPriorityFeePerGas: bigint;
3422
- isSystemTx?: undefined | undefined;
3423
- mint?: undefined | undefined;
3424
- sourceHash?: undefined | undefined;
3425
- } | {
3426
- blockHash: `0x${string}` | null;
3427
- blockNumber: bigint | null;
3428
- blockTimestamp?: bigint | undefined;
3429
- from: import("abitype").Address;
3430
- gas: bigint;
3431
- hash: import("viem").Hash;
3432
- input: import("viem").Hex;
3433
- nonce: number;
3434
- r: import("viem").Hex;
3435
- s: import("viem").Hex;
3436
- to: import("abitype").Address | null;
3437
- transactionIndex: number | null;
3438
- typeHex: import("viem").Hex | null;
3439
- v: bigint;
3440
- value: bigint;
3441
- yParity: number;
3442
- accessList: import("viem").AccessList;
3443
- authorizationList?: undefined | undefined;
3444
- blobVersionedHashes: readonly import("viem").Hex[];
3445
- chainId: number;
3446
- type: "eip4844";
3447
- gasPrice?: undefined | undefined;
3448
- maxFeePerBlobGas: bigint;
3449
- maxFeePerGas: bigint;
3450
- maxPriorityFeePerGas: bigint;
3451
- isSystemTx?: undefined | undefined;
3452
- mint?: undefined | undefined;
3453
- sourceHash?: undefined | undefined;
3454
- } | {
3455
- blockHash: `0x${string}` | null;
3456
- blockNumber: bigint | null;
3457
- blockTimestamp?: bigint | undefined;
3458
- from: import("abitype").Address;
3459
- gas: bigint;
3460
- hash: import("viem").Hash;
3461
- input: import("viem").Hex;
3462
- nonce: number;
3463
- r: import("viem").Hex;
3464
- s: import("viem").Hex;
3465
- to: import("abitype").Address | null;
3466
- transactionIndex: number | null;
3467
- typeHex: import("viem").Hex | null;
3468
- v: bigint;
3469
- value: bigint;
3470
- yParity: number;
3471
- accessList: import("viem").AccessList;
3472
- authorizationList: import("viem").SignedAuthorizationList;
3473
- blobVersionedHashes?: undefined | undefined;
3474
- chainId: number;
3475
- type: "eip7702";
3476
- gasPrice?: undefined | undefined;
3477
- maxFeePerBlobGas?: undefined | undefined;
3478
- maxFeePerGas: bigint;
3479
- maxPriorityFeePerGas: bigint;
3480
- isSystemTx?: undefined | undefined;
3481
- mint?: undefined | undefined;
3482
- sourceHash?: undefined | undefined;
3483
- }) & {};
1810
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
3484
1811
  type: "transaction";
3485
1812
  };
3486
1813
  readonly transactionReceipt: {
3487
1814
  exclude: [] | undefined;
3488
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
3489
- blobGasPrice?: bigint | undefined;
3490
- blobGasUsed?: bigint | undefined;
3491
- blockHash: import("viem").Hash;
3492
- blockNumber: bigint;
3493
- blockTimestamp?: bigint | undefined;
3494
- contractAddress: import("abitype").Address | null | undefined;
3495
- cumulativeGasUsed: bigint;
3496
- effectiveGasPrice: bigint;
3497
- from: import("abitype").Address;
3498
- gasUsed: bigint;
3499
- logs: import("viem").Log<bigint, number, false>[];
3500
- logsBloom: import("viem").Hex;
3501
- root?: `0x${string}` | undefined;
3502
- status: "success" | "reverted";
3503
- to: import("abitype").Address | null;
3504
- transactionHash: import("viem").Hash;
3505
- transactionIndex: number;
3506
- type: import("viem").TransactionType;
3507
- depositNonce?: bigint | undefined | undefined;
3508
- depositReceiptVersion?: number | undefined | undefined;
3509
- l1GasPrice: bigint | null;
3510
- l1GasUsed: bigint | null;
3511
- l1Fee: bigint | null;
3512
- l1FeeScalar: number | null;
3513
- } & {};
1815
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
3514
1816
  type: "transactionReceipt";
3515
1817
  };
3516
1818
  };
@@ -4028,389 +2330,22 @@ export declare const chainSpecs: {
4028
2330
  formatters: {
4029
2331
  readonly block: {
4030
2332
  exclude: [] | undefined;
4031
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
4032
- baseFeePerGas: bigint | null;
4033
- blobGasUsed: bigint;
4034
- difficulty: bigint;
4035
- excessBlobGas: bigint;
4036
- extraData: import("viem").Hex;
4037
- gasLimit: bigint;
4038
- gasUsed: bigint;
4039
- hash: `0x${string}` | null;
4040
- logsBloom: `0x${string}` | null;
4041
- miner: import("abitype").Address;
4042
- mixHash: import("viem").Hash;
4043
- nonce: `0x${string}` | null;
4044
- number: bigint | null;
4045
- parentBeaconBlockRoot?: `0x${string}` | undefined;
4046
- parentHash: import("viem").Hash;
4047
- receiptsRoot: import("viem").Hex;
4048
- sealFields: import("viem").Hex[];
4049
- sha3Uncles: import("viem").Hash;
4050
- size: bigint;
4051
- stateRoot: import("viem").Hash;
4052
- timestamp: bigint;
4053
- totalDifficulty: bigint | null;
4054
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
4055
- transactionsRoot: import("viem").Hash;
4056
- uncles: import("viem").Hash[];
4057
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
4058
- withdrawalsRoot?: `0x${string}` | undefined;
4059
- l1BatchNumber: bigint | null;
4060
- l1BatchTimestamp: bigint | null;
4061
- } & {};
2333
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
4062
2334
  type: "block";
4063
2335
  };
4064
2336
  readonly transaction: {
4065
2337
  exclude: [] | undefined;
4066
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
4067
- r: import("viem").Hex;
4068
- s: import("viem").Hex;
4069
- v: bigint;
4070
- to: import("abitype").Address | null;
4071
- from: import("abitype").Address;
4072
- gas: bigint;
4073
- nonce: number;
4074
- value: bigint;
4075
- blockHash: `0x${string}` | null;
4076
- blockNumber: bigint | null;
4077
- blockTimestamp?: bigint | undefined;
4078
- hash: import("viem").Hash;
4079
- input: import("viem").Hex;
4080
- transactionIndex: number | null;
4081
- typeHex: import("viem").Hex | null;
4082
- accessList?: undefined | undefined;
4083
- authorizationList?: undefined | undefined;
4084
- blobVersionedHashes?: undefined | undefined;
4085
- chainId?: number | undefined;
4086
- yParity?: undefined | undefined;
4087
- type: "legacy";
4088
- gasPrice: bigint;
4089
- maxFeePerBlobGas?: undefined | undefined;
4090
- maxFeePerGas?: undefined | undefined;
4091
- maxPriorityFeePerGas?: undefined | undefined;
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?: undefined | undefined;
4114
- chainId: number;
4115
- type: "eip2930";
4116
- gasPrice: bigint;
4117
- maxFeePerBlobGas?: undefined | undefined;
4118
- maxFeePerGas?: undefined | undefined;
4119
- maxPriorityFeePerGas?: undefined | undefined;
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?: undefined | undefined;
4141
- blobVersionedHashes?: undefined | undefined;
4142
- chainId: number;
4143
- type: "eip1559";
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
- accessList: import("viem").AccessList;
4168
- authorizationList?: undefined | undefined;
4169
- blobVersionedHashes: readonly import("viem").Hex[];
4170
- chainId: number;
4171
- type: "eip4844";
4172
- gasPrice?: undefined | undefined;
4173
- maxFeePerBlobGas: bigint;
4174
- maxFeePerGas: bigint;
4175
- maxPriorityFeePerGas: bigint;
4176
- l1BatchNumber: bigint | null;
4177
- l1BatchTxIndex: bigint | null;
4178
- } | {
4179
- blockHash: `0x${string}` | null;
4180
- blockNumber: bigint | null;
4181
- blockTimestamp?: bigint | undefined;
4182
- from: import("abitype").Address;
4183
- gas: bigint;
4184
- hash: import("viem").Hash;
4185
- input: import("viem").Hex;
4186
- nonce: number;
4187
- r: import("viem").Hex;
4188
- s: import("viem").Hex;
4189
- to: import("abitype").Address | null;
4190
- transactionIndex: number | null;
4191
- typeHex: import("viem").Hex | null;
4192
- v: bigint;
4193
- value: bigint;
4194
- yParity: number;
4195
- accessList: import("viem").AccessList;
4196
- authorizationList: import("viem").SignedAuthorizationList;
4197
- blobVersionedHashes?: undefined | undefined;
4198
- chainId: number;
4199
- type: "eip7702";
4200
- gasPrice?: undefined | undefined;
4201
- maxFeePerBlobGas?: undefined | undefined;
4202
- maxFeePerGas: bigint;
4203
- maxPriorityFeePerGas: bigint;
4204
- l1BatchNumber: bigint | null;
4205
- l1BatchTxIndex: bigint | null;
4206
- } | {
4207
- blockHash: `0x${string}` | null;
4208
- blockNumber: bigint | null;
4209
- blockTimestamp?: bigint | undefined;
4210
- from: import("abitype").Address;
4211
- gas: bigint;
4212
- hash: import("viem").Hash;
4213
- input: import("viem").Hex;
4214
- nonce: number;
4215
- r: import("viem").Hex;
4216
- s: import("viem").Hex;
4217
- to: import("abitype").Address | null;
4218
- transactionIndex: number | null;
4219
- typeHex: import("viem").Hex | null;
4220
- v: bigint;
4221
- value: bigint;
4222
- yParity: number;
4223
- l1BatchNumber: bigint | null;
4224
- l1BatchTxIndex: bigint | null;
4225
- gasPrice?: undefined | undefined;
4226
- maxFeePerBlobGas?: undefined | undefined;
4227
- maxFeePerGas: bigint;
4228
- maxPriorityFeePerGas: bigint;
4229
- type: "priority";
4230
- } | {
4231
- blockHash: `0x${string}` | null;
4232
- blockNumber: bigint | null;
4233
- blockTimestamp?: bigint | undefined;
4234
- from: import("abitype").Address;
4235
- gas: bigint;
4236
- hash: import("viem").Hash;
4237
- input: import("viem").Hex;
4238
- nonce: number;
4239
- r: import("viem").Hex;
4240
- s: import("viem").Hex;
4241
- to: import("abitype").Address | null;
4242
- transactionIndex: number | null;
4243
- typeHex: import("viem").Hex | null;
4244
- v: bigint;
4245
- value: bigint;
4246
- yParity: number;
4247
- l1BatchNumber: bigint | null;
4248
- l1BatchTxIndex: bigint | null;
4249
- gasPrice?: undefined | undefined;
4250
- maxFeePerBlobGas?: undefined | undefined;
4251
- maxFeePerGas: bigint;
4252
- maxPriorityFeePerGas: bigint;
4253
- type: "eip712" | "priority";
4254
- }) & {};
2338
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
4255
2339
  type: "transaction";
4256
2340
  };
4257
2341
  readonly transactionReceipt: {
4258
2342
  exclude: [] | undefined;
4259
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
4260
- type: import("viem/chains").ZkSyncTransactionType;
4261
- contractAddress: import("abitype").Address | null | undefined;
4262
- to: import("abitype").Address | null;
4263
- from: import("abitype").Address;
4264
- blockHash: import("viem").Hash;
4265
- blockNumber: bigint;
4266
- blockTimestamp?: bigint | undefined;
4267
- transactionIndex: number;
4268
- status: "success" | "reverted";
4269
- transactionHash: import("viem").Hash;
4270
- logsBloom: import("viem").Hex;
4271
- blobGasUsed?: bigint | undefined;
4272
- gasUsed: bigint;
4273
- blobGasPrice?: bigint | undefined;
4274
- cumulativeGasUsed: bigint;
4275
- effectiveGasPrice: bigint;
4276
- root?: `0x${string}` | undefined;
4277
- l1BatchNumber: bigint | null;
4278
- l1BatchTxIndex: bigint | null;
4279
- logs: import("viem/chains").ZkSyncLog[];
4280
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
4281
- } & {};
2343
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
4282
2344
  type: "transactionReceipt";
4283
2345
  };
4284
2346
  readonly transactionRequest: {
4285
2347
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
4286
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
4287
- data?: `0x${string}` | undefined;
4288
- from?: `0x${string}` | undefined;
4289
- gas?: `0x${string}` | undefined;
4290
- nonce?: `0x${string}` | undefined;
4291
- to?: `0x${string}` | null | undefined;
4292
- type?: "0x0" | undefined;
4293
- value?: `0x${string}` | undefined;
4294
- gasPrice?: `0x${string}` | undefined;
4295
- maxFeePerBlobGas?: undefined | undefined;
4296
- maxFeePerGas?: undefined | undefined;
4297
- maxPriorityFeePerGas?: undefined | undefined;
4298
- blobs?: undefined;
4299
- blobVersionedHashes?: undefined;
4300
- kzg?: undefined;
4301
- accessList?: undefined;
4302
- sidecars?: undefined;
4303
- authorizationList?: undefined;
4304
- eip712Meta?: undefined | undefined;
4305
- } | {
4306
- data?: `0x${string}` | undefined;
4307
- from?: `0x${string}` | undefined;
4308
- gas?: `0x${string}` | undefined;
4309
- nonce?: `0x${string}` | undefined;
4310
- to?: `0x${string}` | null | undefined;
4311
- type?: "0x1" | undefined;
4312
- value?: `0x${string}` | undefined;
4313
- gasPrice?: `0x${string}` | undefined;
4314
- maxFeePerBlobGas?: undefined | undefined;
4315
- maxFeePerGas?: undefined | undefined;
4316
- maxPriorityFeePerGas?: undefined | undefined;
4317
- accessList?: import("viem").AccessList | undefined;
4318
- blobs?: undefined;
4319
- blobVersionedHashes?: undefined;
4320
- kzg?: undefined;
4321
- sidecars?: undefined;
4322
- authorizationList?: undefined;
4323
- eip712Meta?: undefined | undefined;
4324
- } | {
4325
- data?: `0x${string}` | undefined;
4326
- from?: `0x${string}` | undefined;
4327
- gas?: `0x${string}` | undefined;
4328
- nonce?: `0x${string}` | undefined;
4329
- to?: `0x${string}` | null | undefined;
4330
- type?: "0x2" | undefined;
4331
- value?: `0x${string}` | undefined;
4332
- gasPrice?: undefined | undefined;
4333
- maxFeePerBlobGas?: undefined | undefined;
4334
- maxFeePerGas?: `0x${string}` | undefined;
4335
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4336
- accessList?: import("viem").AccessList | undefined;
4337
- blobs?: undefined;
4338
- blobVersionedHashes?: undefined;
4339
- kzg?: undefined;
4340
- sidecars?: undefined;
4341
- authorizationList?: undefined;
4342
- eip712Meta?: undefined | undefined;
4343
- } | {
4344
- type?: "0x3" | undefined;
4345
- data?: `0x${string}` | undefined;
4346
- from?: `0x${string}` | undefined;
4347
- gas?: `0x${string}` | undefined;
4348
- nonce?: `0x${string}` | undefined;
4349
- value?: `0x${string}` | undefined;
4350
- to: `0x${string}` | null;
4351
- gasPrice?: undefined | undefined;
4352
- maxFeePerBlobGas?: `0x${string}` | undefined;
4353
- maxFeePerGas?: `0x${string}` | undefined;
4354
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4355
- accessList?: import("viem").AccessList | undefined;
4356
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
4357
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
4358
- blobVersionedHashes: readonly import("viem").Hex[];
4359
- kzg?: undefined;
4360
- authorizationList?: undefined;
4361
- eip712Meta?: undefined | undefined;
4362
- } | {
4363
- type?: "0x3" | undefined;
4364
- data?: `0x${string}` | undefined;
4365
- from?: `0x${string}` | undefined;
4366
- gas?: `0x${string}` | undefined;
4367
- nonce?: `0x${string}` | undefined;
4368
- value?: `0x${string}` | undefined;
4369
- to: `0x${string}` | null;
4370
- gasPrice?: undefined | undefined;
4371
- maxFeePerBlobGas?: `0x${string}` | undefined;
4372
- maxFeePerGas?: `0x${string}` | undefined;
4373
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4374
- accessList?: import("viem").AccessList | undefined;
4375
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
4376
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
4377
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4378
- kzg?: import("viem").Kzg | undefined;
4379
- authorizationList?: undefined;
4380
- eip712Meta?: undefined | undefined;
4381
- } | {
4382
- type?: "0x4" | undefined;
4383
- gasPrice?: undefined | undefined;
4384
- maxFeePerBlobGas?: undefined | undefined;
4385
- maxFeePerGas?: `0x${string}` | undefined;
4386
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4387
- to?: `0x${string}` | null | undefined;
4388
- data?: `0x${string}` | undefined;
4389
- from?: `0x${string}` | undefined;
4390
- gas?: `0x${string}` | undefined;
4391
- nonce?: `0x${string}` | undefined;
4392
- value?: `0x${string}` | undefined;
4393
- accessList?: import("viem").AccessList | undefined;
4394
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
4395
- blobs?: undefined;
4396
- blobVersionedHashes?: undefined;
4397
- kzg?: undefined;
4398
- sidecars?: undefined;
4399
- eip712Meta?: undefined | undefined;
4400
- } | {
4401
- data?: `0x${string}` | undefined;
4402
- from?: `0x${string}` | undefined;
4403
- gas?: `0x${string}` | undefined;
4404
- nonce?: `0x${string}` | undefined;
4405
- to?: `0x${string}` | null | undefined;
4406
- type: "0xff" | "0x71";
4407
- value?: `0x${string}` | undefined;
4408
- gasPrice?: undefined | undefined;
4409
- maxFeePerBlobGas?: undefined | undefined;
4410
- maxFeePerGas?: `0x${string}` | undefined;
4411
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4412
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
4413
- }) & {
2348
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
4414
2349
  paymaster: never;
4415
2350
  gasPerPubdata: never;
4416
2351
  factoryDeps: never;
@@ -4531,240 +2466,17 @@ export declare const chainSpecs: {
4531
2466
  formatters: {
4532
2467
  readonly block: {
4533
2468
  exclude: [] | undefined;
4534
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4535
- baseFeePerGas: bigint | null;
4536
- blobGasUsed: bigint;
4537
- difficulty: bigint;
4538
- excessBlobGas: bigint;
4539
- extraData: import("viem").Hex;
4540
- gasLimit: bigint;
4541
- gasUsed: bigint;
4542
- hash: `0x${string}` | null;
4543
- logsBloom: `0x${string}` | null;
4544
- miner: import("abitype").Address;
4545
- mixHash: import("viem").Hash;
4546
- nonce: `0x${string}` | null;
4547
- number: bigint | null;
4548
- parentBeaconBlockRoot?: `0x${string}` | undefined;
4549
- parentHash: import("viem").Hash;
4550
- receiptsRoot: import("viem").Hex;
4551
- sealFields: import("viem").Hex[];
4552
- sha3Uncles: import("viem").Hash;
4553
- size: bigint;
4554
- stateRoot: import("viem").Hash;
4555
- timestamp: bigint;
4556
- totalDifficulty: bigint | null;
4557
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
4558
- transactionsRoot: import("viem").Hash;
4559
- uncles: import("viem").Hash[];
4560
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
4561
- withdrawalsRoot?: `0x${string}` | undefined;
4562
- } & {};
2469
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
4563
2470
  type: "block";
4564
2471
  };
4565
2472
  readonly transaction: {
4566
2473
  exclude: [] | undefined;
4567
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4568
- blockHash: `0x${string}` | null;
4569
- blockNumber: bigint | null;
4570
- blockTimestamp?: bigint | undefined;
4571
- from: import("abitype").Address;
4572
- gas: bigint;
4573
- hash: import("viem").Hash;
4574
- input: import("viem").Hex;
4575
- nonce: number;
4576
- r: import("viem").Hex;
4577
- s: import("viem").Hex;
4578
- to: import("abitype").Address | null;
4579
- transactionIndex: number | null;
4580
- typeHex: import("viem").Hex | null;
4581
- v: bigint;
4582
- value: bigint;
4583
- yParity: number;
4584
- gasPrice?: undefined | undefined;
4585
- maxFeePerBlobGas?: undefined | undefined;
4586
- maxFeePerGas: bigint;
4587
- maxPriorityFeePerGas: bigint;
4588
- isSystemTx?: boolean;
4589
- mint?: bigint | undefined | undefined;
4590
- sourceHash: import("viem").Hex;
4591
- type: "deposit";
4592
- } | {
4593
- r: import("viem").Hex;
4594
- s: import("viem").Hex;
4595
- v: bigint;
4596
- to: import("abitype").Address | null;
4597
- from: import("abitype").Address;
4598
- gas: bigint;
4599
- nonce: number;
4600
- value: bigint;
4601
- blockHash: `0x${string}` | null;
4602
- blockNumber: bigint | null;
4603
- blockTimestamp?: bigint | undefined;
4604
- hash: import("viem").Hash;
4605
- input: import("viem").Hex;
4606
- transactionIndex: number | null;
4607
- typeHex: import("viem").Hex | null;
4608
- accessList?: undefined | undefined;
4609
- authorizationList?: undefined | undefined;
4610
- blobVersionedHashes?: undefined | undefined;
4611
- chainId?: number | undefined;
4612
- yParity?: undefined | undefined;
4613
- type: "legacy";
4614
- gasPrice: bigint;
4615
- maxFeePerBlobGas?: undefined | undefined;
4616
- maxFeePerGas?: undefined | undefined;
4617
- maxPriorityFeePerGas?: undefined | undefined;
4618
- isSystemTx?: undefined | undefined;
4619
- mint?: undefined | undefined;
4620
- sourceHash?: undefined | undefined;
4621
- } | {
4622
- blockHash: `0x${string}` | null;
4623
- blockNumber: bigint | null;
4624
- blockTimestamp?: bigint | undefined;
4625
- from: import("abitype").Address;
4626
- gas: bigint;
4627
- hash: import("viem").Hash;
4628
- input: import("viem").Hex;
4629
- nonce: number;
4630
- r: import("viem").Hex;
4631
- s: import("viem").Hex;
4632
- to: import("abitype").Address | null;
4633
- transactionIndex: number | null;
4634
- typeHex: import("viem").Hex | null;
4635
- v: bigint;
4636
- value: bigint;
4637
- yParity: number;
4638
- accessList: import("viem").AccessList;
4639
- authorizationList?: undefined | undefined;
4640
- blobVersionedHashes?: undefined | undefined;
4641
- chainId: number;
4642
- type: "eip2930";
4643
- gasPrice: bigint;
4644
- maxFeePerBlobGas?: undefined | undefined;
4645
- maxFeePerGas?: undefined | undefined;
4646
- maxPriorityFeePerGas?: undefined | undefined;
4647
- isSystemTx?: undefined | undefined;
4648
- mint?: undefined | undefined;
4649
- sourceHash?: undefined | undefined;
4650
- } | {
4651
- blockHash: `0x${string}` | null;
4652
- blockNumber: bigint | null;
4653
- blockTimestamp?: bigint | undefined;
4654
- from: import("abitype").Address;
4655
- gas: bigint;
4656
- hash: import("viem").Hash;
4657
- input: import("viem").Hex;
4658
- nonce: number;
4659
- r: import("viem").Hex;
4660
- s: import("viem").Hex;
4661
- to: import("abitype").Address | null;
4662
- transactionIndex: number | null;
4663
- typeHex: import("viem").Hex | null;
4664
- v: bigint;
4665
- value: bigint;
4666
- yParity: number;
4667
- accessList: import("viem").AccessList;
4668
- authorizationList?: undefined | undefined;
4669
- blobVersionedHashes?: undefined | undefined;
4670
- chainId: number;
4671
- type: "eip1559";
4672
- gasPrice?: undefined | undefined;
4673
- maxFeePerBlobGas?: undefined | undefined;
4674
- maxFeePerGas: bigint;
4675
- maxPriorityFeePerGas: bigint;
4676
- isSystemTx?: undefined | undefined;
4677
- mint?: undefined | undefined;
4678
- sourceHash?: undefined | undefined;
4679
- } | {
4680
- blockHash: `0x${string}` | null;
4681
- blockNumber: bigint | null;
4682
- blockTimestamp?: bigint | undefined;
4683
- from: import("abitype").Address;
4684
- gas: bigint;
4685
- hash: import("viem").Hash;
4686
- input: import("viem").Hex;
4687
- nonce: number;
4688
- r: import("viem").Hex;
4689
- s: import("viem").Hex;
4690
- to: import("abitype").Address | null;
4691
- transactionIndex: number | null;
4692
- typeHex: import("viem").Hex | null;
4693
- v: bigint;
4694
- value: bigint;
4695
- yParity: number;
4696
- accessList: import("viem").AccessList;
4697
- authorizationList?: undefined | undefined;
4698
- blobVersionedHashes: readonly import("viem").Hex[];
4699
- chainId: number;
4700
- type: "eip4844";
4701
- gasPrice?: undefined | undefined;
4702
- maxFeePerBlobGas: bigint;
4703
- maxFeePerGas: bigint;
4704
- maxPriorityFeePerGas: bigint;
4705
- isSystemTx?: undefined | undefined;
4706
- mint?: undefined | undefined;
4707
- sourceHash?: undefined | undefined;
4708
- } | {
4709
- blockHash: `0x${string}` | null;
4710
- blockNumber: bigint | null;
4711
- blockTimestamp?: bigint | undefined;
4712
- from: import("abitype").Address;
4713
- gas: bigint;
4714
- hash: import("viem").Hash;
4715
- input: import("viem").Hex;
4716
- nonce: number;
4717
- r: import("viem").Hex;
4718
- s: import("viem").Hex;
4719
- to: import("abitype").Address | null;
4720
- transactionIndex: number | null;
4721
- typeHex: import("viem").Hex | null;
4722
- v: bigint;
4723
- value: bigint;
4724
- yParity: number;
4725
- accessList: import("viem").AccessList;
4726
- authorizationList: import("viem").SignedAuthorizationList;
4727
- blobVersionedHashes?: undefined | undefined;
4728
- chainId: number;
4729
- type: "eip7702";
4730
- gasPrice?: undefined | undefined;
4731
- maxFeePerBlobGas?: undefined | undefined;
4732
- maxFeePerGas: bigint;
4733
- maxPriorityFeePerGas: bigint;
4734
- isSystemTx?: undefined | undefined;
4735
- mint?: undefined | undefined;
4736
- sourceHash?: undefined | undefined;
4737
- }) & {};
2474
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
4738
2475
  type: "transaction";
4739
2476
  };
4740
2477
  readonly transactionReceipt: {
4741
2478
  exclude: [] | undefined;
4742
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
4743
- blobGasPrice?: bigint | undefined;
4744
- blobGasUsed?: bigint | undefined;
4745
- blockHash: import("viem").Hash;
4746
- blockNumber: bigint;
4747
- blockTimestamp?: bigint | undefined;
4748
- contractAddress: import("abitype").Address | null | undefined;
4749
- cumulativeGasUsed: bigint;
4750
- effectiveGasPrice: bigint;
4751
- from: import("abitype").Address;
4752
- gasUsed: bigint;
4753
- logs: import("viem").Log<bigint, number, false>[];
4754
- logsBloom: import("viem").Hex;
4755
- root?: `0x${string}` | undefined;
4756
- status: "success" | "reverted";
4757
- to: import("abitype").Address | null;
4758
- transactionHash: import("viem").Hash;
4759
- transactionIndex: number;
4760
- type: import("viem").TransactionType;
4761
- depositNonce?: bigint | undefined | undefined;
4762
- depositReceiptVersion?: number | undefined | undefined;
4763
- l1GasPrice: bigint | null;
4764
- l1GasUsed: bigint | null;
4765
- l1Fee: bigint | null;
4766
- l1FeeScalar: number | null;
4767
- } & {};
2479
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
4768
2480
  type: "transactionReceipt";
4769
2481
  };
4770
2482
  };
@@ -4860,240 +2572,17 @@ export declare const chainSpecs: {
4860
2572
  formatters: {
4861
2573
  readonly block: {
4862
2574
  exclude: [] | undefined;
4863
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
4864
- baseFeePerGas: bigint | null;
4865
- blobGasUsed: bigint;
4866
- difficulty: bigint;
4867
- excessBlobGas: bigint;
4868
- extraData: import("viem").Hex;
4869
- gasLimit: bigint;
4870
- gasUsed: bigint;
4871
- hash: `0x${string}` | null;
4872
- logsBloom: `0x${string}` | null;
4873
- miner: import("abitype").Address;
4874
- mixHash: import("viem").Hash;
4875
- nonce: `0x${string}` | null;
4876
- number: bigint | null;
4877
- parentBeaconBlockRoot?: `0x${string}` | undefined;
4878
- parentHash: import("viem").Hash;
4879
- receiptsRoot: import("viem").Hex;
4880
- sealFields: import("viem").Hex[];
4881
- sha3Uncles: import("viem").Hash;
4882
- size: bigint;
4883
- stateRoot: import("viem").Hash;
4884
- timestamp: bigint;
4885
- totalDifficulty: bigint | null;
4886
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
4887
- transactionsRoot: import("viem").Hash;
4888
- uncles: import("viem").Hash[];
4889
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
4890
- withdrawalsRoot?: `0x${string}` | undefined;
4891
- } & {};
2575
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
4892
2576
  type: "block";
4893
2577
  };
4894
2578
  readonly transaction: {
4895
2579
  exclude: [] | undefined;
4896
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
4897
- blockHash: `0x${string}` | null;
4898
- blockNumber: bigint | null;
4899
- blockTimestamp?: bigint | undefined;
4900
- from: import("abitype").Address;
4901
- gas: bigint;
4902
- hash: import("viem").Hash;
4903
- input: import("viem").Hex;
4904
- nonce: number;
4905
- r: import("viem").Hex;
4906
- s: import("viem").Hex;
4907
- to: import("abitype").Address | null;
4908
- transactionIndex: number | null;
4909
- typeHex: import("viem").Hex | null;
4910
- v: bigint;
4911
- value: bigint;
4912
- yParity: number;
4913
- gasPrice?: undefined | undefined;
4914
- maxFeePerBlobGas?: undefined | undefined;
4915
- maxFeePerGas: bigint;
4916
- maxPriorityFeePerGas: bigint;
4917
- isSystemTx?: boolean;
4918
- mint?: bigint | undefined | undefined;
4919
- sourceHash: import("viem").Hex;
4920
- type: "deposit";
4921
- } | {
4922
- r: import("viem").Hex;
4923
- s: import("viem").Hex;
4924
- v: bigint;
4925
- to: import("abitype").Address | null;
4926
- from: import("abitype").Address;
4927
- gas: bigint;
4928
- nonce: number;
4929
- value: bigint;
4930
- blockHash: `0x${string}` | null;
4931
- blockNumber: bigint | null;
4932
- blockTimestamp?: bigint | undefined;
4933
- hash: import("viem").Hash;
4934
- input: import("viem").Hex;
4935
- transactionIndex: number | null;
4936
- typeHex: import("viem").Hex | null;
4937
- accessList?: undefined | undefined;
4938
- authorizationList?: undefined | undefined;
4939
- blobVersionedHashes?: undefined | undefined;
4940
- chainId?: number | undefined;
4941
- yParity?: undefined | undefined;
4942
- type: "legacy";
4943
- gasPrice: bigint;
4944
- maxFeePerBlobGas?: undefined | undefined;
4945
- maxFeePerGas?: undefined | undefined;
4946
- maxPriorityFeePerGas?: undefined | undefined;
4947
- isSystemTx?: undefined | undefined;
4948
- mint?: undefined | undefined;
4949
- sourceHash?: undefined | undefined;
4950
- } | {
4951
- blockHash: `0x${string}` | null;
4952
- blockNumber: bigint | null;
4953
- blockTimestamp?: bigint | undefined;
4954
- from: import("abitype").Address;
4955
- gas: bigint;
4956
- hash: import("viem").Hash;
4957
- input: import("viem").Hex;
4958
- nonce: number;
4959
- r: import("viem").Hex;
4960
- s: import("viem").Hex;
4961
- to: import("abitype").Address | null;
4962
- transactionIndex: number | null;
4963
- typeHex: import("viem").Hex | null;
4964
- v: bigint;
4965
- value: bigint;
4966
- yParity: number;
4967
- accessList: import("viem").AccessList;
4968
- authorizationList?: undefined | undefined;
4969
- blobVersionedHashes?: undefined | undefined;
4970
- chainId: number;
4971
- type: "eip2930";
4972
- gasPrice: bigint;
4973
- maxFeePerBlobGas?: undefined | undefined;
4974
- maxFeePerGas?: undefined | undefined;
4975
- maxPriorityFeePerGas?: undefined | undefined;
4976
- isSystemTx?: undefined | undefined;
4977
- mint?: undefined | undefined;
4978
- sourceHash?: undefined | undefined;
4979
- } | {
4980
- blockHash: `0x${string}` | null;
4981
- blockNumber: bigint | null;
4982
- blockTimestamp?: bigint | undefined;
4983
- from: import("abitype").Address;
4984
- gas: bigint;
4985
- hash: import("viem").Hash;
4986
- input: import("viem").Hex;
4987
- nonce: number;
4988
- r: import("viem").Hex;
4989
- s: import("viem").Hex;
4990
- to: import("abitype").Address | null;
4991
- transactionIndex: number | null;
4992
- typeHex: import("viem").Hex | null;
4993
- v: bigint;
4994
- value: bigint;
4995
- yParity: number;
4996
- accessList: import("viem").AccessList;
4997
- authorizationList?: undefined | undefined;
4998
- blobVersionedHashes?: undefined | undefined;
4999
- chainId: number;
5000
- type: "eip1559";
5001
- gasPrice?: undefined | undefined;
5002
- maxFeePerBlobGas?: undefined | undefined;
5003
- maxFeePerGas: bigint;
5004
- maxPriorityFeePerGas: bigint;
5005
- isSystemTx?: undefined | undefined;
5006
- mint?: undefined | undefined;
5007
- sourceHash?: undefined | undefined;
5008
- } | {
5009
- blockHash: `0x${string}` | null;
5010
- blockNumber: bigint | null;
5011
- blockTimestamp?: bigint | undefined;
5012
- from: import("abitype").Address;
5013
- gas: bigint;
5014
- hash: import("viem").Hash;
5015
- input: import("viem").Hex;
5016
- nonce: number;
5017
- r: import("viem").Hex;
5018
- s: import("viem").Hex;
5019
- to: import("abitype").Address | null;
5020
- transactionIndex: number | null;
5021
- typeHex: import("viem").Hex | null;
5022
- v: bigint;
5023
- value: bigint;
5024
- yParity: number;
5025
- accessList: import("viem").AccessList;
5026
- authorizationList?: undefined | undefined;
5027
- blobVersionedHashes: readonly import("viem").Hex[];
5028
- chainId: number;
5029
- type: "eip4844";
5030
- gasPrice?: undefined | undefined;
5031
- maxFeePerBlobGas: bigint;
5032
- maxFeePerGas: bigint;
5033
- maxPriorityFeePerGas: bigint;
5034
- isSystemTx?: undefined | undefined;
5035
- mint?: undefined | undefined;
5036
- sourceHash?: undefined | undefined;
5037
- } | {
5038
- blockHash: `0x${string}` | null;
5039
- blockNumber: bigint | null;
5040
- blockTimestamp?: bigint | undefined;
5041
- from: import("abitype").Address;
5042
- gas: bigint;
5043
- hash: import("viem").Hash;
5044
- input: import("viem").Hex;
5045
- nonce: number;
5046
- r: import("viem").Hex;
5047
- s: import("viem").Hex;
5048
- to: import("abitype").Address | null;
5049
- transactionIndex: number | null;
5050
- typeHex: import("viem").Hex | null;
5051
- v: bigint;
5052
- value: bigint;
5053
- yParity: number;
5054
- accessList: import("viem").AccessList;
5055
- authorizationList: import("viem").SignedAuthorizationList;
5056
- blobVersionedHashes?: undefined | undefined;
5057
- chainId: number;
5058
- type: "eip7702";
5059
- gasPrice?: undefined | undefined;
5060
- maxFeePerBlobGas?: undefined | undefined;
5061
- maxFeePerGas: bigint;
5062
- maxPriorityFeePerGas: bigint;
5063
- isSystemTx?: undefined | undefined;
5064
- mint?: undefined | undefined;
5065
- sourceHash?: undefined | undefined;
5066
- }) & {};
2580
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
5067
2581
  type: "transaction";
5068
2582
  };
5069
2583
  readonly transactionReceipt: {
5070
2584
  exclude: [] | undefined;
5071
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5072
- blobGasPrice?: bigint | undefined;
5073
- blobGasUsed?: bigint | undefined;
5074
- blockHash: import("viem").Hash;
5075
- blockNumber: bigint;
5076
- blockTimestamp?: bigint | undefined;
5077
- contractAddress: import("abitype").Address | null | undefined;
5078
- cumulativeGasUsed: bigint;
5079
- effectiveGasPrice: bigint;
5080
- from: import("abitype").Address;
5081
- gasUsed: bigint;
5082
- logs: import("viem").Log<bigint, number, false>[];
5083
- logsBloom: import("viem").Hex;
5084
- root?: `0x${string}` | undefined;
5085
- status: "success" | "reverted";
5086
- to: import("abitype").Address | null;
5087
- transactionHash: import("viem").Hash;
5088
- transactionIndex: number;
5089
- type: import("viem").TransactionType;
5090
- depositNonce?: bigint | undefined | undefined;
5091
- depositReceiptVersion?: number | undefined | undefined;
5092
- l1GasPrice: bigint | null;
5093
- l1GasUsed: bigint | null;
5094
- l1Fee: bigint | null;
5095
- l1FeeScalar: number | null;
5096
- } & {};
2585
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
5097
2586
  type: "transactionReceipt";
5098
2587
  };
5099
2588
  };
@@ -5305,240 +2794,17 @@ export declare const chainSpecs: {
5305
2794
  formatters: {
5306
2795
  readonly block: {
5307
2796
  exclude: [] | undefined;
5308
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
5309
- baseFeePerGas: bigint | null;
5310
- blobGasUsed: bigint;
5311
- difficulty: bigint;
5312
- excessBlobGas: bigint;
5313
- extraData: import("viem").Hex;
5314
- gasLimit: bigint;
5315
- gasUsed: bigint;
5316
- hash: `0x${string}` | null;
5317
- logsBloom: `0x${string}` | null;
5318
- miner: import("abitype").Address;
5319
- mixHash: import("viem").Hash;
5320
- nonce: `0x${string}` | null;
5321
- number: bigint | null;
5322
- parentBeaconBlockRoot?: `0x${string}` | undefined;
5323
- parentHash: import("viem").Hash;
5324
- receiptsRoot: import("viem").Hex;
5325
- sealFields: import("viem").Hex[];
5326
- sha3Uncles: import("viem").Hash;
5327
- size: bigint;
5328
- stateRoot: import("viem").Hash;
5329
- timestamp: bigint;
5330
- totalDifficulty: bigint | null;
5331
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
5332
- transactionsRoot: import("viem").Hash;
5333
- uncles: import("viem").Hash[];
5334
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
5335
- withdrawalsRoot?: `0x${string}` | undefined;
5336
- } & {};
2797
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => import("viem/chains").OpStackBlock;
5337
2798
  type: "block";
5338
2799
  };
5339
2800
  readonly transaction: {
5340
2801
  exclude: [] | undefined;
5341
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
5342
- blockHash: `0x${string}` | null;
5343
- blockNumber: bigint | null;
5344
- blockTimestamp?: bigint | undefined;
5345
- from: import("abitype").Address;
5346
- gas: bigint;
5347
- hash: import("viem").Hash;
5348
- input: import("viem").Hex;
5349
- nonce: number;
5350
- r: import("viem").Hex;
5351
- s: import("viem").Hex;
5352
- to: import("abitype").Address | null;
5353
- transactionIndex: number | null;
5354
- typeHex: import("viem").Hex | null;
5355
- v: bigint;
5356
- value: bigint;
5357
- yParity: number;
5358
- gasPrice?: undefined | undefined;
5359
- maxFeePerBlobGas?: undefined | undefined;
5360
- maxFeePerGas: bigint;
5361
- maxPriorityFeePerGas: bigint;
5362
- isSystemTx?: boolean;
5363
- mint?: bigint | undefined | undefined;
5364
- sourceHash: import("viem").Hex;
5365
- type: "deposit";
5366
- } | {
5367
- r: import("viem").Hex;
5368
- s: import("viem").Hex;
5369
- v: bigint;
5370
- to: import("abitype").Address | null;
5371
- from: import("abitype").Address;
5372
- gas: bigint;
5373
- nonce: number;
5374
- value: bigint;
5375
- blockHash: `0x${string}` | null;
5376
- blockNumber: bigint | null;
5377
- blockTimestamp?: bigint | undefined;
5378
- hash: import("viem").Hash;
5379
- input: import("viem").Hex;
5380
- transactionIndex: number | null;
5381
- typeHex: import("viem").Hex | null;
5382
- accessList?: undefined | undefined;
5383
- authorizationList?: undefined | undefined;
5384
- blobVersionedHashes?: undefined | undefined;
5385
- chainId?: number | undefined;
5386
- yParity?: undefined | undefined;
5387
- type: "legacy";
5388
- gasPrice: bigint;
5389
- maxFeePerBlobGas?: undefined | undefined;
5390
- maxFeePerGas?: undefined | undefined;
5391
- maxPriorityFeePerGas?: undefined | undefined;
5392
- isSystemTx?: undefined | undefined;
5393
- mint?: undefined | undefined;
5394
- sourceHash?: undefined | undefined;
5395
- } | {
5396
- blockHash: `0x${string}` | null;
5397
- blockNumber: bigint | null;
5398
- blockTimestamp?: bigint | undefined;
5399
- from: import("abitype").Address;
5400
- gas: bigint;
5401
- hash: import("viem").Hash;
5402
- input: import("viem").Hex;
5403
- nonce: number;
5404
- r: import("viem").Hex;
5405
- s: import("viem").Hex;
5406
- to: import("abitype").Address | null;
5407
- transactionIndex: number | null;
5408
- typeHex: import("viem").Hex | null;
5409
- v: bigint;
5410
- value: bigint;
5411
- yParity: number;
5412
- accessList: import("viem").AccessList;
5413
- authorizationList?: undefined | undefined;
5414
- blobVersionedHashes?: undefined | undefined;
5415
- chainId: number;
5416
- type: "eip2930";
5417
- gasPrice: bigint;
5418
- maxFeePerBlobGas?: undefined | undefined;
5419
- maxFeePerGas?: undefined | undefined;
5420
- maxPriorityFeePerGas?: undefined | undefined;
5421
- isSystemTx?: undefined | undefined;
5422
- mint?: undefined | undefined;
5423
- sourceHash?: undefined | undefined;
5424
- } | {
5425
- blockHash: `0x${string}` | null;
5426
- blockNumber: bigint | null;
5427
- blockTimestamp?: bigint | undefined;
5428
- from: import("abitype").Address;
5429
- gas: bigint;
5430
- hash: import("viem").Hash;
5431
- input: import("viem").Hex;
5432
- nonce: number;
5433
- r: import("viem").Hex;
5434
- s: import("viem").Hex;
5435
- to: import("abitype").Address | null;
5436
- transactionIndex: number | null;
5437
- typeHex: import("viem").Hex | null;
5438
- v: bigint;
5439
- value: bigint;
5440
- yParity: number;
5441
- accessList: import("viem").AccessList;
5442
- authorizationList?: undefined | undefined;
5443
- blobVersionedHashes?: undefined | undefined;
5444
- chainId: number;
5445
- type: "eip1559";
5446
- gasPrice?: undefined | undefined;
5447
- maxFeePerBlobGas?: undefined | undefined;
5448
- maxFeePerGas: bigint;
5449
- maxPriorityFeePerGas: bigint;
5450
- isSystemTx?: undefined | undefined;
5451
- mint?: undefined | undefined;
5452
- sourceHash?: undefined | undefined;
5453
- } | {
5454
- blockHash: `0x${string}` | null;
5455
- blockNumber: bigint | null;
5456
- blockTimestamp?: bigint | undefined;
5457
- from: import("abitype").Address;
5458
- gas: bigint;
5459
- hash: import("viem").Hash;
5460
- input: import("viem").Hex;
5461
- nonce: number;
5462
- r: import("viem").Hex;
5463
- s: import("viem").Hex;
5464
- to: import("abitype").Address | null;
5465
- transactionIndex: number | null;
5466
- typeHex: import("viem").Hex | null;
5467
- v: bigint;
5468
- value: bigint;
5469
- yParity: number;
5470
- accessList: import("viem").AccessList;
5471
- authorizationList?: undefined | undefined;
5472
- blobVersionedHashes: readonly import("viem").Hex[];
5473
- chainId: number;
5474
- type: "eip4844";
5475
- gasPrice?: undefined | undefined;
5476
- maxFeePerBlobGas: bigint;
5477
- maxFeePerGas: bigint;
5478
- maxPriorityFeePerGas: bigint;
5479
- isSystemTx?: undefined | undefined;
5480
- mint?: undefined | undefined;
5481
- sourceHash?: undefined | undefined;
5482
- } | {
5483
- blockHash: `0x${string}` | null;
5484
- blockNumber: bigint | null;
5485
- blockTimestamp?: bigint | undefined;
5486
- from: import("abitype").Address;
5487
- gas: bigint;
5488
- hash: import("viem").Hash;
5489
- input: import("viem").Hex;
5490
- nonce: number;
5491
- r: import("viem").Hex;
5492
- s: import("viem").Hex;
5493
- to: import("abitype").Address | null;
5494
- transactionIndex: number | null;
5495
- typeHex: import("viem").Hex | null;
5496
- v: bigint;
5497
- value: bigint;
5498
- yParity: number;
5499
- accessList: import("viem").AccessList;
5500
- authorizationList: import("viem").SignedAuthorizationList;
5501
- blobVersionedHashes?: undefined | undefined;
5502
- chainId: number;
5503
- type: "eip7702";
5504
- gasPrice?: undefined | undefined;
5505
- maxFeePerBlobGas?: undefined | undefined;
5506
- maxFeePerGas: bigint;
5507
- maxPriorityFeePerGas: bigint;
5508
- isSystemTx?: undefined | undefined;
5509
- mint?: undefined | undefined;
5510
- sourceHash?: undefined | undefined;
5511
- }) & {};
2802
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => import("viem/chains").OpStackTransaction;
5512
2803
  type: "transaction";
5513
2804
  };
5514
2805
  readonly transactionReceipt: {
5515
2806
  exclude: [] | undefined;
5516
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
5517
- blobGasPrice?: bigint | undefined;
5518
- blobGasUsed?: bigint | undefined;
5519
- blockHash: import("viem").Hash;
5520
- blockNumber: bigint;
5521
- blockTimestamp?: bigint | undefined;
5522
- contractAddress: import("abitype").Address | null | undefined;
5523
- cumulativeGasUsed: bigint;
5524
- effectiveGasPrice: bigint;
5525
- from: import("abitype").Address;
5526
- gasUsed: bigint;
5527
- logs: import("viem").Log<bigint, number, false>[];
5528
- logsBloom: import("viem").Hex;
5529
- root?: `0x${string}` | undefined;
5530
- status: "success" | "reverted";
5531
- to: import("abitype").Address | null;
5532
- transactionHash: import("viem").Hash;
5533
- transactionIndex: number;
5534
- type: import("viem").TransactionType;
5535
- depositNonce?: bigint | undefined | undefined;
5536
- depositReceiptVersion?: number | undefined | undefined;
5537
- l1GasPrice: bigint | null;
5538
- l1GasUsed: bigint | null;
5539
- l1Fee: bigint | null;
5540
- l1FeeScalar: number | null;
5541
- } & {};
2807
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").OpStackTransactionReceipt;
5542
2808
  type: "transactionReceipt";
5543
2809
  };
5544
2810
  };
@@ -5672,389 +2938,22 @@ export declare const chainSpecs: {
5672
2938
  formatters: {
5673
2939
  readonly block: {
5674
2940
  exclude: [] | undefined;
5675
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
5676
- baseFeePerGas: bigint | null;
5677
- blobGasUsed: bigint;
5678
- difficulty: bigint;
5679
- excessBlobGas: bigint;
5680
- extraData: import("viem").Hex;
5681
- gasLimit: bigint;
5682
- gasUsed: bigint;
5683
- hash: `0x${string}` | null;
5684
- logsBloom: `0x${string}` | null;
5685
- miner: import("abitype").Address;
5686
- mixHash: import("viem").Hash;
5687
- nonce: `0x${string}` | null;
5688
- number: bigint | null;
5689
- parentBeaconBlockRoot?: `0x${string}` | undefined;
5690
- parentHash: import("viem").Hash;
5691
- receiptsRoot: import("viem").Hex;
5692
- sealFields: import("viem").Hex[];
5693
- sha3Uncles: import("viem").Hash;
5694
- size: bigint;
5695
- stateRoot: import("viem").Hash;
5696
- timestamp: bigint;
5697
- totalDifficulty: bigint | null;
5698
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
5699
- transactionsRoot: import("viem").Hash;
5700
- uncles: import("viem").Hash[];
5701
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
5702
- withdrawalsRoot?: `0x${string}` | undefined;
5703
- l1BatchNumber: bigint | null;
5704
- l1BatchTimestamp: bigint | null;
5705
- } & {};
2941
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
5706
2942
  type: "block";
5707
2943
  };
5708
2944
  readonly transaction: {
5709
2945
  exclude: [] | undefined;
5710
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
5711
- r: import("viem").Hex;
5712
- s: import("viem").Hex;
5713
- v: bigint;
5714
- to: import("abitype").Address | null;
5715
- from: import("abitype").Address;
5716
- gas: bigint;
5717
- nonce: number;
5718
- value: bigint;
5719
- blockHash: `0x${string}` | null;
5720
- blockNumber: bigint | null;
5721
- blockTimestamp?: bigint | undefined;
5722
- hash: import("viem").Hash;
5723
- input: import("viem").Hex;
5724
- transactionIndex: number | null;
5725
- typeHex: import("viem").Hex | null;
5726
- accessList?: undefined | undefined;
5727
- authorizationList?: undefined | undefined;
5728
- blobVersionedHashes?: undefined | undefined;
5729
- chainId?: number | undefined;
5730
- yParity?: undefined | undefined;
5731
- type: "legacy";
5732
- gasPrice: bigint;
5733
- maxFeePerBlobGas?: undefined | undefined;
5734
- maxFeePerGas?: undefined | undefined;
5735
- maxPriorityFeePerGas?: undefined | undefined;
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?: undefined | undefined;
5758
- chainId: number;
5759
- type: "eip2930";
5760
- gasPrice: bigint;
5761
- maxFeePerBlobGas?: undefined | undefined;
5762
- maxFeePerGas?: undefined | undefined;
5763
- maxPriorityFeePerGas?: undefined | undefined;
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?: undefined | undefined;
5785
- blobVersionedHashes?: undefined | undefined;
5786
- chainId: number;
5787
- type: "eip1559";
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
- accessList: import("viem").AccessList;
5812
- authorizationList?: undefined | undefined;
5813
- blobVersionedHashes: readonly import("viem").Hex[];
5814
- chainId: number;
5815
- type: "eip4844";
5816
- gasPrice?: undefined | undefined;
5817
- maxFeePerBlobGas: bigint;
5818
- maxFeePerGas: bigint;
5819
- maxPriorityFeePerGas: bigint;
5820
- l1BatchNumber: bigint | null;
5821
- l1BatchTxIndex: bigint | null;
5822
- } | {
5823
- blockHash: `0x${string}` | null;
5824
- blockNumber: bigint | null;
5825
- blockTimestamp?: bigint | undefined;
5826
- from: import("abitype").Address;
5827
- gas: bigint;
5828
- hash: import("viem").Hash;
5829
- input: import("viem").Hex;
5830
- nonce: number;
5831
- r: import("viem").Hex;
5832
- s: import("viem").Hex;
5833
- to: import("abitype").Address | null;
5834
- transactionIndex: number | null;
5835
- typeHex: import("viem").Hex | null;
5836
- v: bigint;
5837
- value: bigint;
5838
- yParity: number;
5839
- accessList: import("viem").AccessList;
5840
- authorizationList: import("viem").SignedAuthorizationList;
5841
- blobVersionedHashes?: undefined | undefined;
5842
- chainId: number;
5843
- type: "eip7702";
5844
- gasPrice?: undefined | undefined;
5845
- maxFeePerBlobGas?: undefined | undefined;
5846
- maxFeePerGas: bigint;
5847
- maxPriorityFeePerGas: bigint;
5848
- l1BatchNumber: bigint | null;
5849
- l1BatchTxIndex: bigint | null;
5850
- } | {
5851
- blockHash: `0x${string}` | null;
5852
- blockNumber: bigint | null;
5853
- blockTimestamp?: bigint | undefined;
5854
- from: import("abitype").Address;
5855
- gas: bigint;
5856
- hash: import("viem").Hash;
5857
- input: import("viem").Hex;
5858
- nonce: number;
5859
- r: import("viem").Hex;
5860
- s: import("viem").Hex;
5861
- to: import("abitype").Address | null;
5862
- transactionIndex: number | null;
5863
- typeHex: import("viem").Hex | null;
5864
- v: bigint;
5865
- value: bigint;
5866
- yParity: number;
5867
- l1BatchNumber: bigint | null;
5868
- l1BatchTxIndex: bigint | null;
5869
- gasPrice?: undefined | undefined;
5870
- maxFeePerBlobGas?: undefined | undefined;
5871
- maxFeePerGas: bigint;
5872
- maxPriorityFeePerGas: bigint;
5873
- type: "priority";
5874
- } | {
5875
- blockHash: `0x${string}` | null;
5876
- blockNumber: bigint | null;
5877
- blockTimestamp?: bigint | undefined;
5878
- from: import("abitype").Address;
5879
- gas: bigint;
5880
- hash: import("viem").Hash;
5881
- input: import("viem").Hex;
5882
- nonce: number;
5883
- r: import("viem").Hex;
5884
- s: import("viem").Hex;
5885
- to: import("abitype").Address | null;
5886
- transactionIndex: number | null;
5887
- typeHex: import("viem").Hex | null;
5888
- v: bigint;
5889
- value: bigint;
5890
- yParity: number;
5891
- l1BatchNumber: bigint | null;
5892
- l1BatchTxIndex: bigint | null;
5893
- gasPrice?: undefined | undefined;
5894
- maxFeePerBlobGas?: undefined | undefined;
5895
- maxFeePerGas: bigint;
5896
- maxPriorityFeePerGas: bigint;
5897
- type: "eip712" | "priority";
5898
- }) & {};
2946
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
5899
2947
  type: "transaction";
5900
2948
  };
5901
2949
  readonly transactionReceipt: {
5902
2950
  exclude: [] | undefined;
5903
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
5904
- type: import("viem/chains").ZkSyncTransactionType;
5905
- contractAddress: import("abitype").Address | null | undefined;
5906
- to: import("abitype").Address | null;
5907
- from: import("abitype").Address;
5908
- blockHash: import("viem").Hash;
5909
- blockNumber: bigint;
5910
- blockTimestamp?: bigint | undefined;
5911
- transactionIndex: number;
5912
- status: "success" | "reverted";
5913
- transactionHash: import("viem").Hash;
5914
- logsBloom: import("viem").Hex;
5915
- blobGasUsed?: bigint | undefined;
5916
- gasUsed: bigint;
5917
- blobGasPrice?: bigint | undefined;
5918
- cumulativeGasUsed: bigint;
5919
- effectiveGasPrice: bigint;
5920
- root?: `0x${string}` | undefined;
5921
- l1BatchNumber: bigint | null;
5922
- l1BatchTxIndex: bigint | null;
5923
- logs: import("viem/chains").ZkSyncLog[];
5924
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
5925
- } & {};
2951
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
5926
2952
  type: "transactionReceipt";
5927
2953
  };
5928
2954
  readonly transactionRequest: {
5929
2955
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
5930
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
5931
- data?: `0x${string}` | undefined;
5932
- from?: `0x${string}` | undefined;
5933
- gas?: `0x${string}` | undefined;
5934
- nonce?: `0x${string}` | undefined;
5935
- to?: `0x${string}` | null | undefined;
5936
- type?: "0x0" | undefined;
5937
- value?: `0x${string}` | undefined;
5938
- gasPrice?: `0x${string}` | undefined;
5939
- maxFeePerBlobGas?: undefined | undefined;
5940
- maxFeePerGas?: undefined | undefined;
5941
- maxPriorityFeePerGas?: undefined | undefined;
5942
- blobs?: undefined;
5943
- blobVersionedHashes?: undefined;
5944
- kzg?: undefined;
5945
- accessList?: undefined;
5946
- sidecars?: undefined;
5947
- authorizationList?: undefined;
5948
- eip712Meta?: undefined | undefined;
5949
- } | {
5950
- data?: `0x${string}` | undefined;
5951
- from?: `0x${string}` | undefined;
5952
- gas?: `0x${string}` | undefined;
5953
- nonce?: `0x${string}` | undefined;
5954
- to?: `0x${string}` | null | undefined;
5955
- type?: "0x1" | undefined;
5956
- value?: `0x${string}` | undefined;
5957
- gasPrice?: `0x${string}` | undefined;
5958
- maxFeePerBlobGas?: undefined | undefined;
5959
- maxFeePerGas?: undefined | undefined;
5960
- maxPriorityFeePerGas?: undefined | undefined;
5961
- accessList?: import("viem").AccessList | undefined;
5962
- blobs?: undefined;
5963
- blobVersionedHashes?: undefined;
5964
- kzg?: undefined;
5965
- sidecars?: undefined;
5966
- authorizationList?: undefined;
5967
- eip712Meta?: undefined | undefined;
5968
- } | {
5969
- data?: `0x${string}` | undefined;
5970
- from?: `0x${string}` | undefined;
5971
- gas?: `0x${string}` | undefined;
5972
- nonce?: `0x${string}` | undefined;
5973
- to?: `0x${string}` | null | undefined;
5974
- type?: "0x2" | undefined;
5975
- value?: `0x${string}` | undefined;
5976
- gasPrice?: undefined | undefined;
5977
- maxFeePerBlobGas?: undefined | undefined;
5978
- maxFeePerGas?: `0x${string}` | undefined;
5979
- maxPriorityFeePerGas?: `0x${string}` | undefined;
5980
- accessList?: import("viem").AccessList | undefined;
5981
- blobs?: undefined;
5982
- blobVersionedHashes?: undefined;
5983
- kzg?: undefined;
5984
- sidecars?: undefined;
5985
- authorizationList?: undefined;
5986
- eip712Meta?: undefined | undefined;
5987
- } | {
5988
- type?: "0x3" | undefined;
5989
- data?: `0x${string}` | undefined;
5990
- from?: `0x${string}` | undefined;
5991
- gas?: `0x${string}` | undefined;
5992
- nonce?: `0x${string}` | undefined;
5993
- value?: `0x${string}` | undefined;
5994
- to: `0x${string}` | null;
5995
- gasPrice?: undefined | undefined;
5996
- maxFeePerBlobGas?: `0x${string}` | undefined;
5997
- maxFeePerGas?: `0x${string}` | undefined;
5998
- maxPriorityFeePerGas?: `0x${string}` | undefined;
5999
- accessList?: import("viem").AccessList | undefined;
6000
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
6001
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
6002
- blobVersionedHashes: readonly import("viem").Hex[];
6003
- kzg?: undefined;
6004
- authorizationList?: undefined;
6005
- eip712Meta?: undefined | undefined;
6006
- } | {
6007
- type?: "0x3" | undefined;
6008
- data?: `0x${string}` | undefined;
6009
- from?: `0x${string}` | undefined;
6010
- gas?: `0x${string}` | undefined;
6011
- nonce?: `0x${string}` | undefined;
6012
- value?: `0x${string}` | undefined;
6013
- to: `0x${string}` | null;
6014
- gasPrice?: undefined | undefined;
6015
- maxFeePerBlobGas?: `0x${string}` | undefined;
6016
- maxFeePerGas?: `0x${string}` | undefined;
6017
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6018
- accessList?: import("viem").AccessList | undefined;
6019
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
6020
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
6021
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6022
- kzg?: import("viem").Kzg | undefined;
6023
- authorizationList?: undefined;
6024
- eip712Meta?: undefined | undefined;
6025
- } | {
6026
- type?: "0x4" | undefined;
6027
- gasPrice?: undefined | undefined;
6028
- maxFeePerBlobGas?: undefined | undefined;
6029
- maxFeePerGas?: `0x${string}` | undefined;
6030
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6031
- to?: `0x${string}` | null | undefined;
6032
- data?: `0x${string}` | undefined;
6033
- from?: `0x${string}` | undefined;
6034
- gas?: `0x${string}` | undefined;
6035
- nonce?: `0x${string}` | undefined;
6036
- value?: `0x${string}` | undefined;
6037
- accessList?: import("viem").AccessList | undefined;
6038
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
6039
- blobs?: undefined;
6040
- blobVersionedHashes?: undefined;
6041
- kzg?: undefined;
6042
- sidecars?: undefined;
6043
- eip712Meta?: undefined | undefined;
6044
- } | {
6045
- data?: `0x${string}` | undefined;
6046
- from?: `0x${string}` | undefined;
6047
- gas?: `0x${string}` | undefined;
6048
- nonce?: `0x${string}` | undefined;
6049
- to?: `0x${string}` | null | undefined;
6050
- type: "0xff" | "0x71";
6051
- value?: `0x${string}` | undefined;
6052
- gasPrice?: undefined | undefined;
6053
- maxFeePerBlobGas?: undefined | undefined;
6054
- maxFeePerGas?: `0x${string}` | undefined;
6055
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6056
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
6057
- }) & {
2956
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
6058
2957
  paymaster: never;
6059
2958
  gasPerPubdata: never;
6060
2959
  factoryDeps: never;
@@ -6146,389 +3045,22 @@ export declare const chainSpecs: {
6146
3045
  formatters: {
6147
3046
  readonly block: {
6148
3047
  exclude: [] | undefined;
6149
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
6150
- baseFeePerGas: bigint | null;
6151
- blobGasUsed: bigint;
6152
- difficulty: bigint;
6153
- excessBlobGas: bigint;
6154
- extraData: import("viem").Hex;
6155
- gasLimit: bigint;
6156
- gasUsed: bigint;
6157
- hash: `0x${string}` | null;
6158
- logsBloom: `0x${string}` | null;
6159
- miner: import("abitype").Address;
6160
- mixHash: import("viem").Hash;
6161
- nonce: `0x${string}` | null;
6162
- number: bigint | null;
6163
- parentBeaconBlockRoot?: `0x${string}` | undefined;
6164
- parentHash: import("viem").Hash;
6165
- receiptsRoot: import("viem").Hex;
6166
- sealFields: import("viem").Hex[];
6167
- sha3Uncles: import("viem").Hash;
6168
- size: bigint;
6169
- stateRoot: import("viem").Hash;
6170
- timestamp: bigint;
6171
- totalDifficulty: bigint | null;
6172
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
6173
- transactionsRoot: import("viem").Hash;
6174
- uncles: import("viem").Hash[];
6175
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
6176
- withdrawalsRoot?: `0x${string}` | undefined;
6177
- l1BatchNumber: bigint | null;
6178
- l1BatchTimestamp: bigint | null;
6179
- } & {};
3048
+ format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => import("viem/chains").ZkSyncBlock;
6180
3049
  type: "block";
6181
3050
  };
6182
3051
  readonly transaction: {
6183
3052
  exclude: [] | undefined;
6184
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
6185
- r: import("viem").Hex;
6186
- s: import("viem").Hex;
6187
- v: bigint;
6188
- to: import("abitype").Address | null;
6189
- from: import("abitype").Address;
6190
- gas: bigint;
6191
- nonce: number;
6192
- value: bigint;
6193
- blockHash: `0x${string}` | null;
6194
- blockNumber: bigint | null;
6195
- blockTimestamp?: bigint | undefined;
6196
- hash: import("viem").Hash;
6197
- input: import("viem").Hex;
6198
- transactionIndex: number | null;
6199
- typeHex: import("viem").Hex | null;
6200
- accessList?: undefined | undefined;
6201
- authorizationList?: undefined | undefined;
6202
- blobVersionedHashes?: undefined | undefined;
6203
- chainId?: number | undefined;
6204
- yParity?: undefined | undefined;
6205
- type: "legacy";
6206
- gasPrice: bigint;
6207
- maxFeePerBlobGas?: undefined | undefined;
6208
- maxFeePerGas?: undefined | undefined;
6209
- maxPriorityFeePerGas?: undefined | undefined;
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?: undefined | undefined;
6232
- chainId: number;
6233
- type: "eip2930";
6234
- gasPrice: bigint;
6235
- maxFeePerBlobGas?: undefined | undefined;
6236
- maxFeePerGas?: undefined | undefined;
6237
- maxPriorityFeePerGas?: undefined | undefined;
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?: undefined | undefined;
6259
- blobVersionedHashes?: undefined | undefined;
6260
- chainId: number;
6261
- type: "eip1559";
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
- accessList: import("viem").AccessList;
6286
- authorizationList?: undefined | undefined;
6287
- blobVersionedHashes: readonly import("viem").Hex[];
6288
- chainId: number;
6289
- type: "eip4844";
6290
- gasPrice?: undefined | undefined;
6291
- maxFeePerBlobGas: bigint;
6292
- maxFeePerGas: bigint;
6293
- maxPriorityFeePerGas: bigint;
6294
- l1BatchNumber: bigint | null;
6295
- l1BatchTxIndex: bigint | null;
6296
- } | {
6297
- blockHash: `0x${string}` | null;
6298
- blockNumber: bigint | null;
6299
- blockTimestamp?: bigint | undefined;
6300
- from: import("abitype").Address;
6301
- gas: bigint;
6302
- hash: import("viem").Hash;
6303
- input: import("viem").Hex;
6304
- nonce: number;
6305
- r: import("viem").Hex;
6306
- s: import("viem").Hex;
6307
- to: import("abitype").Address | null;
6308
- transactionIndex: number | null;
6309
- typeHex: import("viem").Hex | null;
6310
- v: bigint;
6311
- value: bigint;
6312
- yParity: number;
6313
- accessList: import("viem").AccessList;
6314
- authorizationList: import("viem").SignedAuthorizationList;
6315
- blobVersionedHashes?: undefined | undefined;
6316
- chainId: number;
6317
- type: "eip7702";
6318
- gasPrice?: undefined | undefined;
6319
- maxFeePerBlobGas?: undefined | undefined;
6320
- maxFeePerGas: bigint;
6321
- maxPriorityFeePerGas: bigint;
6322
- l1BatchNumber: bigint | null;
6323
- l1BatchTxIndex: bigint | null;
6324
- } | {
6325
- blockHash: `0x${string}` | null;
6326
- blockNumber: bigint | null;
6327
- blockTimestamp?: bigint | undefined;
6328
- from: import("abitype").Address;
6329
- gas: bigint;
6330
- hash: import("viem").Hash;
6331
- input: import("viem").Hex;
6332
- nonce: number;
6333
- r: import("viem").Hex;
6334
- s: import("viem").Hex;
6335
- to: import("abitype").Address | null;
6336
- transactionIndex: number | null;
6337
- typeHex: import("viem").Hex | null;
6338
- v: bigint;
6339
- value: bigint;
6340
- yParity: number;
6341
- l1BatchNumber: bigint | null;
6342
- l1BatchTxIndex: bigint | null;
6343
- gasPrice?: undefined | undefined;
6344
- maxFeePerBlobGas?: undefined | undefined;
6345
- maxFeePerGas: bigint;
6346
- maxPriorityFeePerGas: bigint;
6347
- type: "priority";
6348
- } | {
6349
- blockHash: `0x${string}` | null;
6350
- blockNumber: bigint | null;
6351
- blockTimestamp?: bigint | undefined;
6352
- from: import("abitype").Address;
6353
- gas: bigint;
6354
- hash: import("viem").Hash;
6355
- input: import("viem").Hex;
6356
- nonce: number;
6357
- r: import("viem").Hex;
6358
- s: import("viem").Hex;
6359
- to: import("abitype").Address | null;
6360
- transactionIndex: number | null;
6361
- typeHex: import("viem").Hex | null;
6362
- v: bigint;
6363
- value: bigint;
6364
- yParity: number;
6365
- l1BatchNumber: bigint | null;
6366
- l1BatchTxIndex: bigint | null;
6367
- gasPrice?: undefined | undefined;
6368
- maxFeePerBlobGas?: undefined | undefined;
6369
- maxFeePerGas: bigint;
6370
- maxPriorityFeePerGas: bigint;
6371
- type: "eip712" | "priority";
6372
- }) & {};
3053
+ format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => import("viem/chains").ZkSyncTransaction;
6373
3054
  type: "transaction";
6374
3055
  };
6375
3056
  readonly transactionReceipt: {
6376
3057
  exclude: [] | undefined;
6377
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
6378
- type: import("viem/chains").ZkSyncTransactionType;
6379
- contractAddress: import("abitype").Address | null | undefined;
6380
- to: import("abitype").Address | null;
6381
- from: import("abitype").Address;
6382
- blockHash: import("viem").Hash;
6383
- blockNumber: bigint;
6384
- blockTimestamp?: bigint | undefined;
6385
- transactionIndex: number;
6386
- status: "success" | "reverted";
6387
- transactionHash: import("viem").Hash;
6388
- logsBloom: import("viem").Hex;
6389
- blobGasUsed?: bigint | undefined;
6390
- gasUsed: bigint;
6391
- blobGasPrice?: bigint | undefined;
6392
- cumulativeGasUsed: bigint;
6393
- effectiveGasPrice: bigint;
6394
- root?: `0x${string}` | undefined;
6395
- l1BatchNumber: bigint | null;
6396
- l1BatchTxIndex: bigint | null;
6397
- logs: import("viem/chains").ZkSyncLog[];
6398
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
6399
- } & {};
3058
+ format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => import("viem/chains").ZkSyncTransactionReceipt;
6400
3059
  type: "transactionReceipt";
6401
3060
  };
6402
3061
  readonly transactionRequest: {
6403
3062
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
6404
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
6405
- data?: `0x${string}` | undefined;
6406
- from?: `0x${string}` | undefined;
6407
- gas?: `0x${string}` | undefined;
6408
- nonce?: `0x${string}` | undefined;
6409
- to?: `0x${string}` | null | undefined;
6410
- type?: "0x0" | undefined;
6411
- value?: `0x${string}` | undefined;
6412
- gasPrice?: `0x${string}` | undefined;
6413
- maxFeePerBlobGas?: undefined | undefined;
6414
- maxFeePerGas?: undefined | undefined;
6415
- maxPriorityFeePerGas?: undefined | undefined;
6416
- blobs?: undefined;
6417
- blobVersionedHashes?: undefined;
6418
- kzg?: undefined;
6419
- accessList?: undefined;
6420
- sidecars?: undefined;
6421
- authorizationList?: undefined;
6422
- eip712Meta?: undefined | undefined;
6423
- } | {
6424
- data?: `0x${string}` | undefined;
6425
- from?: `0x${string}` | undefined;
6426
- gas?: `0x${string}` | undefined;
6427
- nonce?: `0x${string}` | undefined;
6428
- to?: `0x${string}` | null | undefined;
6429
- type?: "0x1" | undefined;
6430
- value?: `0x${string}` | undefined;
6431
- gasPrice?: `0x${string}` | undefined;
6432
- maxFeePerBlobGas?: undefined | undefined;
6433
- maxFeePerGas?: undefined | undefined;
6434
- maxPriorityFeePerGas?: undefined | undefined;
6435
- accessList?: import("viem").AccessList | undefined;
6436
- blobs?: undefined;
6437
- blobVersionedHashes?: undefined;
6438
- kzg?: undefined;
6439
- sidecars?: undefined;
6440
- authorizationList?: undefined;
6441
- eip712Meta?: undefined | undefined;
6442
- } | {
6443
- data?: `0x${string}` | undefined;
6444
- from?: `0x${string}` | undefined;
6445
- gas?: `0x${string}` | undefined;
6446
- nonce?: `0x${string}` | undefined;
6447
- to?: `0x${string}` | null | undefined;
6448
- type?: "0x2" | undefined;
6449
- value?: `0x${string}` | undefined;
6450
- gasPrice?: undefined | undefined;
6451
- maxFeePerBlobGas?: undefined | undefined;
6452
- maxFeePerGas?: `0x${string}` | undefined;
6453
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6454
- accessList?: import("viem").AccessList | undefined;
6455
- blobs?: undefined;
6456
- blobVersionedHashes?: undefined;
6457
- kzg?: undefined;
6458
- sidecars?: undefined;
6459
- authorizationList?: undefined;
6460
- eip712Meta?: undefined | undefined;
6461
- } | {
6462
- type?: "0x3" | undefined;
6463
- data?: `0x${string}` | undefined;
6464
- from?: `0x${string}` | undefined;
6465
- gas?: `0x${string}` | undefined;
6466
- nonce?: `0x${string}` | undefined;
6467
- value?: `0x${string}` | undefined;
6468
- to: `0x${string}` | null;
6469
- gasPrice?: undefined | undefined;
6470
- maxFeePerBlobGas?: `0x${string}` | undefined;
6471
- maxFeePerGas?: `0x${string}` | undefined;
6472
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6473
- accessList?: import("viem").AccessList | undefined;
6474
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
6475
- blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
6476
- blobVersionedHashes: readonly import("viem").Hex[];
6477
- kzg?: undefined;
6478
- authorizationList?: undefined;
6479
- eip712Meta?: undefined | undefined;
6480
- } | {
6481
- type?: "0x3" | undefined;
6482
- data?: `0x${string}` | undefined;
6483
- from?: `0x${string}` | undefined;
6484
- gas?: `0x${string}` | undefined;
6485
- nonce?: `0x${string}` | undefined;
6486
- value?: `0x${string}` | undefined;
6487
- to: `0x${string}` | null;
6488
- gasPrice?: undefined | undefined;
6489
- maxFeePerBlobGas?: `0x${string}` | undefined;
6490
- maxFeePerGas?: `0x${string}` | undefined;
6491
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6492
- accessList?: import("viem").AccessList | undefined;
6493
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
6494
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
6495
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6496
- kzg?: import("viem").Kzg | undefined;
6497
- authorizationList?: undefined;
6498
- eip712Meta?: undefined | undefined;
6499
- } | {
6500
- type?: "0x4" | undefined;
6501
- gasPrice?: undefined | undefined;
6502
- maxFeePerBlobGas?: undefined | undefined;
6503
- maxFeePerGas?: `0x${string}` | undefined;
6504
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6505
- to?: `0x${string}` | null | undefined;
6506
- data?: `0x${string}` | undefined;
6507
- from?: `0x${string}` | undefined;
6508
- gas?: `0x${string}` | undefined;
6509
- nonce?: `0x${string}` | undefined;
6510
- value?: `0x${string}` | undefined;
6511
- accessList?: import("viem").AccessList | undefined;
6512
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
6513
- blobs?: undefined;
6514
- blobVersionedHashes?: undefined;
6515
- kzg?: undefined;
6516
- sidecars?: undefined;
6517
- eip712Meta?: undefined | undefined;
6518
- } | {
6519
- data?: `0x${string}` | undefined;
6520
- from?: `0x${string}` | undefined;
6521
- gas?: `0x${string}` | undefined;
6522
- nonce?: `0x${string}` | undefined;
6523
- to?: `0x${string}` | null | undefined;
6524
- type: "0xff" | "0x71";
6525
- value?: `0x${string}` | undefined;
6526
- gasPrice?: undefined | undefined;
6527
- maxFeePerBlobGas?: undefined | undefined;
6528
- maxFeePerGas?: `0x${string}` | undefined;
6529
- maxPriorityFeePerGas?: `0x${string}` | undefined;
6530
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
6531
- }) & {
3063
+ format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => import("viem/chains").ZkSyncRpcTransactionRequest & {
6532
3064
  paymaster: never;
6533
3065
  gasPerPubdata: never;
6534
3066
  factoryDeps: never;