@funkit/chains 0.2.2 → 0.3.0

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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
+ import { type Chain } from 'viem/chains';
1
2
  export declare const DYDX_MAINNET_CHAIN_ID = 1511490300;
2
3
  export declare const dydxChain: {
3
- id: number;
4
+ id: typeof DYDX_MAINNET_CHAIN_ID;
4
5
  name: string;
5
6
  nativeCurrency: {
6
7
  symbol: string;
@@ -33,9 +34,9 @@ export declare const dydxChain: {
33
34
  };
34
35
  };
35
36
  };
36
- export declare const SOLANA_MAINNET_CHAIN_ID = 1151111081099710;
37
- export declare const solanaChain: {
38
- id: number;
37
+ export declare const KATANA_CHAIN_ID = 747474;
38
+ export declare const katanaChain: {
39
+ id: typeof KATANA_CHAIN_ID;
39
40
  name: string;
40
41
  nativeCurrency: {
41
42
  symbol: string;
@@ -55,1593 +56,15 @@ export declare const solanaChain: {
55
56
  };
56
57
  };
57
58
  contracts: {
58
- ensRegistry: {
59
- address: `0x${string}`;
60
- };
61
- ensUniversalResolver: {
62
- address: `0x${string}`;
63
- blockCreated: number;
64
- };
65
59
  multicall3: {
66
60
  address: `0x${string}`;
67
61
  blockCreated: number;
68
62
  };
69
63
  };
70
64
  };
71
- /**
72
- * Info on the supported chains of FunkitConnect
73
- * Added into coresdk because it is used in here too.
74
- *
75
- * fallbackRpcUrl: see https://chainlist.org/ for more public RPC endpoints
76
- */
77
- export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO: {
78
- [x: string]: {
79
- name: "Ethereum";
80
- nativeCurrency: {
81
- symbol: "ETH";
82
- decimals: 18;
83
- name: "Ether";
84
- };
85
- chainInfo: {
86
- blockExplorers: {
87
- readonly default: {
88
- readonly name: "Etherscan";
89
- readonly url: "https://etherscan.io";
90
- readonly apiUrl: "https://api.etherscan.io/api";
91
- };
92
- };
93
- contracts: {
94
- readonly ensRegistry: {
95
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
96
- };
97
- readonly ensUniversalResolver: {
98
- readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
99
- readonly blockCreated: 19258213;
100
- };
101
- readonly multicall3: {
102
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
103
- readonly blockCreated: 14353601;
104
- };
105
- };
106
- ensTlds?: readonly string[] | undefined;
107
- id: 1;
108
- name: "Ethereum";
109
- nativeCurrency: {
110
- readonly name: "Ether";
111
- readonly symbol: "ETH";
112
- readonly decimals: 18;
113
- };
114
- rpcUrls: {
115
- readonly default: {
116
- readonly http: readonly ["https://eth.merkle.io"];
117
- };
118
- };
119
- sourceId?: number | undefined | undefined;
120
- testnet?: boolean | undefined | undefined;
121
- custom?: Record<string, unknown> | undefined;
122
- fees?: import("viem").ChainFees<undefined> | undefined;
123
- formatters?: undefined;
124
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
125
- };
126
- explorerInfo: {
127
- readonly name: "Etherscan";
128
- readonly url: "https://etherscan.io";
129
- readonly apiUrl: "https://api.etherscan.io/api";
130
- };
131
- isCheckoutSupported: boolean;
132
- checkoutAssetWhitelist: string[];
133
- isFunWalletSupported: boolean;
134
- isMainnet: boolean;
135
- moonpayChainName: string;
136
- pickPriority: number;
137
- isStandardEvmAddress: boolean;
138
- fallbackRpcUrls: string[];
139
- coreToken?: undefined;
140
- } | {
141
- name: "Base";
142
- nativeCurrency: {
143
- symbol: "ETH";
144
- decimals: 18;
145
- name: "Ether";
146
- };
147
- chainInfo: {
148
- blockExplorers: {
149
- readonly default: {
150
- readonly name: "Basescan";
151
- readonly url: "https://basescan.org";
152
- readonly apiUrl: "https://api.basescan.org/api";
153
- };
154
- };
155
- contracts: {
156
- readonly disputeGameFactory: {
157
- readonly 1: {
158
- readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
159
- };
160
- };
161
- readonly l2OutputOracle: {
162
- readonly 1: {
163
- readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
164
- };
165
- };
166
- readonly multicall3: {
167
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
168
- readonly blockCreated: 5022;
169
- };
170
- readonly portal: {
171
- readonly 1: {
172
- readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
173
- readonly blockCreated: 17482143;
174
- };
175
- };
176
- readonly l1StandardBridge: {
177
- readonly 1: {
178
- readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
179
- readonly blockCreated: 17482143;
180
- };
181
- };
182
- readonly gasPriceOracle: {
183
- readonly address: "0x420000000000000000000000000000000000000F";
184
- };
185
- readonly l1Block: {
186
- readonly address: "0x4200000000000000000000000000000000000015";
187
- };
188
- readonly l2CrossDomainMessenger: {
189
- readonly address: "0x4200000000000000000000000000000000000007";
190
- };
191
- readonly l2Erc721Bridge: {
192
- readonly address: "0x4200000000000000000000000000000000000014";
193
- };
194
- readonly l2StandardBridge: {
195
- readonly address: "0x4200000000000000000000000000000000000010";
196
- };
197
- readonly l2ToL1MessagePasser: {
198
- readonly address: "0x4200000000000000000000000000000000000016";
199
- };
200
- };
201
- ensTlds?: readonly string[] | undefined;
202
- id: 8453;
203
- name: "Base";
204
- nativeCurrency: {
205
- readonly name: "Ether";
206
- readonly symbol: "ETH";
207
- readonly decimals: 18;
208
- };
209
- rpcUrls: {
210
- readonly default: {
211
- readonly http: readonly ["https://mainnet.base.org"];
212
- };
213
- };
214
- sourceId: 1;
215
- testnet?: boolean | undefined | undefined;
216
- custom?: Record<string, unknown> | undefined;
217
- fees?: import("viem").ChainFees<undefined> | undefined;
218
- formatters: {
219
- readonly block: {
220
- exclude: [] | undefined;
221
- format: (args: import("viem/chains").OpStackRpcBlock) => {
222
- baseFeePerGas: bigint | null;
223
- blobGasUsed: bigint;
224
- difficulty: bigint;
225
- excessBlobGas: bigint;
226
- extraData: import("viem").Hex;
227
- gasLimit: bigint;
228
- gasUsed: bigint;
229
- hash: `0x${string}` | null;
230
- logsBloom: `0x${string}` | null;
231
- miner: import("viem").Address;
232
- mixHash: import("viem").Hash;
233
- nonce: `0x${string}` | null;
234
- number: bigint | null;
235
- parentBeaconBlockRoot?: `0x${string}` | undefined;
236
- parentHash: import("viem").Hash;
237
- receiptsRoot: import("viem").Hex;
238
- sealFields: import("viem").Hex[];
239
- sha3Uncles: import("viem").Hash;
240
- size: bigint;
241
- stateRoot: import("viem").Hash;
242
- timestamp: bigint;
243
- totalDifficulty: bigint | null;
244
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
245
- transactionsRoot: import("viem").Hash;
246
- uncles: import("viem").Hash[];
247
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
248
- withdrawalsRoot?: `0x${string}` | undefined;
249
- } & {};
250
- type: "block";
251
- };
252
- readonly transaction: {
253
- exclude: [] | undefined;
254
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
255
- blockHash: `0x${string}` | null;
256
- blockNumber: bigint | null;
257
- from: import("viem").Address;
258
- gas: bigint;
259
- hash: import("viem").Hash;
260
- input: import("viem").Hex;
261
- nonce: number;
262
- r: import("viem").Hex;
263
- s: import("viem").Hex;
264
- to: import("viem").Address | null;
265
- transactionIndex: number | null;
266
- typeHex: import("viem").Hex | null;
267
- v: bigint;
268
- value: bigint;
269
- yParity: number;
270
- gasPrice?: undefined | undefined;
271
- maxFeePerBlobGas?: undefined | undefined;
272
- maxFeePerGas: bigint;
273
- maxPriorityFeePerGas: bigint;
274
- isSystemTx?: boolean;
275
- mint?: bigint | undefined | undefined;
276
- sourceHash: import("viem").Hex;
277
- type: "deposit";
278
- } | {
279
- r: import("viem").Hex;
280
- s: import("viem").Hex;
281
- v: bigint;
282
- to: import("viem").Address | null;
283
- from: import("viem").Address;
284
- gas: bigint;
285
- nonce: number;
286
- value: bigint;
287
- blockHash: `0x${string}` | null;
288
- blockNumber: bigint | null;
289
- hash: import("viem").Hash;
290
- input: import("viem").Hex;
291
- transactionIndex: number | null;
292
- typeHex: import("viem").Hex | null;
293
- accessList?: undefined | undefined;
294
- authorizationList?: undefined | undefined;
295
- blobVersionedHashes?: undefined | undefined;
296
- chainId?: number | undefined;
297
- yParity?: undefined | undefined;
298
- type: "legacy";
299
- gasPrice: bigint;
300
- maxFeePerBlobGas?: undefined | undefined;
301
- maxFeePerGas?: undefined | undefined;
302
- maxPriorityFeePerGas?: undefined | undefined;
303
- isSystemTx?: undefined | undefined;
304
- mint?: undefined | undefined;
305
- sourceHash?: undefined | undefined;
306
- } | {
307
- blockHash: `0x${string}` | null;
308
- blockNumber: bigint | null;
309
- from: import("viem").Address;
310
- gas: bigint;
311
- hash: import("viem").Hash;
312
- input: import("viem").Hex;
313
- nonce: number;
314
- r: import("viem").Hex;
315
- s: import("viem").Hex;
316
- to: import("viem").Address | null;
317
- transactionIndex: number | null;
318
- typeHex: import("viem").Hex | null;
319
- v: bigint;
320
- value: bigint;
321
- yParity: number;
322
- accessList: import("viem").AccessList;
323
- authorizationList?: undefined | undefined;
324
- blobVersionedHashes?: undefined | undefined;
325
- chainId: number;
326
- type: "eip2930";
327
- gasPrice: bigint;
328
- maxFeePerBlobGas?: undefined | undefined;
329
- maxFeePerGas?: undefined | undefined;
330
- maxPriorityFeePerGas?: undefined | undefined;
331
- isSystemTx?: undefined | undefined;
332
- mint?: undefined | undefined;
333
- sourceHash?: undefined | undefined;
334
- } | {
335
- blockHash: `0x${string}` | null;
336
- blockNumber: bigint | null;
337
- from: import("viem").Address;
338
- gas: bigint;
339
- hash: import("viem").Hash;
340
- input: import("viem").Hex;
341
- nonce: number;
342
- r: import("viem").Hex;
343
- s: import("viem").Hex;
344
- to: import("viem").Address | null;
345
- transactionIndex: number | null;
346
- typeHex: import("viem").Hex | null;
347
- v: bigint;
348
- value: bigint;
349
- yParity: number;
350
- accessList: import("viem").AccessList;
351
- authorizationList?: undefined | undefined;
352
- blobVersionedHashes?: undefined | undefined;
353
- chainId: number;
354
- type: "eip1559";
355
- gasPrice?: undefined | undefined;
356
- maxFeePerBlobGas?: undefined | undefined;
357
- maxFeePerGas: bigint;
358
- maxPriorityFeePerGas: bigint;
359
- isSystemTx?: undefined | undefined;
360
- mint?: undefined | undefined;
361
- sourceHash?: undefined | undefined;
362
- } | {
363
- blockHash: `0x${string}` | null;
364
- blockNumber: bigint | null;
365
- from: import("viem").Address;
366
- gas: bigint;
367
- hash: import("viem").Hash;
368
- input: import("viem").Hex;
369
- nonce: number;
370
- r: import("viem").Hex;
371
- s: import("viem").Hex;
372
- to: import("viem").Address | null;
373
- transactionIndex: number | null;
374
- typeHex: import("viem").Hex | null;
375
- v: bigint;
376
- value: bigint;
377
- yParity: number;
378
- accessList: import("viem").AccessList;
379
- authorizationList?: undefined | undefined;
380
- blobVersionedHashes: readonly import("viem").Hex[];
381
- chainId: number;
382
- type: "eip4844";
383
- gasPrice?: undefined | undefined;
384
- maxFeePerBlobGas: bigint;
385
- maxFeePerGas: bigint;
386
- maxPriorityFeePerGas: bigint;
387
- isSystemTx?: undefined | undefined;
388
- mint?: undefined | undefined;
389
- sourceHash?: undefined | undefined;
390
- } | {
391
- blockHash: `0x${string}` | null;
392
- blockNumber: bigint | null;
393
- from: import("viem").Address;
394
- gas: bigint;
395
- hash: import("viem").Hash;
396
- input: import("viem").Hex;
397
- nonce: number;
398
- r: import("viem").Hex;
399
- s: import("viem").Hex;
400
- to: import("viem").Address | null;
401
- transactionIndex: number | null;
402
- typeHex: import("viem").Hex | null;
403
- v: bigint;
404
- value: bigint;
405
- yParity: number;
406
- accessList: import("viem").AccessList;
407
- authorizationList: import("viem").SignedAuthorizationList;
408
- blobVersionedHashes?: undefined | undefined;
409
- chainId: number;
410
- type: "eip7702";
411
- gasPrice?: undefined | undefined;
412
- maxFeePerBlobGas?: undefined | undefined;
413
- maxFeePerGas: bigint;
414
- maxPriorityFeePerGas: bigint;
415
- isSystemTx?: undefined | undefined;
416
- mint?: undefined | undefined;
417
- sourceHash?: undefined | undefined;
418
- }) & {};
419
- type: "transaction";
420
- };
421
- readonly transactionReceipt: {
422
- exclude: [] | undefined;
423
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
424
- blobGasPrice?: bigint | undefined;
425
- blobGasUsed?: bigint | undefined;
426
- blockHash: import("viem").Hash;
427
- blockNumber: bigint;
428
- contractAddress: import("viem").Address | null | undefined;
429
- cumulativeGasUsed: bigint;
430
- effectiveGasPrice: bigint;
431
- from: import("viem").Address;
432
- gasUsed: bigint;
433
- logs: import("viem").Log<bigint, number, false>[];
434
- logsBloom: import("viem").Hex;
435
- root?: `0x${string}` | undefined;
436
- status: "success" | "reverted";
437
- to: import("viem").Address | null;
438
- transactionHash: import("viem").Hash;
439
- transactionIndex: number;
440
- type: import("viem").TransactionType;
441
- l1GasPrice: bigint | null;
442
- l1GasUsed: bigint | null;
443
- l1Fee: bigint | null;
444
- l1FeeScalar: number | null;
445
- } & {};
446
- type: "transactionReceipt";
447
- };
448
- };
449
- serializers: {
450
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
451
- };
452
- };
453
- explorerInfo: {
454
- readonly name: "Basescan";
455
- readonly url: "https://basescan.org";
456
- readonly apiUrl: "https://api.basescan.org/api";
457
- };
458
- isCheckoutSupported: boolean;
459
- checkoutAssetWhitelist: string[];
460
- isFunWalletSupported: boolean;
461
- isMainnet: boolean;
462
- moonpayChainName: string;
463
- pickPriority: number;
464
- isStandardEvmAddress: boolean;
465
- fallbackRpcUrls: string[];
466
- coreToken?: undefined;
467
- } | {
468
- name: "Polygon";
469
- nativeCurrency: {
470
- symbol: "POL";
471
- decimals: 18;
472
- name: "POL";
473
- };
474
- coreToken: {
475
- symbol: string;
476
- decimals: number;
477
- name: string;
478
- };
479
- chainInfo: {
480
- blockExplorers: {
481
- readonly default: {
482
- readonly name: "PolygonScan";
483
- readonly url: "https://polygonscan.com";
484
- readonly apiUrl: "https://api.polygonscan.com/api";
485
- };
486
- };
487
- contracts: {
488
- readonly multicall3: {
489
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
490
- readonly blockCreated: 25770160;
491
- };
492
- };
493
- ensTlds?: readonly string[] | undefined;
494
- id: 137;
495
- name: "Polygon";
496
- nativeCurrency: {
497
- readonly name: "POL";
498
- readonly symbol: "POL";
499
- readonly decimals: 18;
500
- };
501
- rpcUrls: {
502
- readonly default: {
503
- readonly http: readonly ["https://polygon-rpc.com"];
504
- };
505
- };
506
- sourceId?: number | undefined | undefined;
507
- testnet?: boolean | undefined | undefined;
508
- custom?: Record<string, unknown> | undefined;
509
- fees?: import("viem").ChainFees<undefined> | undefined;
510
- formatters?: undefined;
511
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
512
- };
513
- explorerInfo: {
514
- readonly name: "PolygonScan";
515
- readonly url: "https://polygonscan.com";
516
- readonly apiUrl: "https://api.polygonscan.com/api";
517
- };
518
- isCheckoutSupported: boolean;
519
- checkoutAssetWhitelist: string[];
520
- isFunWalletSupported: boolean;
521
- isMainnet: boolean;
522
- moonpayChainName: string;
523
- pickPriority: number;
524
- isStandardEvmAddress: boolean;
525
- fallbackRpcUrls: string[];
526
- } | {
527
- name: string;
528
- nativeCurrency: {
529
- symbol: "ETH";
530
- decimals: 18;
531
- name: "Ether";
532
- };
533
- coreToken: {
534
- symbol: string;
535
- decimals: number;
536
- name: string;
537
- };
538
- chainInfo: {
539
- blockExplorers: {
540
- readonly default: {
541
- readonly name: "Arbiscan";
542
- readonly url: "https://arbiscan.io";
543
- readonly apiUrl: "https://api.arbiscan.io/api";
544
- };
545
- };
546
- contracts: {
547
- readonly multicall3: {
548
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
549
- readonly blockCreated: 7654707;
550
- };
551
- };
552
- ensTlds?: readonly string[] | undefined;
553
- id: 42161;
554
- name: "Arbitrum One";
555
- nativeCurrency: {
556
- readonly name: "Ether";
557
- readonly symbol: "ETH";
558
- readonly decimals: 18;
559
- };
560
- rpcUrls: {
561
- readonly default: {
562
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
563
- };
564
- };
565
- sourceId?: number | undefined | undefined;
566
- testnet?: boolean | undefined | undefined;
567
- custom?: Record<string, unknown> | undefined;
568
- fees?: import("viem").ChainFees<undefined> | undefined;
569
- formatters?: undefined;
570
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
571
- };
572
- explorerInfo: {
573
- readonly name: "Arbiscan";
574
- readonly url: "https://arbiscan.io";
575
- readonly apiUrl: "https://api.arbiscan.io/api";
576
- };
577
- isCheckoutSupported: boolean;
578
- checkoutAssetWhitelist: string[];
579
- isFunWalletSupported: boolean;
580
- isMainnet: boolean;
581
- moonpayChainName: string;
582
- pickPriority: number;
583
- isStandardEvmAddress: boolean;
584
- fallbackRpcUrls: string[];
585
- } | {
586
- name: "OP Mainnet";
587
- nativeCurrency: {
588
- symbol: "ETH";
589
- decimals: 18;
590
- name: "Ether";
591
- };
592
- coreToken: {
593
- symbol: string;
594
- decimals: number;
595
- name: string;
596
- };
597
- chainInfo: {
598
- blockExplorers: {
599
- readonly default: {
600
- readonly name: "Optimism Explorer";
601
- readonly url: "https://optimistic.etherscan.io";
602
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
603
- };
604
- };
605
- contracts: {
606
- readonly disputeGameFactory: {
607
- readonly 1: {
608
- readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
609
- };
610
- };
611
- readonly l2OutputOracle: {
612
- readonly 1: {
613
- readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
614
- };
615
- };
616
- readonly multicall3: {
617
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
618
- readonly blockCreated: 4286263;
619
- };
620
- readonly portal: {
621
- readonly 1: {
622
- readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
623
- };
624
- };
625
- readonly l1StandardBridge: {
626
- readonly 1: {
627
- readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
628
- };
629
- };
630
- readonly gasPriceOracle: {
631
- readonly address: "0x420000000000000000000000000000000000000F";
632
- };
633
- readonly l1Block: {
634
- readonly address: "0x4200000000000000000000000000000000000015";
635
- };
636
- readonly l2CrossDomainMessenger: {
637
- readonly address: "0x4200000000000000000000000000000000000007";
638
- };
639
- readonly l2Erc721Bridge: {
640
- readonly address: "0x4200000000000000000000000000000000000014";
641
- };
642
- readonly l2StandardBridge: {
643
- readonly address: "0x4200000000000000000000000000000000000010";
644
- };
645
- readonly l2ToL1MessagePasser: {
646
- readonly address: "0x4200000000000000000000000000000000000016";
647
- };
648
- };
649
- ensTlds?: readonly string[] | undefined;
650
- id: 10;
651
- name: "OP Mainnet";
652
- nativeCurrency: {
653
- readonly name: "Ether";
654
- readonly symbol: "ETH";
655
- readonly decimals: 18;
656
- };
657
- rpcUrls: {
658
- readonly default: {
659
- readonly http: readonly ["https://mainnet.optimism.io"];
660
- };
661
- };
662
- sourceId: 1;
663
- testnet?: boolean | undefined | undefined;
664
- custom?: Record<string, unknown> | undefined;
665
- fees?: import("viem").ChainFees<undefined> | undefined;
666
- formatters: {
667
- readonly block: {
668
- exclude: [] | undefined;
669
- format: (args: import("viem/chains").OpStackRpcBlock) => {
670
- baseFeePerGas: bigint | null;
671
- blobGasUsed: bigint;
672
- difficulty: bigint;
673
- excessBlobGas: bigint;
674
- extraData: import("viem").Hex;
675
- gasLimit: bigint;
676
- gasUsed: bigint;
677
- hash: `0x${string}` | null;
678
- logsBloom: `0x${string}` | null;
679
- miner: import("viem").Address;
680
- mixHash: import("viem").Hash;
681
- nonce: `0x${string}` | null;
682
- number: bigint | null;
683
- parentBeaconBlockRoot?: `0x${string}` | undefined;
684
- parentHash: import("viem").Hash;
685
- receiptsRoot: import("viem").Hex;
686
- sealFields: import("viem").Hex[];
687
- sha3Uncles: import("viem").Hash;
688
- size: bigint;
689
- stateRoot: import("viem").Hash;
690
- timestamp: bigint;
691
- totalDifficulty: bigint | null;
692
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
693
- transactionsRoot: import("viem").Hash;
694
- uncles: import("viem").Hash[];
695
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
696
- withdrawalsRoot?: `0x${string}` | undefined;
697
- } & {};
698
- type: "block";
699
- };
700
- readonly transaction: {
701
- exclude: [] | undefined;
702
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
703
- blockHash: `0x${string}` | null;
704
- blockNumber: bigint | null;
705
- from: import("viem").Address;
706
- gas: bigint;
707
- hash: import("viem").Hash;
708
- input: import("viem").Hex;
709
- nonce: number;
710
- r: import("viem").Hex;
711
- s: import("viem").Hex;
712
- to: import("viem").Address | null;
713
- transactionIndex: number | null;
714
- typeHex: import("viem").Hex | null;
715
- v: bigint;
716
- value: bigint;
717
- yParity: number;
718
- gasPrice?: undefined | undefined;
719
- maxFeePerBlobGas?: undefined | undefined;
720
- maxFeePerGas: bigint;
721
- maxPriorityFeePerGas: bigint;
722
- isSystemTx?: boolean;
723
- mint?: bigint | undefined | undefined;
724
- sourceHash: import("viem").Hex;
725
- type: "deposit";
726
- } | {
727
- r: import("viem").Hex;
728
- s: import("viem").Hex;
729
- v: bigint;
730
- to: import("viem").Address | null;
731
- from: import("viem").Address;
732
- gas: bigint;
733
- nonce: number;
734
- value: bigint;
735
- blockHash: `0x${string}` | null;
736
- blockNumber: bigint | null;
737
- hash: import("viem").Hash;
738
- input: import("viem").Hex;
739
- transactionIndex: number | null;
740
- typeHex: import("viem").Hex | null;
741
- accessList?: undefined | undefined;
742
- authorizationList?: undefined | undefined;
743
- blobVersionedHashes?: undefined | undefined;
744
- chainId?: number | undefined;
745
- yParity?: undefined | undefined;
746
- type: "legacy";
747
- gasPrice: bigint;
748
- maxFeePerBlobGas?: undefined | undefined;
749
- maxFeePerGas?: undefined | undefined;
750
- maxPriorityFeePerGas?: undefined | undefined;
751
- isSystemTx?: undefined | undefined;
752
- mint?: undefined | undefined;
753
- sourceHash?: undefined | undefined;
754
- } | {
755
- blockHash: `0x${string}` | null;
756
- blockNumber: bigint | null;
757
- from: import("viem").Address;
758
- gas: bigint;
759
- hash: import("viem").Hash;
760
- input: import("viem").Hex;
761
- nonce: number;
762
- r: import("viem").Hex;
763
- s: import("viem").Hex;
764
- to: import("viem").Address | null;
765
- transactionIndex: number | null;
766
- typeHex: import("viem").Hex | null;
767
- v: bigint;
768
- value: bigint;
769
- yParity: number;
770
- accessList: import("viem").AccessList;
771
- authorizationList?: undefined | undefined;
772
- blobVersionedHashes?: undefined | undefined;
773
- chainId: number;
774
- type: "eip2930";
775
- gasPrice: bigint;
776
- maxFeePerBlobGas?: undefined | undefined;
777
- maxFeePerGas?: undefined | undefined;
778
- maxPriorityFeePerGas?: undefined | undefined;
779
- isSystemTx?: undefined | undefined;
780
- mint?: undefined | undefined;
781
- sourceHash?: undefined | undefined;
782
- } | {
783
- blockHash: `0x${string}` | null;
784
- blockNumber: bigint | null;
785
- from: import("viem").Address;
786
- gas: bigint;
787
- hash: import("viem").Hash;
788
- input: import("viem").Hex;
789
- nonce: number;
790
- r: import("viem").Hex;
791
- s: import("viem").Hex;
792
- to: import("viem").Address | null;
793
- transactionIndex: number | null;
794
- typeHex: import("viem").Hex | null;
795
- v: bigint;
796
- value: bigint;
797
- yParity: number;
798
- accessList: import("viem").AccessList;
799
- authorizationList?: undefined | undefined;
800
- blobVersionedHashes?: undefined | undefined;
801
- chainId: number;
802
- type: "eip1559";
803
- gasPrice?: undefined | undefined;
804
- maxFeePerBlobGas?: undefined | undefined;
805
- maxFeePerGas: bigint;
806
- maxPriorityFeePerGas: bigint;
807
- isSystemTx?: undefined | undefined;
808
- mint?: undefined | undefined;
809
- sourceHash?: undefined | undefined;
810
- } | {
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
- authorizationList?: undefined | undefined;
828
- blobVersionedHashes: readonly import("viem").Hex[];
829
- chainId: number;
830
- type: "eip4844";
831
- gasPrice?: undefined | undefined;
832
- maxFeePerBlobGas: bigint;
833
- maxFeePerGas: bigint;
834
- maxPriorityFeePerGas: bigint;
835
- isSystemTx?: undefined | undefined;
836
- mint?: undefined | undefined;
837
- sourceHash?: undefined | undefined;
838
- } | {
839
- blockHash: `0x${string}` | null;
840
- blockNumber: bigint | null;
841
- from: import("viem").Address;
842
- gas: bigint;
843
- hash: import("viem").Hash;
844
- input: import("viem").Hex;
845
- nonce: number;
846
- r: import("viem").Hex;
847
- s: import("viem").Hex;
848
- to: import("viem").Address | null;
849
- transactionIndex: number | null;
850
- typeHex: import("viem").Hex | null;
851
- v: bigint;
852
- value: bigint;
853
- yParity: number;
854
- accessList: import("viem").AccessList;
855
- authorizationList: import("viem").SignedAuthorizationList;
856
- blobVersionedHashes?: undefined | undefined;
857
- chainId: number;
858
- type: "eip7702";
859
- gasPrice?: undefined | undefined;
860
- maxFeePerBlobGas?: undefined | undefined;
861
- maxFeePerGas: bigint;
862
- maxPriorityFeePerGas: bigint;
863
- isSystemTx?: undefined | undefined;
864
- mint?: undefined | undefined;
865
- sourceHash?: undefined | undefined;
866
- }) & {};
867
- type: "transaction";
868
- };
869
- readonly transactionReceipt: {
870
- exclude: [] | undefined;
871
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
872
- blobGasPrice?: bigint | undefined;
873
- blobGasUsed?: bigint | undefined;
874
- blockHash: import("viem").Hash;
875
- blockNumber: bigint;
876
- contractAddress: import("viem").Address | null | undefined;
877
- cumulativeGasUsed: bigint;
878
- effectiveGasPrice: bigint;
879
- from: import("viem").Address;
880
- gasUsed: bigint;
881
- logs: import("viem").Log<bigint, number, false>[];
882
- logsBloom: import("viem").Hex;
883
- root?: `0x${string}` | undefined;
884
- status: "success" | "reverted";
885
- to: import("viem").Address | null;
886
- transactionHash: import("viem").Hash;
887
- transactionIndex: number;
888
- type: import("viem").TransactionType;
889
- l1GasPrice: bigint | null;
890
- l1GasUsed: bigint | null;
891
- l1Fee: bigint | null;
892
- l1FeeScalar: number | null;
893
- } & {};
894
- type: "transactionReceipt";
895
- };
896
- };
897
- serializers: {
898
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
899
- };
900
- };
901
- explorerInfo: {
902
- readonly name: "Optimism Explorer";
903
- readonly url: "https://optimistic.etherscan.io";
904
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
905
- };
906
- isCheckoutSupported: boolean;
907
- checkoutAssetWhitelist: never[];
908
- isFunWalletSupported: boolean;
909
- isMainnet: boolean;
910
- moonpayChainName: string;
911
- pickPriority: number;
912
- isStandardEvmAddress: boolean;
913
- fallbackRpcUrls: string[];
914
- } | {
915
- name: string;
916
- nativeCurrency: {
917
- symbol: "ETH";
918
- decimals: 18;
919
- name: "Ether";
920
- };
921
- coreToken: {
922
- symbol: string;
923
- decimals: number;
924
- name: string;
925
- };
926
- chainInfo: {
927
- blockExplorers: {
928
- readonly default: {
929
- readonly name: "Etherscan";
930
- readonly url: "https://era.zksync.network/";
931
- readonly apiUrl: "https://api-era.zksync.network/api";
932
- };
933
- readonly native: {
934
- readonly name: "ZKsync Explorer";
935
- readonly url: "https://explorer.zksync.io/";
936
- readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
937
- };
938
- };
939
- contracts: {
940
- readonly multicall3: {
941
- readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
942
- };
943
- readonly universalSignatureVerifier: {
944
- readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
945
- readonly blockCreated: 45659388;
946
- };
947
- };
948
- ensTlds?: readonly string[] | undefined;
949
- id: 324;
950
- name: "ZKsync Era";
951
- nativeCurrency: {
952
- readonly decimals: 18;
953
- readonly name: "Ether";
954
- readonly symbol: "ETH";
955
- };
956
- rpcUrls: {
957
- readonly default: {
958
- readonly http: readonly ["https://mainnet.era.zksync.io"];
959
- readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
960
- };
961
- };
962
- sourceId?: number | undefined | undefined;
963
- testnet?: boolean | undefined | undefined;
964
- custom: {
965
- readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/chains").ZkSyncTransactionSerializable, import("viem/chains").ZkSyncEIP712TransactionSignable>;
966
- };
967
- fees?: import("viem").ChainFees<undefined> | undefined;
968
- formatters: {
969
- readonly block: {
970
- exclude: [] | undefined;
971
- format: (args: import("viem/chains").ZkSyncRpcBlock) => {
972
- baseFeePerGas: bigint | null;
973
- blobGasUsed: bigint;
974
- difficulty: bigint;
975
- excessBlobGas: bigint;
976
- extraData: import("viem").Hex;
977
- gasLimit: bigint;
978
- gasUsed: bigint;
979
- hash: `0x${string}` | null;
980
- logsBloom: `0x${string}` | null;
981
- miner: import("viem").Address;
982
- mixHash: import("viem").Hash;
983
- nonce: `0x${string}` | null;
984
- number: bigint | null;
985
- parentBeaconBlockRoot?: `0x${string}` | undefined;
986
- parentHash: import("viem").Hash;
987
- receiptsRoot: import("viem").Hex;
988
- sealFields: import("viem").Hex[];
989
- sha3Uncles: import("viem").Hash;
990
- size: bigint;
991
- stateRoot: import("viem").Hash;
992
- timestamp: bigint;
993
- totalDifficulty: bigint | null;
994
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
995
- transactionsRoot: import("viem").Hash;
996
- uncles: import("viem").Hash[];
997
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
998
- withdrawalsRoot?: `0x${string}` | undefined;
999
- l1BatchNumber: bigint | null;
1000
- l1BatchTimestamp: bigint | null;
1001
- } & {};
1002
- type: "block";
1003
- };
1004
- readonly transaction: {
1005
- exclude: [] | undefined;
1006
- format: (args: import("viem/chains").ZkSyncRpcTransaction) => ({
1007
- r: import("viem").Hex;
1008
- s: import("viem").Hex;
1009
- v: bigint;
1010
- to: import("viem").Address | null;
1011
- from: import("viem").Address;
1012
- gas: bigint;
1013
- nonce: number;
1014
- value: bigint;
1015
- blockHash: `0x${string}` | null;
1016
- blockNumber: bigint | null;
1017
- hash: import("viem").Hash;
1018
- input: import("viem").Hex;
1019
- transactionIndex: number | null;
1020
- typeHex: import("viem").Hex | null;
1021
- accessList?: undefined | undefined;
1022
- authorizationList?: undefined | undefined;
1023
- blobVersionedHashes?: undefined | undefined;
1024
- chainId?: number | undefined;
1025
- yParity?: undefined | undefined;
1026
- type: "legacy";
1027
- gasPrice: bigint;
1028
- maxFeePerBlobGas?: undefined | undefined;
1029
- maxFeePerGas?: undefined | undefined;
1030
- maxPriorityFeePerGas?: undefined | undefined;
1031
- l1BatchNumber: bigint | null;
1032
- l1BatchTxIndex: bigint | null;
1033
- } | {
1034
- blockHash: `0x${string}` | null;
1035
- blockNumber: bigint | null;
1036
- from: import("viem").Address;
1037
- gas: bigint;
1038
- hash: import("viem").Hash;
1039
- input: import("viem").Hex;
1040
- nonce: number;
1041
- r: import("viem").Hex;
1042
- s: import("viem").Hex;
1043
- to: import("viem").Address | null;
1044
- transactionIndex: number | null;
1045
- typeHex: import("viem").Hex | null;
1046
- v: bigint;
1047
- value: bigint;
1048
- yParity: number;
1049
- accessList: import("viem").AccessList;
1050
- authorizationList?: undefined | undefined;
1051
- blobVersionedHashes?: undefined | undefined;
1052
- chainId: number;
1053
- type: "eip2930";
1054
- gasPrice: bigint;
1055
- maxFeePerBlobGas?: undefined | undefined;
1056
- maxFeePerGas?: undefined | undefined;
1057
- maxPriorityFeePerGas?: undefined | undefined;
1058
- l1BatchNumber: bigint | null;
1059
- l1BatchTxIndex: bigint | null;
1060
- } | {
1061
- blockHash: `0x${string}` | null;
1062
- blockNumber: bigint | null;
1063
- from: import("viem").Address;
1064
- gas: bigint;
1065
- hash: import("viem").Hash;
1066
- input: import("viem").Hex;
1067
- nonce: number;
1068
- r: import("viem").Hex;
1069
- s: import("viem").Hex;
1070
- to: import("viem").Address | null;
1071
- transactionIndex: number | null;
1072
- typeHex: import("viem").Hex | null;
1073
- v: bigint;
1074
- value: bigint;
1075
- yParity: number;
1076
- accessList: import("viem").AccessList;
1077
- authorizationList?: undefined | undefined;
1078
- blobVersionedHashes?: undefined | undefined;
1079
- chainId: number;
1080
- type: "eip1559";
1081
- gasPrice?: undefined | undefined;
1082
- maxFeePerBlobGas?: undefined | undefined;
1083
- maxFeePerGas: bigint;
1084
- maxPriorityFeePerGas: bigint;
1085
- l1BatchNumber: bigint | null;
1086
- l1BatchTxIndex: bigint | null;
1087
- } | {
1088
- blockHash: `0x${string}` | null;
1089
- blockNumber: bigint | null;
1090
- from: import("viem").Address;
1091
- gas: bigint;
1092
- hash: import("viem").Hash;
1093
- input: import("viem").Hex;
1094
- nonce: number;
1095
- r: import("viem").Hex;
1096
- s: import("viem").Hex;
1097
- to: import("viem").Address | null;
1098
- transactionIndex: number | null;
1099
- typeHex: import("viem").Hex | null;
1100
- v: bigint;
1101
- value: bigint;
1102
- yParity: number;
1103
- accessList: import("viem").AccessList;
1104
- authorizationList?: undefined | undefined;
1105
- blobVersionedHashes: readonly import("viem").Hex[];
1106
- chainId: number;
1107
- type: "eip4844";
1108
- gasPrice?: undefined | undefined;
1109
- maxFeePerBlobGas: bigint;
1110
- maxFeePerGas: bigint;
1111
- maxPriorityFeePerGas: bigint;
1112
- l1BatchNumber: bigint | null;
1113
- l1BatchTxIndex: bigint | null;
1114
- } | {
1115
- blockHash: `0x${string}` | null;
1116
- blockNumber: bigint | null;
1117
- from: import("viem").Address;
1118
- gas: bigint;
1119
- hash: import("viem").Hash;
1120
- input: import("viem").Hex;
1121
- nonce: number;
1122
- r: import("viem").Hex;
1123
- s: import("viem").Hex;
1124
- to: import("viem").Address | null;
1125
- transactionIndex: number | null;
1126
- typeHex: import("viem").Hex | null;
1127
- v: bigint;
1128
- value: bigint;
1129
- yParity: number;
1130
- accessList: import("viem").AccessList;
1131
- authorizationList: import("viem").SignedAuthorizationList;
1132
- blobVersionedHashes?: undefined | undefined;
1133
- chainId: number;
1134
- type: "eip7702";
1135
- gasPrice?: undefined | undefined;
1136
- maxFeePerBlobGas?: undefined | undefined;
1137
- maxFeePerGas: bigint;
1138
- maxPriorityFeePerGas: bigint;
1139
- l1BatchNumber: bigint | null;
1140
- l1BatchTxIndex: bigint | null;
1141
- } | {
1142
- blockHash: `0x${string}` | null;
1143
- blockNumber: bigint | null;
1144
- from: import("viem").Address;
1145
- gas: bigint;
1146
- hash: import("viem").Hash;
1147
- input: import("viem").Hex;
1148
- nonce: number;
1149
- r: import("viem").Hex;
1150
- s: import("viem").Hex;
1151
- to: import("viem").Address | null;
1152
- transactionIndex: number | null;
1153
- typeHex: import("viem").Hex | null;
1154
- v: bigint;
1155
- value: bigint;
1156
- yParity: number;
1157
- l1BatchNumber: bigint | null;
1158
- l1BatchTxIndex: bigint | null;
1159
- gasPrice?: undefined | undefined;
1160
- maxFeePerBlobGas?: undefined | undefined;
1161
- maxFeePerGas: bigint;
1162
- maxPriorityFeePerGas: bigint;
1163
- type: "priority";
1164
- } | {
1165
- blockHash: `0x${string}` | null;
1166
- blockNumber: bigint | null;
1167
- from: import("viem").Address;
1168
- gas: bigint;
1169
- hash: import("viem").Hash;
1170
- input: import("viem").Hex;
1171
- nonce: number;
1172
- r: import("viem").Hex;
1173
- s: import("viem").Hex;
1174
- to: import("viem").Address | null;
1175
- transactionIndex: number | null;
1176
- typeHex: import("viem").Hex | null;
1177
- v: bigint;
1178
- value: bigint;
1179
- yParity: number;
1180
- l1BatchNumber: bigint | null;
1181
- l1BatchTxIndex: bigint | null;
1182
- gasPrice?: undefined | undefined;
1183
- maxFeePerBlobGas?: undefined | undefined;
1184
- maxFeePerGas: bigint;
1185
- maxPriorityFeePerGas: bigint;
1186
- type: "eip712" | "priority";
1187
- }) & {};
1188
- type: "transaction";
1189
- };
1190
- readonly transactionReceipt: {
1191
- exclude: [] | undefined;
1192
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
1193
- type: import("viem/chains").ZkSyncTransactionType;
1194
- contractAddress: import("viem").Address | null | undefined;
1195
- to: import("viem").Address | null;
1196
- from: import("viem").Address;
1197
- blockHash: import("viem").Hash;
1198
- blockNumber: bigint;
1199
- transactionIndex: number;
1200
- status: "success" | "reverted";
1201
- logsBloom: import("viem").Hex;
1202
- blobGasUsed?: bigint | undefined;
1203
- gasUsed: bigint;
1204
- transactionHash: import("viem").Hash;
1205
- blobGasPrice?: bigint | undefined;
1206
- cumulativeGasUsed: bigint;
1207
- effectiveGasPrice: bigint;
1208
- root?: `0x${string}` | undefined;
1209
- l1BatchNumber: bigint | null;
1210
- l1BatchTxIndex: bigint | null;
1211
- logs: import("viem/chains").ZkSyncLog[];
1212
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
1213
- } & {};
1214
- type: "transactionReceipt";
1215
- };
1216
- readonly transactionRequest: {
1217
- exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
1218
- format: (args: import("viem/chains").ZkSyncTransactionRequest) => ({
1219
- data?: `0x${string}` | undefined;
1220
- from?: `0x${string}` | undefined;
1221
- gas?: `0x${string}` | undefined;
1222
- nonce?: `0x${string}` | undefined;
1223
- to?: `0x${string}` | null | undefined;
1224
- type?: "0x0" | undefined;
1225
- value?: `0x${string}` | undefined;
1226
- gasPrice?: `0x${string}` | undefined;
1227
- maxFeePerBlobGas?: undefined | undefined;
1228
- maxFeePerGas?: undefined | undefined;
1229
- maxPriorityFeePerGas?: undefined | undefined;
1230
- blobs?: undefined;
1231
- accessList?: undefined;
1232
- blobVersionedHashes?: undefined;
1233
- kzg?: undefined;
1234
- sidecars?: undefined;
1235
- authorizationList?: undefined;
1236
- eip712Meta?: undefined | undefined;
1237
- } | {
1238
- data?: `0x${string}` | undefined;
1239
- from?: `0x${string}` | undefined;
1240
- gas?: `0x${string}` | undefined;
1241
- nonce?: `0x${string}` | undefined;
1242
- to?: `0x${string}` | null | undefined;
1243
- type?: "0x1" | undefined;
1244
- value?: `0x${string}` | undefined;
1245
- gasPrice?: `0x${string}` | undefined;
1246
- maxFeePerBlobGas?: undefined | undefined;
1247
- maxFeePerGas?: undefined | undefined;
1248
- maxPriorityFeePerGas?: undefined | undefined;
1249
- accessList?: import("viem").AccessList | undefined;
1250
- blobs?: undefined;
1251
- blobVersionedHashes?: undefined;
1252
- kzg?: undefined;
1253
- sidecars?: undefined;
1254
- authorizationList?: undefined;
1255
- eip712Meta?: undefined | undefined;
1256
- } | {
1257
- data?: `0x${string}` | undefined;
1258
- from?: `0x${string}` | undefined;
1259
- gas?: `0x${string}` | undefined;
1260
- nonce?: `0x${string}` | undefined;
1261
- to?: `0x${string}` | null | undefined;
1262
- type?: "0x2" | undefined;
1263
- value?: `0x${string}` | undefined;
1264
- gasPrice?: undefined | undefined;
1265
- maxFeePerBlobGas?: undefined | undefined;
1266
- maxFeePerGas?: `0x${string}` | undefined;
1267
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1268
- accessList?: import("viem").AccessList | undefined;
1269
- blobs?: undefined;
1270
- blobVersionedHashes?: undefined;
1271
- kzg?: undefined;
1272
- sidecars?: undefined;
1273
- authorizationList?: undefined;
1274
- eip712Meta?: undefined | undefined;
1275
- } | {
1276
- type?: "0x3" | undefined;
1277
- data?: `0x${string}` | undefined;
1278
- from?: `0x${string}` | undefined;
1279
- gas?: `0x${string}` | undefined;
1280
- nonce?: `0x${string}` | undefined;
1281
- value?: `0x${string}` | undefined;
1282
- to: `0x${string}` | null;
1283
- gasPrice?: undefined | undefined;
1284
- maxFeePerGas?: `0x${string}` | undefined;
1285
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1286
- maxFeePerBlobGas: `0x${string}`;
1287
- accessList?: import("viem").AccessList | undefined;
1288
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1289
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1290
- kzg?: import("viem").Kzg | undefined;
1291
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1292
- authorizationList?: undefined;
1293
- eip712Meta?: undefined | undefined;
1294
- } | {
1295
- type?: "0x4" | undefined;
1296
- gasPrice?: undefined | undefined;
1297
- maxFeePerBlobGas?: undefined | undefined;
1298
- maxFeePerGas?: `0x${string}` | undefined;
1299
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1300
- to?: `0x${string}` | null | undefined;
1301
- data?: `0x${string}` | undefined;
1302
- from?: `0x${string}` | undefined;
1303
- gas?: `0x${string}` | undefined;
1304
- nonce?: `0x${string}` | undefined;
1305
- value?: `0x${string}` | undefined;
1306
- accessList?: import("viem").AccessList | undefined;
1307
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
1308
- blobs?: undefined;
1309
- blobVersionedHashes?: undefined;
1310
- kzg?: undefined;
1311
- sidecars?: undefined;
1312
- eip712Meta?: undefined | undefined;
1313
- } | {
1314
- data?: `0x${string}` | undefined;
1315
- from?: `0x${string}` | undefined;
1316
- gas?: `0x${string}` | undefined;
1317
- nonce?: `0x${string}` | undefined;
1318
- to?: `0x${string}` | null | undefined;
1319
- type: "0xff" | "0x71";
1320
- value?: `0x${string}` | undefined;
1321
- gasPrice?: undefined | undefined;
1322
- maxFeePerBlobGas?: undefined | undefined;
1323
- maxFeePerGas?: `0x${string}` | undefined;
1324
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1325
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
1326
- }) & {
1327
- paymaster: never;
1328
- gasPerPubdata: never;
1329
- factoryDeps: never;
1330
- paymasterInput: never;
1331
- customSignature: never;
1332
- };
1333
- type: "transactionRequest";
1334
- };
1335
- };
1336
- serializers: {
1337
- readonly transaction: typeof import("viem/zksync").serializeTransaction;
1338
- };
1339
- readonly network: "zksync-era";
1340
- };
1341
- explorerInfo: {
1342
- readonly name: "Etherscan";
1343
- readonly url: "https://era.zksync.network/";
1344
- readonly apiUrl: "https://api-era.zksync.network/api";
1345
- };
1346
- isCheckoutSupported: boolean;
1347
- checkoutAssetWhitelist: string[];
1348
- isFunWalletSupported: boolean;
1349
- isMainnet: boolean;
1350
- moonpayChainName: string;
1351
- pickPriority: number;
1352
- isStandardEvmAddress: boolean;
1353
- fallbackRpcUrls: string[];
1354
- } | {
1355
- name: "Mantle";
1356
- nativeCurrency: {
1357
- symbol: "MNT";
1358
- decimals: 18;
1359
- name: "MNT";
1360
- };
1361
- coreToken: {
1362
- symbol: string;
1363
- decimals: number;
1364
- name: string;
1365
- };
1366
- chainInfo: {
1367
- blockExplorers: {
1368
- readonly default: {
1369
- readonly name: "Mantle Explorer";
1370
- readonly url: "https://mantlescan.xyz/";
1371
- readonly apiUrl: "https://api.mantlescan.xyz/api";
1372
- };
1373
- };
1374
- contracts: {
1375
- readonly multicall3: {
1376
- readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1377
- readonly blockCreated: 304717;
1378
- };
1379
- };
1380
- ensTlds?: readonly string[] | undefined;
1381
- id: 5000;
1382
- name: "Mantle";
1383
- nativeCurrency: {
1384
- readonly decimals: 18;
1385
- readonly name: "MNT";
1386
- readonly symbol: "MNT";
1387
- };
1388
- rpcUrls: {
1389
- readonly default: {
1390
- readonly http: readonly ["https://rpc.mantle.xyz"];
1391
- };
1392
- };
1393
- sourceId?: number | undefined | undefined;
1394
- testnet?: boolean | undefined | undefined;
1395
- custom?: Record<string, unknown> | undefined;
1396
- fees?: import("viem").ChainFees<undefined> | undefined;
1397
- formatters?: undefined;
1398
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1399
- };
1400
- explorerInfo: {
1401
- readonly name: "Mantle Explorer";
1402
- readonly url: "https://mantlescan.xyz/";
1403
- readonly apiUrl: "https://api.mantlescan.xyz/api";
1404
- };
1405
- isCheckoutSupported: boolean;
1406
- checkoutAssetWhitelist: string[];
1407
- isFunWalletSupported: boolean;
1408
- isMainnet: boolean;
1409
- moonpayChainName: string;
1410
- pickPriority: number;
1411
- isStandardEvmAddress: boolean;
1412
- fallbackRpcUrls: string[];
1413
- } | {
1414
- name: string;
1415
- nativeCurrency: {
1416
- symbol: string;
1417
- decimals: number;
1418
- name: string;
1419
- };
1420
- chainInfo: {
1421
- id: number;
1422
- name: string;
1423
- nativeCurrency: {
1424
- symbol: string;
1425
- decimals: number;
1426
- name: string;
1427
- };
1428
- rpcUrls: {
1429
- default: {
1430
- http: string[];
1431
- };
1432
- };
1433
- blockExplorers: {
1434
- default: {
1435
- name: string;
1436
- url: string;
1437
- apiUrl: string;
1438
- };
1439
- };
1440
- contracts: {
1441
- ensRegistry: {
1442
- address: `0x${string}`;
1443
- };
1444
- ensUniversalResolver: {
1445
- address: `0x${string}`;
1446
- blockCreated: number;
1447
- };
1448
- multicall3: {
1449
- address: `0x${string}`;
1450
- blockCreated: number;
1451
- };
1452
- };
1453
- };
1454
- explorerInfo: {
1455
- name: string;
1456
- url: string;
1457
- apiUrl: string;
1458
- };
1459
- isCheckoutSupported: boolean;
1460
- checkoutAssetWhitelist: string[];
1461
- isFunWalletSupported: boolean;
1462
- isMainnet: boolean;
1463
- moonpayChainName: string;
1464
- pickPriority: number;
1465
- isStandardEvmAddress: boolean;
1466
- fallbackRpcUrls: never[];
1467
- coreToken?: undefined;
1468
- } | {
1469
- name: "Scroll";
1470
- nativeCurrency: {
1471
- symbol: "ETH";
1472
- decimals: 18;
1473
- name: "Ether";
1474
- };
1475
- chainInfo: {
1476
- blockExplorers: {
1477
- readonly default: {
1478
- readonly name: "Scrollscan";
1479
- readonly url: "https://scrollscan.com";
1480
- readonly apiUrl: "https://api.scrollscan.com/api";
1481
- };
1482
- };
1483
- contracts: {
1484
- readonly multicall3: {
1485
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1486
- readonly blockCreated: 14;
1487
- };
1488
- };
1489
- ensTlds?: readonly string[] | undefined;
1490
- id: 534352;
1491
- name: "Scroll";
1492
- nativeCurrency: {
1493
- readonly name: "Ether";
1494
- readonly symbol: "ETH";
1495
- readonly decimals: 18;
1496
- };
1497
- rpcUrls: {
1498
- readonly default: {
1499
- readonly http: readonly ["https://rpc.scroll.io"];
1500
- readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
1501
- };
1502
- };
1503
- sourceId?: number | undefined | undefined;
1504
- testnet: false;
1505
- custom?: Record<string, unknown> | undefined;
1506
- fees?: import("viem").ChainFees<undefined> | undefined;
1507
- formatters?: undefined;
1508
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1509
- };
1510
- explorerInfo: {
1511
- readonly name: "Scrollscan";
1512
- readonly url: "https://scrollscan.com";
1513
- readonly apiUrl: "https://api.scrollscan.com/api";
1514
- };
1515
- isCheckoutSupported: boolean;
1516
- checkoutAssetWhitelist: string[];
1517
- isFunWalletSupported: boolean;
1518
- isMainnet: boolean;
1519
- moonpayChainName: string;
1520
- pickPriority: number;
1521
- isStandardEvmAddress: boolean;
1522
- fallbackRpcUrls: string[];
1523
- coreToken?: undefined;
1524
- } | {
1525
- name: "Goerli";
1526
- nativeCurrency: {
1527
- symbol: "ETH";
1528
- decimals: 18;
1529
- name: "Goerli Ether";
1530
- };
1531
- chainInfo: {
1532
- blockExplorers: {
1533
- readonly default: {
1534
- readonly name: "Etherscan";
1535
- readonly url: "https://goerli.etherscan.io";
1536
- readonly apiUrl: "https://api-goerli.etherscan.io/api";
1537
- };
1538
- };
1539
- contracts: {
1540
- readonly ensRegistry: {
1541
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
1542
- };
1543
- readonly ensUniversalResolver: {
1544
- readonly address: "0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1";
1545
- readonly blockCreated: 10339206;
1546
- };
1547
- readonly multicall3: {
1548
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1549
- readonly blockCreated: 6507670;
1550
- };
1551
- };
1552
- ensTlds?: readonly string[] | undefined;
1553
- id: 5;
1554
- name: "Goerli";
1555
- nativeCurrency: {
1556
- readonly name: "Goerli Ether";
1557
- readonly symbol: "ETH";
1558
- readonly decimals: 18;
1559
- };
1560
- rpcUrls: {
1561
- readonly default: {
1562
- readonly http: readonly ["https://5.rpc.thirdweb.com"];
1563
- };
1564
- };
1565
- sourceId?: number | undefined | undefined;
1566
- testnet: true;
1567
- custom?: Record<string, unknown> | undefined;
1568
- fees?: import("viem").ChainFees<undefined> | undefined;
1569
- formatters?: undefined;
1570
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1571
- };
1572
- explorerInfo: {
1573
- readonly name: "Etherscan";
1574
- readonly url: "https://goerli.etherscan.io";
1575
- readonly apiUrl: "https://api-goerli.etherscan.io/api";
1576
- };
1577
- isCheckoutSupported: boolean;
1578
- checkoutAssetWhitelist: string[];
1579
- isFunWalletSupported: boolean;
1580
- isMainnet: boolean;
1581
- moonpayChainName: null;
1582
- pickPriority: number;
1583
- isStandardEvmAddress: boolean;
1584
- fallbackRpcUrls: never[];
1585
- coreToken?: undefined;
1586
- } | {
1587
- name: "Arbitrum Sepolia";
1588
- nativeCurrency: {
1589
- symbol: "ETH";
1590
- decimals: 18;
1591
- name: "Arbitrum Sepolia Ether";
1592
- };
1593
- chainInfo: {
1594
- blockExplorers: {
1595
- readonly default: {
1596
- readonly name: "Arbiscan";
1597
- readonly url: "https://sepolia.arbiscan.io";
1598
- readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
1599
- };
1600
- };
1601
- contracts: {
1602
- readonly multicall3: {
1603
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1604
- readonly blockCreated: 81930;
1605
- };
1606
- };
1607
- ensTlds?: readonly string[] | undefined;
1608
- id: 421614;
1609
- name: "Arbitrum Sepolia";
1610
- nativeCurrency: {
1611
- readonly name: "Arbitrum Sepolia Ether";
1612
- readonly symbol: "ETH";
1613
- readonly decimals: 18;
1614
- };
1615
- rpcUrls: {
1616
- readonly default: {
1617
- readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
1618
- };
1619
- };
1620
- sourceId?: number | undefined | undefined;
1621
- testnet: true;
1622
- custom?: Record<string, unknown> | undefined;
1623
- fees?: import("viem").ChainFees<undefined> | undefined;
1624
- formatters?: undefined;
1625
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1626
- };
1627
- explorerInfo: {
1628
- name: string;
1629
- url: string;
1630
- };
1631
- isCheckoutSupported: boolean;
1632
- checkoutAssetWhitelist: string[];
1633
- isFunWalletSupported: boolean;
1634
- isMainnet: boolean;
1635
- moonpayChainName: null;
1636
- pickPriority: number;
1637
- isStandardEvmAddress: boolean;
1638
- fallbackRpcUrls: never[];
1639
- coreToken?: undefined;
1640
- };
1641
- };
1642
- export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_ID_LIST: string[];
1643
- export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO_LIST: ({
1644
- id: number;
65
+ export declare const SOLANA_MAINNET_CHAIN_ID = 1151111081099710;
66
+ export declare const solanaChain: {
67
+ id: typeof SOLANA_MAINNET_CHAIN_ID;
1645
68
  name: string;
1646
69
  nativeCurrency: {
1647
70
  symbol: string;
@@ -1673,2576 +96,44 @@ export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO_LIST: ({
1673
96
  blockCreated: number;
1674
97
  };
1675
98
  };
1676
- } | {
1677
- blockExplorers: {
1678
- readonly default: {
1679
- readonly name: "Etherscan";
1680
- readonly url: "https://etherscan.io";
1681
- readonly apiUrl: "https://api.etherscan.io/api";
1682
- };
1683
- };
1684
- contracts: {
1685
- readonly ensRegistry: {
1686
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
1687
- };
1688
- readonly ensUniversalResolver: {
1689
- readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
1690
- readonly blockCreated: 19258213;
1691
- };
1692
- readonly multicall3: {
1693
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1694
- readonly blockCreated: 14353601;
1695
- };
1696
- };
1697
- ensTlds?: readonly string[] | undefined;
1698
- id: 1;
1699
- name: "Ethereum";
1700
- nativeCurrency: {
1701
- readonly name: "Ether";
1702
- readonly symbol: "ETH";
1703
- readonly decimals: 18;
1704
- };
1705
- rpcUrls: {
1706
- readonly default: {
1707
- readonly http: readonly ["https://eth.merkle.io"];
1708
- };
1709
- };
1710
- sourceId?: number | undefined | undefined;
1711
- testnet?: boolean | undefined | undefined;
1712
- custom?: Record<string, unknown> | undefined;
1713
- fees?: import("viem").ChainFees<undefined> | undefined;
1714
- formatters?: undefined;
1715
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1716
- } | {
1717
- blockExplorers: {
1718
- readonly default: {
1719
- readonly name: "Basescan";
1720
- readonly url: "https://basescan.org";
1721
- readonly apiUrl: "https://api.basescan.org/api";
1722
- };
1723
- };
1724
- contracts: {
1725
- readonly disputeGameFactory: {
1726
- readonly 1: {
1727
- readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
1728
- };
1729
- };
1730
- readonly l2OutputOracle: {
1731
- readonly 1: {
1732
- readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
1733
- };
1734
- };
1735
- readonly multicall3: {
1736
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1737
- readonly blockCreated: 5022;
1738
- };
1739
- readonly portal: {
1740
- readonly 1: {
1741
- readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
1742
- readonly blockCreated: 17482143;
1743
- };
1744
- };
1745
- readonly l1StandardBridge: {
1746
- readonly 1: {
1747
- readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
1748
- readonly blockCreated: 17482143;
1749
- };
1750
- };
1751
- readonly gasPriceOracle: {
1752
- readonly address: "0x420000000000000000000000000000000000000F";
1753
- };
1754
- readonly l1Block: {
1755
- readonly address: "0x4200000000000000000000000000000000000015";
1756
- };
1757
- readonly l2CrossDomainMessenger: {
1758
- readonly address: "0x4200000000000000000000000000000000000007";
1759
- };
1760
- readonly l2Erc721Bridge: {
1761
- readonly address: "0x4200000000000000000000000000000000000014";
1762
- };
1763
- readonly l2StandardBridge: {
1764
- readonly address: "0x4200000000000000000000000000000000000010";
1765
- };
1766
- readonly l2ToL1MessagePasser: {
1767
- readonly address: "0x4200000000000000000000000000000000000016";
1768
- };
1769
- };
1770
- ensTlds?: readonly string[] | undefined;
1771
- id: 8453;
1772
- name: "Base";
1773
- nativeCurrency: {
1774
- readonly name: "Ether";
1775
- readonly symbol: "ETH";
1776
- readonly decimals: 18;
1777
- };
1778
- rpcUrls: {
1779
- readonly default: {
1780
- readonly http: readonly ["https://mainnet.base.org"];
1781
- };
1782
- };
1783
- sourceId: 1;
1784
- testnet?: boolean | undefined | undefined;
1785
- custom?: Record<string, unknown> | undefined;
1786
- fees?: import("viem").ChainFees<undefined> | undefined;
1787
- formatters: {
1788
- readonly block: {
1789
- exclude: [] | undefined;
1790
- format: (args: import("viem/chains").OpStackRpcBlock) => {
1791
- baseFeePerGas: bigint | null;
1792
- blobGasUsed: bigint;
1793
- difficulty: bigint;
1794
- excessBlobGas: bigint;
1795
- extraData: import("viem").Hex;
1796
- gasLimit: bigint;
1797
- gasUsed: bigint;
1798
- hash: `0x${string}` | null;
1799
- logsBloom: `0x${string}` | null;
1800
- miner: import("viem").Address;
1801
- mixHash: import("viem").Hash;
1802
- nonce: `0x${string}` | null;
1803
- number: bigint | null;
1804
- parentBeaconBlockRoot?: `0x${string}` | undefined;
1805
- parentHash: import("viem").Hash;
1806
- receiptsRoot: import("viem").Hex;
1807
- sealFields: import("viem").Hex[];
1808
- sha3Uncles: import("viem").Hash;
1809
- size: bigint;
1810
- stateRoot: import("viem").Hash;
1811
- timestamp: bigint;
1812
- totalDifficulty: bigint | null;
1813
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1814
- transactionsRoot: import("viem").Hash;
1815
- uncles: import("viem").Hash[];
1816
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1817
- withdrawalsRoot?: `0x${string}` | undefined;
1818
- } & {};
1819
- type: "block";
1820
- };
1821
- readonly transaction: {
1822
- exclude: [] | undefined;
1823
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
1824
- blockHash: `0x${string}` | null;
1825
- blockNumber: bigint | null;
1826
- from: import("viem").Address;
1827
- gas: bigint;
1828
- hash: import("viem").Hash;
1829
- input: import("viem").Hex;
1830
- nonce: number;
1831
- r: import("viem").Hex;
1832
- s: import("viem").Hex;
1833
- to: import("viem").Address | null;
1834
- transactionIndex: number | null;
1835
- typeHex: import("viem").Hex | null;
1836
- v: bigint;
1837
- value: bigint;
1838
- yParity: number;
1839
- gasPrice?: undefined | undefined;
1840
- maxFeePerBlobGas?: undefined | undefined;
1841
- maxFeePerGas: bigint;
1842
- maxPriorityFeePerGas: bigint;
1843
- isSystemTx?: boolean;
1844
- mint?: bigint | undefined | undefined;
1845
- sourceHash: import("viem").Hex;
1846
- type: "deposit";
1847
- } | {
1848
- r: import("viem").Hex;
1849
- s: import("viem").Hex;
1850
- v: bigint;
1851
- to: import("viem").Address | null;
1852
- from: import("viem").Address;
1853
- gas: bigint;
1854
- nonce: number;
1855
- value: bigint;
1856
- blockHash: `0x${string}` | null;
1857
- blockNumber: bigint | null;
1858
- hash: import("viem").Hash;
1859
- input: import("viem").Hex;
1860
- transactionIndex: number | null;
1861
- typeHex: import("viem").Hex | null;
1862
- accessList?: undefined | undefined;
1863
- authorizationList?: undefined | undefined;
1864
- blobVersionedHashes?: undefined | undefined;
1865
- chainId?: number | undefined;
1866
- yParity?: undefined | undefined;
1867
- type: "legacy";
1868
- gasPrice: bigint;
1869
- maxFeePerBlobGas?: undefined | undefined;
1870
- maxFeePerGas?: undefined | undefined;
1871
- maxPriorityFeePerGas?: undefined | undefined;
1872
- isSystemTx?: undefined | undefined;
1873
- mint?: undefined | undefined;
1874
- sourceHash?: undefined | undefined;
1875
- } | {
1876
- blockHash: `0x${string}` | null;
1877
- blockNumber: bigint | null;
1878
- from: import("viem").Address;
1879
- gas: bigint;
1880
- hash: import("viem").Hash;
1881
- input: import("viem").Hex;
1882
- nonce: number;
1883
- r: import("viem").Hex;
1884
- s: import("viem").Hex;
1885
- to: import("viem").Address | null;
1886
- transactionIndex: number | null;
1887
- typeHex: import("viem").Hex | null;
1888
- v: bigint;
1889
- value: bigint;
1890
- yParity: number;
1891
- accessList: import("viem").AccessList;
1892
- authorizationList?: undefined | undefined;
1893
- blobVersionedHashes?: undefined | undefined;
1894
- chainId: number;
1895
- type: "eip2930";
1896
- gasPrice: bigint;
1897
- maxFeePerBlobGas?: undefined | undefined;
1898
- maxFeePerGas?: undefined | undefined;
1899
- maxPriorityFeePerGas?: undefined | undefined;
1900
- isSystemTx?: undefined | undefined;
1901
- mint?: undefined | undefined;
1902
- sourceHash?: undefined | undefined;
1903
- } | {
1904
- blockHash: `0x${string}` | null;
1905
- blockNumber: bigint | null;
1906
- from: import("viem").Address;
1907
- gas: bigint;
1908
- hash: import("viem").Hash;
1909
- input: import("viem").Hex;
1910
- nonce: number;
1911
- r: import("viem").Hex;
1912
- s: import("viem").Hex;
1913
- to: import("viem").Address | null;
1914
- transactionIndex: number | null;
1915
- typeHex: import("viem").Hex | null;
1916
- v: bigint;
1917
- value: bigint;
1918
- yParity: number;
1919
- accessList: import("viem").AccessList;
1920
- authorizationList?: undefined | undefined;
1921
- blobVersionedHashes?: undefined | undefined;
1922
- chainId: number;
1923
- type: "eip1559";
1924
- gasPrice?: undefined | undefined;
1925
- maxFeePerBlobGas?: undefined | undefined;
1926
- maxFeePerGas: bigint;
1927
- maxPriorityFeePerGas: bigint;
1928
- isSystemTx?: undefined | undefined;
1929
- mint?: undefined | undefined;
1930
- sourceHash?: undefined | undefined;
1931
- } | {
1932
- blockHash: `0x${string}` | null;
1933
- blockNumber: bigint | null;
1934
- from: import("viem").Address;
1935
- gas: bigint;
1936
- hash: import("viem").Hash;
1937
- input: import("viem").Hex;
1938
- nonce: number;
1939
- r: import("viem").Hex;
1940
- s: import("viem").Hex;
1941
- to: import("viem").Address | null;
1942
- transactionIndex: number | null;
1943
- typeHex: import("viem").Hex | null;
1944
- v: bigint;
1945
- value: bigint;
1946
- yParity: number;
1947
- accessList: import("viem").AccessList;
1948
- authorizationList?: undefined | undefined;
1949
- blobVersionedHashes: readonly import("viem").Hex[];
1950
- chainId: number;
1951
- type: "eip4844";
1952
- gasPrice?: undefined | undefined;
1953
- maxFeePerBlobGas: bigint;
1954
- maxFeePerGas: bigint;
1955
- maxPriorityFeePerGas: bigint;
1956
- isSystemTx?: undefined | undefined;
1957
- mint?: undefined | undefined;
1958
- sourceHash?: undefined | undefined;
1959
- } | {
1960
- blockHash: `0x${string}` | null;
1961
- blockNumber: bigint | null;
1962
- from: import("viem").Address;
1963
- gas: bigint;
1964
- hash: import("viem").Hash;
1965
- input: import("viem").Hex;
1966
- nonce: number;
1967
- r: import("viem").Hex;
1968
- s: import("viem").Hex;
1969
- to: import("viem").Address | null;
1970
- transactionIndex: number | null;
1971
- typeHex: import("viem").Hex | null;
1972
- v: bigint;
1973
- value: bigint;
1974
- yParity: number;
1975
- accessList: import("viem").AccessList;
1976
- authorizationList: import("viem").SignedAuthorizationList;
1977
- blobVersionedHashes?: undefined | undefined;
1978
- chainId: number;
1979
- type: "eip7702";
1980
- gasPrice?: undefined | undefined;
1981
- maxFeePerBlobGas?: undefined | undefined;
1982
- maxFeePerGas: bigint;
1983
- maxPriorityFeePerGas: bigint;
1984
- isSystemTx?: undefined | undefined;
1985
- mint?: undefined | undefined;
1986
- sourceHash?: undefined | undefined;
1987
- }) & {};
1988
- type: "transaction";
1989
- };
1990
- readonly transactionReceipt: {
1991
- exclude: [] | undefined;
1992
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
1993
- blobGasPrice?: bigint | undefined;
1994
- blobGasUsed?: bigint | undefined;
1995
- blockHash: import("viem").Hash;
1996
- blockNumber: bigint;
1997
- contractAddress: import("viem").Address | null | undefined;
1998
- cumulativeGasUsed: bigint;
1999
- effectiveGasPrice: bigint;
2000
- from: import("viem").Address;
2001
- gasUsed: bigint;
2002
- logs: import("viem").Log<bigint, number, false>[];
2003
- logsBloom: import("viem").Hex;
2004
- root?: `0x${string}` | undefined;
2005
- status: "success" | "reverted";
2006
- to: import("viem").Address | null;
2007
- transactionHash: import("viem").Hash;
2008
- transactionIndex: number;
2009
- type: import("viem").TransactionType;
2010
- l1GasPrice: bigint | null;
2011
- l1GasUsed: bigint | null;
2012
- l1Fee: bigint | null;
2013
- l1FeeScalar: number | null;
2014
- } & {};
2015
- type: "transactionReceipt";
2016
- };
2017
- };
2018
- serializers: {
2019
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
2020
- };
2021
- } | {
2022
- blockExplorers: {
2023
- readonly default: {
2024
- readonly name: "PolygonScan";
2025
- readonly url: "https://polygonscan.com";
2026
- readonly apiUrl: "https://api.polygonscan.com/api";
2027
- };
2028
- };
2029
- contracts: {
2030
- readonly multicall3: {
2031
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2032
- readonly blockCreated: 25770160;
2033
- };
2034
- };
2035
- ensTlds?: readonly string[] | undefined;
2036
- id: 137;
2037
- name: "Polygon";
2038
- nativeCurrency: {
2039
- readonly name: "POL";
2040
- readonly symbol: "POL";
2041
- readonly decimals: 18;
2042
- };
2043
- rpcUrls: {
2044
- readonly default: {
2045
- readonly http: readonly ["https://polygon-rpc.com"];
2046
- };
2047
- };
2048
- sourceId?: number | undefined | undefined;
2049
- testnet?: boolean | undefined | undefined;
2050
- custom?: Record<string, unknown> | undefined;
2051
- fees?: import("viem").ChainFees<undefined> | undefined;
2052
- formatters?: undefined;
2053
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2054
- } | {
2055
- blockExplorers: {
2056
- readonly default: {
2057
- readonly name: "Arbiscan";
2058
- readonly url: "https://arbiscan.io";
2059
- readonly apiUrl: "https://api.arbiscan.io/api";
2060
- };
2061
- };
2062
- contracts: {
2063
- readonly multicall3: {
2064
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2065
- readonly blockCreated: 7654707;
2066
- };
2067
- };
2068
- ensTlds?: readonly string[] | undefined;
2069
- id: 42161;
2070
- name: "Arbitrum One";
2071
- nativeCurrency: {
2072
- readonly name: "Ether";
2073
- readonly symbol: "ETH";
2074
- readonly decimals: 18;
2075
- };
2076
- rpcUrls: {
2077
- readonly default: {
2078
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
2079
- };
2080
- };
2081
- sourceId?: number | undefined | undefined;
2082
- testnet?: boolean | undefined | undefined;
2083
- custom?: Record<string, unknown> | undefined;
2084
- fees?: import("viem").ChainFees<undefined> | undefined;
2085
- formatters?: undefined;
2086
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2087
- } | {
2088
- blockExplorers: {
2089
- readonly default: {
2090
- readonly name: "Optimism Explorer";
2091
- readonly url: "https://optimistic.etherscan.io";
2092
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
2093
- };
2094
- };
2095
- contracts: {
2096
- readonly disputeGameFactory: {
2097
- readonly 1: {
2098
- readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
2099
- };
2100
- };
2101
- readonly l2OutputOracle: {
2102
- readonly 1: {
2103
- readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
2104
- };
2105
- };
2106
- readonly multicall3: {
2107
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2108
- readonly blockCreated: 4286263;
2109
- };
2110
- readonly portal: {
2111
- readonly 1: {
2112
- readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
2113
- };
2114
- };
2115
- readonly l1StandardBridge: {
2116
- readonly 1: {
2117
- readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
2118
- };
2119
- };
2120
- readonly gasPriceOracle: {
2121
- readonly address: "0x420000000000000000000000000000000000000F";
2122
- };
2123
- readonly l1Block: {
2124
- readonly address: "0x4200000000000000000000000000000000000015";
2125
- };
2126
- readonly l2CrossDomainMessenger: {
2127
- readonly address: "0x4200000000000000000000000000000000000007";
2128
- };
2129
- readonly l2Erc721Bridge: {
2130
- readonly address: "0x4200000000000000000000000000000000000014";
2131
- };
2132
- readonly l2StandardBridge: {
2133
- readonly address: "0x4200000000000000000000000000000000000010";
2134
- };
2135
- readonly l2ToL1MessagePasser: {
2136
- readonly address: "0x4200000000000000000000000000000000000016";
2137
- };
2138
- };
2139
- ensTlds?: readonly string[] | undefined;
2140
- id: 10;
2141
- name: "OP Mainnet";
2142
- nativeCurrency: {
2143
- readonly name: "Ether";
2144
- readonly symbol: "ETH";
2145
- readonly decimals: 18;
2146
- };
2147
- rpcUrls: {
2148
- readonly default: {
2149
- readonly http: readonly ["https://mainnet.optimism.io"];
2150
- };
2151
- };
2152
- sourceId: 1;
2153
- testnet?: boolean | undefined | undefined;
2154
- custom?: Record<string, unknown> | undefined;
2155
- fees?: import("viem").ChainFees<undefined> | undefined;
2156
- formatters: {
2157
- readonly block: {
2158
- exclude: [] | undefined;
2159
- format: (args: import("viem/chains").OpStackRpcBlock) => {
2160
- baseFeePerGas: bigint | null;
2161
- blobGasUsed: bigint;
2162
- difficulty: bigint;
2163
- excessBlobGas: bigint;
2164
- extraData: import("viem").Hex;
2165
- gasLimit: bigint;
2166
- gasUsed: bigint;
2167
- hash: `0x${string}` | null;
2168
- logsBloom: `0x${string}` | null;
2169
- miner: import("viem").Address;
2170
- mixHash: import("viem").Hash;
2171
- nonce: `0x${string}` | null;
2172
- number: bigint | null;
2173
- parentBeaconBlockRoot?: `0x${string}` | undefined;
2174
- parentHash: import("viem").Hash;
2175
- receiptsRoot: import("viem").Hex;
2176
- sealFields: import("viem").Hex[];
2177
- sha3Uncles: import("viem").Hash;
2178
- size: bigint;
2179
- stateRoot: import("viem").Hash;
2180
- timestamp: bigint;
2181
- totalDifficulty: bigint | null;
2182
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
2183
- transactionsRoot: import("viem").Hash;
2184
- uncles: import("viem").Hash[];
2185
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
2186
- withdrawalsRoot?: `0x${string}` | undefined;
2187
- } & {};
2188
- type: "block";
2189
- };
2190
- readonly transaction: {
2191
- exclude: [] | undefined;
2192
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
2193
- blockHash: `0x${string}` | null;
2194
- blockNumber: bigint | null;
2195
- from: import("viem").Address;
2196
- gas: bigint;
2197
- hash: import("viem").Hash;
2198
- input: import("viem").Hex;
2199
- nonce: number;
2200
- r: import("viem").Hex;
2201
- s: import("viem").Hex;
2202
- to: import("viem").Address | null;
2203
- transactionIndex: number | null;
2204
- typeHex: import("viem").Hex | null;
2205
- v: bigint;
2206
- value: bigint;
2207
- yParity: number;
2208
- gasPrice?: undefined | undefined;
2209
- maxFeePerBlobGas?: undefined | undefined;
2210
- maxFeePerGas: bigint;
2211
- maxPriorityFeePerGas: bigint;
2212
- isSystemTx?: boolean;
2213
- mint?: bigint | undefined | undefined;
2214
- sourceHash: import("viem").Hex;
2215
- type: "deposit";
2216
- } | {
2217
- r: import("viem").Hex;
2218
- s: import("viem").Hex;
2219
- v: bigint;
2220
- to: import("viem").Address | null;
2221
- from: import("viem").Address;
2222
- gas: bigint;
2223
- nonce: number;
2224
- value: bigint;
2225
- blockHash: `0x${string}` | null;
2226
- blockNumber: bigint | null;
2227
- hash: import("viem").Hash;
2228
- input: import("viem").Hex;
2229
- transactionIndex: number | null;
2230
- typeHex: import("viem").Hex | null;
2231
- accessList?: undefined | undefined;
2232
- authorizationList?: undefined | undefined;
2233
- blobVersionedHashes?: undefined | undefined;
2234
- chainId?: number | undefined;
2235
- yParity?: undefined | undefined;
2236
- type: "legacy";
2237
- gasPrice: bigint;
2238
- maxFeePerBlobGas?: undefined | undefined;
2239
- maxFeePerGas?: undefined | undefined;
2240
- maxPriorityFeePerGas?: undefined | undefined;
2241
- isSystemTx?: undefined | undefined;
2242
- mint?: undefined | undefined;
2243
- sourceHash?: undefined | undefined;
2244
- } | {
2245
- blockHash: `0x${string}` | null;
2246
- blockNumber: bigint | null;
2247
- from: import("viem").Address;
2248
- gas: bigint;
2249
- hash: import("viem").Hash;
2250
- input: import("viem").Hex;
2251
- nonce: number;
2252
- r: import("viem").Hex;
2253
- s: import("viem").Hex;
2254
- to: import("viem").Address | null;
2255
- transactionIndex: number | null;
2256
- typeHex: import("viem").Hex | null;
2257
- v: bigint;
2258
- value: bigint;
2259
- yParity: number;
2260
- accessList: import("viem").AccessList;
2261
- authorizationList?: undefined | undefined;
2262
- blobVersionedHashes?: undefined | undefined;
2263
- chainId: number;
2264
- type: "eip2930";
2265
- gasPrice: bigint;
2266
- maxFeePerBlobGas?: undefined | undefined;
2267
- maxFeePerGas?: undefined | undefined;
2268
- maxPriorityFeePerGas?: undefined | undefined;
2269
- isSystemTx?: undefined | undefined;
2270
- mint?: undefined | undefined;
2271
- sourceHash?: undefined | undefined;
2272
- } | {
2273
- blockHash: `0x${string}` | null;
2274
- blockNumber: bigint | null;
2275
- from: import("viem").Address;
2276
- gas: bigint;
2277
- hash: import("viem").Hash;
2278
- input: import("viem").Hex;
2279
- nonce: number;
2280
- r: import("viem").Hex;
2281
- s: import("viem").Hex;
2282
- to: import("viem").Address | null;
2283
- transactionIndex: number | null;
2284
- typeHex: import("viem").Hex | null;
2285
- v: bigint;
2286
- value: bigint;
2287
- yParity: number;
2288
- accessList: import("viem").AccessList;
2289
- authorizationList?: undefined | undefined;
2290
- blobVersionedHashes?: undefined | undefined;
2291
- chainId: number;
2292
- type: "eip1559";
2293
- gasPrice?: undefined | undefined;
2294
- maxFeePerBlobGas?: undefined | undefined;
2295
- maxFeePerGas: bigint;
2296
- maxPriorityFeePerGas: bigint;
2297
- isSystemTx?: undefined | undefined;
2298
- mint?: undefined | undefined;
2299
- sourceHash?: undefined | undefined;
2300
- } | {
2301
- blockHash: `0x${string}` | null;
2302
- blockNumber: bigint | null;
2303
- from: import("viem").Address;
2304
- gas: bigint;
2305
- hash: import("viem").Hash;
2306
- input: import("viem").Hex;
2307
- nonce: number;
2308
- r: import("viem").Hex;
2309
- s: import("viem").Hex;
2310
- to: import("viem").Address | null;
2311
- transactionIndex: number | null;
2312
- typeHex: import("viem").Hex | null;
2313
- v: bigint;
2314
- value: bigint;
2315
- yParity: number;
2316
- accessList: import("viem").AccessList;
2317
- authorizationList?: undefined | undefined;
2318
- blobVersionedHashes: readonly import("viem").Hex[];
2319
- chainId: number;
2320
- type: "eip4844";
2321
- gasPrice?: undefined | undefined;
2322
- maxFeePerBlobGas: bigint;
2323
- maxFeePerGas: bigint;
2324
- maxPriorityFeePerGas: bigint;
2325
- isSystemTx?: undefined | undefined;
2326
- mint?: undefined | undefined;
2327
- sourceHash?: undefined | undefined;
2328
- } | {
2329
- blockHash: `0x${string}` | null;
2330
- blockNumber: bigint | null;
2331
- from: import("viem").Address;
2332
- gas: bigint;
2333
- hash: import("viem").Hash;
2334
- input: import("viem").Hex;
2335
- nonce: number;
2336
- r: import("viem").Hex;
2337
- s: import("viem").Hex;
2338
- to: import("viem").Address | null;
2339
- transactionIndex: number | null;
2340
- typeHex: import("viem").Hex | null;
2341
- v: bigint;
2342
- value: bigint;
2343
- yParity: number;
2344
- accessList: import("viem").AccessList;
2345
- authorizationList: import("viem").SignedAuthorizationList;
2346
- blobVersionedHashes?: undefined | undefined;
2347
- chainId: number;
2348
- type: "eip7702";
2349
- gasPrice?: undefined | undefined;
2350
- maxFeePerBlobGas?: undefined | undefined;
2351
- maxFeePerGas: bigint;
2352
- maxPriorityFeePerGas: bigint;
2353
- isSystemTx?: undefined | undefined;
2354
- mint?: undefined | undefined;
2355
- sourceHash?: undefined | undefined;
2356
- }) & {};
2357
- type: "transaction";
2358
- };
2359
- readonly transactionReceipt: {
2360
- exclude: [] | undefined;
2361
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
2362
- blobGasPrice?: bigint | undefined;
2363
- blobGasUsed?: bigint | undefined;
2364
- blockHash: import("viem").Hash;
2365
- blockNumber: bigint;
2366
- contractAddress: import("viem").Address | null | undefined;
2367
- cumulativeGasUsed: bigint;
2368
- effectiveGasPrice: bigint;
2369
- from: import("viem").Address;
2370
- gasUsed: bigint;
2371
- logs: import("viem").Log<bigint, number, false>[];
2372
- logsBloom: import("viem").Hex;
2373
- root?: `0x${string}` | undefined;
2374
- status: "success" | "reverted";
2375
- to: import("viem").Address | null;
2376
- transactionHash: import("viem").Hash;
2377
- transactionIndex: number;
2378
- type: import("viem").TransactionType;
2379
- l1GasPrice: bigint | null;
2380
- l1GasUsed: bigint | null;
2381
- l1Fee: bigint | null;
2382
- l1FeeScalar: number | null;
2383
- } & {};
2384
- type: "transactionReceipt";
2385
- };
2386
- };
2387
- serializers: {
2388
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
2389
- };
2390
- } | {
2391
- blockExplorers: {
2392
- readonly default: {
2393
- readonly name: "Etherscan";
2394
- readonly url: "https://era.zksync.network/";
2395
- readonly apiUrl: "https://api-era.zksync.network/api";
2396
- };
2397
- readonly native: {
2398
- readonly name: "ZKsync Explorer";
2399
- readonly url: "https://explorer.zksync.io/";
2400
- readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
2401
- };
2402
- };
2403
- contracts: {
2404
- readonly multicall3: {
2405
- readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
2406
- };
2407
- readonly universalSignatureVerifier: {
2408
- readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
2409
- readonly blockCreated: 45659388;
2410
- };
2411
- };
2412
- ensTlds?: readonly string[] | undefined;
2413
- id: 324;
2414
- name: "ZKsync Era";
2415
- nativeCurrency: {
2416
- readonly decimals: 18;
2417
- readonly name: "Ether";
2418
- readonly symbol: "ETH";
2419
- };
2420
- rpcUrls: {
2421
- readonly default: {
2422
- readonly http: readonly ["https://mainnet.era.zksync.io"];
2423
- readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
2424
- };
2425
- };
2426
- sourceId?: number | undefined | undefined;
2427
- testnet?: boolean | undefined | undefined;
2428
- custom: {
2429
- readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/chains").ZkSyncTransactionSerializable, import("viem/chains").ZkSyncEIP712TransactionSignable>;
2430
- };
2431
- fees?: import("viem").ChainFees<undefined> | undefined;
2432
- formatters: {
2433
- readonly block: {
2434
- exclude: [] | undefined;
2435
- format: (args: import("viem/chains").ZkSyncRpcBlock) => {
2436
- baseFeePerGas: bigint | null;
2437
- blobGasUsed: bigint;
2438
- difficulty: bigint;
2439
- excessBlobGas: bigint;
2440
- extraData: import("viem").Hex;
2441
- gasLimit: bigint;
2442
- gasUsed: bigint;
2443
- hash: `0x${string}` | null;
2444
- logsBloom: `0x${string}` | null;
2445
- miner: import("viem").Address;
2446
- mixHash: import("viem").Hash;
2447
- nonce: `0x${string}` | null;
2448
- number: bigint | null;
2449
- parentBeaconBlockRoot?: `0x${string}` | undefined;
2450
- parentHash: import("viem").Hash;
2451
- receiptsRoot: import("viem").Hex;
2452
- sealFields: import("viem").Hex[];
2453
- sha3Uncles: import("viem").Hash;
2454
- size: bigint;
2455
- stateRoot: import("viem").Hash;
2456
- timestamp: bigint;
2457
- totalDifficulty: bigint | null;
2458
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
2459
- transactionsRoot: import("viem").Hash;
2460
- uncles: import("viem").Hash[];
2461
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
2462
- withdrawalsRoot?: `0x${string}` | undefined;
2463
- l1BatchNumber: bigint | null;
2464
- l1BatchTimestamp: bigint | null;
2465
- } & {};
2466
- type: "block";
2467
- };
2468
- readonly transaction: {
2469
- exclude: [] | undefined;
2470
- format: (args: import("viem/chains").ZkSyncRpcTransaction) => ({
2471
- r: import("viem").Hex;
2472
- s: import("viem").Hex;
2473
- v: bigint;
2474
- to: import("viem").Address | null;
2475
- from: import("viem").Address;
2476
- gas: bigint;
2477
- nonce: number;
2478
- value: bigint;
2479
- blockHash: `0x${string}` | null;
2480
- blockNumber: bigint | null;
2481
- hash: import("viem").Hash;
2482
- input: import("viem").Hex;
2483
- transactionIndex: number | null;
2484
- typeHex: import("viem").Hex | null;
2485
- accessList?: undefined | undefined;
2486
- authorizationList?: undefined | undefined;
2487
- blobVersionedHashes?: undefined | undefined;
2488
- chainId?: number | undefined;
2489
- yParity?: undefined | undefined;
2490
- type: "legacy";
2491
- gasPrice: bigint;
2492
- maxFeePerBlobGas?: undefined | undefined;
2493
- maxFeePerGas?: undefined | undefined;
2494
- maxPriorityFeePerGas?: undefined | undefined;
2495
- l1BatchNumber: bigint | null;
2496
- l1BatchTxIndex: bigint | null;
2497
- } | {
2498
- blockHash: `0x${string}` | null;
2499
- blockNumber: bigint | null;
2500
- from: import("viem").Address;
2501
- gas: bigint;
2502
- hash: import("viem").Hash;
2503
- input: import("viem").Hex;
2504
- nonce: number;
2505
- r: import("viem").Hex;
2506
- s: import("viem").Hex;
2507
- to: import("viem").Address | null;
2508
- transactionIndex: number | null;
2509
- typeHex: import("viem").Hex | null;
2510
- v: bigint;
2511
- value: bigint;
2512
- yParity: number;
2513
- accessList: import("viem").AccessList;
2514
- authorizationList?: undefined | undefined;
2515
- blobVersionedHashes?: undefined | undefined;
2516
- chainId: number;
2517
- type: "eip2930";
2518
- gasPrice: bigint;
2519
- maxFeePerBlobGas?: undefined | undefined;
2520
- maxFeePerGas?: undefined | undefined;
2521
- maxPriorityFeePerGas?: undefined | undefined;
2522
- l1BatchNumber: bigint | null;
2523
- l1BatchTxIndex: bigint | null;
2524
- } | {
2525
- blockHash: `0x${string}` | null;
2526
- blockNumber: bigint | null;
2527
- from: import("viem").Address;
2528
- gas: bigint;
2529
- hash: import("viem").Hash;
2530
- input: import("viem").Hex;
2531
- nonce: number;
2532
- r: import("viem").Hex;
2533
- s: import("viem").Hex;
2534
- to: import("viem").Address | null;
2535
- transactionIndex: number | null;
2536
- typeHex: import("viem").Hex | null;
2537
- v: bigint;
2538
- value: bigint;
2539
- yParity: number;
2540
- accessList: import("viem").AccessList;
2541
- authorizationList?: undefined | undefined;
2542
- blobVersionedHashes?: undefined | undefined;
2543
- chainId: number;
2544
- type: "eip1559";
2545
- gasPrice?: undefined | undefined;
2546
- maxFeePerBlobGas?: undefined | undefined;
2547
- maxFeePerGas: bigint;
2548
- maxPriorityFeePerGas: bigint;
2549
- l1BatchNumber: bigint | null;
2550
- l1BatchTxIndex: bigint | null;
2551
- } | {
2552
- blockHash: `0x${string}` | null;
2553
- blockNumber: bigint | null;
2554
- from: import("viem").Address;
2555
- gas: bigint;
2556
- hash: import("viem").Hash;
2557
- input: import("viem").Hex;
2558
- nonce: number;
2559
- r: import("viem").Hex;
2560
- s: import("viem").Hex;
2561
- to: import("viem").Address | null;
2562
- transactionIndex: number | null;
2563
- typeHex: import("viem").Hex | null;
2564
- v: bigint;
2565
- value: bigint;
2566
- yParity: number;
2567
- accessList: import("viem").AccessList;
2568
- authorizationList?: undefined | undefined;
2569
- blobVersionedHashes: readonly import("viem").Hex[];
2570
- chainId: number;
2571
- type: "eip4844";
2572
- gasPrice?: undefined | undefined;
2573
- maxFeePerBlobGas: bigint;
2574
- maxFeePerGas: bigint;
2575
- maxPriorityFeePerGas: bigint;
2576
- l1BatchNumber: bigint | null;
2577
- l1BatchTxIndex: bigint | null;
2578
- } | {
2579
- blockHash: `0x${string}` | null;
2580
- blockNumber: bigint | null;
2581
- from: import("viem").Address;
2582
- gas: bigint;
2583
- hash: import("viem").Hash;
2584
- input: import("viem").Hex;
2585
- nonce: number;
2586
- r: import("viem").Hex;
2587
- s: import("viem").Hex;
2588
- to: import("viem").Address | null;
2589
- transactionIndex: number | null;
2590
- typeHex: import("viem").Hex | null;
2591
- v: bigint;
2592
- value: bigint;
2593
- yParity: number;
2594
- accessList: import("viem").AccessList;
2595
- authorizationList: import("viem").SignedAuthorizationList;
2596
- blobVersionedHashes?: undefined | undefined;
2597
- chainId: number;
2598
- type: "eip7702";
2599
- gasPrice?: undefined | undefined;
2600
- maxFeePerBlobGas?: undefined | undefined;
2601
- maxFeePerGas: bigint;
2602
- maxPriorityFeePerGas: bigint;
2603
- l1BatchNumber: bigint | null;
2604
- l1BatchTxIndex: bigint | null;
2605
- } | {
2606
- blockHash: `0x${string}` | null;
2607
- blockNumber: bigint | null;
2608
- from: import("viem").Address;
2609
- gas: bigint;
2610
- hash: import("viem").Hash;
2611
- input: import("viem").Hex;
2612
- nonce: number;
2613
- r: import("viem").Hex;
2614
- s: import("viem").Hex;
2615
- to: import("viem").Address | null;
2616
- transactionIndex: number | null;
2617
- typeHex: import("viem").Hex | null;
2618
- v: bigint;
2619
- value: bigint;
2620
- yParity: number;
2621
- l1BatchNumber: bigint | null;
2622
- l1BatchTxIndex: bigint | null;
2623
- gasPrice?: undefined | undefined;
2624
- maxFeePerBlobGas?: undefined | undefined;
2625
- maxFeePerGas: bigint;
2626
- maxPriorityFeePerGas: bigint;
2627
- type: "priority";
2628
- } | {
2629
- blockHash: `0x${string}` | null;
2630
- blockNumber: bigint | null;
2631
- from: import("viem").Address;
2632
- gas: bigint;
2633
- hash: import("viem").Hash;
2634
- input: import("viem").Hex;
2635
- nonce: number;
2636
- r: import("viem").Hex;
2637
- s: import("viem").Hex;
2638
- to: import("viem").Address | null;
2639
- transactionIndex: number | null;
2640
- typeHex: import("viem").Hex | null;
2641
- v: bigint;
2642
- value: bigint;
2643
- yParity: number;
2644
- l1BatchNumber: bigint | null;
2645
- l1BatchTxIndex: bigint | null;
2646
- gasPrice?: undefined | undefined;
2647
- maxFeePerBlobGas?: undefined | undefined;
2648
- maxFeePerGas: bigint;
2649
- maxPriorityFeePerGas: bigint;
2650
- type: "eip712" | "priority";
2651
- }) & {};
2652
- type: "transaction";
2653
- };
2654
- readonly transactionReceipt: {
2655
- exclude: [] | undefined;
2656
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
2657
- type: import("viem/chains").ZkSyncTransactionType;
2658
- contractAddress: import("viem").Address | null | undefined;
2659
- to: import("viem").Address | null;
2660
- from: import("viem").Address;
2661
- blockHash: import("viem").Hash;
2662
- blockNumber: bigint;
2663
- transactionIndex: number;
2664
- status: "success" | "reverted";
2665
- logsBloom: import("viem").Hex;
2666
- blobGasUsed?: bigint | undefined;
2667
- gasUsed: bigint;
2668
- transactionHash: import("viem").Hash;
2669
- blobGasPrice?: bigint | undefined;
2670
- cumulativeGasUsed: bigint;
2671
- effectiveGasPrice: bigint;
2672
- root?: `0x${string}` | undefined;
2673
- l1BatchNumber: bigint | null;
2674
- l1BatchTxIndex: bigint | null;
2675
- logs: import("viem/chains").ZkSyncLog[];
2676
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
2677
- } & {};
2678
- type: "transactionReceipt";
2679
- };
2680
- readonly transactionRequest: {
2681
- exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
2682
- format: (args: import("viem/chains").ZkSyncTransactionRequest) => ({
2683
- data?: `0x${string}` | undefined;
2684
- from?: `0x${string}` | undefined;
2685
- gas?: `0x${string}` | undefined;
2686
- nonce?: `0x${string}` | undefined;
2687
- to?: `0x${string}` | null | undefined;
2688
- type?: "0x0" | undefined;
2689
- value?: `0x${string}` | undefined;
2690
- gasPrice?: `0x${string}` | undefined;
2691
- maxFeePerBlobGas?: undefined | undefined;
2692
- maxFeePerGas?: undefined | undefined;
2693
- maxPriorityFeePerGas?: undefined | undefined;
2694
- blobs?: undefined;
2695
- accessList?: undefined;
2696
- blobVersionedHashes?: undefined;
2697
- kzg?: undefined;
2698
- sidecars?: undefined;
2699
- authorizationList?: undefined;
2700
- eip712Meta?: undefined | undefined;
2701
- } | {
2702
- data?: `0x${string}` | undefined;
2703
- from?: `0x${string}` | undefined;
2704
- gas?: `0x${string}` | undefined;
2705
- nonce?: `0x${string}` | undefined;
2706
- to?: `0x${string}` | null | undefined;
2707
- type?: "0x1" | undefined;
2708
- value?: `0x${string}` | undefined;
2709
- gasPrice?: `0x${string}` | undefined;
2710
- maxFeePerBlobGas?: undefined | undefined;
2711
- maxFeePerGas?: undefined | undefined;
2712
- maxPriorityFeePerGas?: undefined | undefined;
2713
- accessList?: import("viem").AccessList | undefined;
2714
- blobs?: undefined;
2715
- blobVersionedHashes?: undefined;
2716
- kzg?: undefined;
2717
- sidecars?: undefined;
2718
- authorizationList?: undefined;
2719
- eip712Meta?: undefined | undefined;
2720
- } | {
2721
- data?: `0x${string}` | undefined;
2722
- from?: `0x${string}` | undefined;
2723
- gas?: `0x${string}` | undefined;
2724
- nonce?: `0x${string}` | undefined;
2725
- to?: `0x${string}` | null | undefined;
2726
- type?: "0x2" | undefined;
2727
- value?: `0x${string}` | undefined;
2728
- gasPrice?: undefined | undefined;
2729
- maxFeePerBlobGas?: undefined | undefined;
2730
- maxFeePerGas?: `0x${string}` | undefined;
2731
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2732
- accessList?: import("viem").AccessList | undefined;
2733
- blobs?: undefined;
2734
- blobVersionedHashes?: undefined;
2735
- kzg?: undefined;
2736
- sidecars?: undefined;
2737
- authorizationList?: undefined;
2738
- eip712Meta?: undefined | undefined;
2739
- } | {
2740
- type?: "0x3" | undefined;
2741
- data?: `0x${string}` | undefined;
2742
- from?: `0x${string}` | undefined;
2743
- gas?: `0x${string}` | undefined;
2744
- nonce?: `0x${string}` | undefined;
2745
- value?: `0x${string}` | undefined;
2746
- to: `0x${string}` | null;
2747
- gasPrice?: undefined | undefined;
2748
- maxFeePerGas?: `0x${string}` | undefined;
2749
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2750
- maxFeePerBlobGas: `0x${string}`;
2751
- accessList?: import("viem").AccessList | undefined;
2752
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
2753
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2754
- kzg?: import("viem").Kzg | undefined;
2755
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
2756
- authorizationList?: undefined;
2757
- eip712Meta?: undefined | undefined;
2758
- } | {
2759
- type?: "0x4" | undefined;
2760
- gasPrice?: undefined | undefined;
2761
- maxFeePerBlobGas?: undefined | undefined;
2762
- maxFeePerGas?: `0x${string}` | undefined;
2763
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2764
- to?: `0x${string}` | null | undefined;
2765
- data?: `0x${string}` | undefined;
2766
- from?: `0x${string}` | undefined;
2767
- gas?: `0x${string}` | undefined;
2768
- nonce?: `0x${string}` | undefined;
2769
- value?: `0x${string}` | undefined;
2770
- accessList?: import("viem").AccessList | undefined;
2771
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
2772
- blobs?: undefined;
2773
- blobVersionedHashes?: undefined;
2774
- kzg?: undefined;
2775
- sidecars?: undefined;
2776
- eip712Meta?: undefined | undefined;
2777
- } | {
2778
- data?: `0x${string}` | undefined;
2779
- from?: `0x${string}` | undefined;
2780
- gas?: `0x${string}` | undefined;
2781
- nonce?: `0x${string}` | undefined;
2782
- to?: `0x${string}` | null | undefined;
2783
- type: "0xff" | "0x71";
2784
- value?: `0x${string}` | undefined;
2785
- gasPrice?: undefined | undefined;
2786
- maxFeePerBlobGas?: undefined | undefined;
2787
- maxFeePerGas?: `0x${string}` | undefined;
2788
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2789
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
2790
- }) & {
2791
- paymaster: never;
2792
- gasPerPubdata: never;
2793
- factoryDeps: never;
2794
- paymasterInput: never;
2795
- customSignature: never;
2796
- };
2797
- type: "transactionRequest";
2798
- };
2799
- };
2800
- serializers: {
2801
- readonly transaction: typeof import("viem/zksync").serializeTransaction;
2802
- };
2803
- readonly network: "zksync-era";
2804
- } | {
2805
- blockExplorers: {
2806
- readonly default: {
2807
- readonly name: "Mantle Explorer";
2808
- readonly url: "https://mantlescan.xyz/";
2809
- readonly apiUrl: "https://api.mantlescan.xyz/api";
2810
- };
2811
- };
2812
- contracts: {
2813
- readonly multicall3: {
2814
- readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
2815
- readonly blockCreated: 304717;
2816
- };
2817
- };
2818
- ensTlds?: readonly string[] | undefined;
2819
- id: 5000;
2820
- name: "Mantle";
2821
- nativeCurrency: {
2822
- readonly decimals: 18;
2823
- readonly name: "MNT";
2824
- readonly symbol: "MNT";
2825
- };
2826
- rpcUrls: {
2827
- readonly default: {
2828
- readonly http: readonly ["https://rpc.mantle.xyz"];
2829
- };
2830
- };
2831
- sourceId?: number | undefined | undefined;
2832
- testnet?: boolean | undefined | undefined;
2833
- custom?: Record<string, unknown> | undefined;
2834
- fees?: import("viem").ChainFees<undefined> | undefined;
2835
- formatters?: undefined;
2836
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2837
- } | {
2838
- blockExplorers: {
2839
- readonly default: {
2840
- readonly name: "Scrollscan";
2841
- readonly url: "https://scrollscan.com";
2842
- readonly apiUrl: "https://api.scrollscan.com/api";
2843
- };
2844
- };
2845
- contracts: {
2846
- readonly multicall3: {
2847
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2848
- readonly blockCreated: 14;
2849
- };
2850
- };
2851
- ensTlds?: readonly string[] | undefined;
2852
- id: 534352;
2853
- name: "Scroll";
2854
- nativeCurrency: {
2855
- readonly name: "Ether";
2856
- readonly symbol: "ETH";
2857
- readonly decimals: 18;
2858
- };
2859
- rpcUrls: {
2860
- readonly default: {
2861
- readonly http: readonly ["https://rpc.scroll.io"];
2862
- readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
2863
- };
2864
- };
2865
- sourceId?: number | undefined | undefined;
2866
- testnet: false;
2867
- custom?: Record<string, unknown> | undefined;
2868
- fees?: import("viem").ChainFees<undefined> | undefined;
2869
- formatters?: undefined;
2870
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2871
- } | {
2872
- blockExplorers: {
2873
- readonly default: {
2874
- readonly name: "Etherscan";
2875
- readonly url: "https://goerli.etherscan.io";
2876
- readonly apiUrl: "https://api-goerli.etherscan.io/api";
2877
- };
2878
- };
2879
- contracts: {
2880
- readonly ensRegistry: {
2881
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
2882
- };
2883
- readonly ensUniversalResolver: {
2884
- readonly address: "0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1";
2885
- readonly blockCreated: 10339206;
2886
- };
2887
- readonly multicall3: {
2888
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2889
- readonly blockCreated: 6507670;
2890
- };
2891
- };
2892
- ensTlds?: readonly string[] | undefined;
2893
- id: 5;
2894
- name: "Goerli";
2895
- nativeCurrency: {
2896
- readonly name: "Goerli Ether";
2897
- readonly symbol: "ETH";
2898
- readonly decimals: 18;
2899
- };
2900
- rpcUrls: {
2901
- readonly default: {
2902
- readonly http: readonly ["https://5.rpc.thirdweb.com"];
2903
- };
2904
- };
2905
- sourceId?: number | undefined | undefined;
2906
- testnet: true;
2907
- custom?: Record<string, unknown> | undefined;
2908
- fees?: import("viem").ChainFees<undefined> | undefined;
2909
- formatters?: undefined;
2910
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2911
- } | {
2912
- blockExplorers: {
2913
- readonly default: {
2914
- readonly name: "Arbiscan";
2915
- readonly url: "https://sepolia.arbiscan.io";
2916
- readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
2917
- };
2918
- };
2919
- contracts: {
2920
- readonly multicall3: {
2921
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2922
- readonly blockCreated: 81930;
2923
- };
2924
- };
2925
- ensTlds?: readonly string[] | undefined;
2926
- id: 421614;
2927
- name: "Arbitrum Sepolia";
2928
- nativeCurrency: {
2929
- readonly name: "Arbitrum Sepolia Ether";
2930
- readonly symbol: "ETH";
2931
- readonly decimals: 18;
2932
- };
2933
- rpcUrls: {
2934
- readonly default: {
2935
- readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
2936
- };
2937
- };
2938
- sourceId?: number | undefined | undefined;
2939
- testnet: true;
2940
- custom?: Record<string, unknown> | undefined;
2941
- fees?: import("viem").ChainFees<undefined> | undefined;
2942
- formatters?: undefined;
2943
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2944
- })[];
2945
- export declare const FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST: ({
2946
- id: number;
99
+ };
100
+ export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_ID_LIST: readonly [1, 8453, 137, 42161, 10, 56, 324, 5000, 1511490300, 1151111081099710, 747474, 534352, 5, 421614];
101
+ type FunKitConnectSupportedChainId = (typeof FUNKIT_CONNECT_SUPPORTED_CHAINS_ID_LIST)[number];
102
+ interface FunTokenInfo {
103
+ symbol: string;
104
+ decimals: number;
2947
105
  name: string;
2948
- nativeCurrency: {
2949
- symbol: string;
2950
- decimals: number;
2951
- name: string;
2952
- };
2953
- rpcUrls: {
2954
- default: {
2955
- http: string[];
2956
- };
2957
- };
2958
- blockExplorers: {
2959
- default: {
2960
- name: string;
2961
- url: string;
2962
- apiUrl: string;
2963
- };
2964
- };
2965
- contracts: {
2966
- ensRegistry: {
2967
- address: `0x${string}`;
2968
- };
2969
- ensUniversalResolver: {
2970
- address: `0x${string}`;
2971
- blockCreated: number;
2972
- };
2973
- multicall3: {
2974
- address: `0x${string}`;
2975
- blockCreated: number;
2976
- };
2977
- };
2978
- } | {
2979
- blockExplorers: {
2980
- readonly default: {
2981
- readonly name: "Etherscan";
2982
- readonly url: "https://etherscan.io";
2983
- readonly apiUrl: "https://api.etherscan.io/api";
2984
- };
2985
- };
2986
- contracts: {
2987
- readonly ensRegistry: {
2988
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
2989
- };
2990
- readonly ensUniversalResolver: {
2991
- readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
2992
- readonly blockCreated: 19258213;
2993
- };
2994
- readonly multicall3: {
2995
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2996
- readonly blockCreated: 14353601;
2997
- };
2998
- };
2999
- ensTlds?: readonly string[] | undefined;
3000
- id: 1;
3001
- name: "Ethereum";
3002
- nativeCurrency: {
3003
- readonly name: "Ether";
3004
- readonly symbol: "ETH";
3005
- readonly decimals: 18;
3006
- };
3007
- rpcUrls: {
3008
- readonly default: {
3009
- readonly http: readonly ["https://eth.merkle.io"];
3010
- };
3011
- };
3012
- sourceId?: number | undefined | undefined;
3013
- testnet?: boolean | undefined | undefined;
3014
- custom?: Record<string, unknown> | undefined;
3015
- fees?: import("viem").ChainFees<undefined> | undefined;
3016
- formatters?: undefined;
3017
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3018
- } | {
3019
- blockExplorers: {
3020
- readonly default: {
3021
- readonly name: "Basescan";
3022
- readonly url: "https://basescan.org";
3023
- readonly apiUrl: "https://api.basescan.org/api";
3024
- };
3025
- };
3026
- contracts: {
3027
- readonly disputeGameFactory: {
3028
- readonly 1: {
3029
- readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
3030
- };
3031
- };
3032
- readonly l2OutputOracle: {
3033
- readonly 1: {
3034
- readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
3035
- };
3036
- };
3037
- readonly multicall3: {
3038
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
3039
- readonly blockCreated: 5022;
3040
- };
3041
- readonly portal: {
3042
- readonly 1: {
3043
- readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
3044
- readonly blockCreated: 17482143;
3045
- };
3046
- };
3047
- readonly l1StandardBridge: {
3048
- readonly 1: {
3049
- readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
3050
- readonly blockCreated: 17482143;
3051
- };
3052
- };
3053
- readonly gasPriceOracle: {
3054
- readonly address: "0x420000000000000000000000000000000000000F";
3055
- };
3056
- readonly l1Block: {
3057
- readonly address: "0x4200000000000000000000000000000000000015";
3058
- };
3059
- readonly l2CrossDomainMessenger: {
3060
- readonly address: "0x4200000000000000000000000000000000000007";
3061
- };
3062
- readonly l2Erc721Bridge: {
3063
- readonly address: "0x4200000000000000000000000000000000000014";
3064
- };
3065
- readonly l2StandardBridge: {
3066
- readonly address: "0x4200000000000000000000000000000000000010";
3067
- };
3068
- readonly l2ToL1MessagePasser: {
3069
- readonly address: "0x4200000000000000000000000000000000000016";
3070
- };
3071
- };
3072
- ensTlds?: readonly string[] | undefined;
3073
- id: 8453;
3074
- name: "Base";
3075
- nativeCurrency: {
3076
- readonly name: "Ether";
3077
- readonly symbol: "ETH";
3078
- readonly decimals: 18;
3079
- };
3080
- rpcUrls: {
3081
- readonly default: {
3082
- readonly http: readonly ["https://mainnet.base.org"];
3083
- };
3084
- };
3085
- sourceId: 1;
3086
- testnet?: boolean | undefined | undefined;
3087
- custom?: Record<string, unknown> | undefined;
3088
- fees?: import("viem").ChainFees<undefined> | undefined;
3089
- formatters: {
3090
- readonly block: {
3091
- exclude: [] | undefined;
3092
- format: (args: import("viem/chains").OpStackRpcBlock) => {
3093
- baseFeePerGas: bigint | null;
3094
- blobGasUsed: bigint;
3095
- difficulty: bigint;
3096
- excessBlobGas: bigint;
3097
- extraData: import("viem").Hex;
3098
- gasLimit: bigint;
3099
- gasUsed: bigint;
3100
- hash: `0x${string}` | null;
3101
- logsBloom: `0x${string}` | null;
3102
- miner: import("viem").Address;
3103
- mixHash: import("viem").Hash;
3104
- nonce: `0x${string}` | null;
3105
- number: bigint | null;
3106
- parentBeaconBlockRoot?: `0x${string}` | undefined;
3107
- parentHash: import("viem").Hash;
3108
- receiptsRoot: import("viem").Hex;
3109
- sealFields: import("viem").Hex[];
3110
- sha3Uncles: import("viem").Hash;
3111
- size: bigint;
3112
- stateRoot: import("viem").Hash;
3113
- timestamp: bigint;
3114
- totalDifficulty: bigint | null;
3115
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
3116
- transactionsRoot: import("viem").Hash;
3117
- uncles: import("viem").Hash[];
3118
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
3119
- withdrawalsRoot?: `0x${string}` | undefined;
3120
- } & {};
3121
- type: "block";
3122
- };
3123
- readonly transaction: {
3124
- exclude: [] | undefined;
3125
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
3126
- blockHash: `0x${string}` | null;
3127
- blockNumber: bigint | null;
3128
- from: import("viem").Address;
3129
- gas: bigint;
3130
- hash: import("viem").Hash;
3131
- input: import("viem").Hex;
3132
- nonce: number;
3133
- r: import("viem").Hex;
3134
- s: import("viem").Hex;
3135
- to: import("viem").Address | null;
3136
- transactionIndex: number | null;
3137
- typeHex: import("viem").Hex | null;
3138
- v: bigint;
3139
- value: bigint;
3140
- yParity: number;
3141
- gasPrice?: undefined | undefined;
3142
- maxFeePerBlobGas?: undefined | undefined;
3143
- maxFeePerGas: bigint;
3144
- maxPriorityFeePerGas: bigint;
3145
- isSystemTx?: boolean;
3146
- mint?: bigint | undefined | undefined;
3147
- sourceHash: import("viem").Hex;
3148
- type: "deposit";
3149
- } | {
3150
- r: import("viem").Hex;
3151
- s: import("viem").Hex;
3152
- v: bigint;
3153
- to: import("viem").Address | null;
3154
- from: import("viem").Address;
3155
- gas: bigint;
3156
- nonce: number;
3157
- value: bigint;
3158
- blockHash: `0x${string}` | null;
3159
- blockNumber: bigint | null;
3160
- hash: import("viem").Hash;
3161
- input: import("viem").Hex;
3162
- transactionIndex: number | null;
3163
- typeHex: import("viem").Hex | null;
3164
- accessList?: undefined | undefined;
3165
- authorizationList?: undefined | undefined;
3166
- blobVersionedHashes?: undefined | undefined;
3167
- chainId?: number | undefined;
3168
- yParity?: undefined | undefined;
3169
- type: "legacy";
3170
- gasPrice: bigint;
3171
- maxFeePerBlobGas?: undefined | undefined;
3172
- maxFeePerGas?: undefined | undefined;
3173
- maxPriorityFeePerGas?: undefined | undefined;
3174
- isSystemTx?: undefined | undefined;
3175
- mint?: undefined | undefined;
3176
- sourceHash?: undefined | undefined;
3177
- } | {
3178
- blockHash: `0x${string}` | null;
3179
- blockNumber: bigint | null;
3180
- from: import("viem").Address;
3181
- gas: bigint;
3182
- hash: import("viem").Hash;
3183
- input: import("viem").Hex;
3184
- nonce: number;
3185
- r: import("viem").Hex;
3186
- s: import("viem").Hex;
3187
- to: import("viem").Address | null;
3188
- transactionIndex: number | null;
3189
- typeHex: import("viem").Hex | null;
3190
- v: bigint;
3191
- value: bigint;
3192
- yParity: number;
3193
- accessList: import("viem").AccessList;
3194
- authorizationList?: undefined | undefined;
3195
- blobVersionedHashes?: undefined | undefined;
3196
- chainId: number;
3197
- type: "eip2930";
3198
- gasPrice: bigint;
3199
- maxFeePerBlobGas?: undefined | undefined;
3200
- maxFeePerGas?: undefined | undefined;
3201
- maxPriorityFeePerGas?: undefined | undefined;
3202
- isSystemTx?: undefined | undefined;
3203
- mint?: undefined | undefined;
3204
- sourceHash?: undefined | undefined;
3205
- } | {
3206
- blockHash: `0x${string}` | null;
3207
- blockNumber: bigint | null;
3208
- from: import("viem").Address;
3209
- gas: bigint;
3210
- hash: import("viem").Hash;
3211
- input: import("viem").Hex;
3212
- nonce: number;
3213
- r: import("viem").Hex;
3214
- s: import("viem").Hex;
3215
- to: import("viem").Address | null;
3216
- transactionIndex: number | null;
3217
- typeHex: import("viem").Hex | null;
3218
- v: bigint;
3219
- value: bigint;
3220
- yParity: number;
3221
- accessList: import("viem").AccessList;
3222
- authorizationList?: undefined | undefined;
3223
- blobVersionedHashes?: undefined | undefined;
3224
- chainId: number;
3225
- type: "eip1559";
3226
- gasPrice?: undefined | undefined;
3227
- maxFeePerBlobGas?: undefined | undefined;
3228
- maxFeePerGas: bigint;
3229
- maxPriorityFeePerGas: bigint;
3230
- isSystemTx?: undefined | undefined;
3231
- mint?: undefined | undefined;
3232
- sourceHash?: undefined | undefined;
3233
- } | {
3234
- blockHash: `0x${string}` | null;
3235
- blockNumber: bigint | null;
3236
- from: import("viem").Address;
3237
- gas: bigint;
3238
- hash: import("viem").Hash;
3239
- input: import("viem").Hex;
3240
- nonce: number;
3241
- r: import("viem").Hex;
3242
- s: import("viem").Hex;
3243
- to: import("viem").Address | null;
3244
- transactionIndex: number | null;
3245
- typeHex: import("viem").Hex | null;
3246
- v: bigint;
3247
- value: bigint;
3248
- yParity: number;
3249
- accessList: import("viem").AccessList;
3250
- authorizationList?: undefined | undefined;
3251
- blobVersionedHashes: readonly import("viem").Hex[];
3252
- chainId: number;
3253
- type: "eip4844";
3254
- gasPrice?: undefined | undefined;
3255
- maxFeePerBlobGas: bigint;
3256
- maxFeePerGas: bigint;
3257
- maxPriorityFeePerGas: bigint;
3258
- isSystemTx?: undefined | undefined;
3259
- mint?: undefined | undefined;
3260
- sourceHash?: undefined | undefined;
3261
- } | {
3262
- blockHash: `0x${string}` | null;
3263
- blockNumber: bigint | null;
3264
- from: import("viem").Address;
3265
- gas: bigint;
3266
- hash: import("viem").Hash;
3267
- input: import("viem").Hex;
3268
- nonce: number;
3269
- r: import("viem").Hex;
3270
- s: import("viem").Hex;
3271
- to: import("viem").Address | null;
3272
- transactionIndex: number | null;
3273
- typeHex: import("viem").Hex | null;
3274
- v: bigint;
3275
- value: bigint;
3276
- yParity: number;
3277
- accessList: import("viem").AccessList;
3278
- authorizationList: import("viem").SignedAuthorizationList;
3279
- blobVersionedHashes?: undefined | undefined;
3280
- chainId: number;
3281
- type: "eip7702";
3282
- gasPrice?: undefined | undefined;
3283
- maxFeePerBlobGas?: undefined | undefined;
3284
- maxFeePerGas: bigint;
3285
- maxPriorityFeePerGas: bigint;
3286
- isSystemTx?: undefined | undefined;
3287
- mint?: undefined | undefined;
3288
- sourceHash?: undefined | undefined;
3289
- }) & {};
3290
- type: "transaction";
3291
- };
3292
- readonly transactionReceipt: {
3293
- exclude: [] | undefined;
3294
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
3295
- blobGasPrice?: bigint | undefined;
3296
- blobGasUsed?: bigint | undefined;
3297
- blockHash: import("viem").Hash;
3298
- blockNumber: bigint;
3299
- contractAddress: import("viem").Address | null | undefined;
3300
- cumulativeGasUsed: bigint;
3301
- effectiveGasPrice: bigint;
3302
- from: import("viem").Address;
3303
- gasUsed: bigint;
3304
- logs: import("viem").Log<bigint, number, false>[];
3305
- logsBloom: import("viem").Hex;
3306
- root?: `0x${string}` | undefined;
3307
- status: "success" | "reverted";
3308
- to: import("viem").Address | null;
3309
- transactionHash: import("viem").Hash;
3310
- transactionIndex: number;
3311
- type: import("viem").TransactionType;
3312
- l1GasPrice: bigint | null;
3313
- l1GasUsed: bigint | null;
3314
- l1Fee: bigint | null;
3315
- l1FeeScalar: number | null;
3316
- } & {};
3317
- type: "transactionReceipt";
3318
- };
3319
- };
3320
- serializers: {
3321
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
3322
- };
3323
- } | {
3324
- blockExplorers: {
3325
- readonly default: {
3326
- readonly name: "PolygonScan";
3327
- readonly url: "https://polygonscan.com";
3328
- readonly apiUrl: "https://api.polygonscan.com/api";
3329
- };
3330
- };
3331
- contracts: {
3332
- readonly multicall3: {
3333
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
3334
- readonly blockCreated: 25770160;
3335
- };
3336
- };
3337
- ensTlds?: readonly string[] | undefined;
3338
- id: 137;
3339
- name: "Polygon";
3340
- nativeCurrency: {
3341
- readonly name: "POL";
3342
- readonly symbol: "POL";
3343
- readonly decimals: 18;
3344
- };
3345
- rpcUrls: {
3346
- readonly default: {
3347
- readonly http: readonly ["https://polygon-rpc.com"];
3348
- };
3349
- };
3350
- sourceId?: number | undefined | undefined;
3351
- testnet?: boolean | undefined | undefined;
3352
- custom?: Record<string, unknown> | undefined;
3353
- fees?: import("viem").ChainFees<undefined> | undefined;
3354
- formatters?: undefined;
3355
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3356
- } | {
3357
- blockExplorers: {
3358
- readonly default: {
3359
- readonly name: "Arbiscan";
3360
- readonly url: "https://arbiscan.io";
3361
- readonly apiUrl: "https://api.arbiscan.io/api";
3362
- };
3363
- };
3364
- contracts: {
3365
- readonly multicall3: {
3366
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
3367
- readonly blockCreated: 7654707;
3368
- };
3369
- };
3370
- ensTlds?: readonly string[] | undefined;
3371
- id: 42161;
3372
- name: "Arbitrum One";
3373
- nativeCurrency: {
3374
- readonly name: "Ether";
3375
- readonly symbol: "ETH";
3376
- readonly decimals: 18;
3377
- };
3378
- rpcUrls: {
3379
- readonly default: {
3380
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
3381
- };
3382
- };
3383
- sourceId?: number | undefined | undefined;
3384
- testnet?: boolean | undefined | undefined;
3385
- custom?: Record<string, unknown> | undefined;
3386
- fees?: import("viem").ChainFees<undefined> | undefined;
3387
- formatters?: undefined;
3388
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
3389
- } | {
3390
- blockExplorers: {
3391
- readonly default: {
3392
- readonly name: "Optimism Explorer";
3393
- readonly url: "https://optimistic.etherscan.io";
3394
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
3395
- };
3396
- };
3397
- contracts: {
3398
- readonly disputeGameFactory: {
3399
- readonly 1: {
3400
- readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
3401
- };
3402
- };
3403
- readonly l2OutputOracle: {
3404
- readonly 1: {
3405
- readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
3406
- };
3407
- };
3408
- readonly multicall3: {
3409
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
3410
- readonly blockCreated: 4286263;
3411
- };
3412
- readonly portal: {
3413
- readonly 1: {
3414
- readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
3415
- };
3416
- };
3417
- readonly l1StandardBridge: {
3418
- readonly 1: {
3419
- readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
3420
- };
3421
- };
3422
- readonly gasPriceOracle: {
3423
- readonly address: "0x420000000000000000000000000000000000000F";
3424
- };
3425
- readonly l1Block: {
3426
- readonly address: "0x4200000000000000000000000000000000000015";
3427
- };
3428
- readonly l2CrossDomainMessenger: {
3429
- readonly address: "0x4200000000000000000000000000000000000007";
3430
- };
3431
- readonly l2Erc721Bridge: {
3432
- readonly address: "0x4200000000000000000000000000000000000014";
3433
- };
3434
- readonly l2StandardBridge: {
3435
- readonly address: "0x4200000000000000000000000000000000000010";
3436
- };
3437
- readonly l2ToL1MessagePasser: {
3438
- readonly address: "0x4200000000000000000000000000000000000016";
3439
- };
3440
- };
3441
- ensTlds?: readonly string[] | undefined;
3442
- id: 10;
3443
- name: "OP Mainnet";
3444
- nativeCurrency: {
3445
- readonly name: "Ether";
3446
- readonly symbol: "ETH";
3447
- readonly decimals: 18;
3448
- };
3449
- rpcUrls: {
3450
- readonly default: {
3451
- readonly http: readonly ["https://mainnet.optimism.io"];
3452
- };
3453
- };
3454
- sourceId: 1;
3455
- testnet?: boolean | undefined | undefined;
3456
- custom?: Record<string, unknown> | undefined;
3457
- fees?: import("viem").ChainFees<undefined> | undefined;
3458
- formatters: {
3459
- readonly block: {
3460
- exclude: [] | undefined;
3461
- format: (args: import("viem/chains").OpStackRpcBlock) => {
3462
- baseFeePerGas: bigint | null;
3463
- blobGasUsed: bigint;
3464
- difficulty: bigint;
3465
- excessBlobGas: bigint;
3466
- extraData: import("viem").Hex;
3467
- gasLimit: bigint;
3468
- gasUsed: bigint;
3469
- hash: `0x${string}` | null;
3470
- logsBloom: `0x${string}` | null;
3471
- miner: import("viem").Address;
3472
- mixHash: import("viem").Hash;
3473
- nonce: `0x${string}` | null;
3474
- number: bigint | null;
3475
- parentBeaconBlockRoot?: `0x${string}` | undefined;
3476
- parentHash: import("viem").Hash;
3477
- receiptsRoot: import("viem").Hex;
3478
- sealFields: import("viem").Hex[];
3479
- sha3Uncles: import("viem").Hash;
3480
- size: bigint;
3481
- stateRoot: import("viem").Hash;
3482
- timestamp: bigint;
3483
- totalDifficulty: bigint | null;
3484
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
3485
- transactionsRoot: import("viem").Hash;
3486
- uncles: import("viem").Hash[];
3487
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
3488
- withdrawalsRoot?: `0x${string}` | undefined;
3489
- } & {};
3490
- type: "block";
3491
- };
3492
- readonly transaction: {
3493
- exclude: [] | undefined;
3494
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
3495
- blockHash: `0x${string}` | null;
3496
- blockNumber: bigint | null;
3497
- from: import("viem").Address;
3498
- gas: bigint;
3499
- hash: import("viem").Hash;
3500
- input: import("viem").Hex;
3501
- nonce: number;
3502
- r: import("viem").Hex;
3503
- s: import("viem").Hex;
3504
- to: import("viem").Address | null;
3505
- transactionIndex: number | null;
3506
- typeHex: import("viem").Hex | null;
3507
- v: bigint;
3508
- value: bigint;
3509
- yParity: number;
3510
- gasPrice?: undefined | undefined;
3511
- maxFeePerBlobGas?: undefined | undefined;
3512
- maxFeePerGas: bigint;
3513
- maxPriorityFeePerGas: bigint;
3514
- isSystemTx?: boolean;
3515
- mint?: bigint | undefined | undefined;
3516
- sourceHash: import("viem").Hex;
3517
- type: "deposit";
3518
- } | {
3519
- r: import("viem").Hex;
3520
- s: import("viem").Hex;
3521
- v: bigint;
3522
- to: import("viem").Address | null;
3523
- from: import("viem").Address;
3524
- gas: bigint;
3525
- nonce: number;
3526
- value: bigint;
3527
- blockHash: `0x${string}` | null;
3528
- blockNumber: bigint | null;
3529
- hash: import("viem").Hash;
3530
- input: import("viem").Hex;
3531
- transactionIndex: number | null;
3532
- typeHex: import("viem").Hex | null;
3533
- accessList?: undefined | undefined;
3534
- authorizationList?: undefined | undefined;
3535
- blobVersionedHashes?: undefined | undefined;
3536
- chainId?: number | undefined;
3537
- yParity?: undefined | undefined;
3538
- type: "legacy";
3539
- gasPrice: bigint;
3540
- maxFeePerBlobGas?: undefined | undefined;
3541
- maxFeePerGas?: undefined | undefined;
3542
- maxPriorityFeePerGas?: undefined | undefined;
3543
- isSystemTx?: undefined | undefined;
3544
- mint?: undefined | undefined;
3545
- sourceHash?: undefined | undefined;
3546
- } | {
3547
- blockHash: `0x${string}` | null;
3548
- blockNumber: bigint | null;
3549
- from: import("viem").Address;
3550
- gas: bigint;
3551
- hash: import("viem").Hash;
3552
- input: import("viem").Hex;
3553
- nonce: number;
3554
- r: import("viem").Hex;
3555
- s: import("viem").Hex;
3556
- to: import("viem").Address | null;
3557
- transactionIndex: number | null;
3558
- typeHex: import("viem").Hex | null;
3559
- v: bigint;
3560
- value: bigint;
3561
- yParity: number;
3562
- accessList: import("viem").AccessList;
3563
- authorizationList?: undefined | undefined;
3564
- blobVersionedHashes?: undefined | undefined;
3565
- chainId: number;
3566
- type: "eip2930";
3567
- gasPrice: bigint;
3568
- maxFeePerBlobGas?: undefined | undefined;
3569
- maxFeePerGas?: undefined | undefined;
3570
- maxPriorityFeePerGas?: undefined | undefined;
3571
- isSystemTx?: undefined | undefined;
3572
- mint?: undefined | undefined;
3573
- sourceHash?: undefined | undefined;
3574
- } | {
3575
- blockHash: `0x${string}` | null;
3576
- blockNumber: bigint | null;
3577
- from: import("viem").Address;
3578
- gas: bigint;
3579
- hash: import("viem").Hash;
3580
- input: import("viem").Hex;
3581
- nonce: number;
3582
- r: import("viem").Hex;
3583
- s: import("viem").Hex;
3584
- to: import("viem").Address | null;
3585
- transactionIndex: number | null;
3586
- typeHex: import("viem").Hex | null;
3587
- v: bigint;
3588
- value: bigint;
3589
- yParity: number;
3590
- accessList: import("viem").AccessList;
3591
- authorizationList?: undefined | undefined;
3592
- blobVersionedHashes?: undefined | undefined;
3593
- chainId: number;
3594
- type: "eip1559";
3595
- gasPrice?: undefined | undefined;
3596
- maxFeePerBlobGas?: undefined | undefined;
3597
- maxFeePerGas: bigint;
3598
- maxPriorityFeePerGas: bigint;
3599
- isSystemTx?: undefined | undefined;
3600
- mint?: undefined | undefined;
3601
- sourceHash?: undefined | undefined;
3602
- } | {
3603
- blockHash: `0x${string}` | null;
3604
- blockNumber: bigint | null;
3605
- from: import("viem").Address;
3606
- gas: bigint;
3607
- hash: import("viem").Hash;
3608
- input: import("viem").Hex;
3609
- nonce: number;
3610
- r: import("viem").Hex;
3611
- s: import("viem").Hex;
3612
- to: import("viem").Address | null;
3613
- transactionIndex: number | null;
3614
- typeHex: import("viem").Hex | null;
3615
- v: bigint;
3616
- value: bigint;
3617
- yParity: number;
3618
- accessList: import("viem").AccessList;
3619
- authorizationList?: undefined | undefined;
3620
- blobVersionedHashes: readonly import("viem").Hex[];
3621
- chainId: number;
3622
- type: "eip4844";
3623
- gasPrice?: undefined | undefined;
3624
- maxFeePerBlobGas: bigint;
3625
- maxFeePerGas: bigint;
3626
- maxPriorityFeePerGas: bigint;
3627
- isSystemTx?: undefined | undefined;
3628
- mint?: undefined | undefined;
3629
- sourceHash?: undefined | undefined;
3630
- } | {
3631
- blockHash: `0x${string}` | null;
3632
- blockNumber: bigint | null;
3633
- from: import("viem").Address;
3634
- gas: bigint;
3635
- hash: import("viem").Hash;
3636
- input: import("viem").Hex;
3637
- nonce: number;
3638
- r: import("viem").Hex;
3639
- s: import("viem").Hex;
3640
- to: import("viem").Address | null;
3641
- transactionIndex: number | null;
3642
- typeHex: import("viem").Hex | null;
3643
- v: bigint;
3644
- value: bigint;
3645
- yParity: number;
3646
- accessList: import("viem").AccessList;
3647
- authorizationList: import("viem").SignedAuthorizationList;
3648
- blobVersionedHashes?: undefined | undefined;
3649
- chainId: number;
3650
- type: "eip7702";
3651
- gasPrice?: undefined | undefined;
3652
- maxFeePerBlobGas?: undefined | undefined;
3653
- maxFeePerGas: bigint;
3654
- maxPriorityFeePerGas: bigint;
3655
- isSystemTx?: undefined | undefined;
3656
- mint?: undefined | undefined;
3657
- sourceHash?: undefined | undefined;
3658
- }) & {};
3659
- type: "transaction";
3660
- };
3661
- readonly transactionReceipt: {
3662
- exclude: [] | undefined;
3663
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
3664
- blobGasPrice?: bigint | undefined;
3665
- blobGasUsed?: bigint | undefined;
3666
- blockHash: import("viem").Hash;
3667
- blockNumber: bigint;
3668
- contractAddress: import("viem").Address | null | undefined;
3669
- cumulativeGasUsed: bigint;
3670
- effectiveGasPrice: bigint;
3671
- from: import("viem").Address;
3672
- gasUsed: bigint;
3673
- logs: import("viem").Log<bigint, number, false>[];
3674
- logsBloom: import("viem").Hex;
3675
- root?: `0x${string}` | undefined;
3676
- status: "success" | "reverted";
3677
- to: import("viem").Address | null;
3678
- transactionHash: import("viem").Hash;
3679
- transactionIndex: number;
3680
- type: import("viem").TransactionType;
3681
- l1GasPrice: bigint | null;
3682
- l1GasUsed: bigint | null;
3683
- l1Fee: bigint | null;
3684
- l1FeeScalar: number | null;
3685
- } & {};
3686
- type: "transactionReceipt";
3687
- };
3688
- };
3689
- serializers: {
3690
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
3691
- };
3692
- } | {
3693
- blockExplorers: {
3694
- readonly default: {
3695
- readonly name: "Etherscan";
3696
- readonly url: "https://era.zksync.network/";
3697
- readonly apiUrl: "https://api-era.zksync.network/api";
3698
- };
3699
- readonly native: {
3700
- readonly name: "ZKsync Explorer";
3701
- readonly url: "https://explorer.zksync.io/";
3702
- readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
3703
- };
3704
- };
3705
- contracts: {
3706
- readonly multicall3: {
3707
- readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
3708
- };
3709
- readonly universalSignatureVerifier: {
3710
- readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
3711
- readonly blockCreated: 45659388;
3712
- };
3713
- };
3714
- ensTlds?: readonly string[] | undefined;
3715
- id: 324;
3716
- name: "ZKsync Era";
3717
- nativeCurrency: {
3718
- readonly decimals: 18;
3719
- readonly name: "Ether";
3720
- readonly symbol: "ETH";
3721
- };
3722
- rpcUrls: {
3723
- readonly default: {
3724
- readonly http: readonly ["https://mainnet.era.zksync.io"];
3725
- readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
3726
- };
3727
- };
3728
- sourceId?: number | undefined | undefined;
3729
- testnet?: boolean | undefined | undefined;
3730
- custom: {
3731
- readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/chains").ZkSyncTransactionSerializable, import("viem/chains").ZkSyncEIP712TransactionSignable>;
3732
- };
3733
- fees?: import("viem").ChainFees<undefined> | undefined;
3734
- formatters: {
3735
- readonly block: {
3736
- exclude: [] | undefined;
3737
- format: (args: import("viem/chains").ZkSyncRpcBlock) => {
3738
- baseFeePerGas: bigint | null;
3739
- blobGasUsed: bigint;
3740
- difficulty: bigint;
3741
- excessBlobGas: bigint;
3742
- extraData: import("viem").Hex;
3743
- gasLimit: bigint;
3744
- gasUsed: bigint;
3745
- hash: `0x${string}` | null;
3746
- logsBloom: `0x${string}` | null;
3747
- miner: import("viem").Address;
3748
- mixHash: import("viem").Hash;
3749
- nonce: `0x${string}` | null;
3750
- number: bigint | null;
3751
- parentBeaconBlockRoot?: `0x${string}` | undefined;
3752
- parentHash: import("viem").Hash;
3753
- receiptsRoot: import("viem").Hex;
3754
- sealFields: import("viem").Hex[];
3755
- sha3Uncles: import("viem").Hash;
3756
- size: bigint;
3757
- stateRoot: import("viem").Hash;
3758
- timestamp: bigint;
3759
- totalDifficulty: bigint | null;
3760
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
3761
- transactionsRoot: import("viem").Hash;
3762
- uncles: import("viem").Hash[];
3763
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
3764
- withdrawalsRoot?: `0x${string}` | undefined;
3765
- l1BatchNumber: bigint | null;
3766
- l1BatchTimestamp: bigint | null;
3767
- } & {};
3768
- type: "block";
3769
- };
3770
- readonly transaction: {
3771
- exclude: [] | undefined;
3772
- format: (args: import("viem/chains").ZkSyncRpcTransaction) => ({
3773
- r: import("viem").Hex;
3774
- s: import("viem").Hex;
3775
- v: bigint;
3776
- to: import("viem").Address | null;
3777
- from: import("viem").Address;
3778
- gas: bigint;
3779
- nonce: number;
3780
- value: bigint;
3781
- blockHash: `0x${string}` | null;
3782
- blockNumber: bigint | null;
3783
- hash: import("viem").Hash;
3784
- input: import("viem").Hex;
3785
- transactionIndex: number | null;
3786
- typeHex: import("viem").Hex | null;
3787
- accessList?: undefined | undefined;
3788
- authorizationList?: undefined | undefined;
3789
- blobVersionedHashes?: undefined | undefined;
3790
- chainId?: number | undefined;
3791
- yParity?: undefined | undefined;
3792
- type: "legacy";
3793
- gasPrice: bigint;
3794
- maxFeePerBlobGas?: undefined | undefined;
3795
- maxFeePerGas?: undefined | undefined;
3796
- maxPriorityFeePerGas?: undefined | undefined;
3797
- l1BatchNumber: bigint | null;
3798
- l1BatchTxIndex: bigint | null;
3799
- } | {
3800
- blockHash: `0x${string}` | null;
3801
- blockNumber: bigint | null;
3802
- from: import("viem").Address;
3803
- gas: bigint;
3804
- hash: import("viem").Hash;
3805
- input: import("viem").Hex;
3806
- nonce: number;
3807
- r: import("viem").Hex;
3808
- s: import("viem").Hex;
3809
- to: import("viem").Address | null;
3810
- transactionIndex: number | null;
3811
- typeHex: import("viem").Hex | null;
3812
- v: bigint;
3813
- value: bigint;
3814
- yParity: number;
3815
- accessList: import("viem").AccessList;
3816
- authorizationList?: undefined | undefined;
3817
- blobVersionedHashes?: undefined | undefined;
3818
- chainId: number;
3819
- type: "eip2930";
3820
- gasPrice: bigint;
3821
- maxFeePerBlobGas?: undefined | undefined;
3822
- maxFeePerGas?: undefined | undefined;
3823
- maxPriorityFeePerGas?: undefined | undefined;
3824
- l1BatchNumber: bigint | null;
3825
- l1BatchTxIndex: bigint | null;
3826
- } | {
3827
- blockHash: `0x${string}` | null;
3828
- blockNumber: bigint | null;
3829
- from: import("viem").Address;
3830
- gas: bigint;
3831
- hash: import("viem").Hash;
3832
- input: import("viem").Hex;
3833
- nonce: number;
3834
- r: import("viem").Hex;
3835
- s: import("viem").Hex;
3836
- to: import("viem").Address | null;
3837
- transactionIndex: number | null;
3838
- typeHex: import("viem").Hex | null;
3839
- v: bigint;
3840
- value: bigint;
3841
- yParity: number;
3842
- accessList: import("viem").AccessList;
3843
- authorizationList?: undefined | undefined;
3844
- blobVersionedHashes?: undefined | undefined;
3845
- chainId: number;
3846
- type: "eip1559";
3847
- gasPrice?: undefined | undefined;
3848
- maxFeePerBlobGas?: undefined | undefined;
3849
- maxFeePerGas: bigint;
3850
- maxPriorityFeePerGas: bigint;
3851
- l1BatchNumber: bigint | null;
3852
- l1BatchTxIndex: bigint | null;
3853
- } | {
3854
- blockHash: `0x${string}` | null;
3855
- blockNumber: bigint | null;
3856
- from: import("viem").Address;
3857
- gas: bigint;
3858
- hash: import("viem").Hash;
3859
- input: import("viem").Hex;
3860
- nonce: number;
3861
- r: import("viem").Hex;
3862
- s: import("viem").Hex;
3863
- to: import("viem").Address | null;
3864
- transactionIndex: number | null;
3865
- typeHex: import("viem").Hex | null;
3866
- v: bigint;
3867
- value: bigint;
3868
- yParity: number;
3869
- accessList: import("viem").AccessList;
3870
- authorizationList?: undefined | undefined;
3871
- blobVersionedHashes: readonly import("viem").Hex[];
3872
- chainId: number;
3873
- type: "eip4844";
3874
- gasPrice?: undefined | undefined;
3875
- maxFeePerBlobGas: bigint;
3876
- maxFeePerGas: bigint;
3877
- maxPriorityFeePerGas: bigint;
3878
- l1BatchNumber: bigint | null;
3879
- l1BatchTxIndex: bigint | null;
3880
- } | {
3881
- blockHash: `0x${string}` | null;
3882
- blockNumber: bigint | null;
3883
- from: import("viem").Address;
3884
- gas: bigint;
3885
- hash: import("viem").Hash;
3886
- input: import("viem").Hex;
3887
- nonce: number;
3888
- r: import("viem").Hex;
3889
- s: import("viem").Hex;
3890
- to: import("viem").Address | null;
3891
- transactionIndex: number | null;
3892
- typeHex: import("viem").Hex | null;
3893
- v: bigint;
3894
- value: bigint;
3895
- yParity: number;
3896
- accessList: import("viem").AccessList;
3897
- authorizationList: import("viem").SignedAuthorizationList;
3898
- blobVersionedHashes?: undefined | undefined;
3899
- chainId: number;
3900
- type: "eip7702";
3901
- gasPrice?: undefined | undefined;
3902
- maxFeePerBlobGas?: undefined | undefined;
3903
- maxFeePerGas: bigint;
3904
- maxPriorityFeePerGas: bigint;
3905
- l1BatchNumber: bigint | null;
3906
- l1BatchTxIndex: bigint | null;
3907
- } | {
3908
- blockHash: `0x${string}` | null;
3909
- blockNumber: bigint | null;
3910
- from: import("viem").Address;
3911
- gas: bigint;
3912
- hash: import("viem").Hash;
3913
- input: import("viem").Hex;
3914
- nonce: number;
3915
- r: import("viem").Hex;
3916
- s: import("viem").Hex;
3917
- to: import("viem").Address | null;
3918
- transactionIndex: number | null;
3919
- typeHex: import("viem").Hex | null;
3920
- v: bigint;
3921
- value: bigint;
3922
- yParity: number;
3923
- l1BatchNumber: bigint | null;
3924
- l1BatchTxIndex: bigint | null;
3925
- gasPrice?: undefined | undefined;
3926
- maxFeePerBlobGas?: undefined | undefined;
3927
- maxFeePerGas: bigint;
3928
- maxPriorityFeePerGas: bigint;
3929
- type: "priority";
3930
- } | {
3931
- blockHash: `0x${string}` | null;
3932
- blockNumber: bigint | null;
3933
- from: import("viem").Address;
3934
- gas: bigint;
3935
- hash: import("viem").Hash;
3936
- input: import("viem").Hex;
3937
- nonce: number;
3938
- r: import("viem").Hex;
3939
- s: import("viem").Hex;
3940
- to: import("viem").Address | null;
3941
- transactionIndex: number | null;
3942
- typeHex: import("viem").Hex | null;
3943
- v: bigint;
3944
- value: bigint;
3945
- yParity: number;
3946
- l1BatchNumber: bigint | null;
3947
- l1BatchTxIndex: bigint | null;
3948
- gasPrice?: undefined | undefined;
3949
- maxFeePerBlobGas?: undefined | undefined;
3950
- maxFeePerGas: bigint;
3951
- maxPriorityFeePerGas: bigint;
3952
- type: "eip712" | "priority";
3953
- }) & {};
3954
- type: "transaction";
3955
- };
3956
- readonly transactionReceipt: {
3957
- exclude: [] | undefined;
3958
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt) => {
3959
- type: import("viem/chains").ZkSyncTransactionType;
3960
- contractAddress: import("viem").Address | null | undefined;
3961
- to: import("viem").Address | null;
3962
- from: import("viem").Address;
3963
- blockHash: import("viem").Hash;
3964
- blockNumber: bigint;
3965
- transactionIndex: number;
3966
- status: "success" | "reverted";
3967
- logsBloom: import("viem").Hex;
3968
- blobGasUsed?: bigint | undefined;
3969
- gasUsed: bigint;
3970
- transactionHash: import("viem").Hash;
3971
- blobGasPrice?: bigint | undefined;
3972
- cumulativeGasUsed: bigint;
3973
- effectiveGasPrice: bigint;
3974
- root?: `0x${string}` | undefined;
3975
- l1BatchNumber: bigint | null;
3976
- l1BatchTxIndex: bigint | null;
3977
- logs: import("viem/chains").ZkSyncLog[];
3978
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
3979
- } & {};
3980
- type: "transactionReceipt";
3981
- };
3982
- readonly transactionRequest: {
3983
- exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
3984
- format: (args: import("viem/chains").ZkSyncTransactionRequest) => ({
3985
- data?: `0x${string}` | undefined;
3986
- from?: `0x${string}` | undefined;
3987
- gas?: `0x${string}` | undefined;
3988
- nonce?: `0x${string}` | undefined;
3989
- to?: `0x${string}` | null | undefined;
3990
- type?: "0x0" | undefined;
3991
- value?: `0x${string}` | undefined;
3992
- gasPrice?: `0x${string}` | undefined;
3993
- maxFeePerBlobGas?: undefined | undefined;
3994
- maxFeePerGas?: undefined | undefined;
3995
- maxPriorityFeePerGas?: undefined | undefined;
3996
- blobs?: undefined;
3997
- accessList?: undefined;
3998
- blobVersionedHashes?: undefined;
3999
- kzg?: undefined;
4000
- sidecars?: undefined;
4001
- authorizationList?: undefined;
4002
- eip712Meta?: undefined | undefined;
4003
- } | {
4004
- data?: `0x${string}` | undefined;
4005
- from?: `0x${string}` | undefined;
4006
- gas?: `0x${string}` | undefined;
4007
- nonce?: `0x${string}` | undefined;
4008
- to?: `0x${string}` | null | undefined;
4009
- type?: "0x1" | undefined;
4010
- value?: `0x${string}` | undefined;
4011
- gasPrice?: `0x${string}` | undefined;
4012
- maxFeePerBlobGas?: undefined | undefined;
4013
- maxFeePerGas?: undefined | undefined;
4014
- maxPriorityFeePerGas?: undefined | undefined;
4015
- accessList?: import("viem").AccessList | undefined;
4016
- blobs?: undefined;
4017
- blobVersionedHashes?: undefined;
4018
- kzg?: undefined;
4019
- sidecars?: undefined;
4020
- authorizationList?: undefined;
4021
- eip712Meta?: undefined | undefined;
4022
- } | {
4023
- data?: `0x${string}` | undefined;
4024
- from?: `0x${string}` | undefined;
4025
- gas?: `0x${string}` | undefined;
4026
- nonce?: `0x${string}` | undefined;
4027
- to?: `0x${string}` | null | undefined;
4028
- type?: "0x2" | undefined;
4029
- value?: `0x${string}` | undefined;
4030
- gasPrice?: undefined | undefined;
4031
- maxFeePerBlobGas?: undefined | undefined;
4032
- maxFeePerGas?: `0x${string}` | undefined;
4033
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4034
- accessList?: import("viem").AccessList | undefined;
4035
- blobs?: undefined;
4036
- blobVersionedHashes?: undefined;
4037
- kzg?: undefined;
4038
- sidecars?: undefined;
4039
- authorizationList?: undefined;
4040
- eip712Meta?: undefined | undefined;
4041
- } | {
4042
- type?: "0x3" | undefined;
4043
- data?: `0x${string}` | undefined;
4044
- from?: `0x${string}` | undefined;
4045
- gas?: `0x${string}` | undefined;
4046
- nonce?: `0x${string}` | undefined;
4047
- value?: `0x${string}` | undefined;
4048
- to: `0x${string}` | null;
4049
- gasPrice?: undefined | undefined;
4050
- maxFeePerGas?: `0x${string}` | undefined;
4051
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4052
- maxFeePerBlobGas: `0x${string}`;
4053
- accessList?: import("viem").AccessList | undefined;
4054
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
4055
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4056
- kzg?: import("viem").Kzg | undefined;
4057
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
4058
- authorizationList?: undefined;
4059
- eip712Meta?: undefined | undefined;
4060
- } | {
4061
- type?: "0x4" | undefined;
4062
- gasPrice?: undefined | undefined;
4063
- maxFeePerBlobGas?: undefined | undefined;
4064
- maxFeePerGas?: `0x${string}` | undefined;
4065
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4066
- to?: `0x${string}` | null | undefined;
4067
- data?: `0x${string}` | undefined;
4068
- from?: `0x${string}` | undefined;
4069
- gas?: `0x${string}` | undefined;
4070
- nonce?: `0x${string}` | undefined;
4071
- value?: `0x${string}` | undefined;
4072
- accessList?: import("viem").AccessList | undefined;
4073
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
4074
- blobs?: undefined;
4075
- blobVersionedHashes?: undefined;
4076
- kzg?: undefined;
4077
- sidecars?: undefined;
4078
- eip712Meta?: undefined | undefined;
4079
- } | {
4080
- data?: `0x${string}` | undefined;
4081
- from?: `0x${string}` | undefined;
4082
- gas?: `0x${string}` | undefined;
4083
- nonce?: `0x${string}` | undefined;
4084
- to?: `0x${string}` | null | undefined;
4085
- type: "0xff" | "0x71";
4086
- value?: `0x${string}` | undefined;
4087
- gasPrice?: undefined | undefined;
4088
- maxFeePerBlobGas?: undefined | undefined;
4089
- maxFeePerGas?: `0x${string}` | undefined;
4090
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4091
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
4092
- }) & {
4093
- paymaster: never;
4094
- gasPerPubdata: never;
4095
- factoryDeps: never;
4096
- paymasterInput: never;
4097
- customSignature: never;
4098
- };
4099
- type: "transactionRequest";
4100
- };
4101
- };
4102
- serializers: {
4103
- readonly transaction: typeof import("viem/zksync").serializeTransaction;
4104
- };
4105
- readonly network: "zksync-era";
4106
- } | {
4107
- blockExplorers: {
4108
- readonly default: {
4109
- readonly name: "Mantle Explorer";
4110
- readonly url: "https://mantlescan.xyz/";
4111
- readonly apiUrl: "https://api.mantlescan.xyz/api";
4112
- };
4113
- };
4114
- contracts: {
4115
- readonly multicall3: {
4116
- readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
4117
- readonly blockCreated: 304717;
4118
- };
4119
- };
4120
- ensTlds?: readonly string[] | undefined;
4121
- id: 5000;
4122
- name: "Mantle";
4123
- nativeCurrency: {
4124
- readonly decimals: 18;
4125
- readonly name: "MNT";
4126
- readonly symbol: "MNT";
4127
- };
4128
- rpcUrls: {
4129
- readonly default: {
4130
- readonly http: readonly ["https://rpc.mantle.xyz"];
4131
- };
4132
- };
4133
- sourceId?: number | undefined | undefined;
4134
- testnet?: boolean | undefined | undefined;
4135
- custom?: Record<string, unknown> | undefined;
4136
- fees?: import("viem").ChainFees<undefined> | undefined;
4137
- formatters?: undefined;
4138
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
4139
- } | {
4140
- blockExplorers: {
4141
- readonly default: {
4142
- readonly name: "Scrollscan";
4143
- readonly url: "https://scrollscan.com";
4144
- readonly apiUrl: "https://api.scrollscan.com/api";
4145
- };
4146
- };
4147
- contracts: {
4148
- readonly multicall3: {
4149
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
4150
- readonly blockCreated: 14;
4151
- };
4152
- };
4153
- ensTlds?: readonly string[] | undefined;
4154
- id: 534352;
4155
- name: "Scroll";
4156
- nativeCurrency: {
4157
- readonly name: "Ether";
4158
- readonly symbol: "ETH";
4159
- readonly decimals: 18;
4160
- };
4161
- rpcUrls: {
4162
- readonly default: {
4163
- readonly http: readonly ["https://rpc.scroll.io"];
4164
- readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
4165
- };
4166
- };
4167
- sourceId?: number | undefined | undefined;
4168
- testnet: false;
4169
- custom?: Record<string, unknown> | undefined;
4170
- fees?: import("viem").ChainFees<undefined> | undefined;
4171
- formatters?: undefined;
4172
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
4173
- } | {
4174
- blockExplorers: {
4175
- readonly default: {
4176
- readonly name: "Etherscan";
4177
- readonly url: "https://goerli.etherscan.io";
4178
- readonly apiUrl: "https://api-goerli.etherscan.io/api";
4179
- };
4180
- };
4181
- contracts: {
4182
- readonly ensRegistry: {
4183
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
4184
- };
4185
- readonly ensUniversalResolver: {
4186
- readonly address: "0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1";
4187
- readonly blockCreated: 10339206;
4188
- };
4189
- readonly multicall3: {
4190
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
4191
- readonly blockCreated: 6507670;
4192
- };
4193
- };
4194
- ensTlds?: readonly string[] | undefined;
4195
- id: 5;
4196
- name: "Goerli";
4197
- nativeCurrency: {
4198
- readonly name: "Goerli Ether";
4199
- readonly symbol: "ETH";
4200
- readonly decimals: 18;
4201
- };
4202
- rpcUrls: {
4203
- readonly default: {
4204
- readonly http: readonly ["https://5.rpc.thirdweb.com"];
4205
- };
4206
- };
4207
- sourceId?: number | undefined | undefined;
4208
- testnet: true;
4209
- custom?: Record<string, unknown> | undefined;
4210
- fees?: import("viem").ChainFees<undefined> | undefined;
4211
- formatters?: undefined;
4212
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
4213
- } | {
4214
- blockExplorers: {
4215
- readonly default: {
4216
- readonly name: "Arbiscan";
4217
- readonly url: "https://sepolia.arbiscan.io";
4218
- readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
4219
- };
4220
- };
4221
- contracts: {
4222
- readonly multicall3: {
4223
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
4224
- readonly blockCreated: 81930;
4225
- };
4226
- };
4227
- ensTlds?: readonly string[] | undefined;
4228
- id: 421614;
4229
- name: "Arbitrum Sepolia";
4230
- nativeCurrency: {
4231
- readonly name: "Arbitrum Sepolia Ether";
4232
- readonly symbol: "ETH";
4233
- readonly decimals: 18;
4234
- };
4235
- rpcUrls: {
4236
- readonly default: {
4237
- readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
4238
- };
4239
- };
4240
- sourceId?: number | undefined | undefined;
4241
- testnet: true;
4242
- custom?: Record<string, unknown> | undefined;
4243
- fees?: import("viem").ChainFees<undefined> | undefined;
4244
- formatters?: undefined;
4245
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
4246
- })[];
106
+ }
107
+ export interface FunChainInfo {
108
+ name: string;
109
+ nativeCurrency: FunTokenInfo;
110
+ coreToken?: FunTokenInfo;
111
+ chainInfo: Chain;
112
+ explorerInfo: NonNullable<NonNullable<Chain['blockExplorers']>['default']>;
113
+ isCheckoutSupported: boolean;
114
+ checkoutAssetWhitelist: string[];
115
+ isFunWalletSupported: boolean;
116
+ isMainnet: boolean;
117
+ moonpayChainName: string | null;
118
+ pickPriority: number;
119
+ isStandardEvmAddress: boolean;
120
+ fallbackRpcUrls: string[];
121
+ }
122
+ /** this type is used to mock `noUncheckedIndexedAccess` */
123
+ type SupportedChainInfos = {
124
+ [key in FunKitConnectSupportedChainId]: FunChainInfo;
125
+ } & {
126
+ [k: string]: FunChainInfo | undefined;
127
+ };
128
+ /**
129
+ * Info on the supported chains of FunkitConnect
130
+ * Added into coresdk because it is used in here too.
131
+ *
132
+ * fallbackRpcUrl: see https://chainlist.org/ for more public RPC endpoints
133
+ */
134
+ export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO: SupportedChainInfos;
135
+ export declare const FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO_LIST: (Chain | undefined)[];
136
+ export declare const FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST: Chain[];
4247
137
  export declare const FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
138
+ export {};
4248
139
  //# sourceMappingURL=index.d.ts.map