@funkit/connect 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/components/Dialog/Dialog.css.d.ts +1 -0
  3. package/dist/components/Dialog/Dialog.d.ts +2 -1
  4. package/dist/components/FunButton/FunIconButton.d.ts +1 -0
  5. package/dist/config/getDefaultConfig.d.ts +428 -3148
  6. package/dist/consts/customers.d.ts +1 -0
  7. package/dist/index.css +9 -1
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +80 -40
  10. package/dist/providers/FunkitCheckoutContext.d.ts +2 -0
  11. package/dist/utils/flags/config.d.ts +4 -1
  12. package/dist/utils/flags/index.d.ts +1 -0
  13. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +92 -0
  14. package/dist/wallets/walletConnectors/chunk-4HKPVECK.js +95 -0
  15. package/dist/wallets/walletConnectors/chunk-4K3EKHXR.js +71 -0
  16. package/dist/wallets/walletConnectors/chunk-57UUMOOZ.js +95 -0
  17. package/dist/wallets/walletConnectors/chunk-5MVCKMZT.js +94 -0
  18. package/dist/wallets/walletConnectors/chunk-5NZLWT3Y.js +73 -0
  19. package/dist/wallets/walletConnectors/chunk-B5D7DYVV.js +101 -0
  20. package/dist/wallets/walletConnectors/chunk-HCKLWBE5.js +98 -0
  21. package/dist/wallets/walletConnectors/chunk-HLH777AC.js +108 -0
  22. package/dist/wallets/walletConnectors/chunk-HMDUVRZP.js +98 -0
  23. package/dist/wallets/walletConnectors/chunk-IR3YKU2N.js +103 -0
  24. package/dist/wallets/walletConnectors/chunk-J2BF4L2V.js +87 -0
  25. package/dist/wallets/walletConnectors/chunk-KDGMYRMC.js +102 -0
  26. package/dist/wallets/walletConnectors/chunk-OKUX4BC4.js +66 -0
  27. package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +96 -0
  28. package/dist/wallets/walletConnectors/chunk-WAMHUVNP.js +96 -0
  29. package/dist/wallets/walletConnectors/chunk-YRK6XWL6.js +149 -0
  30. package/dist/wallets/walletConnectors/chunk-ZCKNEKQQ.js +110 -0
  31. package/dist/wallets/walletConnectors/index.js +67 -67
  32. package/package.json +6 -6
@@ -54,9 +54,9 @@ export declare const getDefaultChains: () => ({
54
54
  sourceId?: number | undefined;
55
55
  testnet?: boolean | undefined;
56
56
  custom?: Record<string, unknown> | undefined;
57
- formatters?: undefined;
58
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
59
57
  fees?: import("viem").ChainFees<undefined> | undefined;
58
+ formatters?: undefined;
59
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
60
60
  } | {
61
61
  blockExplorers: {
62
62
  readonly default: {
@@ -121,1007 +121,195 @@ export declare const getDefaultChains: () => ({
121
121
  sourceId: 1;
122
122
  testnet?: boolean | undefined;
123
123
  custom?: Record<string, unknown> | undefined;
124
+ fees?: import("viem").ChainFees<undefined> | undefined;
124
125
  formatters: {
125
126
  readonly block: {
126
127
  exclude: [] | undefined;
127
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcBlock>, import("viem/chains").OpStackRpcBlockOverrides & {
128
- transactions: `0x${string}`[] | import("viem/chains").OpStackRpcTransaction[];
129
- }>) => {
128
+ format: (args: import("viem/chains").OpStackRpcBlock) => {
130
129
  baseFeePerGas: bigint | null;
131
130
  blobGasUsed: bigint;
132
131
  difficulty: bigint;
133
132
  excessBlobGas: bigint;
134
- extraData: `0x${string}`;
133
+ extraData: import("viem").Hex;
135
134
  gasLimit: bigint;
136
135
  gasUsed: bigint;
137
136
  hash: `0x${string}` | null;
138
137
  logsBloom: `0x${string}` | null;
139
- miner: `0x${string}`;
140
- mixHash: `0x${string}`;
138
+ miner: import("viem").Address;
139
+ mixHash: import("viem").Hash;
141
140
  nonce: `0x${string}` | null;
142
141
  number: bigint | null;
143
- parentHash: `0x${string}`;
144
- receiptsRoot: `0x${string}`;
145
- sealFields: `0x${string}`[];
146
- sha3Uncles: `0x${string}`;
142
+ parentHash: import("viem").Hash;
143
+ receiptsRoot: import("viem").Hex;
144
+ sealFields: import("viem").Hex[];
145
+ sha3Uncles: import("viem").Hash;
147
146
  size: bigint;
148
- stateRoot: `0x${string}`;
147
+ stateRoot: import("viem").Hash;
149
148
  timestamp: bigint;
150
149
  totalDifficulty: bigint | null;
151
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction[];
152
- transactionsRoot: `0x${string}`;
153
- uncles: `0x${string}`[];
150
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
151
+ transactionsRoot: import("viem").Hash;
152
+ uncles: import("viem").Hash[];
154
153
  withdrawals?: import("viem").Withdrawal[] | undefined;
155
- withdrawalsRoot?: `0x${string}` | undefined;
154
+ withdrawalsRoot?: import("viem").Hex | undefined;
156
155
  } & {};
157
156
  type: "block";
158
157
  };
159
158
  readonly transaction: {
160
159
  exclude: [] | undefined;
161
- format: (args: ({
162
- r?: `0x${string}`;
163
- s?: `0x${string}`;
164
- v?: `0x${string}`;
165
- yParity?: `0x${string}` | undefined;
166
- gasPrice?: `0x${string}` | undefined;
167
- maxFeePerBlobGas?: `0x${string}` | undefined;
168
- maxFeePerGas?: `0x${string}` | undefined;
169
- maxPriorityFeePerGas?: `0x${string}` | undefined;
170
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
171
- to?: `0x${string}` | null;
172
- from?: `0x${string}`;
173
- gas?: `0x${string}`;
174
- nonce?: `0x${string}`;
175
- value?: `0x${string}`;
176
- blockHash?: `0x${string}` | null;
177
- blockNumber?: `0x${string}` | null;
178
- hash?: `0x${string}`;
179
- input?: `0x${string}`;
180
- transactionIndex?: `0x${string}` | null;
181
- accessList?: undefined;
182
- blobVersionedHashes?: undefined;
183
- chainId?: `0x${string}` | undefined;
184
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
185
- r: `0x${string}`;
186
- s: `0x${string}`;
187
- v: `0x${string}`;
188
- to: `0x${string}` | null;
189
- from: `0x${string}`;
190
- gas: `0x${string}`;
191
- nonce: `0x${string}`;
192
- value: `0x${string}`;
193
- blockHash: `0x${string}` | null;
194
- blockNumber: `0x${string}` | null;
195
- hash: `0x${string}`;
196
- input: `0x${string}`;
197
- transactionIndex: `0x${string}` | null;
198
- typeHex: `0x${string}` | null;
199
- gasPrice: `0x${string}`;
200
- maxFeePerBlobGas?: undefined;
201
- maxFeePerGas?: undefined;
202
- maxPriorityFeePerGas?: undefined;
203
- accessList?: undefined;
204
- blobVersionedHashes?: undefined;
205
- chainId?: `0x${string}` | undefined;
206
- yParity?: undefined;
207
- type: "0x0";
208
- }, "yParity">, "typeHex"> & {
209
- isSystemTx?: undefined;
210
- mint?: undefined;
211
- sourceHash?: undefined;
212
- }) | ({
213
- r?: `0x${string}`;
214
- s?: `0x${string}`;
215
- v?: `0x${string}`;
216
- yParity?: `0x${string}` | undefined;
217
- gasPrice?: `0x${string}` | undefined;
218
- maxFeePerBlobGas?: `0x${string}` | undefined;
219
- maxFeePerGas?: `0x${string}` | undefined;
220
- maxPriorityFeePerGas?: `0x${string}` | undefined;
221
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
222
- to?: `0x${string}` | null;
223
- from?: `0x${string}`;
224
- gas?: `0x${string}`;
225
- nonce?: `0x${string}`;
226
- value?: `0x${string}`;
227
- blockHash?: `0x${string}` | null;
228
- blockNumber?: `0x${string}` | null;
229
- hash?: `0x${string}`;
230
- input?: `0x${string}`;
231
- transactionIndex?: `0x${string}` | null;
232
- accessList?: undefined;
233
- blobVersionedHashes?: undefined;
234
- chainId?: `0x${string}` | undefined;
235
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
236
- isSystemTx?: boolean | undefined;
237
- mint?: `0x${string}` | undefined;
238
- sourceHash: `0x${string}`;
239
- type: "0x7e";
240
- }) | ({
241
- r?: `0x${string}`;
242
- s?: `0x${string}`;
243
- v?: `0x${string}`;
244
- yParity?: `0x${string}` | undefined;
245
- gasPrice?: `0x${string}` | undefined;
246
- maxFeePerBlobGas?: `0x${string}` | undefined;
247
- maxFeePerGas?: `0x${string}` | undefined;
248
- maxPriorityFeePerGas?: `0x${string}` | undefined;
249
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
250
- to?: `0x${string}` | null;
251
- from?: `0x${string}`;
252
- gas?: `0x${string}`;
253
- nonce?: `0x${string}`;
254
- value?: `0x${string}`;
255
- blockHash?: `0x${string}` | null;
256
- blockNumber?: `0x${string}` | null;
257
- hash?: `0x${string}`;
258
- input?: `0x${string}`;
259
- transactionIndex?: `0x${string}` | null;
260
- accessList?: import("viem").AccessList | undefined;
261
- blobVersionedHashes?: undefined;
262
- chainId?: `0x${string}` | undefined;
263
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
264
- r: `0x${string}`;
265
- s: `0x${string}`;
266
- v: `0x${string}`;
267
- to: `0x${string}` | null;
268
- from: `0x${string}`;
269
- gas: `0x${string}`;
270
- nonce: `0x${string}`;
271
- value: `0x${string}`;
272
- blockHash: `0x${string}` | null;
273
- blockNumber: `0x${string}` | null;
274
- hash: `0x${string}`;
275
- input: `0x${string}`;
276
- transactionIndex: `0x${string}` | null;
277
- typeHex: `0x${string}` | null;
278
- gasPrice: `0x${string}`;
279
- maxFeePerBlobGas?: undefined;
280
- maxFeePerGas?: undefined;
281
- maxPriorityFeePerGas?: undefined;
282
- accessList?: undefined;
283
- blobVersionedHashes?: undefined;
284
- chainId?: `0x${string}` | undefined;
285
- yParity?: undefined;
286
- type: "0x0";
287
- }, "yParity">, "typeHex"> & {
288
- isSystemTx?: undefined;
289
- mint?: undefined;
290
- sourceHash?: undefined;
291
- }) | ({
292
- r?: `0x${string}`;
293
- s?: `0x${string}`;
294
- v?: `0x${string}`;
295
- yParity?: `0x${string}` | undefined;
296
- gasPrice?: `0x${string}` | undefined;
297
- maxFeePerBlobGas?: `0x${string}` | undefined;
298
- maxFeePerGas?: `0x${string}` | undefined;
299
- maxPriorityFeePerGas?: `0x${string}` | undefined;
300
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
301
- to?: `0x${string}` | null;
302
- from?: `0x${string}`;
303
- gas?: `0x${string}`;
304
- nonce?: `0x${string}`;
305
- value?: `0x${string}`;
306
- blockHash?: `0x${string}` | null;
307
- blockNumber?: `0x${string}` | null;
308
- hash?: `0x${string}`;
309
- input?: `0x${string}`;
310
- transactionIndex?: `0x${string}` | null;
311
- accessList?: import("viem").AccessList | undefined;
312
- blobVersionedHashes?: undefined;
313
- chainId?: `0x${string}` | undefined;
314
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
315
- blockHash: `0x${string}` | null;
316
- blockNumber: `0x${string}` | null;
317
- from: `0x${string}`;
318
- gas: `0x${string}`;
319
- hash: `0x${string}`;
320
- input: `0x${string}`;
321
- nonce: `0x${string}`;
322
- r: `0x${string}`;
323
- s: `0x${string}`;
324
- to: `0x${string}` | null;
325
- transactionIndex: `0x${string}` | null;
326
- typeHex: `0x${string}` | null;
327
- v: `0x${string}`;
328
- value: `0x${string}`;
329
- yParity: `0x${string}`;
330
- gasPrice: `0x${string}`;
331
- maxFeePerBlobGas?: undefined;
332
- maxFeePerGas?: undefined;
333
- maxPriorityFeePerGas?: undefined;
334
- accessList: import("viem").AccessList;
335
- blobVersionedHashes?: undefined;
336
- chainId: `0x${string}`;
337
- type: "0x1";
338
- }, "yParity">, "typeHex"> & {
339
- isSystemTx?: undefined;
340
- mint?: undefined;
341
- sourceHash?: undefined;
342
- }) | ({
343
- r?: `0x${string}`;
344
- s?: `0x${string}`;
345
- v?: `0x${string}`;
346
- yParity?: `0x${string}` | undefined;
347
- gasPrice?: `0x${string}` | undefined;
348
- maxFeePerBlobGas?: `0x${string}` | undefined;
349
- maxFeePerGas?: `0x${string}` | undefined;
350
- maxPriorityFeePerGas?: `0x${string}` | undefined;
351
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
352
- to?: `0x${string}` | null;
353
- from?: `0x${string}`;
354
- gas?: `0x${string}`;
355
- nonce?: `0x${string}`;
356
- value?: `0x${string}`;
357
- blockHash?: `0x${string}` | null;
358
- blockNumber?: `0x${string}` | null;
359
- hash?: `0x${string}`;
360
- input?: `0x${string}`;
361
- transactionIndex?: `0x${string}` | null;
362
- accessList?: import("viem").AccessList | undefined;
363
- blobVersionedHashes?: undefined;
364
- chainId?: `0x${string}` | undefined;
365
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
366
- blockHash: `0x${string}` | null;
367
- blockNumber: `0x${string}` | null;
368
- from: `0x${string}`;
369
- gas: `0x${string}`;
370
- hash: `0x${string}`;
371
- input: `0x${string}`;
372
- nonce: `0x${string}`;
373
- r: `0x${string}`;
374
- s: `0x${string}`;
375
- to: `0x${string}` | null;
376
- transactionIndex: `0x${string}` | null;
377
- typeHex: `0x${string}` | null;
378
- v: `0x${string}`;
379
- value: `0x${string}`;
380
- yParity: `0x${string}`;
381
- gasPrice?: undefined;
382
- maxFeePerBlobGas?: undefined;
383
- maxFeePerGas: `0x${string}`;
384
- maxPriorityFeePerGas: `0x${string}`;
385
- accessList: import("viem").AccessList;
386
- blobVersionedHashes?: undefined;
387
- chainId: `0x${string}`;
388
- type: "0x2";
389
- }, "yParity">, "typeHex"> & {
390
- isSystemTx?: undefined;
391
- mint?: undefined;
392
- sourceHash?: undefined;
393
- }) | ({
394
- r?: `0x${string}`;
395
- s?: `0x${string}`;
396
- v?: `0x${string}`;
397
- yParity?: `0x${string}` | undefined;
398
- gasPrice?: `0x${string}` | undefined;
399
- maxFeePerBlobGas?: `0x${string}` | undefined;
400
- maxFeePerGas?: `0x${string}` | undefined;
401
- maxPriorityFeePerGas?: `0x${string}` | undefined;
402
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
403
- to?: `0x${string}` | null;
404
- from?: `0x${string}`;
405
- gas?: `0x${string}`;
406
- nonce?: `0x${string}`;
407
- value?: `0x${string}`;
408
- blockHash?: `0x${string}` | null;
409
- blockNumber?: `0x${string}` | null;
410
- hash?: `0x${string}`;
411
- input?: `0x${string}`;
412
- transactionIndex?: `0x${string}` | null;
413
- accessList?: import("viem").AccessList | undefined;
414
- blobVersionedHashes?: undefined;
415
- chainId?: `0x${string}` | undefined;
416
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
417
- isSystemTx?: boolean | undefined;
418
- mint?: `0x${string}` | undefined;
419
- sourceHash: `0x${string}`;
420
- type: "0x7e";
421
- }) | ({
422
- r?: `0x${string}`;
423
- s?: `0x${string}`;
424
- v?: `0x${string}`;
425
- yParity?: `0x${string}` | undefined;
426
- gasPrice?: `0x${string}` | undefined;
427
- maxFeePerBlobGas?: `0x${string}` | undefined;
428
- maxFeePerGas?: `0x${string}` | undefined;
429
- maxPriorityFeePerGas?: `0x${string}` | undefined;
430
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
431
- to?: `0x${string}` | null;
432
- from?: `0x${string}`;
433
- gas?: `0x${string}`;
434
- nonce?: `0x${string}`;
435
- value?: `0x${string}`;
436
- blockHash?: `0x${string}` | null;
437
- blockNumber?: `0x${string}` | null;
438
- hash?: `0x${string}`;
439
- input?: `0x${string}`;
440
- transactionIndex?: `0x${string}` | null;
441
- accessList?: import("viem").AccessList | undefined;
442
- blobVersionedHashes?: undefined;
443
- chainId?: `0x${string}` | undefined;
444
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
445
- r: `0x${string}`;
446
- s: `0x${string}`;
447
- v: `0x${string}`;
448
- to: `0x${string}` | null;
449
- from: `0x${string}`;
450
- gas: `0x${string}`;
451
- nonce: `0x${string}`;
452
- value: `0x${string}`;
453
- blockHash: `0x${string}` | null;
454
- blockNumber: `0x${string}` | null;
455
- hash: `0x${string}`;
456
- input: `0x${string}`;
457
- transactionIndex: `0x${string}` | null;
458
- typeHex: `0x${string}` | null;
459
- gasPrice: `0x${string}`;
460
- maxFeePerBlobGas?: undefined;
461
- maxFeePerGas?: undefined;
462
- maxPriorityFeePerGas?: undefined;
463
- accessList?: undefined;
464
- blobVersionedHashes?: undefined;
465
- chainId?: `0x${string}` | undefined;
466
- yParity?: undefined;
467
- type: "0x0";
468
- }, "yParity">, "typeHex"> & {
469
- isSystemTx?: undefined;
470
- mint?: undefined;
471
- sourceHash?: undefined;
472
- }) | ({
473
- r?: `0x${string}`;
474
- s?: `0x${string}`;
475
- v?: `0x${string}`;
476
- yParity?: `0x${string}` | undefined;
477
- gasPrice?: `0x${string}` | undefined;
478
- maxFeePerBlobGas?: `0x${string}` | undefined;
479
- maxFeePerGas?: `0x${string}` | undefined;
480
- maxPriorityFeePerGas?: `0x${string}` | undefined;
481
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
482
- to?: `0x${string}` | null;
483
- from?: `0x${string}`;
484
- gas?: `0x${string}`;
485
- nonce?: `0x${string}`;
486
- value?: `0x${string}`;
487
- blockHash?: `0x${string}` | null;
488
- blockNumber?: `0x${string}` | null;
489
- hash?: `0x${string}`;
490
- input?: `0x${string}`;
491
- transactionIndex?: `0x${string}` | null;
492
- accessList?: import("viem").AccessList | undefined;
493
- blobVersionedHashes?: undefined;
494
- chainId?: `0x${string}` | undefined;
495
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
496
- blockHash: `0x${string}` | null;
497
- blockNumber: `0x${string}` | null;
498
- from: `0x${string}`;
499
- gas: `0x${string}`;
500
- hash: `0x${string}`;
501
- input: `0x${string}`;
502
- nonce: `0x${string}`;
503
- r: `0x${string}`;
504
- s: `0x${string}`;
505
- to: `0x${string}` | null;
506
- transactionIndex: `0x${string}` | null;
507
- typeHex: `0x${string}` | null;
508
- v: `0x${string}`;
509
- value: `0x${string}`;
510
- yParity: `0x${string}`;
511
- gasPrice: `0x${string}`;
512
- maxFeePerBlobGas?: undefined;
513
- maxFeePerGas?: undefined;
514
- maxPriorityFeePerGas?: undefined;
515
- accessList: import("viem").AccessList;
516
- blobVersionedHashes?: undefined;
517
- chainId: `0x${string}`;
518
- type: "0x1";
519
- }, "yParity">, "typeHex"> & {
520
- isSystemTx?: undefined;
521
- mint?: undefined;
522
- sourceHash?: undefined;
523
- }) | ({
524
- r?: `0x${string}`;
525
- s?: `0x${string}`;
526
- v?: `0x${string}`;
527
- yParity?: `0x${string}` | undefined;
528
- gasPrice?: `0x${string}` | undefined;
529
- maxFeePerBlobGas?: `0x${string}` | undefined;
530
- maxFeePerGas?: `0x${string}` | undefined;
531
- maxPriorityFeePerGas?: `0x${string}` | undefined;
532
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
533
- to?: `0x${string}` | null;
534
- from?: `0x${string}`;
535
- gas?: `0x${string}`;
536
- nonce?: `0x${string}`;
537
- value?: `0x${string}`;
538
- blockHash?: `0x${string}` | null;
539
- blockNumber?: `0x${string}` | null;
540
- hash?: `0x${string}`;
541
- input?: `0x${string}`;
542
- transactionIndex?: `0x${string}` | null;
543
- accessList?: import("viem").AccessList | undefined;
544
- blobVersionedHashes?: undefined;
545
- chainId?: `0x${string}` | undefined;
546
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
547
- blockHash: `0x${string}` | null;
548
- blockNumber: `0x${string}` | null;
549
- from: `0x${string}`;
550
- gas: `0x${string}`;
551
- hash: `0x${string}`;
552
- input: `0x${string}`;
553
- nonce: `0x${string}`;
554
- r: `0x${string}`;
555
- s: `0x${string}`;
556
- to: `0x${string}` | null;
557
- transactionIndex: `0x${string}` | null;
558
- typeHex: `0x${string}` | null;
559
- v: `0x${string}`;
560
- value: `0x${string}`;
561
- yParity: `0x${string}`;
562
- gasPrice?: undefined;
563
- maxFeePerBlobGas?: undefined;
564
- maxFeePerGas: `0x${string}`;
565
- maxPriorityFeePerGas: `0x${string}`;
566
- accessList: import("viem").AccessList;
567
- blobVersionedHashes?: undefined;
568
- chainId: `0x${string}`;
569
- type: "0x2";
570
- }, "yParity">, "typeHex"> & {
571
- isSystemTx?: undefined;
572
- mint?: undefined;
573
- sourceHash?: undefined;
574
- }) | ({
575
- r?: `0x${string}`;
576
- s?: `0x${string}`;
577
- v?: `0x${string}`;
578
- yParity?: `0x${string}` | undefined;
579
- gasPrice?: `0x${string}` | undefined;
580
- maxFeePerBlobGas?: `0x${string}` | undefined;
581
- maxFeePerGas?: `0x${string}` | undefined;
582
- maxPriorityFeePerGas?: `0x${string}` | undefined;
583
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
584
- to?: `0x${string}` | null;
585
- from?: `0x${string}`;
586
- gas?: `0x${string}`;
587
- nonce?: `0x${string}`;
588
- value?: `0x${string}`;
589
- blockHash?: `0x${string}` | null;
590
- blockNumber?: `0x${string}` | null;
591
- hash?: `0x${string}`;
592
- input?: `0x${string}`;
593
- transactionIndex?: `0x${string}` | null;
594
- accessList?: import("viem").AccessList | undefined;
595
- blobVersionedHashes?: undefined;
596
- chainId?: `0x${string}` | undefined;
597
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
598
- isSystemTx?: boolean | undefined;
599
- mint?: `0x${string}` | undefined;
600
- sourceHash: `0x${string}`;
601
- type: "0x7e";
602
- }) | ({
603
- r?: `0x${string}`;
604
- s?: `0x${string}`;
605
- v?: `0x${string}`;
606
- yParity?: `0x${string}` | undefined;
607
- gasPrice?: `0x${string}` | undefined;
608
- maxFeePerBlobGas?: `0x${string}` | undefined;
609
- maxFeePerGas?: `0x${string}` | undefined;
610
- maxPriorityFeePerGas?: `0x${string}` | undefined;
611
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
612
- to?: `0x${string}` | null;
613
- from?: `0x${string}`;
614
- gas?: `0x${string}`;
615
- nonce?: `0x${string}`;
616
- value?: `0x${string}`;
617
- blockHash?: `0x${string}` | null;
618
- blockNumber?: `0x${string}` | null;
619
- hash?: `0x${string}`;
620
- input?: `0x${string}`;
621
- transactionIndex?: `0x${string}` | null;
622
- accessList?: import("viem").AccessList | undefined;
623
- blobVersionedHashes?: `0x${string}`[] | undefined;
624
- chainId?: `0x${string}` | undefined;
625
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
626
- r: `0x${string}`;
627
- s: `0x${string}`;
628
- v: `0x${string}`;
629
- to: `0x${string}` | null;
630
- from: `0x${string}`;
631
- gas: `0x${string}`;
632
- nonce: `0x${string}`;
633
- value: `0x${string}`;
634
- blockHash: `0x${string}` | null;
635
- blockNumber: `0x${string}` | null;
636
- hash: `0x${string}`;
637
- input: `0x${string}`;
638
- transactionIndex: `0x${string}` | null;
639
- typeHex: `0x${string}` | null;
640
- gasPrice: `0x${string}`;
641
- maxFeePerBlobGas?: undefined;
642
- maxFeePerGas?: undefined;
643
- maxPriorityFeePerGas?: undefined;
644
- accessList?: undefined;
645
- blobVersionedHashes?: undefined;
646
- chainId?: `0x${string}` | undefined;
647
- yParity?: undefined;
648
- type: "0x0";
649
- }, "yParity">, "typeHex"> & {
650
- isSystemTx?: undefined;
651
- mint?: undefined;
652
- sourceHash?: undefined;
653
- }) | ({
654
- r?: `0x${string}`;
655
- s?: `0x${string}`;
656
- v?: `0x${string}`;
657
- yParity?: `0x${string}` | undefined;
658
- gasPrice?: `0x${string}` | undefined;
659
- maxFeePerBlobGas?: `0x${string}` | undefined;
660
- maxFeePerGas?: `0x${string}` | undefined;
661
- maxPriorityFeePerGas?: `0x${string}` | undefined;
662
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
663
- to?: `0x${string}` | null;
664
- from?: `0x${string}`;
665
- gas?: `0x${string}`;
666
- nonce?: `0x${string}`;
667
- value?: `0x${string}`;
668
- blockHash?: `0x${string}` | null;
669
- blockNumber?: `0x${string}` | null;
670
- hash?: `0x${string}`;
671
- input?: `0x${string}`;
672
- transactionIndex?: `0x${string}` | null;
673
- accessList?: import("viem").AccessList | undefined;
674
- blobVersionedHashes?: `0x${string}`[] | undefined;
675
- chainId?: `0x${string}` | undefined;
676
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
677
- blockHash: `0x${string}` | null;
678
- blockNumber: `0x${string}` | null;
679
- from: `0x${string}`;
680
- gas: `0x${string}`;
681
- hash: `0x${string}`;
682
- input: `0x${string}`;
683
- nonce: `0x${string}`;
684
- r: `0x${string}`;
685
- s: `0x${string}`;
686
- to: `0x${string}` | null;
687
- transactionIndex: `0x${string}` | null;
688
- typeHex: `0x${string}` | null;
689
- v: `0x${string}`;
690
- value: `0x${string}`;
691
- yParity: `0x${string}`;
692
- gasPrice: `0x${string}`;
693
- maxFeePerBlobGas?: undefined;
694
- maxFeePerGas?: undefined;
695
- maxPriorityFeePerGas?: undefined;
696
- accessList: import("viem").AccessList;
697
- blobVersionedHashes?: undefined;
698
- chainId: `0x${string}`;
699
- type: "0x1";
700
- }, "yParity">, "typeHex"> & {
701
- isSystemTx?: undefined;
702
- mint?: undefined;
703
- sourceHash?: undefined;
704
- }) | ({
705
- r?: `0x${string}`;
706
- s?: `0x${string}`;
707
- v?: `0x${string}`;
708
- yParity?: `0x${string}` | undefined;
709
- gasPrice?: `0x${string}` | undefined;
710
- maxFeePerBlobGas?: `0x${string}` | undefined;
711
- maxFeePerGas?: `0x${string}` | undefined;
712
- maxPriorityFeePerGas?: `0x${string}` | undefined;
713
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
714
- to?: `0x${string}` | null;
715
- from?: `0x${string}`;
716
- gas?: `0x${string}`;
717
- nonce?: `0x${string}`;
718
- value?: `0x${string}`;
719
- blockHash?: `0x${string}` | null;
720
- blockNumber?: `0x${string}` | null;
721
- hash?: `0x${string}`;
722
- input?: `0x${string}`;
723
- transactionIndex?: `0x${string}` | null;
724
- accessList?: import("viem").AccessList | undefined;
725
- blobVersionedHashes?: `0x${string}`[] | undefined;
726
- chainId?: `0x${string}` | undefined;
727
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
160
+ format: (args: import("viem/chains").OpStackRpcTransaction) => ({
728
161
  blockHash: `0x${string}` | null;
729
- blockNumber: `0x${string}` | null;
730
- from: `0x${string}`;
731
- gas: `0x${string}`;
732
- hash: `0x${string}`;
733
- input: `0x${string}`;
734
- nonce: `0x${string}`;
735
- r: `0x${string}`;
736
- s: `0x${string}`;
737
- to: `0x${string}` | null;
738
- transactionIndex: `0x${string}` | null;
739
- typeHex: `0x${string}` | null;
740
- v: `0x${string}`;
741
- value: `0x${string}`;
742
- yParity: `0x${string}`;
162
+ blockNumber: bigint | null;
163
+ from: import("viem").Address;
164
+ gas: bigint;
165
+ hash: import("viem").Hash;
166
+ input: import("viem").Hex;
167
+ nonce: number;
168
+ r: import("viem").Hex;
169
+ s: import("viem").Hex;
170
+ to: import("viem").Address | null;
171
+ transactionIndex: number | null;
172
+ typeHex: import("viem").Hex | null;
173
+ v: bigint;
174
+ value: bigint;
175
+ yParity: number;
743
176
  gasPrice?: undefined;
744
177
  maxFeePerBlobGas?: undefined;
745
- maxFeePerGas: `0x${string}`;
746
- maxPriorityFeePerGas: `0x${string}`;
747
- accessList: import("viem").AccessList;
748
- blobVersionedHashes?: undefined;
749
- chainId: `0x${string}`;
750
- type: "0x2";
751
- }, "yParity">, "typeHex"> & {
752
- isSystemTx?: undefined;
753
- mint?: undefined;
754
- sourceHash?: undefined;
755
- }) | ({
756
- r?: `0x${string}`;
757
- s?: `0x${string}`;
758
- v?: `0x${string}`;
759
- yParity?: `0x${string}` | undefined;
760
- gasPrice?: `0x${string}` | undefined;
761
- maxFeePerBlobGas?: `0x${string}` | undefined;
762
- maxFeePerGas?: `0x${string}` | undefined;
763
- maxPriorityFeePerGas?: `0x${string}` | undefined;
764
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
765
- to?: `0x${string}` | null;
766
- from?: `0x${string}`;
767
- gas?: `0x${string}`;
768
- nonce?: `0x${string}`;
769
- value?: `0x${string}`;
770
- blockHash?: `0x${string}` | null;
771
- blockNumber?: `0x${string}` | null;
772
- hash?: `0x${string}`;
773
- input?: `0x${string}`;
774
- transactionIndex?: `0x${string}` | null;
775
- accessList?: import("viem").AccessList | undefined;
776
- blobVersionedHashes?: `0x${string}`[] | undefined;
777
- chainId?: `0x${string}` | undefined;
778
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
779
- blockHash: `0x${string}` | null;
780
- blockNumber: `0x${string}` | null;
781
- from: `0x${string}`;
782
- gas: `0x${string}`;
783
- hash: `0x${string}`;
784
- input: `0x${string}`;
785
- nonce: `0x${string}`;
786
- r: `0x${string}`;
787
- s: `0x${string}`;
788
- to: `0x${string}` | null;
789
- transactionIndex: `0x${string}` | null;
790
- typeHex: `0x${string}` | null;
791
- v: `0x${string}`;
792
- value: `0x${string}`;
793
- yParity: `0x${string}`;
794
- gasPrice?: undefined;
795
- maxFeePerBlobGas: `0x${string}`;
796
- maxFeePerGas: `0x${string}`;
797
- maxPriorityFeePerGas: `0x${string}`;
798
- accessList: import("viem").AccessList;
799
- blobVersionedHashes: `0x${string}`[];
800
- chainId: `0x${string}`;
801
- type: "0x3";
802
- }, "yParity">, "typeHex"> & {
803
- isSystemTx?: undefined;
804
- mint?: undefined;
805
- sourceHash?: undefined;
806
- }) | ({
807
- r?: `0x${string}`;
808
- s?: `0x${string}`;
809
- v?: `0x${string}`;
810
- yParity?: `0x${string}` | undefined;
811
- gasPrice?: `0x${string}` | undefined;
812
- maxFeePerBlobGas?: `0x${string}` | undefined;
813
- maxFeePerGas?: `0x${string}` | undefined;
814
- maxPriorityFeePerGas?: `0x${string}` | undefined;
815
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
816
- to?: `0x${string}` | null;
817
- from?: `0x${string}`;
818
- gas?: `0x${string}`;
819
- nonce?: `0x${string}`;
820
- value?: `0x${string}`;
821
- blockHash?: `0x${string}` | null;
822
- blockNumber?: `0x${string}` | null;
823
- hash?: `0x${string}`;
824
- input?: `0x${string}`;
825
- transactionIndex?: `0x${string}` | null;
826
- accessList?: import("viem").AccessList | undefined;
827
- blobVersionedHashes?: `0x${string}`[] | undefined;
828
- chainId?: `0x${string}` | undefined;
829
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
830
- isSystemTx?: boolean | undefined;
831
- mint?: `0x${string}` | undefined;
832
- sourceHash: `0x${string}`;
833
- type: "0x7e";
834
- })) => ({
835
- r: `0x${string}`;
836
- s: `0x${string}`;
178
+ maxFeePerGas: bigint;
179
+ maxPriorityFeePerGas: bigint;
180
+ isSystemTx?: boolean;
181
+ mint?: bigint | undefined;
182
+ sourceHash: import("viem").Hex;
183
+ type: "deposit";
184
+ } | {
185
+ r: import("viem").Hex;
186
+ s: import("viem").Hex;
837
187
  v: bigint;
838
- to: `0x${string}` | null;
839
- from: `0x${string}`;
188
+ to: import("viem").Address | null;
189
+ from: import("viem").Address;
840
190
  gas: bigint;
841
191
  nonce: number;
842
192
  value: bigint;
843
193
  blockHash: `0x${string}` | null;
844
194
  blockNumber: bigint | null;
845
- hash: `0x${string}`;
846
- input: `0x${string}`;
195
+ hash: import("viem").Hash;
196
+ input: import("viem").Hex;
847
197
  transactionIndex: number | null;
848
- typeHex: `0x${string}` | null;
849
- gasPrice: bigint;
850
- maxFeePerBlobGas?: undefined;
851
- maxFeePerGas?: undefined;
852
- maxPriorityFeePerGas?: undefined;
198
+ typeHex: import("viem").Hex | null;
853
199
  accessList?: undefined;
854
200
  blobVersionedHashes?: undefined;
855
201
  chainId?: number | undefined;
856
202
  yParity?: undefined;
857
203
  type: "legacy";
204
+ gasPrice: bigint;
205
+ maxFeePerBlobGas?: undefined;
206
+ maxFeePerGas?: undefined;
207
+ maxPriorityFeePerGas?: undefined;
858
208
  isSystemTx?: undefined;
859
209
  mint?: undefined;
860
210
  sourceHash?: undefined;
861
- } | {
862
- r: `0x${string}`;
863
- s: `0x${string}`;
864
- v: bigint;
865
- to: `0x${string}` | null;
866
- from: `0x${string}`;
867
- gas: bigint;
868
- nonce: number;
869
- value: bigint;
870
- blockHash: `0x${string}` | null;
871
- blockNumber: bigint | null;
872
- hash: `0x${string}`;
873
- input: `0x${string}`;
874
- transactionIndex: number | null;
875
- typeHex: `0x${string}` | null;
876
- gasPrice: undefined;
877
- maxFeePerBlobGas?: undefined;
878
- maxFeePerGas: bigint;
879
- maxPriorityFeePerGas: bigint;
880
- accessList?: undefined;
881
- blobVersionedHashes?: undefined;
882
- chainId?: number | undefined;
883
- yParity: number;
884
- type: "deposit";
885
- isSystemTx?: boolean;
886
- mint?: bigint | undefined;
887
- sourceHash: `0x${string}`;
888
211
  } | {
889
212
  blockHash: `0x${string}` | null;
890
213
  blockNumber: bigint | null;
891
- from: `0x${string}`;
214
+ from: import("viem").Address;
892
215
  gas: bigint;
893
- hash: `0x${string}`;
894
- input: `0x${string}`;
216
+ hash: import("viem").Hash;
217
+ input: import("viem").Hex;
895
218
  nonce: number;
896
- r: `0x${string}`;
897
- s: `0x${string}`;
898
- to: `0x${string}` | null;
219
+ r: import("viem").Hex;
220
+ s: import("viem").Hex;
221
+ to: import("viem").Address | null;
899
222
  transactionIndex: number | null;
900
- typeHex: `0x${string}` | null;
223
+ typeHex: import("viem").Hex | null;
901
224
  v: bigint;
902
225
  value: bigint;
903
226
  yParity: number;
904
- gasPrice: bigint;
905
- maxFeePerBlobGas?: undefined;
906
- maxFeePerGas?: undefined;
907
- maxPriorityFeePerGas?: undefined;
908
227
  accessList: import("viem").AccessList;
909
228
  blobVersionedHashes?: undefined;
910
229
  chainId: number;
911
230
  type: "eip2930";
231
+ gasPrice: bigint;
232
+ maxFeePerBlobGas?: undefined;
233
+ maxFeePerGas?: undefined;
234
+ maxPriorityFeePerGas?: undefined;
912
235
  isSystemTx?: undefined;
913
236
  mint?: undefined;
914
237
  sourceHash?: undefined;
915
238
  } | {
916
239
  blockHash: `0x${string}` | null;
917
240
  blockNumber: bigint | null;
918
- from: `0x${string}`;
241
+ from: import("viem").Address;
919
242
  gas: bigint;
920
- hash: `0x${string}`;
921
- input: `0x${string}`;
243
+ hash: import("viem").Hash;
244
+ input: import("viem").Hex;
922
245
  nonce: number;
923
- r: `0x${string}`;
924
- s: `0x${string}`;
925
- to: `0x${string}` | null;
246
+ r: import("viem").Hex;
247
+ s: import("viem").Hex;
248
+ to: import("viem").Address | null;
926
249
  transactionIndex: number | null;
927
- typeHex: `0x${string}` | null;
250
+ typeHex: import("viem").Hex | null;
928
251
  v: bigint;
929
252
  value: bigint;
930
253
  yParity: number;
931
- gasPrice: undefined;
932
- maxFeePerBlobGas?: undefined;
933
- maxFeePerGas: bigint;
934
- maxPriorityFeePerGas: bigint;
935
254
  accessList: import("viem").AccessList;
936
255
  blobVersionedHashes?: undefined;
937
256
  chainId: number;
938
257
  type: "eip1559";
258
+ gasPrice?: undefined;
259
+ maxFeePerBlobGas?: undefined;
260
+ maxFeePerGas: bigint;
261
+ maxPriorityFeePerGas: bigint;
939
262
  isSystemTx?: undefined;
940
263
  mint?: undefined;
941
264
  sourceHash?: undefined;
942
265
  } | {
943
266
  blockHash: `0x${string}` | null;
944
267
  blockNumber: bigint | null;
945
- from: `0x${string}`;
268
+ from: import("viem").Address;
946
269
  gas: bigint;
947
- hash: `0x${string}`;
948
- input: `0x${string}`;
270
+ hash: import("viem").Hash;
271
+ input: import("viem").Hex;
949
272
  nonce: number;
950
- r: `0x${string}`;
951
- s: `0x${string}`;
952
- to: `0x${string}` | null;
273
+ r: import("viem").Hex;
274
+ s: import("viem").Hex;
275
+ to: import("viem").Address | null;
953
276
  transactionIndex: number | null;
954
- typeHex: `0x${string}` | null;
277
+ typeHex: import("viem").Hex | null;
955
278
  v: bigint;
956
279
  value: bigint;
957
280
  yParity: number;
958
- gasPrice: undefined;
959
- maxFeePerBlobGas?: undefined;
960
- maxFeePerGas: bigint;
961
- maxPriorityFeePerGas: bigint;
962
281
  accessList: import("viem").AccessList;
963
- blobVersionedHashes?: undefined;
282
+ blobVersionedHashes: readonly import("viem").Hex[];
964
283
  chainId: number;
965
- type: "deposit";
966
- isSystemTx?: boolean;
967
- mint?: bigint | undefined;
968
- sourceHash: `0x${string}`;
969
- } | {
970
- blockHash: `0x${string}` | null;
971
- blockNumber: bigint | null;
972
- from: `0x${string}`;
973
- gas: bigint;
974
- hash: `0x${string}`;
975
- input: `0x${string}`;
976
- nonce: number;
977
- r: `0x${string}`;
978
- s: `0x${string}`;
979
- to: `0x${string}` | null;
980
- transactionIndex: number | null;
981
- typeHex: `0x${string}` | null;
982
- v: bigint;
983
- value: bigint;
984
- yParity: number;
985
- gasPrice: bigint;
986
- maxFeePerBlobGas?: undefined;
987
- maxFeePerGas: undefined;
988
- maxPriorityFeePerGas: undefined;
989
- accessList: import("viem").AccessList;
990
- blobVersionedHashes?: undefined;
991
- chainId: number;
992
- type: "eip2930";
993
- isSystemTx?: undefined;
994
- mint?: undefined;
995
- sourceHash?: undefined;
996
- } | {
997
- blockHash: `0x${string}` | null;
998
- blockNumber: bigint | null;
999
- from: `0x${string}`;
1000
- gas: bigint;
1001
- hash: `0x${string}`;
1002
- input: `0x${string}`;
1003
- nonce: number;
1004
- r: `0x${string}`;
1005
- s: `0x${string}`;
1006
- to: `0x${string}` | null;
1007
- transactionIndex: number | null;
1008
- typeHex: `0x${string}` | null;
1009
- v: bigint;
1010
- value: bigint;
1011
- yParity: number;
1012
- gasPrice?: undefined;
1013
- maxFeePerBlobGas?: undefined;
1014
- maxFeePerGas: bigint;
1015
- maxPriorityFeePerGas: bigint;
1016
- accessList: import("viem").AccessList;
1017
- blobVersionedHashes?: undefined;
1018
- chainId: number;
1019
- type: "eip1559";
1020
- isSystemTx?: undefined;
1021
- mint?: undefined;
1022
- sourceHash?: undefined;
1023
- } | {
1024
- blockHash: `0x${string}` | null;
1025
- blockNumber: bigint | null;
1026
- from: `0x${string}`;
1027
- gas: bigint;
1028
- hash: `0x${string}`;
1029
- input: `0x${string}`;
1030
- nonce: number;
1031
- r: `0x${string}`;
1032
- s: `0x${string}`;
1033
- to: `0x${string}` | null;
1034
- transactionIndex: number | null;
1035
- typeHex: `0x${string}` | null;
1036
- v: bigint;
1037
- value: bigint;
1038
- yParity: number;
1039
- gasPrice?: undefined;
1040
- maxFeePerBlobGas?: undefined;
1041
- maxFeePerGas: bigint;
1042
- maxPriorityFeePerGas: bigint;
1043
- accessList: import("viem").AccessList;
1044
- blobVersionedHashes?: undefined;
1045
- chainId: number;
1046
- type: "deposit";
1047
- isSystemTx?: boolean;
1048
- mint?: bigint | undefined;
1049
- sourceHash: `0x${string}`;
1050
- } | {
1051
- blockHash: `0x${string}` | null;
1052
- blockNumber: bigint | null;
1053
- from: `0x${string}`;
1054
- gas: bigint;
1055
- hash: `0x${string}`;
1056
- input: `0x${string}`;
1057
- nonce: number;
1058
- r: `0x${string}`;
1059
- s: `0x${string}`;
1060
- to: `0x${string}` | null;
1061
- transactionIndex: number | null;
1062
- typeHex: `0x${string}` | null;
1063
- v: bigint;
1064
- value: bigint;
1065
- yParity: number;
284
+ type: "eip4844";
1066
285
  gasPrice?: undefined;
1067
286
  maxFeePerBlobGas: bigint;
1068
287
  maxFeePerGas: bigint;
1069
288
  maxPriorityFeePerGas: bigint;
1070
- accessList: import("viem").AccessList;
1071
- blobVersionedHashes: `0x${string}`[];
1072
- chainId: number;
1073
- type: "eip4844";
1074
289
  isSystemTx?: undefined;
1075
290
  mint?: undefined;
1076
291
  sourceHash?: undefined;
1077
- } | {
1078
- blockHash: `0x${string}` | null;
1079
- blockNumber: bigint | null;
1080
- from: `0x${string}`;
1081
- gas: bigint;
1082
- hash: `0x${string}`;
1083
- input: `0x${string}`;
1084
- nonce: number;
1085
- r: `0x${string}`;
1086
- s: `0x${string}`;
1087
- to: `0x${string}` | null;
1088
- transactionIndex: number | null;
1089
- typeHex: `0x${string}` | null;
1090
- v: bigint;
1091
- value: bigint;
1092
- yParity: number;
1093
- gasPrice?: undefined;
1094
- maxFeePerBlobGas: undefined;
1095
- maxFeePerGas: bigint;
1096
- maxPriorityFeePerGas: bigint;
1097
- accessList: import("viem").AccessList;
1098
- blobVersionedHashes: `0x${string}`[];
1099
- chainId: number;
1100
- type: "deposit";
1101
- isSystemTx?: boolean;
1102
- mint?: bigint | undefined;
1103
- sourceHash: `0x${string}`;
1104
292
  }) & {};
1105
293
  type: "transaction";
1106
294
  };
1107
295
  readonly transactionReceipt: {
1108
296
  exclude: [] | undefined;
1109
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcTransactionReceipt>, import("viem/chains").OpStackRpcTransactionReceiptOverrides>) => {
297
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
1110
298
  blobGasPrice?: bigint | undefined;
1111
299
  blobGasUsed?: bigint | undefined;
1112
- blockHash: `0x${string}`;
300
+ blockHash: import("viem").Hash;
1113
301
  blockNumber: bigint;
1114
- contractAddress: `0x${string}` | null | undefined;
302
+ contractAddress: import("viem").Address | null | undefined;
1115
303
  cumulativeGasUsed: bigint;
1116
304
  effectiveGasPrice: bigint;
1117
- from: `0x${string}`;
305
+ from: import("viem").Address;
1118
306
  gasUsed: bigint;
1119
307
  logs: import("viem").Log<bigint, number, false>[];
1120
- logsBloom: `0x${string}`;
1121
- root?: `0x${string}` | undefined;
308
+ logsBloom: import("viem").Hex;
309
+ root?: import("viem").Hash | undefined;
1122
310
  status: "success" | "reverted";
1123
- to: `0x${string}` | null;
1124
- transactionHash: `0x${string}`;
311
+ to: import("viem").Address | null;
312
+ transactionHash: import("viem").Hash;
1125
313
  transactionIndex: number;
1126
314
  type: import("viem").TransactionType;
1127
315
  l1GasPrice: bigint | null;
@@ -1135,7 +323,6 @@ export declare const getDefaultChains: () => ({
1135
323
  serializers: {
1136
324
  readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1137
325
  };
1138
- fees?: import("viem").ChainFees<undefined> | undefined;
1139
326
  } | {
1140
327
  blockExplorers: {
1141
328
  readonly default: {
@@ -1165,9 +352,9 @@ export declare const getDefaultChains: () => ({
1165
352
  sourceId?: number | undefined;
1166
353
  testnet?: boolean | undefined;
1167
354
  custom?: Record<string, unknown> | undefined;
1168
- formatters?: undefined;
1169
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
1170
355
  fees?: import("viem").ChainFees<undefined> | undefined;
356
+ formatters?: undefined;
357
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1171
358
  } | {
1172
359
  blockExplorers: {
1173
360
  readonly default: {
@@ -1197,9 +384,9 @@ export declare const getDefaultChains: () => ({
1197
384
  sourceId?: number | undefined;
1198
385
  testnet?: boolean | undefined;
1199
386
  custom?: Record<string, unknown> | undefined;
1200
- formatters?: undefined;
1201
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
1202
387
  fees?: import("viem").ChainFees<undefined> | undefined;
388
+ formatters?: undefined;
389
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1203
390
  } | {
1204
391
  blockExplorers: {
1205
392
  readonly default: {
@@ -1209,6 +396,11 @@ export declare const getDefaultChains: () => ({
1209
396
  };
1210
397
  };
1211
398
  contracts: {
399
+ readonly disputeGameFactory: {
400
+ readonly 1: {
401
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
402
+ };
403
+ };
1212
404
  readonly l2OutputOracle: {
1213
405
  readonly 1: {
1214
406
  readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
@@ -1262,1007 +454,195 @@ export declare const getDefaultChains: () => ({
1262
454
  sourceId: 1;
1263
455
  testnet?: boolean | undefined;
1264
456
  custom?: Record<string, unknown> | undefined;
457
+ fees?: import("viem").ChainFees<undefined> | undefined;
1265
458
  formatters: {
1266
459
  readonly block: {
1267
460
  exclude: [] | undefined;
1268
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcBlock>, import("viem/chains").OpStackRpcBlockOverrides & {
1269
- transactions: `0x${string}`[] | import("viem/chains").OpStackRpcTransaction[];
1270
- }>) => {
461
+ format: (args: import("viem/chains").OpStackRpcBlock) => {
1271
462
  baseFeePerGas: bigint | null;
1272
463
  blobGasUsed: bigint;
1273
464
  difficulty: bigint;
1274
465
  excessBlobGas: bigint;
1275
- extraData: `0x${string}`;
466
+ extraData: import("viem").Hex;
1276
467
  gasLimit: bigint;
1277
468
  gasUsed: bigint;
1278
469
  hash: `0x${string}` | null;
1279
470
  logsBloom: `0x${string}` | null;
1280
- miner: `0x${string}`;
1281
- mixHash: `0x${string}`;
471
+ miner: import("viem").Address;
472
+ mixHash: import("viem").Hash;
1282
473
  nonce: `0x${string}` | null;
1283
474
  number: bigint | null;
1284
- parentHash: `0x${string}`;
1285
- receiptsRoot: `0x${string}`;
1286
- sealFields: `0x${string}`[];
1287
- sha3Uncles: `0x${string}`;
475
+ parentHash: import("viem").Hash;
476
+ receiptsRoot: import("viem").Hex;
477
+ sealFields: import("viem").Hex[];
478
+ sha3Uncles: import("viem").Hash;
1288
479
  size: bigint;
1289
- stateRoot: `0x${string}`;
480
+ stateRoot: import("viem").Hash;
1290
481
  timestamp: bigint;
1291
482
  totalDifficulty: bigint | null;
1292
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction[];
1293
- transactionsRoot: `0x${string}`;
1294
- uncles: `0x${string}`[];
483
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
484
+ transactionsRoot: import("viem").Hash;
485
+ uncles: import("viem").Hash[];
1295
486
  withdrawals?: import("viem").Withdrawal[] | undefined;
1296
- withdrawalsRoot?: `0x${string}` | undefined;
487
+ withdrawalsRoot?: import("viem").Hex | undefined;
1297
488
  } & {};
1298
489
  type: "block";
1299
490
  };
1300
491
  readonly transaction: {
1301
492
  exclude: [] | undefined;
1302
- format: (args: ({
1303
- r?: `0x${string}`;
1304
- s?: `0x${string}`;
1305
- v?: `0x${string}`;
1306
- yParity?: `0x${string}` | undefined;
1307
- gasPrice?: `0x${string}` | undefined;
1308
- maxFeePerBlobGas?: `0x${string}` | undefined;
1309
- maxFeePerGas?: `0x${string}` | undefined;
1310
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1311
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1312
- to?: `0x${string}` | null;
1313
- from?: `0x${string}`;
1314
- gas?: `0x${string}`;
1315
- nonce?: `0x${string}`;
1316
- value?: `0x${string}`;
1317
- blockHash?: `0x${string}` | null;
1318
- blockNumber?: `0x${string}` | null;
1319
- hash?: `0x${string}`;
1320
- input?: `0x${string}`;
1321
- transactionIndex?: `0x${string}` | null;
1322
- accessList?: undefined;
1323
- blobVersionedHashes?: undefined;
1324
- chainId?: `0x${string}` | undefined;
1325
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1326
- r: `0x${string}`;
1327
- s: `0x${string}`;
1328
- v: `0x${string}`;
1329
- to: `0x${string}` | null;
1330
- from: `0x${string}`;
1331
- gas: `0x${string}`;
1332
- nonce: `0x${string}`;
1333
- value: `0x${string}`;
493
+ format: (args: import("viem/chains").OpStackRpcTransaction) => ({
1334
494
  blockHash: `0x${string}` | null;
1335
- blockNumber: `0x${string}` | null;
1336
- hash: `0x${string}`;
1337
- input: `0x${string}`;
1338
- transactionIndex: `0x${string}` | null;
1339
- typeHex: `0x${string}` | null;
1340
- gasPrice: `0x${string}`;
495
+ blockNumber: bigint | null;
496
+ from: import("viem").Address;
497
+ gas: bigint;
498
+ hash: import("viem").Hash;
499
+ input: import("viem").Hex;
500
+ nonce: number;
501
+ r: import("viem").Hex;
502
+ s: import("viem").Hex;
503
+ to: import("viem").Address | null;
504
+ transactionIndex: number | null;
505
+ typeHex: import("viem").Hex | null;
506
+ v: bigint;
507
+ value: bigint;
508
+ yParity: number;
509
+ gasPrice?: undefined;
1341
510
  maxFeePerBlobGas?: undefined;
1342
- maxFeePerGas?: undefined;
1343
- maxPriorityFeePerGas?: undefined;
1344
- accessList?: undefined;
1345
- blobVersionedHashes?: undefined;
1346
- chainId?: `0x${string}` | undefined;
1347
- yParity?: undefined;
1348
- type: "0x0";
1349
- }, "yParity">, "typeHex"> & {
1350
- isSystemTx?: undefined;
1351
- mint?: undefined;
1352
- sourceHash?: undefined;
1353
- }) | ({
1354
- r?: `0x${string}`;
1355
- s?: `0x${string}`;
1356
- v?: `0x${string}`;
1357
- yParity?: `0x${string}` | undefined;
1358
- gasPrice?: `0x${string}` | undefined;
1359
- maxFeePerBlobGas?: `0x${string}` | undefined;
1360
- maxFeePerGas?: `0x${string}` | undefined;
1361
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1362
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1363
- to?: `0x${string}` | null;
1364
- from?: `0x${string}`;
1365
- gas?: `0x${string}`;
1366
- nonce?: `0x${string}`;
1367
- value?: `0x${string}`;
1368
- blockHash?: `0x${string}` | null;
1369
- blockNumber?: `0x${string}` | null;
1370
- hash?: `0x${string}`;
1371
- input?: `0x${string}`;
1372
- transactionIndex?: `0x${string}` | null;
1373
- accessList?: undefined;
1374
- blobVersionedHashes?: undefined;
1375
- chainId?: `0x${string}` | undefined;
1376
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1377
- isSystemTx?: boolean | undefined;
1378
- mint?: `0x${string}` | undefined;
1379
- sourceHash: `0x${string}`;
1380
- type: "0x7e";
1381
- }) | ({
1382
- r?: `0x${string}`;
1383
- s?: `0x${string}`;
1384
- v?: `0x${string}`;
1385
- yParity?: `0x${string}` | undefined;
1386
- gasPrice?: `0x${string}` | undefined;
1387
- maxFeePerBlobGas?: `0x${string}` | undefined;
1388
- maxFeePerGas?: `0x${string}` | undefined;
1389
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1390
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1391
- to?: `0x${string}` | null;
1392
- from?: `0x${string}`;
1393
- gas?: `0x${string}`;
1394
- nonce?: `0x${string}`;
1395
- value?: `0x${string}`;
1396
- blockHash?: `0x${string}` | null;
1397
- blockNumber?: `0x${string}` | null;
1398
- hash?: `0x${string}`;
1399
- input?: `0x${string}`;
1400
- transactionIndex?: `0x${string}` | null;
1401
- accessList?: import("viem").AccessList | undefined;
1402
- blobVersionedHashes?: undefined;
1403
- chainId?: `0x${string}` | undefined;
1404
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1405
- r: `0x${string}`;
1406
- s: `0x${string}`;
1407
- v: `0x${string}`;
1408
- to: `0x${string}` | null;
1409
- from: `0x${string}`;
1410
- gas: `0x${string}`;
1411
- nonce: `0x${string}`;
1412
- value: `0x${string}`;
511
+ maxFeePerGas: bigint;
512
+ maxPriorityFeePerGas: bigint;
513
+ isSystemTx?: boolean;
514
+ mint?: bigint | undefined;
515
+ sourceHash: import("viem").Hex;
516
+ type: "deposit";
517
+ } | {
518
+ r: import("viem").Hex;
519
+ s: import("viem").Hex;
520
+ v: bigint;
521
+ to: import("viem").Address | null;
522
+ from: import("viem").Address;
523
+ gas: bigint;
524
+ nonce: number;
525
+ value: bigint;
1413
526
  blockHash: `0x${string}` | null;
1414
- blockNumber: `0x${string}` | null;
1415
- hash: `0x${string}`;
1416
- input: `0x${string}`;
1417
- transactionIndex: `0x${string}` | null;
1418
- typeHex: `0x${string}` | null;
1419
- gasPrice: `0x${string}`;
1420
- maxFeePerBlobGas?: undefined;
1421
- maxFeePerGas?: undefined;
1422
- maxPriorityFeePerGas?: undefined;
527
+ blockNumber: bigint | null;
528
+ hash: import("viem").Hash;
529
+ input: import("viem").Hex;
530
+ transactionIndex: number | null;
531
+ typeHex: import("viem").Hex | null;
1423
532
  accessList?: undefined;
1424
533
  blobVersionedHashes?: undefined;
1425
- chainId?: `0x${string}` | undefined;
534
+ chainId?: number | undefined;
1426
535
  yParity?: undefined;
1427
- type: "0x0";
1428
- }, "yParity">, "typeHex"> & {
1429
- isSystemTx?: undefined;
1430
- mint?: undefined;
1431
- sourceHash?: undefined;
1432
- }) | ({
1433
- r?: `0x${string}`;
1434
- s?: `0x${string}`;
1435
- v?: `0x${string}`;
1436
- yParity?: `0x${string}` | undefined;
1437
- gasPrice?: `0x${string}` | undefined;
1438
- maxFeePerBlobGas?: `0x${string}` | undefined;
1439
- maxFeePerGas?: `0x${string}` | undefined;
1440
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1441
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1442
- to?: `0x${string}` | null;
1443
- from?: `0x${string}`;
1444
- gas?: `0x${string}`;
1445
- nonce?: `0x${string}`;
1446
- value?: `0x${string}`;
1447
- blockHash?: `0x${string}` | null;
1448
- blockNumber?: `0x${string}` | null;
1449
- hash?: `0x${string}`;
1450
- input?: `0x${string}`;
1451
- transactionIndex?: `0x${string}` | null;
1452
- accessList?: import("viem").AccessList | undefined;
1453
- blobVersionedHashes?: undefined;
1454
- chainId?: `0x${string}` | undefined;
1455
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1456
- blockHash: `0x${string}` | null;
1457
- blockNumber: `0x${string}` | null;
1458
- from: `0x${string}`;
1459
- gas: `0x${string}`;
1460
- hash: `0x${string}`;
1461
- input: `0x${string}`;
1462
- nonce: `0x${string}`;
1463
- r: `0x${string}`;
1464
- s: `0x${string}`;
1465
- to: `0x${string}` | null;
1466
- transactionIndex: `0x${string}` | null;
1467
- typeHex: `0x${string}` | null;
1468
- v: `0x${string}`;
1469
- value: `0x${string}`;
1470
- yParity: `0x${string}`;
1471
- gasPrice: `0x${string}`;
536
+ type: "legacy";
537
+ gasPrice: bigint;
1472
538
  maxFeePerBlobGas?: undefined;
1473
539
  maxFeePerGas?: undefined;
1474
540
  maxPriorityFeePerGas?: undefined;
1475
- accessList: import("viem").AccessList;
1476
- blobVersionedHashes?: undefined;
1477
- chainId: `0x${string}`;
1478
- type: "0x1";
1479
- }, "yParity">, "typeHex"> & {
1480
541
  isSystemTx?: undefined;
1481
542
  mint?: undefined;
1482
543
  sourceHash?: undefined;
1483
- }) | ({
1484
- r?: `0x${string}`;
1485
- s?: `0x${string}`;
1486
- v?: `0x${string}`;
1487
- yParity?: `0x${string}` | undefined;
1488
- gasPrice?: `0x${string}` | undefined;
1489
- maxFeePerBlobGas?: `0x${string}` | undefined;
1490
- maxFeePerGas?: `0x${string}` | undefined;
1491
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1492
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1493
- to?: `0x${string}` | null;
1494
- from?: `0x${string}`;
1495
- gas?: `0x${string}`;
1496
- nonce?: `0x${string}`;
1497
- value?: `0x${string}`;
1498
- blockHash?: `0x${string}` | null;
1499
- blockNumber?: `0x${string}` | null;
1500
- hash?: `0x${string}`;
1501
- input?: `0x${string}`;
1502
- transactionIndex?: `0x${string}` | null;
1503
- accessList?: import("viem").AccessList | undefined;
1504
- blobVersionedHashes?: undefined;
1505
- chainId?: `0x${string}` | undefined;
1506
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
544
+ } | {
1507
545
  blockHash: `0x${string}` | null;
1508
- blockNumber: `0x${string}` | null;
1509
- from: `0x${string}`;
1510
- gas: `0x${string}`;
1511
- hash: `0x${string}`;
1512
- input: `0x${string}`;
1513
- nonce: `0x${string}`;
1514
- r: `0x${string}`;
1515
- s: `0x${string}`;
1516
- to: `0x${string}` | null;
1517
- transactionIndex: `0x${string}` | null;
1518
- typeHex: `0x${string}` | null;
1519
- v: `0x${string}`;
1520
- value: `0x${string}`;
1521
- yParity: `0x${string}`;
1522
- gasPrice?: undefined;
1523
- maxFeePerBlobGas?: undefined;
1524
- maxFeePerGas: `0x${string}`;
1525
- maxPriorityFeePerGas: `0x${string}`;
546
+ blockNumber: bigint | null;
547
+ from: import("viem").Address;
548
+ gas: bigint;
549
+ hash: import("viem").Hash;
550
+ input: import("viem").Hex;
551
+ nonce: number;
552
+ r: import("viem").Hex;
553
+ s: import("viem").Hex;
554
+ to: import("viem").Address | null;
555
+ transactionIndex: number | null;
556
+ typeHex: import("viem").Hex | null;
557
+ v: bigint;
558
+ value: bigint;
559
+ yParity: number;
1526
560
  accessList: import("viem").AccessList;
1527
561
  blobVersionedHashes?: undefined;
1528
- chainId: `0x${string}`;
1529
- type: "0x2";
1530
- }, "yParity">, "typeHex"> & {
1531
- isSystemTx?: undefined;
1532
- mint?: undefined;
1533
- sourceHash?: undefined;
1534
- }) | ({
1535
- r?: `0x${string}`;
1536
- s?: `0x${string}`;
1537
- v?: `0x${string}`;
1538
- yParity?: `0x${string}` | undefined;
1539
- gasPrice?: `0x${string}` | undefined;
1540
- maxFeePerBlobGas?: `0x${string}` | undefined;
1541
- maxFeePerGas?: `0x${string}` | undefined;
1542
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1543
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1544
- to?: `0x${string}` | null;
1545
- from?: `0x${string}`;
1546
- gas?: `0x${string}`;
1547
- nonce?: `0x${string}`;
1548
- value?: `0x${string}`;
1549
- blockHash?: `0x${string}` | null;
1550
- blockNumber?: `0x${string}` | null;
1551
- hash?: `0x${string}`;
1552
- input?: `0x${string}`;
1553
- transactionIndex?: `0x${string}` | null;
1554
- accessList?: import("viem").AccessList | undefined;
1555
- blobVersionedHashes?: undefined;
1556
- chainId?: `0x${string}` | undefined;
1557
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1558
- isSystemTx?: boolean | undefined;
1559
- mint?: `0x${string}` | undefined;
1560
- sourceHash: `0x${string}`;
1561
- type: "0x7e";
1562
- }) | ({
1563
- r?: `0x${string}`;
1564
- s?: `0x${string}`;
1565
- v?: `0x${string}`;
1566
- yParity?: `0x${string}` | undefined;
1567
- gasPrice?: `0x${string}` | undefined;
1568
- maxFeePerBlobGas?: `0x${string}` | undefined;
1569
- maxFeePerGas?: `0x${string}` | undefined;
1570
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1571
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1572
- to?: `0x${string}` | null;
1573
- from?: `0x${string}`;
1574
- gas?: `0x${string}`;
1575
- nonce?: `0x${string}`;
1576
- value?: `0x${string}`;
1577
- blockHash?: `0x${string}` | null;
1578
- blockNumber?: `0x${string}` | null;
1579
- hash?: `0x${string}`;
1580
- input?: `0x${string}`;
1581
- transactionIndex?: `0x${string}` | null;
1582
- accessList?: import("viem").AccessList | undefined;
1583
- blobVersionedHashes?: undefined;
1584
- chainId?: `0x${string}` | undefined;
1585
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1586
- r: `0x${string}`;
1587
- s: `0x${string}`;
1588
- v: `0x${string}`;
1589
- to: `0x${string}` | null;
1590
- from: `0x${string}`;
1591
- gas: `0x${string}`;
1592
- nonce: `0x${string}`;
1593
- value: `0x${string}`;
1594
- blockHash: `0x${string}` | null;
1595
- blockNumber: `0x${string}` | null;
1596
- hash: `0x${string}`;
1597
- input: `0x${string}`;
1598
- transactionIndex: `0x${string}` | null;
1599
- typeHex: `0x${string}` | null;
1600
- gasPrice: `0x${string}`;
562
+ chainId: number;
563
+ type: "eip2930";
564
+ gasPrice: bigint;
1601
565
  maxFeePerBlobGas?: undefined;
1602
566
  maxFeePerGas?: undefined;
1603
567
  maxPriorityFeePerGas?: undefined;
1604
- accessList?: undefined;
1605
- blobVersionedHashes?: undefined;
1606
- chainId?: `0x${string}` | undefined;
1607
- yParity?: undefined;
1608
- type: "0x0";
1609
- }, "yParity">, "typeHex"> & {
1610
568
  isSystemTx?: undefined;
1611
569
  mint?: undefined;
1612
570
  sourceHash?: undefined;
1613
- }) | ({
1614
- r?: `0x${string}`;
1615
- s?: `0x${string}`;
1616
- v?: `0x${string}`;
1617
- yParity?: `0x${string}` | undefined;
1618
- gasPrice?: `0x${string}` | undefined;
1619
- maxFeePerBlobGas?: `0x${string}` | undefined;
1620
- maxFeePerGas?: `0x${string}` | undefined;
1621
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1622
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1623
- to?: `0x${string}` | null;
1624
- from?: `0x${string}`;
1625
- gas?: `0x${string}`;
1626
- nonce?: `0x${string}`;
1627
- value?: `0x${string}`;
1628
- blockHash?: `0x${string}` | null;
1629
- blockNumber?: `0x${string}` | null;
1630
- hash?: `0x${string}`;
1631
- input?: `0x${string}`;
1632
- transactionIndex?: `0x${string}` | null;
1633
- accessList?: import("viem").AccessList | undefined;
1634
- blobVersionedHashes?: undefined;
1635
- chainId?: `0x${string}` | undefined;
1636
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
571
+ } | {
1637
572
  blockHash: `0x${string}` | null;
1638
- blockNumber: `0x${string}` | null;
1639
- from: `0x${string}`;
1640
- gas: `0x${string}`;
1641
- hash: `0x${string}`;
1642
- input: `0x${string}`;
1643
- nonce: `0x${string}`;
1644
- r: `0x${string}`;
1645
- s: `0x${string}`;
1646
- to: `0x${string}` | null;
1647
- transactionIndex: `0x${string}` | null;
1648
- typeHex: `0x${string}` | null;
1649
- v: `0x${string}`;
1650
- value: `0x${string}`;
1651
- yParity: `0x${string}`;
1652
- gasPrice: `0x${string}`;
1653
- maxFeePerBlobGas?: undefined;
1654
- maxFeePerGas?: undefined;
1655
- maxPriorityFeePerGas?: undefined;
573
+ blockNumber: bigint | null;
574
+ from: import("viem").Address;
575
+ gas: bigint;
576
+ hash: import("viem").Hash;
577
+ input: import("viem").Hex;
578
+ nonce: number;
579
+ r: import("viem").Hex;
580
+ s: import("viem").Hex;
581
+ to: import("viem").Address | null;
582
+ transactionIndex: number | null;
583
+ typeHex: import("viem").Hex | null;
584
+ v: bigint;
585
+ value: bigint;
586
+ yParity: number;
1656
587
  accessList: import("viem").AccessList;
1657
588
  blobVersionedHashes?: undefined;
1658
- chainId: `0x${string}`;
1659
- type: "0x1";
1660
- }, "yParity">, "typeHex"> & {
1661
- isSystemTx?: undefined;
1662
- mint?: undefined;
1663
- sourceHash?: undefined;
1664
- }) | ({
1665
- r?: `0x${string}`;
1666
- s?: `0x${string}`;
1667
- v?: `0x${string}`;
1668
- yParity?: `0x${string}` | undefined;
1669
- gasPrice?: `0x${string}` | undefined;
1670
- maxFeePerBlobGas?: `0x${string}` | undefined;
1671
- maxFeePerGas?: `0x${string}` | undefined;
1672
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1673
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1674
- to?: `0x${string}` | null;
1675
- from?: `0x${string}`;
1676
- gas?: `0x${string}`;
1677
- nonce?: `0x${string}`;
1678
- value?: `0x${string}`;
1679
- blockHash?: `0x${string}` | null;
1680
- blockNumber?: `0x${string}` | null;
1681
- hash?: `0x${string}`;
1682
- input?: `0x${string}`;
1683
- transactionIndex?: `0x${string}` | null;
1684
- accessList?: import("viem").AccessList | undefined;
1685
- blobVersionedHashes?: undefined;
1686
- chainId?: `0x${string}` | undefined;
1687
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1688
- blockHash: `0x${string}` | null;
1689
- blockNumber: `0x${string}` | null;
1690
- from: `0x${string}`;
1691
- gas: `0x${string}`;
1692
- hash: `0x${string}`;
1693
- input: `0x${string}`;
1694
- nonce: `0x${string}`;
1695
- r: `0x${string}`;
1696
- s: `0x${string}`;
1697
- to: `0x${string}` | null;
1698
- transactionIndex: `0x${string}` | null;
1699
- typeHex: `0x${string}` | null;
1700
- v: `0x${string}`;
1701
- value: `0x${string}`;
1702
- yParity: `0x${string}`;
589
+ chainId: number;
590
+ type: "eip1559";
1703
591
  gasPrice?: undefined;
1704
592
  maxFeePerBlobGas?: undefined;
1705
- maxFeePerGas: `0x${string}`;
1706
- maxPriorityFeePerGas: `0x${string}`;
1707
- accessList: import("viem").AccessList;
1708
- blobVersionedHashes?: undefined;
1709
- chainId: `0x${string}`;
1710
- type: "0x2";
1711
- }, "yParity">, "typeHex"> & {
593
+ maxFeePerGas: bigint;
594
+ maxPriorityFeePerGas: bigint;
1712
595
  isSystemTx?: undefined;
1713
596
  mint?: undefined;
1714
597
  sourceHash?: undefined;
1715
- }) | ({
1716
- r?: `0x${string}`;
1717
- s?: `0x${string}`;
1718
- v?: `0x${string}`;
1719
- yParity?: `0x${string}` | undefined;
1720
- gasPrice?: `0x${string}` | undefined;
1721
- maxFeePerBlobGas?: `0x${string}` | undefined;
1722
- maxFeePerGas?: `0x${string}` | undefined;
1723
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1724
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1725
- to?: `0x${string}` | null;
1726
- from?: `0x${string}`;
1727
- gas?: `0x${string}`;
1728
- nonce?: `0x${string}`;
1729
- value?: `0x${string}`;
1730
- blockHash?: `0x${string}` | null;
1731
- blockNumber?: `0x${string}` | null;
1732
- hash?: `0x${string}`;
1733
- input?: `0x${string}`;
1734
- transactionIndex?: `0x${string}` | null;
1735
- accessList?: import("viem").AccessList | undefined;
1736
- blobVersionedHashes?: undefined;
1737
- chainId?: `0x${string}` | undefined;
1738
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1739
- isSystemTx?: boolean | undefined;
1740
- mint?: `0x${string}` | undefined;
1741
- sourceHash: `0x${string}`;
1742
- type: "0x7e";
1743
- }) | ({
1744
- r?: `0x${string}`;
1745
- s?: `0x${string}`;
1746
- v?: `0x${string}`;
1747
- yParity?: `0x${string}` | undefined;
1748
- gasPrice?: `0x${string}` | undefined;
1749
- maxFeePerBlobGas?: `0x${string}` | undefined;
1750
- maxFeePerGas?: `0x${string}` | undefined;
1751
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1752
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1753
- to?: `0x${string}` | null;
1754
- from?: `0x${string}`;
1755
- gas?: `0x${string}`;
1756
- nonce?: `0x${string}`;
1757
- value?: `0x${string}`;
1758
- blockHash?: `0x${string}` | null;
1759
- blockNumber?: `0x${string}` | null;
1760
- hash?: `0x${string}`;
1761
- input?: `0x${string}`;
1762
- transactionIndex?: `0x${string}` | null;
1763
- accessList?: import("viem").AccessList | undefined;
1764
- blobVersionedHashes?: `0x${string}`[] | undefined;
1765
- chainId?: `0x${string}` | undefined;
1766
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1767
- r: `0x${string}`;
1768
- s: `0x${string}`;
1769
- v: `0x${string}`;
1770
- to: `0x${string}` | null;
1771
- from: `0x${string}`;
1772
- gas: `0x${string}`;
1773
- nonce: `0x${string}`;
1774
- value: `0x${string}`;
598
+ } | {
1775
599
  blockHash: `0x${string}` | null;
1776
- blockNumber: `0x${string}` | null;
1777
- hash: `0x${string}`;
1778
- input: `0x${string}`;
1779
- transactionIndex: `0x${string}` | null;
1780
- typeHex: `0x${string}` | null;
1781
- gasPrice: `0x${string}`;
1782
- maxFeePerBlobGas?: undefined;
1783
- maxFeePerGas?: undefined;
1784
- maxPriorityFeePerGas?: undefined;
1785
- accessList?: undefined;
1786
- blobVersionedHashes?: undefined;
1787
- chainId?: `0x${string}` | undefined;
1788
- yParity?: undefined;
1789
- type: "0x0";
1790
- }, "yParity">, "typeHex"> & {
600
+ blockNumber: bigint | null;
601
+ from: import("viem").Address;
602
+ gas: bigint;
603
+ hash: import("viem").Hash;
604
+ input: import("viem").Hex;
605
+ nonce: number;
606
+ r: import("viem").Hex;
607
+ s: import("viem").Hex;
608
+ to: import("viem").Address | null;
609
+ transactionIndex: number | null;
610
+ typeHex: import("viem").Hex | null;
611
+ v: bigint;
612
+ value: bigint;
613
+ yParity: number;
614
+ accessList: import("viem").AccessList;
615
+ blobVersionedHashes: readonly import("viem").Hex[];
616
+ chainId: number;
617
+ type: "eip4844";
618
+ gasPrice?: undefined;
619
+ maxFeePerBlobGas: bigint;
620
+ maxFeePerGas: bigint;
621
+ maxPriorityFeePerGas: bigint;
1791
622
  isSystemTx?: undefined;
1792
623
  mint?: undefined;
1793
624
  sourceHash?: undefined;
1794
- }) | ({
1795
- r?: `0x${string}`;
1796
- s?: `0x${string}`;
1797
- v?: `0x${string}`;
1798
- yParity?: `0x${string}` | undefined;
1799
- gasPrice?: `0x${string}` | undefined;
1800
- maxFeePerBlobGas?: `0x${string}` | undefined;
1801
- maxFeePerGas?: `0x${string}` | undefined;
1802
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1803
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1804
- to?: `0x${string}` | null;
1805
- from?: `0x${string}`;
1806
- gas?: `0x${string}`;
1807
- nonce?: `0x${string}`;
1808
- value?: `0x${string}`;
1809
- blockHash?: `0x${string}` | null;
1810
- blockNumber?: `0x${string}` | null;
1811
- hash?: `0x${string}`;
1812
- input?: `0x${string}`;
1813
- transactionIndex?: `0x${string}` | null;
1814
- accessList?: import("viem").AccessList | undefined;
1815
- blobVersionedHashes?: `0x${string}`[] | undefined;
1816
- chainId?: `0x${string}` | undefined;
1817
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1818
- blockHash: `0x${string}` | null;
1819
- blockNumber: `0x${string}` | null;
1820
- from: `0x${string}`;
1821
- gas: `0x${string}`;
1822
- hash: `0x${string}`;
1823
- input: `0x${string}`;
1824
- nonce: `0x${string}`;
1825
- r: `0x${string}`;
1826
- s: `0x${string}`;
1827
- to: `0x${string}` | null;
1828
- transactionIndex: `0x${string}` | null;
1829
- typeHex: `0x${string}` | null;
1830
- v: `0x${string}`;
1831
- value: `0x${string}`;
1832
- yParity: `0x${string}`;
1833
- gasPrice: `0x${string}`;
1834
- maxFeePerBlobGas?: undefined;
1835
- maxFeePerGas?: undefined;
1836
- maxPriorityFeePerGas?: undefined;
1837
- accessList: import("viem").AccessList;
1838
- blobVersionedHashes?: undefined;
1839
- chainId: `0x${string}`;
1840
- type: "0x1";
1841
- }, "yParity">, "typeHex"> & {
1842
- isSystemTx?: undefined;
1843
- mint?: undefined;
1844
- sourceHash?: undefined;
1845
- }) | ({
1846
- r?: `0x${string}`;
1847
- s?: `0x${string}`;
1848
- v?: `0x${string}`;
1849
- yParity?: `0x${string}` | undefined;
1850
- gasPrice?: `0x${string}` | undefined;
1851
- maxFeePerBlobGas?: `0x${string}` | undefined;
1852
- maxFeePerGas?: `0x${string}` | undefined;
1853
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1854
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1855
- to?: `0x${string}` | null;
1856
- from?: `0x${string}`;
1857
- gas?: `0x${string}`;
1858
- nonce?: `0x${string}`;
1859
- value?: `0x${string}`;
1860
- blockHash?: `0x${string}` | null;
1861
- blockNumber?: `0x${string}` | null;
1862
- hash?: `0x${string}`;
1863
- input?: `0x${string}`;
1864
- transactionIndex?: `0x${string}` | null;
1865
- accessList?: import("viem").AccessList | undefined;
1866
- blobVersionedHashes?: `0x${string}`[] | undefined;
1867
- chainId?: `0x${string}` | undefined;
1868
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1869
- blockHash: `0x${string}` | null;
1870
- blockNumber: `0x${string}` | null;
1871
- from: `0x${string}`;
1872
- gas: `0x${string}`;
1873
- hash: `0x${string}`;
1874
- input: `0x${string}`;
1875
- nonce: `0x${string}`;
1876
- r: `0x${string}`;
1877
- s: `0x${string}`;
1878
- to: `0x${string}` | null;
1879
- transactionIndex: `0x${string}` | null;
1880
- typeHex: `0x${string}` | null;
1881
- v: `0x${string}`;
1882
- value: `0x${string}`;
1883
- yParity: `0x${string}`;
1884
- gasPrice?: undefined;
1885
- maxFeePerBlobGas?: undefined;
1886
- maxFeePerGas: `0x${string}`;
1887
- maxPriorityFeePerGas: `0x${string}`;
1888
- accessList: import("viem").AccessList;
1889
- blobVersionedHashes?: undefined;
1890
- chainId: `0x${string}`;
1891
- type: "0x2";
1892
- }, "yParity">, "typeHex"> & {
1893
- isSystemTx?: undefined;
1894
- mint?: undefined;
1895
- sourceHash?: undefined;
1896
- }) | ({
1897
- r?: `0x${string}`;
1898
- s?: `0x${string}`;
1899
- v?: `0x${string}`;
1900
- yParity?: `0x${string}` | undefined;
1901
- gasPrice?: `0x${string}` | undefined;
1902
- maxFeePerBlobGas?: `0x${string}` | undefined;
1903
- maxFeePerGas?: `0x${string}` | undefined;
1904
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1905
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1906
- to?: `0x${string}` | null;
1907
- from?: `0x${string}`;
1908
- gas?: `0x${string}`;
1909
- nonce?: `0x${string}`;
1910
- value?: `0x${string}`;
1911
- blockHash?: `0x${string}` | null;
1912
- blockNumber?: `0x${string}` | null;
1913
- hash?: `0x${string}`;
1914
- input?: `0x${string}`;
1915
- transactionIndex?: `0x${string}` | null;
1916
- accessList?: import("viem").AccessList | undefined;
1917
- blobVersionedHashes?: `0x${string}`[] | undefined;
1918
- chainId?: `0x${string}` | undefined;
1919
- } & import("viem/chains").Omit<import("viem/chains").PartialBy<{
1920
- blockHash: `0x${string}` | null;
1921
- blockNumber: `0x${string}` | null;
1922
- from: `0x${string}`;
1923
- gas: `0x${string}`;
1924
- hash: `0x${string}`;
1925
- input: `0x${string}`;
1926
- nonce: `0x${string}`;
1927
- r: `0x${string}`;
1928
- s: `0x${string}`;
1929
- to: `0x${string}` | null;
1930
- transactionIndex: `0x${string}` | null;
1931
- typeHex: `0x${string}` | null;
1932
- v: `0x${string}`;
1933
- value: `0x${string}`;
1934
- yParity: `0x${string}`;
1935
- gasPrice?: undefined;
1936
- maxFeePerBlobGas: `0x${string}`;
1937
- maxFeePerGas: `0x${string}`;
1938
- maxPriorityFeePerGas: `0x${string}`;
1939
- accessList: import("viem").AccessList;
1940
- blobVersionedHashes: `0x${string}`[];
1941
- chainId: `0x${string}`;
1942
- type: "0x3";
1943
- }, "yParity">, "typeHex"> & {
1944
- isSystemTx?: undefined;
1945
- mint?: undefined;
1946
- sourceHash?: undefined;
1947
- }) | ({
1948
- r?: `0x${string}`;
1949
- s?: `0x${string}`;
1950
- v?: `0x${string}`;
1951
- yParity?: `0x${string}` | undefined;
1952
- gasPrice?: `0x${string}` | undefined;
1953
- maxFeePerBlobGas?: `0x${string}` | undefined;
1954
- maxFeePerGas?: `0x${string}` | undefined;
1955
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1956
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
1957
- to?: `0x${string}` | null;
1958
- from?: `0x${string}`;
1959
- gas?: `0x${string}`;
1960
- nonce?: `0x${string}`;
1961
- value?: `0x${string}`;
1962
- blockHash?: `0x${string}` | null;
1963
- blockNumber?: `0x${string}` | null;
1964
- hash?: `0x${string}`;
1965
- input?: `0x${string}`;
1966
- transactionIndex?: `0x${string}` | null;
1967
- accessList?: import("viem").AccessList | undefined;
1968
- blobVersionedHashes?: `0x${string}`[] | undefined;
1969
- chainId?: `0x${string}` | undefined;
1970
- } & Omit<import("viem").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("viem").FeeValuesEIP1559<`0x${string}`> & {
1971
- isSystemTx?: boolean | undefined;
1972
- mint?: `0x${string}` | undefined;
1973
- sourceHash: `0x${string}`;
1974
- type: "0x7e";
1975
- })) => ({
1976
- r: `0x${string}`;
1977
- s: `0x${string}`;
1978
- v: bigint;
1979
- to: `0x${string}` | null;
1980
- from: `0x${string}`;
1981
- gas: bigint;
1982
- nonce: number;
1983
- value: bigint;
1984
- blockHash: `0x${string}` | null;
1985
- blockNumber: bigint | null;
1986
- hash: `0x${string}`;
1987
- input: `0x${string}`;
1988
- transactionIndex: number | null;
1989
- typeHex: `0x${string}` | null;
1990
- gasPrice: bigint;
1991
- maxFeePerBlobGas?: undefined;
1992
- maxFeePerGas?: undefined;
1993
- maxPriorityFeePerGas?: undefined;
1994
- accessList?: undefined;
1995
- blobVersionedHashes?: undefined;
1996
- chainId?: number | undefined;
1997
- yParity?: undefined;
1998
- type: "legacy";
1999
- isSystemTx?: undefined;
2000
- mint?: undefined;
2001
- sourceHash?: undefined;
2002
- } | {
2003
- r: `0x${string}`;
2004
- s: `0x${string}`;
2005
- v: bigint;
2006
- to: `0x${string}` | null;
2007
- from: `0x${string}`;
2008
- gas: bigint;
2009
- nonce: number;
2010
- value: bigint;
2011
- blockHash: `0x${string}` | null;
2012
- blockNumber: bigint | null;
2013
- hash: `0x${string}`;
2014
- input: `0x${string}`;
2015
- transactionIndex: number | null;
2016
- typeHex: `0x${string}` | null;
2017
- gasPrice: undefined;
2018
- maxFeePerBlobGas?: undefined;
2019
- maxFeePerGas: bigint;
2020
- maxPriorityFeePerGas: bigint;
2021
- accessList?: undefined;
2022
- blobVersionedHashes?: undefined;
2023
- chainId?: number | undefined;
2024
- yParity: number;
2025
- type: "deposit";
2026
- isSystemTx?: boolean;
2027
- mint?: bigint | undefined;
2028
- sourceHash: `0x${string}`;
2029
- } | {
2030
- blockHash: `0x${string}` | null;
2031
- blockNumber: bigint | null;
2032
- from: `0x${string}`;
2033
- gas: bigint;
2034
- hash: `0x${string}`;
2035
- input: `0x${string}`;
2036
- nonce: number;
2037
- r: `0x${string}`;
2038
- s: `0x${string}`;
2039
- to: `0x${string}` | null;
2040
- transactionIndex: number | null;
2041
- typeHex: `0x${string}` | null;
2042
- v: bigint;
2043
- value: bigint;
2044
- yParity: number;
2045
- gasPrice: bigint;
2046
- maxFeePerBlobGas?: undefined;
2047
- maxFeePerGas?: undefined;
2048
- maxPriorityFeePerGas?: undefined;
2049
- accessList: import("viem").AccessList;
2050
- blobVersionedHashes?: undefined;
2051
- chainId: number;
2052
- type: "eip2930";
2053
- isSystemTx?: undefined;
2054
- mint?: undefined;
2055
- sourceHash?: undefined;
2056
- } | {
2057
- blockHash: `0x${string}` | null;
2058
- blockNumber: bigint | null;
2059
- from: `0x${string}`;
2060
- gas: bigint;
2061
- hash: `0x${string}`;
2062
- input: `0x${string}`;
2063
- nonce: number;
2064
- r: `0x${string}`;
2065
- s: `0x${string}`;
2066
- to: `0x${string}` | null;
2067
- transactionIndex: number | null;
2068
- typeHex: `0x${string}` | null;
2069
- v: bigint;
2070
- value: bigint;
2071
- yParity: number;
2072
- gasPrice: undefined;
2073
- maxFeePerBlobGas?: undefined;
2074
- maxFeePerGas: bigint;
2075
- maxPriorityFeePerGas: bigint;
2076
- accessList: import("viem").AccessList;
2077
- blobVersionedHashes?: undefined;
2078
- chainId: number;
2079
- type: "eip1559";
2080
- isSystemTx?: undefined;
2081
- mint?: undefined;
2082
- sourceHash?: undefined;
2083
- } | {
2084
- blockHash: `0x${string}` | null;
2085
- blockNumber: bigint | null;
2086
- from: `0x${string}`;
2087
- gas: bigint;
2088
- hash: `0x${string}`;
2089
- input: `0x${string}`;
2090
- nonce: number;
2091
- r: `0x${string}`;
2092
- s: `0x${string}`;
2093
- to: `0x${string}` | null;
2094
- transactionIndex: number | null;
2095
- typeHex: `0x${string}` | null;
2096
- v: bigint;
2097
- value: bigint;
2098
- yParity: number;
2099
- gasPrice: undefined;
2100
- maxFeePerBlobGas?: undefined;
2101
- maxFeePerGas: bigint;
2102
- maxPriorityFeePerGas: bigint;
2103
- accessList: import("viem").AccessList;
2104
- blobVersionedHashes?: undefined;
2105
- chainId: number;
2106
- type: "deposit";
2107
- isSystemTx?: boolean;
2108
- mint?: bigint | undefined;
2109
- sourceHash: `0x${string}`;
2110
- } | {
2111
- blockHash: `0x${string}` | null;
2112
- blockNumber: bigint | null;
2113
- from: `0x${string}`;
2114
- gas: bigint;
2115
- hash: `0x${string}`;
2116
- input: `0x${string}`;
2117
- nonce: number;
2118
- r: `0x${string}`;
2119
- s: `0x${string}`;
2120
- to: `0x${string}` | null;
2121
- transactionIndex: number | null;
2122
- typeHex: `0x${string}` | null;
2123
- v: bigint;
2124
- value: bigint;
2125
- yParity: number;
2126
- gasPrice: bigint;
2127
- maxFeePerBlobGas?: undefined;
2128
- maxFeePerGas: undefined;
2129
- maxPriorityFeePerGas: undefined;
2130
- accessList: import("viem").AccessList;
2131
- blobVersionedHashes?: undefined;
2132
- chainId: number;
2133
- type: "eip2930";
2134
- isSystemTx?: undefined;
2135
- mint?: undefined;
2136
- sourceHash?: undefined;
2137
- } | {
2138
- blockHash: `0x${string}` | null;
2139
- blockNumber: bigint | null;
2140
- from: `0x${string}`;
2141
- gas: bigint;
2142
- hash: `0x${string}`;
2143
- input: `0x${string}`;
2144
- nonce: number;
2145
- r: `0x${string}`;
2146
- s: `0x${string}`;
2147
- to: `0x${string}` | null;
2148
- transactionIndex: number | null;
2149
- typeHex: `0x${string}` | null;
2150
- v: bigint;
2151
- value: bigint;
2152
- yParity: number;
2153
- gasPrice?: undefined;
2154
- maxFeePerBlobGas?: undefined;
2155
- maxFeePerGas: bigint;
2156
- maxPriorityFeePerGas: bigint;
2157
- accessList: import("viem").AccessList;
2158
- blobVersionedHashes?: undefined;
2159
- chainId: number;
2160
- type: "eip1559";
2161
- isSystemTx?: undefined;
2162
- mint?: undefined;
2163
- sourceHash?: undefined;
2164
- } | {
2165
- blockHash: `0x${string}` | null;
2166
- blockNumber: bigint | null;
2167
- from: `0x${string}`;
2168
- gas: bigint;
2169
- hash: `0x${string}`;
2170
- input: `0x${string}`;
2171
- nonce: number;
2172
- r: `0x${string}`;
2173
- s: `0x${string}`;
2174
- to: `0x${string}` | null;
2175
- transactionIndex: number | null;
2176
- typeHex: `0x${string}` | null;
2177
- v: bigint;
2178
- value: bigint;
2179
- yParity: number;
2180
- gasPrice?: undefined;
2181
- maxFeePerBlobGas?: undefined;
2182
- maxFeePerGas: bigint;
2183
- maxPriorityFeePerGas: bigint;
2184
- accessList: import("viem").AccessList;
2185
- blobVersionedHashes?: undefined;
2186
- chainId: number;
2187
- type: "deposit";
2188
- isSystemTx?: boolean;
2189
- mint?: bigint | undefined;
2190
- sourceHash: `0x${string}`;
2191
- } | {
2192
- blockHash: `0x${string}` | null;
2193
- blockNumber: bigint | null;
2194
- from: `0x${string}`;
2195
- gas: bigint;
2196
- hash: `0x${string}`;
2197
- input: `0x${string}`;
2198
- nonce: number;
2199
- r: `0x${string}`;
2200
- s: `0x${string}`;
2201
- to: `0x${string}` | null;
2202
- transactionIndex: number | null;
2203
- typeHex: `0x${string}` | null;
2204
- v: bigint;
2205
- value: bigint;
2206
- yParity: number;
2207
- gasPrice?: undefined;
2208
- maxFeePerBlobGas: bigint;
2209
- maxFeePerGas: bigint;
2210
- maxPriorityFeePerGas: bigint;
2211
- accessList: import("viem").AccessList;
2212
- blobVersionedHashes: `0x${string}`[];
2213
- chainId: number;
2214
- type: "eip4844";
2215
- isSystemTx?: undefined;
2216
- mint?: undefined;
2217
- sourceHash?: undefined;
2218
- } | {
2219
- blockHash: `0x${string}` | null;
2220
- blockNumber: bigint | null;
2221
- from: `0x${string}`;
2222
- gas: bigint;
2223
- hash: `0x${string}`;
2224
- input: `0x${string}`;
2225
- nonce: number;
2226
- r: `0x${string}`;
2227
- s: `0x${string}`;
2228
- to: `0x${string}` | null;
2229
- transactionIndex: number | null;
2230
- typeHex: `0x${string}` | null;
2231
- v: bigint;
2232
- value: bigint;
2233
- yParity: number;
2234
- gasPrice?: undefined;
2235
- maxFeePerBlobGas: undefined;
2236
- maxFeePerGas: bigint;
2237
- maxPriorityFeePerGas: bigint;
2238
- accessList: import("viem").AccessList;
2239
- blobVersionedHashes: `0x${string}`[];
2240
- chainId: number;
2241
- type: "deposit";
2242
- isSystemTx?: boolean;
2243
- mint?: bigint | undefined;
2244
- sourceHash: `0x${string}`;
2245
625
  }) & {};
2246
626
  type: "transaction";
2247
627
  };
2248
628
  readonly transactionReceipt: {
2249
629
  exclude: [] | undefined;
2250
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcTransactionReceipt>, import("viem/chains").OpStackRpcTransactionReceiptOverrides>) => {
630
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
2251
631
  blobGasPrice?: bigint | undefined;
2252
632
  blobGasUsed?: bigint | undefined;
2253
- blockHash: `0x${string}`;
633
+ blockHash: import("viem").Hash;
2254
634
  blockNumber: bigint;
2255
- contractAddress: `0x${string}` | null | undefined;
635
+ contractAddress: import("viem").Address | null | undefined;
2256
636
  cumulativeGasUsed: bigint;
2257
637
  effectiveGasPrice: bigint;
2258
- from: `0x${string}`;
638
+ from: import("viem").Address;
2259
639
  gasUsed: bigint;
2260
640
  logs: import("viem").Log<bigint, number, false>[];
2261
- logsBloom: `0x${string}`;
2262
- root?: `0x${string}` | undefined;
641
+ logsBloom: import("viem").Hex;
642
+ root?: import("viem").Hash | undefined;
2263
643
  status: "success" | "reverted";
2264
- to: `0x${string}` | null;
2265
- transactionHash: `0x${string}`;
644
+ to: import("viem").Address | null;
645
+ transactionHash: import("viem").Hash;
2266
646
  transactionIndex: number;
2267
647
  type: import("viem").TransactionType;
2268
648
  l1GasPrice: bigint | null;
@@ -2276,7 +656,6 @@ export declare const getDefaultChains: () => ({
2276
656
  serializers: {
2277
657
  readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
2278
658
  };
2279
- fees?: import("viem").ChainFees<undefined> | undefined;
2280
659
  } | {
2281
660
  blockExplorers: {
2282
661
  readonly default: {
@@ -2284,6 +663,10 @@ export declare const getDefaultChains: () => ({
2284
663
  readonly url: "https://era.zksync.network/";
2285
664
  readonly apiUrl: "https://api-era.zksync.network/api";
2286
665
  };
666
+ readonly native: {
667
+ readonly name: "zkSync Explorer";
668
+ readonly url: "https://explorer.zksync.io/";
669
+ };
2287
670
  };
2288
671
  contracts: {
2289
672
  readonly multicall3: {
@@ -2308,38 +691,37 @@ export declare const getDefaultChains: () => ({
2308
691
  custom: {
2309
692
  readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/chains").ZkSyncTransactionSerializable, import("viem/chains").ZkSyncEIP712TransactionSignable>;
2310
693
  };
694
+ fees?: import("viem").ChainFees<undefined> | undefined;
2311
695
  formatters: {
2312
696
  readonly block: {
2313
697
  exclude: [] | undefined;
2314
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcBlock>, import("viem/chains").ZkSyncRpcBlockOverrides & {
2315
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncRpcTransaction[];
2316
- }>) => {
698
+ format: (args: import("viem/chains").ZkSyncRpcBlock) => {
2317
699
  baseFeePerGas: bigint | null;
2318
700
  blobGasUsed: bigint;
2319
701
  difficulty: bigint;
2320
702
  excessBlobGas: bigint;
2321
- extraData: `0x${string}`;
703
+ extraData: import("viem").Hex;
2322
704
  gasLimit: bigint;
2323
705
  gasUsed: bigint;
2324
706
  hash: `0x${string}` | null;
2325
707
  logsBloom: `0x${string}` | null;
2326
- miner: `0x${string}`;
2327
- mixHash: `0x${string}`;
708
+ miner: import("viem").Address;
709
+ mixHash: import("viem").Hash;
2328
710
  nonce: `0x${string}` | null;
2329
711
  number: bigint | null;
2330
- parentHash: `0x${string}`;
2331
- receiptsRoot: `0x${string}`;
2332
- sealFields: `0x${string}`[];
2333
- sha3Uncles: `0x${string}`;
712
+ parentHash: import("viem").Hash;
713
+ receiptsRoot: import("viem").Hex;
714
+ sealFields: import("viem").Hex[];
715
+ sha3Uncles: import("viem").Hash;
2334
716
  size: bigint;
2335
- stateRoot: `0x${string}`;
717
+ stateRoot: import("viem").Hash;
2336
718
  timestamp: bigint;
2337
719
  totalDifficulty: bigint | null;
2338
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction[];
2339
- transactionsRoot: `0x${string}`;
2340
- uncles: `0x${string}`[];
720
+ transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
721
+ transactionsRoot: import("viem").Hash;
722
+ uncles: import("viem").Hash[];
2341
723
  withdrawals?: import("viem").Withdrawal[] | undefined;
2342
- withdrawalsRoot?: `0x${string}` | undefined;
724
+ withdrawalsRoot?: import("viem").Hex | undefined;
2343
725
  l1BatchNumber: bigint | null;
2344
726
  l1BatchTimestamp: bigint | null;
2345
727
  } & {};
@@ -2347,1307 +729,229 @@ export declare const getDefaultChains: () => ({
2347
729
  };
2348
730
  readonly transaction: {
2349
731
  exclude: [] | undefined;
2350
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcTransaction>, import("viem/chains").ZkSyncRpcTransaction>) => ({
2351
- r: `0x${string}`;
2352
- s: `0x${string}`;
732
+ format: (args: import("viem/chains").ZkSyncRpcTransaction) => ({
733
+ r: import("viem").Hex;
734
+ s: import("viem").Hex;
2353
735
  v: bigint;
2354
- to: `0x${string}` | null;
2355
- from: `0x${string}`;
736
+ to: import("viem").Address | null;
737
+ from: import("viem").Address;
2356
738
  gas: bigint;
2357
739
  nonce: number;
2358
740
  value: bigint;
2359
741
  blockHash: `0x${string}` | null;
2360
742
  blockNumber: bigint | null;
2361
- hash: `0x${string}`;
2362
- input: `0x${string}`;
743
+ hash: import("viem").Hash;
744
+ input: import("viem").Hex;
2363
745
  transactionIndex: number | null;
2364
- typeHex: `0x${string}` | null;
2365
- gasPrice: bigint;
2366
- maxFeePerBlobGas?: undefined;
2367
- maxFeePerGas?: undefined;
2368
- maxPriorityFeePerGas?: undefined;
746
+ typeHex: import("viem").Hex | null;
2369
747
  accessList?: undefined;
2370
748
  blobVersionedHashes?: undefined;
2371
- chainId?: number | undefined;
2372
- yParity?: undefined;
2373
- type: "legacy";
2374
- l1BatchNumber: bigint | null;
2375
- l1BatchTxIndex: bigint | null;
2376
- } | {
2377
- r: `0x${string}`;
2378
- s: `0x${string}`;
2379
- v: bigint;
2380
- to: `0x${string}` | null;
2381
- from: `0x${string}`;
2382
- gas: bigint;
2383
- nonce: number;
2384
- value: bigint;
2385
- blockHash: `0x${string}` | null;
2386
- blockNumber: bigint | null;
2387
- hash: `0x${string}`;
2388
- input: `0x${string}`;
2389
- transactionIndex: number | null;
2390
- typeHex: `0x${string}` | null;
2391
- gasPrice: undefined;
2392
- maxFeePerBlobGas?: undefined;
2393
- maxFeePerGas: bigint;
2394
- maxPriorityFeePerGas: bigint;
2395
- accessList?: undefined;
2396
- blobVersionedHashes?: undefined;
2397
- chainId?: number | undefined;
2398
- yParity: number;
2399
- type: "priority";
2400
- l1BatchNumber: bigint | null;
2401
- l1BatchTxIndex: bigint | null;
2402
- } | {
2403
- r: `0x${string}`;
2404
- s: `0x${string}`;
2405
- v: bigint;
2406
- to: `0x${string}` | null;
2407
- from: `0x${string}`;
2408
- gas: bigint;
2409
- nonce: number;
2410
- value: bigint;
2411
- blockHash: `0x${string}` | null;
2412
- blockNumber: bigint | null;
2413
- hash: `0x${string}`;
2414
- input: `0x${string}`;
2415
- transactionIndex: number | null;
2416
- typeHex: `0x${string}` | null;
2417
- gasPrice: undefined;
2418
- maxFeePerBlobGas?: undefined;
2419
- maxFeePerGas: bigint;
2420
- maxPriorityFeePerGas: bigint;
2421
- accessList?: undefined;
2422
- blobVersionedHashes?: undefined;
2423
- chainId?: number | undefined;
2424
- yParity: number;
2425
- type: "priority" | "eip712";
2426
- l1BatchNumber: bigint | null;
2427
- l1BatchTxIndex: bigint | null;
2428
- } | {
2429
- blockHash: `0x${string}` | null;
2430
- blockNumber: bigint | null;
2431
- from: `0x${string}`;
2432
- gas: bigint;
2433
- hash: `0x${string}`;
2434
- input: `0x${string}`;
2435
- nonce: number;
2436
- r: `0x${string}`;
2437
- s: `0x${string}`;
2438
- to: `0x${string}` | null;
2439
- transactionIndex: number | null;
2440
- typeHex: `0x${string}` | null;
2441
- v: bigint;
2442
- value: bigint;
2443
- yParity: number;
2444
- gasPrice: bigint;
2445
- maxFeePerBlobGas?: undefined;
2446
- maxFeePerGas?: undefined;
2447
- maxPriorityFeePerGas?: undefined;
2448
- accessList: import("viem").AccessList;
2449
- blobVersionedHashes?: undefined;
2450
- chainId: number;
2451
- type: "eip2930";
2452
- l1BatchNumber: bigint | null;
2453
- l1BatchTxIndex: bigint | null;
2454
- } | {
2455
- blockHash: `0x${string}` | null;
2456
- blockNumber: bigint | null;
2457
- from: `0x${string}`;
2458
- gas: bigint;
2459
- hash: `0x${string}`;
2460
- input: `0x${string}`;
2461
- nonce: number;
2462
- r: `0x${string}`;
2463
- s: `0x${string}`;
2464
- to: `0x${string}` | null;
2465
- transactionIndex: number | null;
2466
- typeHex: `0x${string}` | null;
2467
- v: bigint;
2468
- value: bigint;
2469
- yParity: number;
2470
- gasPrice: undefined;
2471
- maxFeePerBlobGas?: undefined;
2472
- maxFeePerGas: bigint;
2473
- maxPriorityFeePerGas: bigint;
2474
- accessList: import("viem").AccessList;
2475
- blobVersionedHashes?: undefined;
2476
- chainId: number;
2477
- type: "eip1559";
2478
- l1BatchNumber: bigint | null;
2479
- l1BatchTxIndex: bigint | null;
2480
- } | {
2481
- blockHash: `0x${string}` | null;
2482
- blockNumber: bigint | null;
2483
- from: `0x${string}`;
2484
- gas: bigint;
2485
- hash: `0x${string}`;
2486
- input: `0x${string}`;
2487
- nonce: number;
2488
- r: `0x${string}`;
2489
- s: `0x${string}`;
2490
- to: `0x${string}` | null;
2491
- transactionIndex: number | null;
2492
- typeHex: `0x${string}` | null;
2493
- v: bigint;
2494
- value: bigint;
2495
- yParity: number;
2496
- gasPrice: undefined;
2497
- maxFeePerBlobGas?: undefined;
2498
- maxFeePerGas: bigint;
2499
- maxPriorityFeePerGas: bigint;
2500
- accessList: import("viem").AccessList;
2501
- blobVersionedHashes?: undefined;
2502
- chainId: number;
2503
- type: "priority";
2504
- l1BatchNumber: bigint | null;
2505
- l1BatchTxIndex: bigint | null;
2506
- } | {
2507
- blockHash: `0x${string}` | null;
2508
- blockNumber: bigint | null;
2509
- from: `0x${string}`;
2510
- gas: bigint;
2511
- hash: `0x${string}`;
2512
- input: `0x${string}`;
2513
- nonce: number;
2514
- r: `0x${string}`;
2515
- s: `0x${string}`;
2516
- to: `0x${string}` | null;
2517
- transactionIndex: number | null;
2518
- typeHex: `0x${string}` | null;
2519
- v: bigint;
2520
- value: bigint;
2521
- yParity: number;
2522
- gasPrice: undefined;
2523
- maxFeePerBlobGas?: undefined;
2524
- maxFeePerGas: bigint;
2525
- maxPriorityFeePerGas: bigint;
2526
- accessList: import("viem").AccessList;
2527
- blobVersionedHashes?: undefined;
2528
- chainId: number;
2529
- type: "priority" | "eip712";
2530
- l1BatchNumber: bigint | null;
2531
- l1BatchTxIndex: bigint | null;
2532
- } | {
2533
- blockHash: `0x${string}` | null;
2534
- blockNumber: bigint | null;
2535
- from: `0x${string}`;
2536
- gas: bigint;
2537
- hash: `0x${string}`;
2538
- input: `0x${string}`;
2539
- nonce: number;
2540
- r: `0x${string}`;
2541
- s: `0x${string}`;
2542
- to: `0x${string}` | null;
2543
- transactionIndex: number | null;
2544
- typeHex: `0x${string}` | null;
2545
- v: bigint;
2546
- value: bigint;
2547
- yParity: number;
2548
- gasPrice: bigint;
2549
- maxFeePerBlobGas?: undefined;
2550
- maxFeePerGas: undefined;
2551
- maxPriorityFeePerGas: undefined;
2552
- accessList: import("viem").AccessList;
2553
- blobVersionedHashes?: undefined;
2554
- chainId: number;
2555
- type: "eip2930";
2556
- l1BatchNumber: bigint | null;
2557
- l1BatchTxIndex: bigint | null;
2558
- } | {
2559
- blockHash: `0x${string}` | null;
2560
- blockNumber: bigint | null;
2561
- from: `0x${string}`;
2562
- gas: bigint;
2563
- hash: `0x${string}`;
2564
- input: `0x${string}`;
2565
- nonce: number;
2566
- r: `0x${string}`;
2567
- s: `0x${string}`;
2568
- to: `0x${string}` | null;
2569
- transactionIndex: number | null;
2570
- typeHex: `0x${string}` | null;
2571
- v: bigint;
2572
- value: bigint;
2573
- yParity: number;
2574
- gasPrice?: undefined;
2575
- maxFeePerBlobGas?: undefined;
2576
- maxFeePerGas: bigint;
2577
- maxPriorityFeePerGas: bigint;
2578
- accessList: import("viem").AccessList;
2579
- blobVersionedHashes?: undefined;
2580
- chainId: number;
2581
- type: "eip1559";
2582
- l1BatchNumber: bigint | null;
2583
- l1BatchTxIndex: bigint | null;
2584
- } | {
2585
- blockHash: `0x${string}` | null;
2586
- blockNumber: bigint | null;
2587
- from: `0x${string}`;
2588
- gas: bigint;
2589
- hash: `0x${string}`;
2590
- input: `0x${string}`;
2591
- nonce: number;
2592
- r: `0x${string}`;
2593
- s: `0x${string}`;
2594
- to: `0x${string}` | null;
2595
- transactionIndex: number | null;
2596
- typeHex: `0x${string}` | null;
2597
- v: bigint;
2598
- value: bigint;
2599
- yParity: number;
2600
- gasPrice?: undefined;
2601
- maxFeePerBlobGas?: undefined;
2602
- maxFeePerGas: bigint;
2603
- maxPriorityFeePerGas: bigint;
2604
- accessList: import("viem").AccessList;
2605
- blobVersionedHashes?: undefined;
2606
- chainId: number;
2607
- type: "priority";
2608
- l1BatchNumber: bigint | null;
2609
- l1BatchTxIndex: bigint | null;
2610
- } | {
2611
- blockHash: `0x${string}` | null;
2612
- blockNumber: bigint | null;
2613
- from: `0x${string}`;
2614
- gas: bigint;
2615
- hash: `0x${string}`;
2616
- input: `0x${string}`;
2617
- nonce: number;
2618
- r: `0x${string}`;
2619
- s: `0x${string}`;
2620
- to: `0x${string}` | null;
2621
- transactionIndex: number | null;
2622
- typeHex: `0x${string}` | null;
2623
- v: bigint;
2624
- value: bigint;
2625
- yParity: number;
2626
- gasPrice?: undefined;
2627
- maxFeePerBlobGas?: undefined;
2628
- maxFeePerGas: bigint;
2629
- maxPriorityFeePerGas: bigint;
2630
- accessList: import("viem").AccessList;
2631
- blobVersionedHashes?: undefined;
2632
- chainId: number;
2633
- type: "priority" | "eip712";
2634
- l1BatchNumber: bigint | null;
2635
- l1BatchTxIndex: bigint | null;
2636
- } | {
2637
- blockHash: `0x${string}` | null;
2638
- blockNumber: bigint | null;
2639
- from: `0x${string}`;
2640
- gas: bigint;
2641
- hash: `0x${string}`;
2642
- input: `0x${string}`;
2643
- nonce: number;
2644
- r: `0x${string}`;
2645
- s: `0x${string}`;
2646
- to: `0x${string}` | null;
2647
- transactionIndex: number | null;
2648
- typeHex: `0x${string}` | null;
2649
- v: bigint;
2650
- value: bigint;
2651
- yParity: number;
2652
- gasPrice?: undefined;
2653
- maxFeePerBlobGas: bigint;
2654
- maxFeePerGas: bigint;
2655
- maxPriorityFeePerGas: bigint;
2656
- accessList: import("viem").AccessList;
2657
- blobVersionedHashes: `0x${string}`[];
2658
- chainId: number;
2659
- type: "eip4844";
2660
- l1BatchNumber: bigint | null;
2661
- l1BatchTxIndex: bigint | null;
2662
- } | {
2663
- blockHash: `0x${string}` | null;
2664
- blockNumber: bigint | null;
2665
- from: `0x${string}`;
2666
- gas: bigint;
2667
- hash: `0x${string}`;
2668
- input: `0x${string}`;
2669
- nonce: number;
2670
- r: `0x${string}`;
2671
- s: `0x${string}`;
2672
- to: `0x${string}` | null;
2673
- transactionIndex: number | null;
2674
- typeHex: `0x${string}` | null;
2675
- v: bigint;
2676
- value: bigint;
2677
- yParity: number;
2678
- gasPrice?: undefined;
2679
- maxFeePerBlobGas: undefined;
2680
- maxFeePerGas: bigint;
2681
- maxPriorityFeePerGas: bigint;
2682
- accessList: import("viem").AccessList;
2683
- blobVersionedHashes: `0x${string}`[];
2684
- chainId: number;
2685
- type: "priority";
2686
- l1BatchNumber: bigint | null;
2687
- l1BatchTxIndex: bigint | null;
2688
- } | {
2689
- blockHash: `0x${string}` | null;
2690
- blockNumber: bigint | null;
2691
- from: `0x${string}`;
2692
- gas: bigint;
2693
- hash: `0x${string}`;
2694
- input: `0x${string}`;
2695
- nonce: number;
2696
- r: `0x${string}`;
2697
- s: `0x${string}`;
2698
- to: `0x${string}` | null;
2699
- transactionIndex: number | null;
2700
- typeHex: `0x${string}` | null;
2701
- v: bigint;
2702
- value: bigint;
2703
- yParity: number;
2704
- gasPrice?: undefined;
2705
- maxFeePerBlobGas: undefined;
2706
- maxFeePerGas: bigint;
2707
- maxPriorityFeePerGas: bigint;
2708
- accessList: import("viem").AccessList;
2709
- blobVersionedHashes: `0x${string}`[];
2710
- chainId: number;
2711
- type: "priority" | "eip712";
2712
- l1BatchNumber: bigint | null;
2713
- l1BatchTxIndex: bigint | null;
2714
- }) & {};
2715
- type: "transaction";
2716
- };
2717
- readonly transactionReceipt: {
2718
- exclude: [] | undefined;
2719
- format: (args: import("viem/chains").Assign<import("viem").ExactPartial<import("viem").RpcTransactionReceipt>, import("viem/chains").ZkSyncRpcTransactionReceiptOverrides>) => {
2720
- blobGasPrice?: bigint | undefined;
2721
- blobGasUsed?: bigint | undefined;
2722
- blockHash: `0x${string}`;
2723
- blockNumber: bigint;
2724
- contractAddress: `0x${string}` | null | undefined;
2725
- cumulativeGasUsed: bigint;
2726
- effectiveGasPrice: bigint;
2727
- from: `0x${string}`;
2728
- gasUsed: bigint;
2729
- logs: import("viem/chains").ZkSyncLog[];
2730
- logsBloom: `0x${string}`;
2731
- root?: `0x${string}` | undefined;
2732
- status: "success" | "reverted";
2733
- to: `0x${string}` | null;
2734
- transactionHash: `0x${string}`;
2735
- transactionIndex: number;
2736
- type: import("viem/chains").ZkSyncTransactionType;
2737
- l1BatchNumber: bigint | null;
2738
- l1BatchTxIndex: bigint | null;
2739
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
2740
- } & {};
2741
- type: "transactionReceipt";
2742
- };
2743
- readonly transactionRequest: {
2744
- exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
2745
- format: (args: ({
2746
- data?: `0x${string}` | undefined;
2747
- from?: `0x${string}`;
2748
- gas?: bigint | undefined;
2749
- nonce?: number | undefined;
2750
- to?: `0x${string}` | null | undefined;
2751
- value?: bigint | undefined;
2752
- gasPrice?: bigint | undefined;
2753
- maxFeePerBlobGas?: bigint | undefined;
2754
- maxFeePerGas?: bigint | undefined;
2755
- maxPriorityFeePerGas?: bigint | undefined;
2756
- accessList?: undefined;
2757
- blobs?: undefined;
2758
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2759
- blobVersionedHashes?: undefined;
2760
- kzg?: undefined;
2761
- sidecars?: undefined;
2762
- } & {
2763
- data?: `0x${string}` | undefined;
2764
- from: `0x${string}`;
2765
- gas?: bigint | undefined;
2766
- nonce?: number | undefined;
2767
- to?: `0x${string}` | null | undefined;
2768
- value?: bigint | undefined;
2769
- gasPrice?: bigint | undefined;
2770
- maxFeePerBlobGas?: undefined;
2771
- maxFeePerGas?: undefined;
2772
- maxPriorityFeePerGas?: undefined;
2773
- accessList?: undefined;
2774
- blobs?: undefined;
2775
- type?: "legacy" | undefined;
2776
- blobVersionedHashes?: undefined;
2777
- kzg?: undefined;
2778
- sidecars?: undefined;
2779
- } & {
2780
- gasPerPubdata?: undefined;
2781
- customSignature?: undefined;
2782
- paymaster?: undefined;
2783
- paymasterInput?: undefined;
2784
- factoryDeps?: undefined;
2785
- }) | ({
2786
- data?: `0x${string}` | undefined;
2787
- from?: `0x${string}`;
2788
- gas?: bigint | undefined;
2789
- nonce?: number | undefined;
2790
- to?: `0x${string}` | null | undefined;
2791
- value?: bigint | undefined;
2792
- gasPrice?: bigint | undefined;
2793
- maxFeePerBlobGas?: bigint | undefined;
2794
- maxFeePerGas?: bigint | undefined;
2795
- maxPriorityFeePerGas?: bigint | undefined;
2796
- accessList?: undefined;
2797
- blobs?: undefined;
2798
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2799
- blobVersionedHashes?: undefined;
2800
- kzg?: undefined;
2801
- sidecars?: undefined;
2802
- } & {
2803
- data?: `0x${string}` | undefined;
2804
- from: `0x${string}`;
2805
- gas?: bigint | undefined;
2806
- nonce?: number | undefined;
2807
- to?: `0x${string}` | null | undefined;
2808
- value?: bigint | undefined;
2809
- gasPrice?: bigint | undefined;
2810
- maxFeePerBlobGas?: undefined;
2811
- maxFeePerGas?: undefined;
2812
- maxPriorityFeePerGas?: undefined;
2813
- accessList?: import("viem").AccessList | undefined;
2814
- blobs?: undefined;
2815
- type?: "eip2930" | undefined;
2816
- blobVersionedHashes?: undefined;
2817
- kzg?: undefined;
2818
- sidecars?: undefined;
2819
- } & {
2820
- gasPerPubdata?: undefined;
2821
- customSignature?: undefined;
2822
- paymaster?: undefined;
2823
- paymasterInput?: undefined;
2824
- factoryDeps?: undefined;
2825
- }) | ({
2826
- data?: `0x${string}` | undefined;
2827
- from?: `0x${string}`;
2828
- gas?: bigint | undefined;
2829
- nonce?: number | undefined;
2830
- to?: `0x${string}` | null | undefined;
2831
- value?: bigint | undefined;
2832
- gasPrice?: bigint | undefined;
2833
- maxFeePerBlobGas?: bigint | undefined;
2834
- maxFeePerGas?: bigint | undefined;
2835
- maxPriorityFeePerGas?: bigint | undefined;
2836
- accessList?: undefined;
2837
- blobs?: undefined;
2838
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2839
- blobVersionedHashes?: undefined;
2840
- kzg?: undefined;
2841
- sidecars?: undefined;
2842
- } & {
2843
- data?: `0x${string}` | undefined;
2844
- from: `0x${string}`;
2845
- gas?: bigint | undefined;
2846
- nonce?: number | undefined;
2847
- to?: `0x${string}` | null | undefined;
2848
- value?: bigint | undefined;
2849
- gasPrice?: undefined;
2850
- maxFeePerBlobGas?: undefined;
2851
- maxFeePerGas?: bigint | undefined;
2852
- maxPriorityFeePerGas?: bigint | undefined;
2853
- accessList?: import("viem").AccessList | undefined;
2854
- blobs?: undefined;
2855
- type?: "eip1559" | undefined;
2856
- blobVersionedHashes?: undefined;
2857
- kzg?: undefined;
2858
- sidecars?: undefined;
2859
- } & {
2860
- gasPerPubdata?: undefined;
2861
- customSignature?: undefined;
2862
- paymaster?: undefined;
2863
- paymasterInput?: undefined;
2864
- factoryDeps?: undefined;
2865
- }) | ({
2866
- data?: `0x${string}` | undefined;
2867
- from?: `0x${string}`;
2868
- gas?: bigint | undefined;
2869
- nonce?: number | undefined;
2870
- to?: `0x${string}` | null | undefined;
2871
- value?: bigint | undefined;
2872
- gasPrice?: bigint | undefined;
2873
- maxFeePerBlobGas?: bigint | undefined;
2874
- maxFeePerGas?: bigint | undefined;
2875
- maxPriorityFeePerGas?: bigint | undefined;
2876
- accessList?: undefined;
2877
- blobs?: undefined;
2878
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2879
- blobVersionedHashes?: undefined;
2880
- kzg?: undefined;
2881
- sidecars?: undefined;
2882
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
2883
- gasPerPubdata?: bigint | undefined;
2884
- customSignature?: `0x${string}` | undefined;
2885
- factoryDeps?: `0x${string}`[] | undefined;
2886
- type?: "priority" | "eip712" | undefined;
2887
- } & {
2888
- paymaster: `0x${string}`;
2889
- paymasterInput: `0x${string}`;
2890
- }) | ({
2891
- data?: `0x${string}` | undefined;
2892
- from?: `0x${string}`;
2893
- gas?: bigint | undefined;
2894
- nonce?: number | undefined;
2895
- to?: `0x${string}` | null | undefined;
2896
- value?: bigint | undefined;
2897
- gasPrice?: bigint | undefined;
2898
- maxFeePerBlobGas?: bigint | undefined;
2899
- maxFeePerGas?: bigint | undefined;
2900
- maxPriorityFeePerGas?: bigint | undefined;
2901
- accessList?: undefined;
2902
- blobs?: undefined;
2903
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2904
- blobVersionedHashes?: undefined;
2905
- kzg?: undefined;
2906
- sidecars?: undefined;
2907
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
2908
- gasPerPubdata?: bigint | undefined;
2909
- customSignature?: `0x${string}` | undefined;
2910
- factoryDeps?: `0x${string}`[] | undefined;
2911
- type?: "priority" | "eip712" | undefined;
2912
- } & {
2913
- paymaster?: undefined;
2914
- paymasterInput?: undefined;
2915
- }) | ({
2916
- data?: `0x${string}` | undefined;
2917
- from?: `0x${string}`;
2918
- gas?: bigint | undefined;
2919
- nonce?: number | undefined;
2920
- to?: `0x${string}` | null | undefined;
2921
- value?: bigint | undefined;
2922
- gasPrice?: bigint | undefined;
2923
- maxFeePerBlobGas?: bigint | undefined;
2924
- maxFeePerGas?: bigint | undefined;
2925
- maxPriorityFeePerGas?: bigint | undefined;
2926
- accessList?: import("viem").AccessList | undefined;
2927
- blobs?: undefined;
2928
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2929
- blobVersionedHashes?: undefined;
2930
- kzg?: undefined;
2931
- sidecars?: undefined;
2932
- } & {
2933
- data?: `0x${string}` | undefined;
2934
- from: `0x${string}`;
2935
- gas?: bigint | undefined;
2936
- nonce?: number | undefined;
2937
- to?: `0x${string}` | null | undefined;
2938
- value?: bigint | undefined;
2939
- gasPrice?: bigint | undefined;
2940
- maxFeePerBlobGas?: undefined;
2941
- maxFeePerGas?: undefined;
2942
- maxPriorityFeePerGas?: undefined;
2943
- accessList?: undefined;
2944
- blobs?: undefined;
2945
- type?: "legacy" | undefined;
2946
- blobVersionedHashes?: undefined;
2947
- kzg?: undefined;
2948
- sidecars?: undefined;
2949
- } & {
2950
- gasPerPubdata?: undefined;
2951
- customSignature?: undefined;
2952
- paymaster?: undefined;
2953
- paymasterInput?: undefined;
2954
- factoryDeps?: undefined;
2955
- }) | ({
2956
- data?: `0x${string}` | undefined;
2957
- from?: `0x${string}`;
2958
- gas?: bigint | undefined;
2959
- nonce?: number | undefined;
2960
- to?: `0x${string}` | null | undefined;
2961
- value?: bigint | undefined;
2962
- gasPrice?: bigint | undefined;
2963
- maxFeePerBlobGas?: bigint | undefined;
2964
- maxFeePerGas?: bigint | undefined;
2965
- maxPriorityFeePerGas?: bigint | undefined;
2966
- accessList?: import("viem").AccessList | undefined;
2967
- blobs?: undefined;
2968
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
2969
- blobVersionedHashes?: undefined;
2970
- kzg?: undefined;
2971
- sidecars?: undefined;
2972
- } & {
2973
- data?: `0x${string}` | undefined;
2974
- from: `0x${string}`;
2975
- gas?: bigint | undefined;
2976
- nonce?: number | undefined;
2977
- to?: `0x${string}` | null | undefined;
2978
- value?: bigint | undefined;
2979
- gasPrice?: bigint | undefined;
2980
- maxFeePerBlobGas?: undefined;
2981
- maxFeePerGas?: undefined;
2982
- maxPriorityFeePerGas?: undefined;
2983
- accessList?: import("viem").AccessList | undefined;
2984
- blobs?: undefined;
2985
- type?: "eip2930" | undefined;
2986
- blobVersionedHashes?: undefined;
2987
- kzg?: undefined;
2988
- sidecars?: undefined;
2989
- } & {
2990
- gasPerPubdata?: undefined;
2991
- customSignature?: undefined;
2992
- paymaster?: undefined;
2993
- paymasterInput?: undefined;
2994
- factoryDeps?: undefined;
2995
- }) | ({
2996
- data?: `0x${string}` | undefined;
2997
- from?: `0x${string}`;
2998
- gas?: bigint | undefined;
2999
- nonce?: number | undefined;
3000
- to?: `0x${string}` | null | undefined;
3001
- value?: bigint | undefined;
3002
- gasPrice?: bigint | undefined;
3003
- maxFeePerBlobGas?: bigint | undefined;
3004
- maxFeePerGas?: bigint | undefined;
3005
- maxPriorityFeePerGas?: bigint | undefined;
3006
- accessList?: import("viem").AccessList | undefined;
3007
- blobs?: undefined;
3008
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3009
- blobVersionedHashes?: undefined;
3010
- kzg?: undefined;
3011
- sidecars?: undefined;
3012
- } & {
3013
- data?: `0x${string}` | undefined;
3014
- from: `0x${string}`;
3015
- gas?: bigint | undefined;
3016
- nonce?: number | undefined;
3017
- to?: `0x${string}` | null | undefined;
3018
- value?: bigint | undefined;
3019
- gasPrice?: undefined;
3020
- maxFeePerBlobGas?: undefined;
3021
- maxFeePerGas?: bigint | undefined;
3022
- maxPriorityFeePerGas?: bigint | undefined;
3023
- accessList?: import("viem").AccessList | undefined;
3024
- blobs?: undefined;
3025
- type?: "eip1559" | undefined;
3026
- blobVersionedHashes?: undefined;
3027
- kzg?: undefined;
3028
- sidecars?: undefined;
3029
- } & {
3030
- gasPerPubdata?: undefined;
3031
- customSignature?: undefined;
3032
- paymaster?: undefined;
3033
- paymasterInput?: undefined;
3034
- factoryDeps?: undefined;
3035
- }) | ({
3036
- data?: `0x${string}` | undefined;
3037
- from?: `0x${string}`;
3038
- gas?: bigint | undefined;
3039
- nonce?: number | undefined;
3040
- to?: `0x${string}` | null | undefined;
3041
- value?: bigint | undefined;
3042
- gasPrice?: bigint | undefined;
3043
- maxFeePerBlobGas?: bigint | undefined;
3044
- maxFeePerGas?: bigint | undefined;
3045
- maxPriorityFeePerGas?: bigint | undefined;
3046
- accessList?: import("viem").AccessList | undefined;
3047
- blobs?: undefined;
3048
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3049
- blobVersionedHashes?: undefined;
3050
- kzg?: undefined;
3051
- sidecars?: undefined;
3052
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
3053
- gasPerPubdata?: bigint | undefined;
3054
- customSignature?: `0x${string}` | undefined;
3055
- factoryDeps?: `0x${string}`[] | undefined;
3056
- type?: "priority" | "eip712" | undefined;
3057
- } & {
3058
- paymaster: `0x${string}`;
3059
- paymasterInput: `0x${string}`;
3060
- }) | ({
3061
- data?: `0x${string}` | undefined;
3062
- from?: `0x${string}`;
3063
- gas?: bigint | undefined;
3064
- nonce?: number | undefined;
3065
- to?: `0x${string}` | null | undefined;
3066
- value?: bigint | undefined;
3067
- gasPrice?: bigint | undefined;
3068
- maxFeePerBlobGas?: bigint | undefined;
3069
- maxFeePerGas?: bigint | undefined;
3070
- maxPriorityFeePerGas?: bigint | undefined;
3071
- accessList?: import("viem").AccessList | undefined;
3072
- blobs?: undefined;
3073
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3074
- blobVersionedHashes?: undefined;
3075
- kzg?: undefined;
3076
- sidecars?: undefined;
3077
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
3078
- gasPerPubdata?: bigint | undefined;
3079
- customSignature?: `0x${string}` | undefined;
3080
- factoryDeps?: `0x${string}`[] | undefined;
3081
- type?: "priority" | "eip712" | undefined;
3082
- } & {
3083
- paymaster?: undefined;
3084
- paymasterInput?: undefined;
3085
- }) | ({
3086
- data?: `0x${string}` | undefined;
3087
- from?: `0x${string}`;
3088
- gas?: bigint | undefined;
3089
- nonce?: number | undefined;
3090
- to?: `0x${string}` | null | undefined;
3091
- value?: bigint | undefined;
3092
- gasPrice?: bigint | undefined;
3093
- maxFeePerBlobGas?: bigint | undefined;
3094
- maxFeePerGas?: bigint | undefined;
3095
- maxPriorityFeePerGas?: bigint | undefined;
3096
- accessList?: import("viem").AccessList | undefined;
3097
- blobs?: undefined;
3098
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3099
- blobVersionedHashes?: undefined;
3100
- kzg?: undefined;
3101
- sidecars?: undefined;
3102
- } & {
3103
- data?: `0x${string}` | undefined;
3104
- from: `0x${string}`;
3105
- gas?: bigint | undefined;
3106
- nonce?: number | undefined;
3107
- to?: `0x${string}` | null | undefined;
3108
- value?: bigint | undefined;
3109
- gasPrice?: bigint | undefined;
3110
- maxFeePerBlobGas?: undefined;
3111
- maxFeePerGas?: undefined;
3112
- maxPriorityFeePerGas?: undefined;
3113
- accessList?: undefined;
3114
- blobs?: undefined;
3115
- type?: "legacy" | undefined;
3116
- blobVersionedHashes?: undefined;
3117
- kzg?: undefined;
3118
- sidecars?: undefined;
3119
- } & {
3120
- gasPerPubdata?: undefined;
3121
- customSignature?: undefined;
3122
- paymaster?: undefined;
3123
- paymasterInput?: undefined;
3124
- factoryDeps?: undefined;
3125
- }) | ({
3126
- data?: `0x${string}` | undefined;
3127
- from?: `0x${string}`;
3128
- gas?: bigint | undefined;
3129
- nonce?: number | undefined;
3130
- to?: `0x${string}` | null | undefined;
3131
- value?: bigint | undefined;
3132
- gasPrice?: bigint | undefined;
3133
- maxFeePerBlobGas?: bigint | undefined;
3134
- maxFeePerGas?: bigint | undefined;
3135
- maxPriorityFeePerGas?: bigint | undefined;
3136
- accessList?: import("viem").AccessList | undefined;
3137
- blobs?: undefined;
3138
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3139
- blobVersionedHashes?: undefined;
3140
- kzg?: undefined;
3141
- sidecars?: undefined;
3142
- } & {
3143
- data?: `0x${string}` | undefined;
3144
- from: `0x${string}`;
3145
- gas?: bigint | undefined;
3146
- nonce?: number | undefined;
3147
- to?: `0x${string}` | null | undefined;
3148
- value?: bigint | undefined;
3149
- gasPrice?: bigint | undefined;
3150
- maxFeePerBlobGas?: undefined;
3151
- maxFeePerGas?: undefined;
3152
- maxPriorityFeePerGas?: undefined;
3153
- accessList?: import("viem").AccessList | undefined;
3154
- blobs?: undefined;
3155
- type?: "eip2930" | undefined;
3156
- blobVersionedHashes?: undefined;
3157
- kzg?: undefined;
3158
- sidecars?: undefined;
3159
- } & {
3160
- gasPerPubdata?: undefined;
3161
- customSignature?: undefined;
3162
- paymaster?: undefined;
3163
- paymasterInput?: undefined;
3164
- factoryDeps?: undefined;
3165
- }) | ({
3166
- data?: `0x${string}` | undefined;
3167
- from?: `0x${string}`;
3168
- gas?: bigint | undefined;
3169
- nonce?: number | undefined;
3170
- to?: `0x${string}` | null | undefined;
3171
- value?: bigint | undefined;
3172
- gasPrice?: bigint | undefined;
3173
- maxFeePerBlobGas?: bigint | undefined;
3174
- maxFeePerGas?: bigint | undefined;
3175
- maxPriorityFeePerGas?: bigint | undefined;
3176
- accessList?: import("viem").AccessList | undefined;
3177
- blobs?: undefined;
3178
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3179
- blobVersionedHashes?: undefined;
3180
- kzg?: undefined;
3181
- sidecars?: undefined;
3182
- } & {
3183
- data?: `0x${string}` | undefined;
3184
- from: `0x${string}`;
3185
- gas?: bigint | undefined;
3186
- nonce?: number | undefined;
3187
- to?: `0x${string}` | null | undefined;
3188
- value?: bigint | undefined;
3189
- gasPrice?: undefined;
3190
- maxFeePerBlobGas?: undefined;
3191
- maxFeePerGas?: bigint | undefined;
3192
- maxPriorityFeePerGas?: bigint | undefined;
3193
- accessList?: import("viem").AccessList | undefined;
3194
- blobs?: undefined;
3195
- type?: "eip1559" | undefined;
3196
- blobVersionedHashes?: undefined;
3197
- kzg?: undefined;
3198
- sidecars?: undefined;
3199
- } & {
3200
- gasPerPubdata?: undefined;
3201
- customSignature?: undefined;
3202
- paymaster?: undefined;
3203
- paymasterInput?: undefined;
3204
- factoryDeps?: undefined;
3205
- }) | ({
3206
- data?: `0x${string}` | undefined;
3207
- from?: `0x${string}`;
3208
- gas?: bigint | undefined;
3209
- nonce?: number | undefined;
3210
- to?: `0x${string}` | null | undefined;
3211
- value?: bigint | undefined;
3212
- gasPrice?: bigint | undefined;
3213
- maxFeePerBlobGas?: bigint | undefined;
3214
- maxFeePerGas?: bigint | undefined;
3215
- maxPriorityFeePerGas?: bigint | undefined;
3216
- accessList?: import("viem").AccessList | undefined;
3217
- blobs?: undefined;
3218
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3219
- blobVersionedHashes?: undefined;
3220
- kzg?: undefined;
3221
- sidecars?: undefined;
3222
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
3223
- gasPerPubdata?: bigint | undefined;
3224
- customSignature?: `0x${string}` | undefined;
3225
- factoryDeps?: `0x${string}`[] | undefined;
3226
- type?: "priority" | "eip712" | undefined;
3227
- } & {
3228
- paymaster: `0x${string}`;
3229
- paymasterInput: `0x${string}`;
3230
- }) | ({
3231
- data?: `0x${string}` | undefined;
3232
- from?: `0x${string}`;
3233
- gas?: bigint | undefined;
3234
- nonce?: number | undefined;
3235
- to?: `0x${string}` | null | undefined;
3236
- value?: bigint | undefined;
3237
- gasPrice?: bigint | undefined;
3238
- maxFeePerBlobGas?: bigint | undefined;
3239
- maxFeePerGas?: bigint | undefined;
3240
- maxPriorityFeePerGas?: bigint | undefined;
3241
- accessList?: import("viem").AccessList | undefined;
3242
- blobs?: undefined;
3243
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3244
- blobVersionedHashes?: undefined;
3245
- kzg?: undefined;
3246
- sidecars?: undefined;
3247
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
3248
- gasPerPubdata?: bigint | undefined;
3249
- customSignature?: `0x${string}` | undefined;
3250
- factoryDeps?: `0x${string}`[] | undefined;
3251
- type?: "priority" | "eip712" | undefined;
3252
- } & {
3253
- paymaster?: undefined;
3254
- paymasterInput?: undefined;
3255
- }) | ({
3256
- data?: `0x${string}` | undefined;
3257
- from?: `0x${string}`;
3258
- gas?: bigint | undefined;
3259
- nonce?: number | undefined;
3260
- value?: bigint | undefined;
3261
- to?: `0x${string}` | null | undefined;
3262
- gasPrice?: bigint | undefined;
3263
- maxFeePerGas?: bigint | undefined;
3264
- maxPriorityFeePerGas?: bigint | undefined;
3265
- maxFeePerBlobGas?: bigint | undefined;
3266
- accessList?: import("viem").AccessList | undefined;
3267
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3268
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3269
- kzg?: import("viem").Kzg | undefined;
3270
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3271
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3272
- } & {
3273
- data?: `0x${string}` | undefined;
3274
- from: `0x${string}`;
3275
- gas?: bigint | undefined;
3276
- nonce?: number | undefined;
3277
- to?: `0x${string}` | null | undefined;
3278
- value?: bigint | undefined;
3279
- gasPrice?: bigint | undefined;
3280
- maxFeePerBlobGas?: undefined;
3281
- maxFeePerGas?: undefined;
3282
- maxPriorityFeePerGas?: undefined;
3283
- accessList?: undefined;
3284
- blobs?: undefined;
3285
- type?: "legacy" | undefined;
3286
- blobVersionedHashes?: undefined;
3287
- kzg?: undefined;
3288
- sidecars?: undefined;
3289
- } & {
3290
- gasPerPubdata?: undefined;
3291
- customSignature?: undefined;
3292
- paymaster?: undefined;
3293
- paymasterInput?: undefined;
3294
- factoryDeps?: undefined;
3295
- }) | ({
3296
- data?: `0x${string}` | undefined;
3297
- from?: `0x${string}`;
3298
- gas?: bigint | undefined;
3299
- nonce?: number | undefined;
3300
- value?: bigint | undefined;
3301
- to?: `0x${string}` | null | undefined;
3302
- gasPrice?: bigint | undefined;
3303
- maxFeePerGas?: bigint | undefined;
3304
- maxPriorityFeePerGas?: bigint | undefined;
3305
- maxFeePerBlobGas?: bigint | undefined;
3306
- accessList?: import("viem").AccessList | undefined;
3307
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3308
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3309
- kzg?: import("viem").Kzg | undefined;
3310
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3311
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3312
- } & {
3313
- data?: `0x${string}` | undefined;
3314
- from: `0x${string}`;
3315
- gas?: bigint | undefined;
3316
- nonce?: number | undefined;
3317
- to?: `0x${string}` | null | undefined;
3318
- value?: bigint | undefined;
3319
- gasPrice?: bigint | undefined;
3320
- maxFeePerBlobGas?: undefined;
3321
- maxFeePerGas?: undefined;
3322
- maxPriorityFeePerGas?: undefined;
3323
- accessList?: import("viem").AccessList | undefined;
3324
- blobs?: undefined;
3325
- type?: "eip2930" | undefined;
3326
- blobVersionedHashes?: undefined;
3327
- kzg?: undefined;
3328
- sidecars?: undefined;
3329
- } & {
3330
- gasPerPubdata?: undefined;
3331
- customSignature?: undefined;
3332
- paymaster?: undefined;
3333
- paymasterInput?: undefined;
3334
- factoryDeps?: undefined;
3335
- }) | ({
3336
- data?: `0x${string}` | undefined;
3337
- from?: `0x${string}`;
3338
- gas?: bigint | undefined;
3339
- nonce?: number | undefined;
3340
- value?: bigint | undefined;
3341
- to?: `0x${string}` | null | undefined;
3342
- gasPrice?: bigint | undefined;
3343
- maxFeePerGas?: bigint | undefined;
3344
- maxPriorityFeePerGas?: bigint | undefined;
3345
- maxFeePerBlobGas?: bigint | undefined;
3346
- accessList?: import("viem").AccessList | undefined;
3347
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3348
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3349
- kzg?: import("viem").Kzg | undefined;
3350
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3351
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3352
- } & {
3353
- data?: `0x${string}` | undefined;
3354
- from: `0x${string}`;
3355
- gas?: bigint | undefined;
3356
- nonce?: number | undefined;
3357
- to?: `0x${string}` | null | undefined;
3358
- value?: bigint | undefined;
3359
- gasPrice?: undefined;
3360
- maxFeePerBlobGas?: undefined;
3361
- maxFeePerGas?: bigint | undefined;
3362
- maxPriorityFeePerGas?: bigint | undefined;
3363
- accessList?: import("viem").AccessList | undefined;
3364
- blobs?: undefined;
3365
- type?: "eip1559" | undefined;
3366
- blobVersionedHashes?: undefined;
3367
- kzg?: undefined;
3368
- sidecars?: undefined;
3369
- } & {
3370
- gasPerPubdata?: undefined;
3371
- customSignature?: undefined;
3372
- paymaster?: undefined;
3373
- paymasterInput?: undefined;
3374
- factoryDeps?: undefined;
3375
- }) | ({
3376
- data?: `0x${string}` | undefined;
3377
- from?: `0x${string}`;
3378
- gas?: bigint | undefined;
3379
- nonce?: number | undefined;
3380
- value?: bigint | undefined;
3381
- to?: `0x${string}` | null | undefined;
3382
- gasPrice?: bigint | undefined;
3383
- maxFeePerGas?: bigint | undefined;
3384
- maxPriorityFeePerGas?: bigint | undefined;
3385
- maxFeePerBlobGas?: bigint | undefined;
3386
- accessList?: import("viem").AccessList | undefined;
3387
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3388
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3389
- kzg?: import("viem").Kzg | undefined;
3390
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3391
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3392
- } & {
3393
- data?: `0x${string}` | undefined;
3394
- from: `0x${string}`;
3395
- gas?: bigint | undefined;
3396
- nonce?: number | undefined;
3397
- value?: bigint | undefined;
3398
- to: `0x${string}` | null;
3399
- gasPrice?: undefined;
3400
- maxFeePerGas?: bigint | undefined;
3401
- maxPriorityFeePerGas?: bigint | undefined;
3402
- maxFeePerBlobGas: bigint;
3403
- accessList?: import("viem").AccessList | undefined;
3404
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
3405
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3406
- kzg?: import("viem").Kzg | undefined;
3407
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3408
- type?: "eip4844" | undefined;
3409
- } & {
3410
- gasPerPubdata?: undefined;
3411
- customSignature?: undefined;
3412
- paymaster?: undefined;
3413
- paymasterInput?: undefined;
3414
- factoryDeps?: undefined;
3415
- }) | ({
3416
- data?: `0x${string}` | undefined;
3417
- from?: `0x${string}`;
3418
- gas?: bigint | undefined;
3419
- nonce?: number | undefined;
3420
- value?: bigint | undefined;
3421
- to?: `0x${string}` | null | undefined;
3422
- gasPrice?: bigint | undefined;
3423
- maxFeePerGas?: bigint | undefined;
3424
- maxPriorityFeePerGas?: bigint | undefined;
3425
- maxFeePerBlobGas?: bigint | undefined;
3426
- accessList?: import("viem").AccessList | undefined;
3427
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3428
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3429
- kzg?: import("viem").Kzg | undefined;
3430
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3431
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3432
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
3433
- gasPerPubdata?: bigint | undefined;
3434
- customSignature?: `0x${string}` | undefined;
3435
- factoryDeps?: `0x${string}`[] | undefined;
3436
- type?: "priority" | "eip712" | undefined;
3437
- } & {
3438
- paymaster: `0x${string}`;
3439
- paymasterInput: `0x${string}`;
3440
- }) | ({
3441
- data?: `0x${string}` | undefined;
3442
- from?: `0x${string}`;
3443
- gas?: bigint | undefined;
3444
- nonce?: number | undefined;
3445
- value?: bigint | undefined;
3446
- to?: `0x${string}` | null | undefined;
3447
- gasPrice?: bigint | undefined;
3448
- maxFeePerGas?: bigint | undefined;
3449
- maxPriorityFeePerGas?: bigint | undefined;
3450
- maxFeePerBlobGas?: bigint | undefined;
3451
- accessList?: import("viem").AccessList | undefined;
3452
- blobs?: readonly `0x${string}`[] | readonly Uint8Array[] | undefined;
3453
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3454
- kzg?: import("viem").Kzg | undefined;
3455
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3456
- type?: "legacy" | "eip1559" | "eip4844" | "eip2930" | "priority" | "eip712" | undefined;
3457
- } & Omit<import("viem").TransactionRequestBase, "type"> & import("viem").ExactPartial<import("viem").FeeValuesEIP1559> & {
3458
- gasPerPubdata?: bigint | undefined;
3459
- customSignature?: `0x${string}` | undefined;
3460
- factoryDeps?: `0x${string}`[] | undefined;
3461
- type?: "priority" | "eip712" | undefined;
3462
- } & {
3463
- paymaster?: undefined;
3464
- paymasterInput?: undefined;
3465
- })) => ({
3466
- data?: `0x${string}` | undefined;
3467
- from: `0x${string}`;
3468
- gas?: `0x${string}` | undefined;
3469
- nonce?: `0x${string}` | undefined;
3470
- to?: `0x${string}` | null | undefined;
3471
- value?: `0x${string}` | undefined;
3472
- gasPrice?: `0x${string}` | undefined;
749
+ chainId?: number | undefined;
750
+ yParity?: undefined;
751
+ type: "legacy";
752
+ gasPrice: bigint;
3473
753
  maxFeePerBlobGas?: undefined;
3474
754
  maxFeePerGas?: undefined;
3475
755
  maxPriorityFeePerGas?: undefined;
3476
- accessList?: undefined;
3477
- blobs?: undefined;
3478
- type?: "0x0" | undefined;
3479
- blobVersionedHashes?: undefined;
3480
- kzg?: undefined;
3481
- sidecars?: undefined;
3482
- eip712Meta?: undefined;
756
+ l1BatchNumber: bigint | null;
757
+ l1BatchTxIndex: bigint | null;
3483
758
  } | {
3484
- data?: `0x${string}` | undefined;
3485
- from: `0x${string}`;
3486
- gas?: `0x${string}` | undefined;
3487
- nonce?: `0x${string}` | undefined;
3488
- to?: `0x${string}` | null | undefined;
3489
- value?: `0x${string}` | undefined;
3490
- gasPrice?: `0x${string}` | undefined;
759
+ blockHash: `0x${string}` | null;
760
+ blockNumber: bigint | null;
761
+ from: import("viem").Address;
762
+ gas: bigint;
763
+ hash: import("viem").Hash;
764
+ input: import("viem").Hex;
765
+ nonce: number;
766
+ r: import("viem").Hex;
767
+ s: import("viem").Hex;
768
+ to: import("viem").Address | null;
769
+ transactionIndex: number | null;
770
+ typeHex: import("viem").Hex | null;
771
+ v: bigint;
772
+ value: bigint;
773
+ yParity: number;
774
+ accessList: import("viem").AccessList;
775
+ blobVersionedHashes?: undefined;
776
+ chainId: number;
777
+ type: "eip2930";
778
+ gasPrice: bigint;
3491
779
  maxFeePerBlobGas?: undefined;
3492
780
  maxFeePerGas?: undefined;
3493
781
  maxPriorityFeePerGas?: undefined;
3494
- accessList?: undefined;
3495
- blobs?: undefined;
3496
- type?: "0x1" | undefined;
3497
- blobVersionedHashes?: undefined;
3498
- kzg?: undefined;
3499
- sidecars?: undefined;
3500
- eip712Meta?: undefined;
782
+ l1BatchNumber: bigint | null;
783
+ l1BatchTxIndex: bigint | null;
3501
784
  } | {
3502
- data?: `0x${string}` | undefined;
3503
- from: `0x${string}`;
3504
- gas?: `0x${string}` | undefined;
3505
- nonce?: `0x${string}` | undefined;
3506
- to?: `0x${string}` | null | undefined;
3507
- value?: `0x${string}` | undefined;
785
+ blockHash: `0x${string}` | null;
786
+ blockNumber: bigint | null;
787
+ from: import("viem").Address;
788
+ gas: bigint;
789
+ hash: import("viem").Hash;
790
+ input: import("viem").Hex;
791
+ nonce: number;
792
+ r: import("viem").Hex;
793
+ s: import("viem").Hex;
794
+ to: import("viem").Address | null;
795
+ transactionIndex: number | null;
796
+ typeHex: import("viem").Hex | null;
797
+ v: bigint;
798
+ value: bigint;
799
+ yParity: number;
800
+ accessList: import("viem").AccessList;
801
+ blobVersionedHashes?: undefined;
802
+ chainId: number;
803
+ type: "eip1559";
3508
804
  gasPrice?: undefined;
3509
805
  maxFeePerBlobGas?: undefined;
3510
- maxFeePerGas?: `0x${string}` | undefined;
3511
- maxPriorityFeePerGas?: `0x${string}` | undefined;
3512
- accessList?: undefined;
3513
- blobs?: undefined;
3514
- type?: "0x2" | undefined;
3515
- blobVersionedHashes?: undefined;
3516
- kzg?: undefined;
3517
- sidecars?: undefined;
3518
- eip712Meta?: undefined;
806
+ maxFeePerGas: bigint;
807
+ maxPriorityFeePerGas: bigint;
808
+ l1BatchNumber: bigint | null;
809
+ l1BatchTxIndex: bigint | null;
3519
810
  } | {
3520
- data?: `0x${string}` | undefined;
3521
- from: `0x${string}`;
3522
- gas?: `0x${string}` | undefined;
3523
- nonce?: `0x${string}` | undefined;
3524
- to?: `0x${string}` | null | undefined;
3525
- value?: `0x${string}` | undefined;
811
+ blockHash: `0x${string}` | null;
812
+ blockNumber: bigint | null;
813
+ from: import("viem").Address;
814
+ gas: bigint;
815
+ hash: import("viem").Hash;
816
+ input: import("viem").Hex;
817
+ nonce: number;
818
+ r: import("viem").Hex;
819
+ s: import("viem").Hex;
820
+ to: import("viem").Address | null;
821
+ transactionIndex: number | null;
822
+ typeHex: import("viem").Hex | null;
823
+ v: bigint;
824
+ value: bigint;
825
+ yParity: number;
826
+ accessList: import("viem").AccessList;
827
+ blobVersionedHashes: readonly import("viem").Hex[];
828
+ chainId: number;
829
+ type: "eip4844";
830
+ gasPrice?: undefined;
831
+ maxFeePerBlobGas: bigint;
832
+ maxFeePerGas: bigint;
833
+ maxPriorityFeePerGas: bigint;
834
+ l1BatchNumber: bigint | null;
835
+ l1BatchTxIndex: bigint | null;
836
+ } | {
837
+ blockHash: `0x${string}` | null;
838
+ blockNumber: bigint | null;
839
+ from: import("viem").Address;
840
+ gas: bigint;
841
+ hash: import("viem").Hash;
842
+ input: import("viem").Hex;
843
+ nonce: number;
844
+ r: import("viem").Hex;
845
+ s: import("viem").Hex;
846
+ to: import("viem").Address | null;
847
+ transactionIndex: number | null;
848
+ typeHex: import("viem").Hex | null;
849
+ v: bigint;
850
+ value: bigint;
851
+ yParity: number;
852
+ l1BatchNumber: bigint | null;
853
+ l1BatchTxIndex: bigint | null;
3526
854
  gasPrice?: undefined;
3527
855
  maxFeePerBlobGas?: undefined;
3528
- maxFeePerGas?: `0x${string}` | undefined;
3529
- maxPriorityFeePerGas?: `0x${string}` | undefined;
3530
- accessList?: undefined;
3531
- blobs?: undefined;
3532
- type: "0xff" | "0x71";
3533
- blobVersionedHashes?: undefined;
3534
- kzg?: undefined;
3535
- sidecars?: undefined;
3536
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
856
+ maxFeePerGas: bigint;
857
+ maxPriorityFeePerGas: bigint;
858
+ type: "priority";
3537
859
  } | {
3538
- data?: `0x${string}` | undefined;
3539
- from: `0x${string}`;
860
+ blockHash: `0x${string}` | null;
861
+ blockNumber: bigint | null;
862
+ from: import("viem").Address;
863
+ gas: bigint;
864
+ hash: import("viem").Hash;
865
+ input: import("viem").Hex;
866
+ nonce: number;
867
+ r: import("viem").Hex;
868
+ s: import("viem").Hex;
869
+ to: import("viem").Address | null;
870
+ transactionIndex: number | null;
871
+ typeHex: import("viem").Hex | null;
872
+ v: bigint;
873
+ value: bigint;
874
+ yParity: number;
875
+ l1BatchNumber: bigint | null;
876
+ l1BatchTxIndex: bigint | null;
877
+ gasPrice?: undefined;
878
+ maxFeePerBlobGas?: undefined;
879
+ maxFeePerGas: bigint;
880
+ maxPriorityFeePerGas: bigint;
881
+ type: "eip712" | "priority";
882
+ }) & {};
883
+ type: "transaction";
884
+ };
885
+ readonly transactionReceipt: {
886
+ exclude: [] | undefined;
887
+ format: (args: import("viem/_types/zksync/types/transaction").ZkSyncRpcTransactionReceipt) => {
888
+ type: import("viem/chains").ZkSyncTransactionType;
889
+ to: import("viem").Address | null;
890
+ from: import("viem").Address;
891
+ blockHash: import("viem").Hash;
892
+ blockNumber: bigint;
893
+ transactionIndex: number;
894
+ status: "success" | "reverted";
895
+ logsBloom: import("viem").Hex;
896
+ blobGasUsed?: bigint | undefined;
897
+ gasUsed: bigint;
898
+ contractAddress: import("viem").Address | null | undefined;
899
+ transactionHash: import("viem").Hash;
900
+ blobGasPrice?: bigint | undefined;
901
+ cumulativeGasUsed: bigint;
902
+ effectiveGasPrice: bigint;
903
+ root?: import("viem").Hash | undefined;
904
+ l1BatchNumber: bigint | null;
905
+ l1BatchTxIndex: bigint | null;
906
+ logs: import("viem/chains").ZkSyncLog[];
907
+ l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
908
+ } & {};
909
+ type: "transactionReceipt";
910
+ };
911
+ readonly transactionRequest: {
912
+ exclude: ("gasPerPubdata" | "paymaster" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
913
+ format: (args: import("viem/chains").ZkSyncTransactionRequest) => ({
914
+ data?: import("viem").Hex | undefined;
915
+ from: import("viem").Address;
3540
916
  gas?: `0x${string}` | undefined;
3541
917
  nonce?: `0x${string}` | undefined;
3542
- to?: `0x${string}` | null | undefined;
918
+ to?: import("viem").Address | null | undefined;
3543
919
  value?: `0x${string}` | undefined;
3544
- gasPrice?: `0x${string}` | undefined;
3545
- maxFeePerBlobGas?: undefined;
3546
- maxFeePerGas?: undefined;
3547
- maxPriorityFeePerGas?: undefined;
3548
920
  accessList?: undefined;
3549
921
  blobs?: undefined;
3550
922
  type?: "0x0" | undefined;
3551
- blobVersionedHashes?: undefined;
3552
- kzg?: undefined;
3553
- sidecars?: undefined;
3554
- eip712Meta?: undefined;
3555
- } | {
3556
- data?: `0x${string}` | undefined;
3557
- from: `0x${string}`;
3558
- gas?: `0x${string}` | undefined;
3559
- nonce?: `0x${string}` | undefined;
3560
- to?: `0x${string}` | null | undefined;
3561
- value?: `0x${string}` | undefined;
3562
923
  gasPrice?: `0x${string}` | undefined;
3563
924
  maxFeePerBlobGas?: undefined;
3564
925
  maxFeePerGas?: undefined;
3565
926
  maxPriorityFeePerGas?: undefined;
3566
- accessList?: import("viem").AccessList | undefined;
3567
- blobs?: undefined;
3568
- type?: "0x1" | undefined;
3569
- blobVersionedHashes?: undefined;
3570
- kzg?: undefined;
3571
- sidecars?: undefined;
3572
- eip712Meta?: undefined;
3573
- } | {
3574
- data?: `0x${string}` | undefined;
3575
- from: `0x${string}`;
3576
- gas?: `0x${string}` | undefined;
3577
- nonce?: `0x${string}` | undefined;
3578
- to?: `0x${string}` | null | undefined;
3579
- value?: `0x${string}` | undefined;
3580
- gasPrice?: undefined;
3581
- maxFeePerBlobGas?: undefined;
3582
- maxFeePerGas?: `0x${string}` | undefined;
3583
- maxPriorityFeePerGas?: `0x${string}` | undefined;
3584
- accessList?: import("viem").AccessList | undefined;
3585
- blobs?: undefined;
3586
- type?: "0x2" | undefined;
3587
927
  blobVersionedHashes?: undefined;
3588
928
  kzg?: undefined;
3589
929
  sidecars?: undefined;
3590
930
  eip712Meta?: undefined;
3591
931
  } | {
3592
- data?: `0x${string}` | undefined;
3593
- from: `0x${string}`;
932
+ data?: import("viem").Hex | undefined;
933
+ from: import("viem").Address;
3594
934
  gas?: `0x${string}` | undefined;
3595
935
  nonce?: `0x${string}` | undefined;
3596
- to?: `0x${string}` | null | undefined;
936
+ to?: import("viem").Address | null | undefined;
3597
937
  value?: `0x${string}` | undefined;
3598
- gasPrice?: undefined;
3599
- maxFeePerBlobGas?: undefined;
3600
- maxFeePerGas?: `0x${string}` | undefined;
3601
- maxPriorityFeePerGas?: `0x${string}` | undefined;
3602
938
  accessList?: import("viem").AccessList | undefined;
3603
939
  blobs?: undefined;
3604
- type: "0xff" | "0x71";
3605
- blobVersionedHashes?: undefined;
3606
- kzg?: undefined;
3607
- sidecars?: undefined;
3608
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
3609
- } | {
3610
- data?: `0x${string}` | undefined;
3611
- from: `0x${string}`;
3612
- gas?: `0x${string}` | undefined;
3613
- nonce?: `0x${string}` | undefined;
3614
- to?: `0x${string}` | null | undefined;
3615
- value?: `0x${string}` | undefined;
3616
- gasPrice?: `0x${string}` | undefined;
3617
- maxFeePerBlobGas?: undefined;
3618
- maxFeePerGas?: undefined;
3619
- maxPriorityFeePerGas?: undefined;
3620
- accessList?: undefined;
3621
- blobs?: undefined;
3622
- type?: "0x0" | undefined;
3623
- blobVersionedHashes?: undefined;
3624
- kzg?: undefined;
3625
- sidecars?: undefined;
3626
- eip712Meta?: undefined;
3627
- } | {
3628
- data?: `0x${string}` | undefined;
3629
- from: `0x${string}`;
3630
- gas?: `0x${string}` | undefined;
3631
- nonce?: `0x${string}` | undefined;
3632
- to?: `0x${string}` | null | undefined;
3633
- value?: `0x${string}` | undefined;
940
+ type?: "0x1" | undefined;
3634
941
  gasPrice?: `0x${string}` | undefined;
3635
942
  maxFeePerBlobGas?: undefined;
3636
943
  maxFeePerGas?: undefined;
3637
944
  maxPriorityFeePerGas?: undefined;
3638
- accessList?: import("viem").AccessList | undefined;
3639
- blobs?: undefined;
3640
- type?: "0x1" | undefined;
3641
945
  blobVersionedHashes?: undefined;
3642
946
  kzg?: undefined;
3643
947
  sidecars?: undefined;
3644
948
  eip712Meta?: undefined;
3645
949
  } | {
3646
- data?: `0x${string}` | undefined;
3647
- from: `0x${string}`;
950
+ data?: import("viem").Hex | undefined;
951
+ from: import("viem").Address;
3648
952
  gas?: `0x${string}` | undefined;
3649
953
  nonce?: `0x${string}` | undefined;
3650
- to?: `0x${string}` | null | undefined;
954
+ to?: import("viem").Address | null | undefined;
3651
955
  value?: `0x${string}` | undefined;
3652
956
  gasPrice?: undefined;
3653
957
  maxFeePerBlobGas?: undefined;
@@ -3661,59 +965,36 @@ export declare const getDefaultChains: () => ({
3661
965
  sidecars?: undefined;
3662
966
  eip712Meta?: undefined;
3663
967
  } | {
3664
- data?: `0x${string}` | undefined;
3665
- from: `0x${string}`;
3666
- gas?: `0x${string}` | undefined;
3667
- nonce?: `0x${string}` | undefined;
3668
- to?: `0x${string}` | null | undefined;
3669
- value?: `0x${string}` | undefined;
3670
- gasPrice?: undefined;
3671
- maxFeePerBlobGas?: undefined;
3672
- maxFeePerGas?: `0x${string}` | undefined;
3673
- maxPriorityFeePerGas?: `0x${string}` | undefined;
3674
- accessList?: import("viem").AccessList | undefined;
3675
- blobs?: undefined;
3676
- type: "0xff" | "0x71";
3677
- blobVersionedHashes?: undefined;
3678
- kzg?: undefined;
3679
- sidecars?: undefined;
3680
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
3681
- } | {
3682
- data?: `0x${string}` | undefined;
3683
- from: `0x${string}`;
968
+ data?: import("viem").Hex | undefined;
969
+ from: import("viem").Address;
3684
970
  gas?: `0x${string}` | undefined;
3685
971
  nonce?: `0x${string}` | undefined;
3686
972
  value?: `0x${string}` | undefined;
3687
973
  to: `0x${string}` | null;
974
+ accessList?: import("viem").AccessList | undefined;
975
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
976
+ blobVersionedHashes?: readonly import("viem").Hex[] | undefined;
977
+ kzg?: import("viem").Kzg | undefined;
978
+ sidecars?: readonly import("viem").BlobSidecar<import("viem").Hex>[] | undefined;
979
+ type?: "0x3" | undefined;
3688
980
  gasPrice?: undefined;
3689
981
  maxFeePerGas?: `0x${string}` | undefined;
3690
982
  maxPriorityFeePerGas?: `0x${string}` | undefined;
3691
983
  maxFeePerBlobGas: `0x${string}`;
3692
- accessList?: import("viem").AccessList | undefined;
3693
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
3694
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3695
- kzg?: import("viem").Kzg | undefined;
3696
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3697
- type?: "0x3" | undefined;
3698
984
  eip712Meta?: undefined;
3699
985
  } | {
3700
- data?: `0x${string}` | undefined;
3701
- from: `0x${string}`;
986
+ data?: import("viem").Hex | undefined;
987
+ from: import("viem").Address;
3702
988
  gas?: `0x${string}` | undefined;
3703
989
  nonce?: `0x${string}` | undefined;
990
+ to?: import("viem").Address | null | undefined;
3704
991
  value?: `0x${string}` | undefined;
3705
- to: `0x${string}` | null | undefined;
3706
992
  gasPrice?: undefined;
993
+ maxFeePerBlobGas?: undefined;
3707
994
  maxFeePerGas?: `0x${string}` | undefined;
3708
995
  maxPriorityFeePerGas?: `0x${string}` | undefined;
3709
- maxFeePerBlobGas: undefined;
3710
- accessList?: import("viem").AccessList | undefined;
3711
- blobs: readonly `0x${string}`[] | readonly Uint8Array[];
3712
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3713
- kzg?: import("viem").Kzg | undefined;
3714
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
3715
- type: "0xff" | "0x71";
3716
996
  eip712Meta: import("viem/chains").ZkSyncEip712Meta;
997
+ type: "0x71" | "0xff";
3717
998
  }) & {
3718
999
  gasPerPubdata: never;
3719
1000
  paymaster: never;
@@ -3727,14 +1008,13 @@ export declare const getDefaultChains: () => ({
3727
1008
  serializers: {
3728
1009
  readonly transaction: typeof import("viem/zksync").serializeTransaction;
3729
1010
  };
3730
- fees?: import("viem").ChainFees<undefined> | undefined;
3731
1011
  readonly network: "zksync-era";
3732
1012
  } | {
3733
1013
  blockExplorers: {
3734
1014
  readonly default: {
3735
1015
  readonly name: "Mantle Explorer";
3736
- readonly url: "https://explorer.mantle.xyz";
3737
- readonly apiUrl: "https://explorer.mantle.xyz/api";
1016
+ readonly url: "https://mantlescan.xyz/";
1017
+ readonly apiUrl: "https://api.mantlescan.xyz/api";
3738
1018
  };
3739
1019
  };
3740
1020
  contracts: {
@@ -3758,9 +1038,9 @@ export declare const getDefaultChains: () => ({
3758
1038
  sourceId?: number | undefined;
3759
1039
  testnet?: boolean | undefined;
3760
1040
  custom?: Record<string, unknown> | undefined;
3761
- formatters?: undefined;
3762
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
3763
1041
  fees?: import("viem").ChainFees<undefined> | undefined;
1042
+ formatters?: undefined;
1043
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3764
1044
  } | {
3765
1045
  id: number;
3766
1046
  name: string;
@@ -3824,9 +1104,9 @@ export declare const getDefaultChains: () => ({
3824
1104
  sourceId?: number | undefined;
3825
1105
  testnet: false;
3826
1106
  custom?: Record<string, unknown> | undefined;
3827
- formatters?: undefined;
3828
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
3829
1107
  fees?: import("viem").ChainFees<undefined> | undefined;
1108
+ formatters?: undefined;
1109
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3830
1110
  } | {
3831
1111
  blockExplorers: {
3832
1112
  readonly default: {
@@ -3863,9 +1143,9 @@ export declare const getDefaultChains: () => ({
3863
1143
  sourceId?: number | undefined;
3864
1144
  testnet: true;
3865
1145
  custom?: Record<string, unknown> | undefined;
3866
- formatters?: undefined;
3867
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
3868
1146
  fees?: import("viem").ChainFees<undefined> | undefined;
1147
+ formatters?: undefined;
1148
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3869
1149
  } | {
3870
1150
  blockExplorers: {
3871
1151
  readonly default: {
@@ -3895,9 +1175,9 @@ export declare const getDefaultChains: () => ({
3895
1175
  sourceId?: number | undefined;
3896
1176
  testnet: true;
3897
1177
  custom?: Record<string, unknown> | undefined;
3898
- formatters?: undefined;
3899
- serializers?: import("viem").ChainSerializers<undefined> | undefined;
3900
1178
  fees?: import("viem").ChainFees<undefined> | undefined;
1179
+ formatters?: undefined;
1180
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3901
1181
  })[];
3902
1182
  /**
3903
1183
  * Get the default transports record for each default chain