@funkit/connect 5.3.6 → 5.4.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{chunk-CRTRMZFT.js → chunk-ICCAQZHZ.js} +1 -1
  3. package/dist/{chunk-CRPOYQ6X.js → chunk-R2UFCJL7.js} +5 -0
  4. package/dist/{chunk-KCSHTK5R.js → chunk-RN4I4Y57.js} +1 -1
  5. package/dist/components/Box/Box.d.ts +1 -1
  6. package/dist/config/getDefaultConfig.d.ts +1 -1335
  7. package/dist/consts/customers.d.ts +2 -0
  8. package/dist/css/sprinkles.css.d.ts +3 -1
  9. package/dist/hooks/queries/useRecentCheckouts.d.ts +1 -2
  10. package/dist/hooks/queries/useRecentDirectExecutions.d.ts +9 -0
  11. package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +7 -5
  12. package/dist/hooks/useDirectExecutionInfoPolling.d.ts +7 -0
  13. package/dist/index.css +2674 -2664
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +596 -412
  16. package/dist/providers/FunkitThemeProvider.d.ts +3 -0
  17. package/dist/themes/baseTheme.js +1 -1
  18. package/dist/themes/darkTheme.js +2 -2
  19. package/dist/themes/lightTheme.js +2 -2
  20. package/dist/utils/flags/config.d.ts +42 -4
  21. package/dist/utils/purifyCheckoutHistoryItem.d.ts +2 -1
  22. package/dist/wallets/walletConnectors/index.js +37 -37
  23. package/package.json +7 -7
  24. package/dist/hooks/useRelayExecutionInfo.d.ts +0 -6
  25. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  26. package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +0 -92
  27. package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +0 -94
  28. package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
  29. package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +0 -69
  30. package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
  31. package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +0 -99
  32. package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +0 -100
  33. package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +0 -93
  34. package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +0 -96
  35. package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +0 -106
  36. package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
  37. package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
  38. package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
  39. package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +0 -70
  40. package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +0 -146
  41. package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
  42. package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
@@ -18,1341 +18,7 @@ export declare const createFunkitWagmiConfig: (rawWagmiConfig: CreateFunkitWagmi
18
18
  /**
19
19
  * Get default funkit-supported checkout chains
20
20
  */
21
- export declare const getDefaultChains: () => ({
22
- id: number;
23
- name: string;
24
- nativeCurrency: {
25
- symbol: string;
26
- decimals: number;
27
- name: string;
28
- };
29
- rpcUrls: {
30
- default: {
31
- http: string[];
32
- };
33
- };
34
- blockExplorers: {
35
- default: {
36
- name: string;
37
- url: string;
38
- apiUrl: string;
39
- };
40
- };
41
- contracts: {
42
- ensRegistry: {
43
- address: `0x${string}`;
44
- };
45
- ensUniversalResolver: {
46
- address: `0x${string}`;
47
- blockCreated: number;
48
- };
49
- multicall3: {
50
- address: `0x${string}`;
51
- blockCreated: number;
52
- };
53
- };
54
- } | {
55
- blockExplorers: {
56
- readonly default: {
57
- readonly name: "Etherscan";
58
- readonly url: "https://etherscan.io";
59
- readonly apiUrl: "https://api.etherscan.io/api";
60
- };
61
- };
62
- contracts: {
63
- readonly ensRegistry: {
64
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
65
- };
66
- readonly ensUniversalResolver: {
67
- readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
68
- readonly blockCreated: 19258213;
69
- };
70
- readonly multicall3: {
71
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
72
- readonly blockCreated: 14353601;
73
- };
74
- };
75
- ensTlds?: readonly string[] | undefined;
76
- id: 1;
77
- name: "Ethereum";
78
- nativeCurrency: {
79
- readonly name: "Ether";
80
- readonly symbol: "ETH";
81
- readonly decimals: 18;
82
- };
83
- rpcUrls: {
84
- readonly default: {
85
- readonly http: readonly ["https://eth.merkle.io"];
86
- };
87
- };
88
- sourceId?: number | undefined | undefined;
89
- testnet?: boolean | undefined | undefined;
90
- custom?: Record<string, unknown> | undefined;
91
- fees?: import("viem").ChainFees<undefined> | undefined;
92
- formatters?: undefined;
93
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
94
- } | {
95
- blockExplorers: {
96
- readonly default: {
97
- readonly name: "Basescan";
98
- readonly url: "https://basescan.org";
99
- readonly apiUrl: "https://api.basescan.org/api";
100
- };
101
- };
102
- contracts: {
103
- readonly disputeGameFactory: {
104
- readonly 1: {
105
- readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
106
- };
107
- };
108
- readonly l2OutputOracle: {
109
- readonly 1: {
110
- readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
111
- };
112
- };
113
- readonly multicall3: {
114
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
115
- readonly blockCreated: 5022;
116
- };
117
- readonly portal: {
118
- readonly 1: {
119
- readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
120
- readonly blockCreated: 17482143;
121
- };
122
- };
123
- readonly l1StandardBridge: {
124
- readonly 1: {
125
- readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
126
- readonly blockCreated: 17482143;
127
- };
128
- };
129
- readonly gasPriceOracle: {
130
- readonly address: "0x420000000000000000000000000000000000000F";
131
- };
132
- readonly l1Block: {
133
- readonly address: "0x4200000000000000000000000000000000000015";
134
- };
135
- readonly l2CrossDomainMessenger: {
136
- readonly address: "0x4200000000000000000000000000000000000007";
137
- };
138
- readonly l2Erc721Bridge: {
139
- readonly address: "0x4200000000000000000000000000000000000014";
140
- };
141
- readonly l2StandardBridge: {
142
- readonly address: "0x4200000000000000000000000000000000000010";
143
- };
144
- readonly l2ToL1MessagePasser: {
145
- readonly address: "0x4200000000000000000000000000000000000016";
146
- };
147
- };
148
- ensTlds?: readonly string[] | undefined;
149
- id: 8453;
150
- name: "Base";
151
- nativeCurrency: {
152
- readonly name: "Ether";
153
- readonly symbol: "ETH";
154
- readonly decimals: 18;
155
- };
156
- rpcUrls: {
157
- readonly default: {
158
- readonly http: readonly ["https://mainnet.base.org"];
159
- };
160
- };
161
- sourceId: 1;
162
- testnet?: boolean | undefined | undefined;
163
- custom?: Record<string, unknown> | undefined;
164
- fees?: import("viem").ChainFees<undefined> | undefined;
165
- formatters: {
166
- readonly block: {
167
- exclude: [] | undefined;
168
- format: (args: import("viem/chains").OpStackRpcBlock) => {
169
- baseFeePerGas: bigint | null;
170
- blobGasUsed: bigint;
171
- difficulty: bigint;
172
- excessBlobGas: bigint;
173
- extraData: import("viem").Hex;
174
- gasLimit: bigint;
175
- gasUsed: bigint;
176
- hash: `0x${string}` | null;
177
- logsBloom: `0x${string}` | null;
178
- miner: import("viem").Address;
179
- mixHash: import("viem").Hash;
180
- nonce: `0x${string}` | null;
181
- number: bigint | null;
182
- parentBeaconBlockRoot?: `0x${string}` | undefined;
183
- parentHash: import("viem").Hash;
184
- receiptsRoot: import("viem").Hex;
185
- sealFields: import("viem").Hex[];
186
- sha3Uncles: import("viem").Hash;
187
- size: bigint;
188
- stateRoot: import("viem").Hash;
189
- timestamp: bigint;
190
- totalDifficulty: bigint | null;
191
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
192
- transactionsRoot: import("viem").Hash;
193
- uncles: import("viem").Hash[];
194
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
195
- withdrawalsRoot?: `0x${string}` | undefined;
196
- } & {};
197
- type: "block";
198
- };
199
- readonly transaction: {
200
- exclude: [] | undefined;
201
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
202
- blockHash: `0x${string}` | null;
203
- blockNumber: bigint | null;
204
- from: import("viem").Address;
205
- gas: bigint;
206
- hash: import("viem").Hash;
207
- input: import("viem").Hex;
208
- nonce: number;
209
- r: import("viem").Hex;
210
- s: import("viem").Hex;
211
- to: import("viem").Address | null;
212
- transactionIndex: number | null;
213
- typeHex: import("viem").Hex | null;
214
- v: bigint;
215
- value: bigint;
216
- yParity: number;
217
- gasPrice?: undefined | undefined;
218
- maxFeePerBlobGas?: undefined | undefined;
219
- maxFeePerGas: bigint;
220
- maxPriorityFeePerGas: bigint;
221
- isSystemTx?: boolean;
222
- mint?: bigint | undefined | undefined;
223
- sourceHash: import("viem").Hex;
224
- type: "deposit";
225
- } | {
226
- r: import("viem").Hex;
227
- s: import("viem").Hex;
228
- v: bigint;
229
- to: import("viem").Address | null;
230
- from: import("viem").Address;
231
- gas: bigint;
232
- nonce: number;
233
- value: bigint;
234
- blockHash: `0x${string}` | null;
235
- blockNumber: bigint | null;
236
- hash: import("viem").Hash;
237
- input: import("viem").Hex;
238
- transactionIndex: number | null;
239
- typeHex: import("viem").Hex | null;
240
- accessList?: undefined | undefined;
241
- authorizationList?: undefined | undefined;
242
- blobVersionedHashes?: undefined | undefined;
243
- chainId?: number | undefined;
244
- yParity?: undefined | undefined;
245
- type: "legacy";
246
- gasPrice: bigint;
247
- maxFeePerBlobGas?: undefined | undefined;
248
- maxFeePerGas?: undefined | undefined;
249
- maxPriorityFeePerGas?: undefined | undefined;
250
- isSystemTx?: undefined | undefined;
251
- mint?: undefined | undefined;
252
- sourceHash?: undefined | undefined;
253
- } | {
254
- blockHash: `0x${string}` | null;
255
- blockNumber: bigint | null;
256
- from: import("viem").Address;
257
- gas: bigint;
258
- hash: import("viem").Hash;
259
- input: import("viem").Hex;
260
- nonce: number;
261
- r: import("viem").Hex;
262
- s: import("viem").Hex;
263
- to: import("viem").Address | null;
264
- transactionIndex: number | null;
265
- typeHex: import("viem").Hex | null;
266
- v: bigint;
267
- value: bigint;
268
- yParity: number;
269
- accessList: import("viem").AccessList;
270
- authorizationList?: undefined | undefined;
271
- blobVersionedHashes?: undefined | undefined;
272
- chainId: number;
273
- type: "eip2930";
274
- gasPrice: bigint;
275
- maxFeePerBlobGas?: undefined | undefined;
276
- maxFeePerGas?: undefined | undefined;
277
- maxPriorityFeePerGas?: undefined | undefined;
278
- isSystemTx?: undefined | undefined;
279
- mint?: undefined | undefined;
280
- sourceHash?: undefined | undefined;
281
- } | {
282
- blockHash: `0x${string}` | null;
283
- blockNumber: bigint | null;
284
- from: import("viem").Address;
285
- gas: bigint;
286
- hash: import("viem").Hash;
287
- input: import("viem").Hex;
288
- nonce: number;
289
- r: import("viem").Hex;
290
- s: import("viem").Hex;
291
- to: import("viem").Address | null;
292
- transactionIndex: number | null;
293
- typeHex: import("viem").Hex | null;
294
- v: bigint;
295
- value: bigint;
296
- yParity: number;
297
- accessList: import("viem").AccessList;
298
- authorizationList?: undefined | undefined;
299
- blobVersionedHashes?: undefined | undefined;
300
- chainId: number;
301
- type: "eip1559";
302
- gasPrice?: undefined | undefined;
303
- maxFeePerBlobGas?: undefined | undefined;
304
- maxFeePerGas: bigint;
305
- maxPriorityFeePerGas: bigint;
306
- isSystemTx?: undefined | undefined;
307
- mint?: undefined | undefined;
308
- sourceHash?: undefined | undefined;
309
- } | {
310
- blockHash: `0x${string}` | null;
311
- blockNumber: bigint | null;
312
- from: import("viem").Address;
313
- gas: bigint;
314
- hash: import("viem").Hash;
315
- input: import("viem").Hex;
316
- nonce: number;
317
- r: import("viem").Hex;
318
- s: import("viem").Hex;
319
- to: import("viem").Address | null;
320
- transactionIndex: number | null;
321
- typeHex: import("viem").Hex | null;
322
- v: bigint;
323
- value: bigint;
324
- yParity: number;
325
- accessList: import("viem").AccessList;
326
- authorizationList?: undefined | undefined;
327
- blobVersionedHashes: readonly import("viem").Hex[];
328
- chainId: number;
329
- type: "eip4844";
330
- gasPrice?: undefined | undefined;
331
- maxFeePerBlobGas: bigint;
332
- maxFeePerGas: bigint;
333
- maxPriorityFeePerGas: bigint;
334
- isSystemTx?: undefined | undefined;
335
- mint?: undefined | undefined;
336
- sourceHash?: undefined | undefined;
337
- } | {
338
- blockHash: `0x${string}` | null;
339
- blockNumber: bigint | null;
340
- from: import("viem").Address;
341
- gas: bigint;
342
- hash: import("viem").Hash;
343
- input: import("viem").Hex;
344
- nonce: number;
345
- r: import("viem").Hex;
346
- s: import("viem").Hex;
347
- to: import("viem").Address | null;
348
- transactionIndex: number | null;
349
- typeHex: import("viem").Hex | null;
350
- v: bigint;
351
- value: bigint;
352
- yParity: number;
353
- accessList: import("viem").AccessList;
354
- authorizationList: import("viem").SignedAuthorizationList;
355
- blobVersionedHashes?: undefined | undefined;
356
- chainId: number;
357
- type: "eip7702";
358
- gasPrice?: undefined | undefined;
359
- maxFeePerBlobGas?: undefined | undefined;
360
- maxFeePerGas: bigint;
361
- maxPriorityFeePerGas: bigint;
362
- isSystemTx?: undefined | undefined;
363
- mint?: undefined | undefined;
364
- sourceHash?: undefined | undefined;
365
- }) & {};
366
- type: "transaction";
367
- };
368
- readonly transactionReceipt: {
369
- exclude: [] | undefined;
370
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
371
- blobGasPrice?: bigint | undefined;
372
- blobGasUsed?: bigint | undefined;
373
- blockHash: import("viem").Hash;
374
- blockNumber: bigint;
375
- contractAddress: import("viem").Address | null | undefined;
376
- cumulativeGasUsed: bigint;
377
- effectiveGasPrice: bigint;
378
- from: import("viem").Address;
379
- gasUsed: bigint;
380
- logs: import("viem").Log<bigint, number, false>[];
381
- logsBloom: import("viem").Hex;
382
- root?: `0x${string}` | undefined;
383
- status: "success" | "reverted";
384
- to: import("viem").Address | null;
385
- transactionHash: import("viem").Hash;
386
- transactionIndex: number;
387
- type: import("viem").TransactionType;
388
- l1GasPrice: bigint | null;
389
- l1GasUsed: bigint | null;
390
- l1Fee: bigint | null;
391
- l1FeeScalar: number | null;
392
- } & {};
393
- type: "transactionReceipt";
394
- };
395
- };
396
- serializers: {
397
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
398
- };
399
- } | {
400
- blockExplorers: {
401
- readonly default: {
402
- readonly name: "PolygonScan";
403
- readonly url: "https://polygonscan.com";
404
- readonly apiUrl: "https://api.polygonscan.com/api";
405
- };
406
- };
407
- contracts: {
408
- readonly multicall3: {
409
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
410
- readonly blockCreated: 25770160;
411
- };
412
- };
413
- ensTlds?: readonly string[] | undefined;
414
- id: 137;
415
- name: "Polygon";
416
- nativeCurrency: {
417
- readonly name: "POL";
418
- readonly symbol: "POL";
419
- readonly decimals: 18;
420
- };
421
- rpcUrls: {
422
- readonly default: {
423
- readonly http: readonly ["https://polygon-rpc.com"];
424
- };
425
- };
426
- sourceId?: number | undefined | undefined;
427
- testnet?: boolean | undefined | undefined;
428
- custom?: Record<string, unknown> | undefined;
429
- fees?: import("viem").ChainFees<undefined> | undefined;
430
- formatters?: undefined;
431
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
432
- } | {
433
- blockExplorers: {
434
- readonly default: {
435
- readonly name: "Arbiscan";
436
- readonly url: "https://arbiscan.io";
437
- readonly apiUrl: "https://api.arbiscan.io/api";
438
- };
439
- };
440
- contracts: {
441
- readonly multicall3: {
442
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
443
- readonly blockCreated: 7654707;
444
- };
445
- };
446
- ensTlds?: readonly string[] | undefined;
447
- id: 42161;
448
- name: "Arbitrum One";
449
- nativeCurrency: {
450
- readonly name: "Ether";
451
- readonly symbol: "ETH";
452
- readonly decimals: 18;
453
- };
454
- rpcUrls: {
455
- readonly default: {
456
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
457
- };
458
- };
459
- sourceId?: number | undefined | undefined;
460
- testnet?: boolean | undefined | undefined;
461
- custom?: Record<string, unknown> | undefined;
462
- fees?: import("viem").ChainFees<undefined> | undefined;
463
- formatters?: undefined;
464
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
465
- } | {
466
- blockExplorers: {
467
- readonly default: {
468
- readonly name: "Optimism Explorer";
469
- readonly url: "https://optimistic.etherscan.io";
470
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
471
- };
472
- };
473
- contracts: {
474
- readonly disputeGameFactory: {
475
- readonly 1: {
476
- readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
477
- };
478
- };
479
- readonly l2OutputOracle: {
480
- readonly 1: {
481
- readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
482
- };
483
- };
484
- readonly multicall3: {
485
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
486
- readonly blockCreated: 4286263;
487
- };
488
- readonly portal: {
489
- readonly 1: {
490
- readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
491
- };
492
- };
493
- readonly l1StandardBridge: {
494
- readonly 1: {
495
- readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
496
- };
497
- };
498
- readonly gasPriceOracle: {
499
- readonly address: "0x420000000000000000000000000000000000000F";
500
- };
501
- readonly l1Block: {
502
- readonly address: "0x4200000000000000000000000000000000000015";
503
- };
504
- readonly l2CrossDomainMessenger: {
505
- readonly address: "0x4200000000000000000000000000000000000007";
506
- };
507
- readonly l2Erc721Bridge: {
508
- readonly address: "0x4200000000000000000000000000000000000014";
509
- };
510
- readonly l2StandardBridge: {
511
- readonly address: "0x4200000000000000000000000000000000000010";
512
- };
513
- readonly l2ToL1MessagePasser: {
514
- readonly address: "0x4200000000000000000000000000000000000016";
515
- };
516
- };
517
- ensTlds?: readonly string[] | undefined;
518
- id: 10;
519
- name: "OP Mainnet";
520
- nativeCurrency: {
521
- readonly name: "Ether";
522
- readonly symbol: "ETH";
523
- readonly decimals: 18;
524
- };
525
- rpcUrls: {
526
- readonly default: {
527
- readonly http: readonly ["https://mainnet.optimism.io"];
528
- };
529
- };
530
- sourceId: 1;
531
- testnet?: boolean | undefined | undefined;
532
- custom?: Record<string, unknown> | undefined;
533
- fees?: import("viem").ChainFees<undefined> | undefined;
534
- formatters: {
535
- readonly block: {
536
- exclude: [] | undefined;
537
- format: (args: import("viem/chains").OpStackRpcBlock) => {
538
- baseFeePerGas: bigint | null;
539
- blobGasUsed: bigint;
540
- difficulty: bigint;
541
- excessBlobGas: bigint;
542
- extraData: import("viem").Hex;
543
- gasLimit: bigint;
544
- gasUsed: bigint;
545
- hash: `0x${string}` | null;
546
- logsBloom: `0x${string}` | null;
547
- miner: import("viem").Address;
548
- mixHash: import("viem").Hash;
549
- nonce: `0x${string}` | null;
550
- number: bigint | null;
551
- parentBeaconBlockRoot?: `0x${string}` | undefined;
552
- parentHash: import("viem").Hash;
553
- receiptsRoot: import("viem").Hex;
554
- sealFields: import("viem").Hex[];
555
- sha3Uncles: import("viem").Hash;
556
- size: bigint;
557
- stateRoot: import("viem").Hash;
558
- timestamp: bigint;
559
- totalDifficulty: bigint | null;
560
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
561
- transactionsRoot: import("viem").Hash;
562
- uncles: import("viem").Hash[];
563
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
564
- withdrawalsRoot?: `0x${string}` | undefined;
565
- } & {};
566
- type: "block";
567
- };
568
- readonly transaction: {
569
- exclude: [] | undefined;
570
- format: (args: import("viem/chains").OpStackRpcTransaction) => ({
571
- blockHash: `0x${string}` | null;
572
- blockNumber: bigint | null;
573
- from: import("viem").Address;
574
- gas: bigint;
575
- hash: import("viem").Hash;
576
- input: import("viem").Hex;
577
- nonce: number;
578
- r: import("viem").Hex;
579
- s: import("viem").Hex;
580
- to: import("viem").Address | null;
581
- transactionIndex: number | null;
582
- typeHex: import("viem").Hex | null;
583
- v: bigint;
584
- value: bigint;
585
- yParity: number;
586
- gasPrice?: undefined | undefined;
587
- maxFeePerBlobGas?: undefined | undefined;
588
- maxFeePerGas: bigint;
589
- maxPriorityFeePerGas: bigint;
590
- isSystemTx?: boolean;
591
- mint?: bigint | undefined | undefined;
592
- sourceHash: import("viem").Hex;
593
- type: "deposit";
594
- } | {
595
- r: import("viem").Hex;
596
- s: import("viem").Hex;
597
- v: bigint;
598
- to: import("viem").Address | null;
599
- from: import("viem").Address;
600
- gas: bigint;
601
- nonce: number;
602
- value: bigint;
603
- blockHash: `0x${string}` | null;
604
- blockNumber: bigint | null;
605
- hash: import("viem").Hash;
606
- input: import("viem").Hex;
607
- transactionIndex: number | null;
608
- typeHex: import("viem").Hex | null;
609
- accessList?: undefined | undefined;
610
- authorizationList?: undefined | undefined;
611
- blobVersionedHashes?: undefined | undefined;
612
- chainId?: number | undefined;
613
- yParity?: undefined | undefined;
614
- type: "legacy";
615
- gasPrice: bigint;
616
- maxFeePerBlobGas?: undefined | undefined;
617
- maxFeePerGas?: undefined | undefined;
618
- maxPriorityFeePerGas?: undefined | undefined;
619
- isSystemTx?: undefined | undefined;
620
- mint?: undefined | undefined;
621
- sourceHash?: undefined | undefined;
622
- } | {
623
- blockHash: `0x${string}` | null;
624
- blockNumber: bigint | null;
625
- from: import("viem").Address;
626
- gas: bigint;
627
- hash: import("viem").Hash;
628
- input: import("viem").Hex;
629
- nonce: number;
630
- r: import("viem").Hex;
631
- s: import("viem").Hex;
632
- to: import("viem").Address | null;
633
- transactionIndex: number | null;
634
- typeHex: import("viem").Hex | null;
635
- v: bigint;
636
- value: bigint;
637
- yParity: number;
638
- accessList: import("viem").AccessList;
639
- authorizationList?: undefined | undefined;
640
- blobVersionedHashes?: undefined | undefined;
641
- chainId: number;
642
- type: "eip2930";
643
- gasPrice: bigint;
644
- maxFeePerBlobGas?: undefined | undefined;
645
- maxFeePerGas?: undefined | undefined;
646
- maxPriorityFeePerGas?: undefined | undefined;
647
- isSystemTx?: undefined | undefined;
648
- mint?: undefined | undefined;
649
- sourceHash?: undefined | undefined;
650
- } | {
651
- blockHash: `0x${string}` | null;
652
- blockNumber: bigint | null;
653
- from: import("viem").Address;
654
- gas: bigint;
655
- hash: import("viem").Hash;
656
- input: import("viem").Hex;
657
- nonce: number;
658
- r: import("viem").Hex;
659
- s: import("viem").Hex;
660
- to: import("viem").Address | null;
661
- transactionIndex: number | null;
662
- typeHex: import("viem").Hex | null;
663
- v: bigint;
664
- value: bigint;
665
- yParity: number;
666
- accessList: import("viem").AccessList;
667
- authorizationList?: undefined | undefined;
668
- blobVersionedHashes?: undefined | undefined;
669
- chainId: number;
670
- type: "eip1559";
671
- gasPrice?: undefined | undefined;
672
- maxFeePerBlobGas?: undefined | undefined;
673
- maxFeePerGas: bigint;
674
- maxPriorityFeePerGas: bigint;
675
- isSystemTx?: undefined | undefined;
676
- mint?: undefined | undefined;
677
- sourceHash?: undefined | undefined;
678
- } | {
679
- blockHash: `0x${string}` | null;
680
- blockNumber: bigint | null;
681
- from: import("viem").Address;
682
- gas: bigint;
683
- hash: import("viem").Hash;
684
- input: import("viem").Hex;
685
- nonce: number;
686
- r: import("viem").Hex;
687
- s: import("viem").Hex;
688
- to: import("viem").Address | null;
689
- transactionIndex: number | null;
690
- typeHex: import("viem").Hex | null;
691
- v: bigint;
692
- value: bigint;
693
- yParity: number;
694
- accessList: import("viem").AccessList;
695
- authorizationList?: undefined | undefined;
696
- blobVersionedHashes: readonly import("viem").Hex[];
697
- chainId: number;
698
- type: "eip4844";
699
- gasPrice?: undefined | undefined;
700
- maxFeePerBlobGas: bigint;
701
- maxFeePerGas: bigint;
702
- maxPriorityFeePerGas: bigint;
703
- isSystemTx?: undefined | undefined;
704
- mint?: undefined | undefined;
705
- sourceHash?: undefined | undefined;
706
- } | {
707
- blockHash: `0x${string}` | null;
708
- blockNumber: bigint | null;
709
- from: import("viem").Address;
710
- gas: bigint;
711
- hash: import("viem").Hash;
712
- input: import("viem").Hex;
713
- nonce: number;
714
- r: import("viem").Hex;
715
- s: import("viem").Hex;
716
- to: import("viem").Address | null;
717
- transactionIndex: number | null;
718
- typeHex: import("viem").Hex | null;
719
- v: bigint;
720
- value: bigint;
721
- yParity: number;
722
- accessList: import("viem").AccessList;
723
- authorizationList: import("viem").SignedAuthorizationList;
724
- blobVersionedHashes?: undefined | undefined;
725
- chainId: number;
726
- type: "eip7702";
727
- gasPrice?: undefined | undefined;
728
- maxFeePerBlobGas?: undefined | undefined;
729
- maxFeePerGas: bigint;
730
- maxPriorityFeePerGas: bigint;
731
- isSystemTx?: undefined | undefined;
732
- mint?: undefined | undefined;
733
- sourceHash?: undefined | undefined;
734
- }) & {};
735
- type: "transaction";
736
- };
737
- readonly transactionReceipt: {
738
- exclude: [] | undefined;
739
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => {
740
- blobGasPrice?: bigint | undefined;
741
- blobGasUsed?: bigint | undefined;
742
- blockHash: import("viem").Hash;
743
- blockNumber: bigint;
744
- contractAddress: import("viem").Address | null | undefined;
745
- cumulativeGasUsed: bigint;
746
- effectiveGasPrice: bigint;
747
- from: import("viem").Address;
748
- gasUsed: bigint;
749
- logs: import("viem").Log<bigint, number, false>[];
750
- logsBloom: import("viem").Hex;
751
- root?: `0x${string}` | undefined;
752
- status: "success" | "reverted";
753
- to: import("viem").Address | null;
754
- transactionHash: import("viem").Hash;
755
- transactionIndex: number;
756
- type: import("viem").TransactionType;
757
- l1GasPrice: bigint | null;
758
- l1GasUsed: bigint | null;
759
- l1Fee: bigint | null;
760
- l1FeeScalar: number | null;
761
- } & {};
762
- type: "transactionReceipt";
763
- };
764
- };
765
- serializers: {
766
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
767
- };
768
- } | {
769
- blockExplorers: {
770
- readonly default: {
771
- readonly name: "BscScan";
772
- readonly url: "https://bscscan.com";
773
- readonly apiUrl: "https://api.bscscan.com/api";
774
- };
775
- };
776
- contracts: {
777
- readonly multicall3: {
778
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
779
- readonly blockCreated: 15921452;
780
- };
781
- };
782
- ensTlds?: readonly string[] | undefined;
783
- id: 56;
784
- name: "BNB Smart Chain";
785
- nativeCurrency: {
786
- readonly decimals: 18;
787
- readonly name: "BNB";
788
- readonly symbol: "BNB";
789
- };
790
- rpcUrls: {
791
- readonly default: {
792
- readonly http: readonly ["https://56.rpc.thirdweb.com"];
793
- };
794
- };
795
- sourceId?: number | undefined | undefined;
796
- testnet?: boolean | undefined | undefined;
797
- custom?: Record<string, unknown> | undefined;
798
- fees?: import("viem").ChainFees<undefined> | undefined;
799
- formatters?: undefined;
800
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
801
- } | {
802
- blockExplorers: {
803
- readonly default: {
804
- readonly name: "Etherscan";
805
- readonly url: "https://era.zksync.network/";
806
- readonly apiUrl: "https://api-era.zksync.network/api";
807
- };
808
- readonly native: {
809
- readonly name: "ZKsync Explorer";
810
- readonly url: "https://explorer.zksync.io/";
811
- readonly apiUrl: "https://block-explorer-api.mainnet.zksync.io/api";
812
- };
813
- };
814
- contracts: {
815
- readonly multicall3: {
816
- readonly address: "0xF9cda624FBC7e059355ce98a31693d299FACd963";
817
- };
818
- readonly universalSignatureVerifier: {
819
- readonly address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
820
- readonly blockCreated: 45659388;
821
- };
822
- };
823
- ensTlds?: readonly string[] | undefined;
824
- id: 324;
825
- name: "ZKsync Era";
826
- nativeCurrency: {
827
- readonly decimals: 18;
828
- readonly name: "Ether";
829
- readonly symbol: "ETH";
830
- };
831
- rpcUrls: {
832
- readonly default: {
833
- readonly http: readonly ["https://mainnet.era.zksync.io"];
834
- readonly webSocket: readonly ["wss://mainnet.era.zksync.io/ws"];
835
- };
836
- };
837
- sourceId?: number | undefined | undefined;
838
- testnet?: boolean | undefined | undefined;
839
- custom: {
840
- readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/zksync").ZkSyncTransactionSerializable, import("viem/zksync").ZkSyncEIP712TransactionSignable>;
841
- };
842
- fees?: import("viem").ChainFees<undefined> | undefined;
843
- formatters: {
844
- readonly block: {
845
- exclude: [] | undefined;
846
- format: (args: import("viem/zksync").ZkSyncRpcBlock) => {
847
- baseFeePerGas: bigint | null;
848
- blobGasUsed: bigint;
849
- difficulty: bigint;
850
- excessBlobGas: bigint;
851
- extraData: import("viem").Hex;
852
- gasLimit: bigint;
853
- gasUsed: bigint;
854
- hash: `0x${string}` | null;
855
- logsBloom: `0x${string}` | null;
856
- miner: import("viem").Address;
857
- mixHash: import("viem").Hash;
858
- nonce: `0x${string}` | null;
859
- number: bigint | null;
860
- parentBeaconBlockRoot?: `0x${string}` | undefined;
861
- parentHash: import("viem").Hash;
862
- receiptsRoot: import("viem").Hex;
863
- sealFields: import("viem").Hex[];
864
- sha3Uncles: import("viem").Hash;
865
- size: bigint;
866
- stateRoot: import("viem").Hash;
867
- timestamp: bigint;
868
- totalDifficulty: bigint | null;
869
- transactions: `0x${string}`[] | import("viem/zksync").ZkSyncTransaction<boolean>[];
870
- transactionsRoot: import("viem").Hash;
871
- uncles: import("viem").Hash[];
872
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
873
- withdrawalsRoot?: `0x${string}` | undefined;
874
- l1BatchNumber: bigint | null;
875
- l1BatchTimestamp: bigint | null;
876
- } & {};
877
- type: "block";
878
- };
879
- readonly transaction: {
880
- exclude: [] | undefined;
881
- format: (args: import("viem/zksync").ZkSyncRpcTransaction) => ({
882
- r: import("viem").Hex;
883
- s: import("viem").Hex;
884
- v: bigint;
885
- to: import("viem").Address | null;
886
- from: import("viem").Address;
887
- gas: bigint;
888
- nonce: number;
889
- value: bigint;
890
- blockHash: `0x${string}` | null;
891
- blockNumber: bigint | null;
892
- hash: import("viem").Hash;
893
- input: import("viem").Hex;
894
- transactionIndex: number | null;
895
- typeHex: import("viem").Hex | null;
896
- accessList?: undefined | undefined;
897
- authorizationList?: undefined | undefined;
898
- blobVersionedHashes?: undefined | undefined;
899
- chainId?: number | undefined;
900
- yParity?: undefined | undefined;
901
- type: "legacy";
902
- gasPrice: bigint;
903
- maxFeePerBlobGas?: undefined | undefined;
904
- maxFeePerGas?: undefined | undefined;
905
- maxPriorityFeePerGas?: undefined | undefined;
906
- l1BatchNumber: bigint | null;
907
- l1BatchTxIndex: bigint | null;
908
- } | {
909
- blockHash: `0x${string}` | null;
910
- blockNumber: bigint | null;
911
- from: import("viem").Address;
912
- gas: bigint;
913
- hash: import("viem").Hash;
914
- input: import("viem").Hex;
915
- nonce: number;
916
- r: import("viem").Hex;
917
- s: import("viem").Hex;
918
- to: import("viem").Address | null;
919
- transactionIndex: number | null;
920
- typeHex: import("viem").Hex | null;
921
- v: bigint;
922
- value: bigint;
923
- yParity: number;
924
- accessList: import("viem").AccessList;
925
- authorizationList?: undefined | undefined;
926
- blobVersionedHashes?: undefined | undefined;
927
- chainId: number;
928
- type: "eip2930";
929
- gasPrice: bigint;
930
- maxFeePerBlobGas?: undefined | undefined;
931
- maxFeePerGas?: undefined | undefined;
932
- maxPriorityFeePerGas?: undefined | undefined;
933
- l1BatchNumber: bigint | null;
934
- l1BatchTxIndex: bigint | null;
935
- } | {
936
- blockHash: `0x${string}` | null;
937
- blockNumber: bigint | null;
938
- from: import("viem").Address;
939
- gas: bigint;
940
- hash: import("viem").Hash;
941
- input: import("viem").Hex;
942
- nonce: number;
943
- r: import("viem").Hex;
944
- s: import("viem").Hex;
945
- to: import("viem").Address | null;
946
- transactionIndex: number | null;
947
- typeHex: import("viem").Hex | null;
948
- v: bigint;
949
- value: bigint;
950
- yParity: number;
951
- accessList: import("viem").AccessList;
952
- authorizationList?: undefined | undefined;
953
- blobVersionedHashes?: undefined | undefined;
954
- chainId: number;
955
- type: "eip1559";
956
- gasPrice?: undefined | undefined;
957
- maxFeePerBlobGas?: undefined | undefined;
958
- maxFeePerGas: bigint;
959
- maxPriorityFeePerGas: bigint;
960
- l1BatchNumber: bigint | null;
961
- l1BatchTxIndex: bigint | null;
962
- } | {
963
- blockHash: `0x${string}` | null;
964
- blockNumber: bigint | null;
965
- from: import("viem").Address;
966
- gas: bigint;
967
- hash: import("viem").Hash;
968
- input: import("viem").Hex;
969
- nonce: number;
970
- r: import("viem").Hex;
971
- s: import("viem").Hex;
972
- to: import("viem").Address | null;
973
- transactionIndex: number | null;
974
- typeHex: import("viem").Hex | null;
975
- v: bigint;
976
- value: bigint;
977
- yParity: number;
978
- accessList: import("viem").AccessList;
979
- authorizationList?: undefined | undefined;
980
- blobVersionedHashes: readonly import("viem").Hex[];
981
- chainId: number;
982
- type: "eip4844";
983
- gasPrice?: undefined | undefined;
984
- maxFeePerBlobGas: bigint;
985
- maxFeePerGas: bigint;
986
- maxPriorityFeePerGas: bigint;
987
- l1BatchNumber: bigint | null;
988
- l1BatchTxIndex: bigint | null;
989
- } | {
990
- blockHash: `0x${string}` | null;
991
- blockNumber: bigint | null;
992
- from: import("viem").Address;
993
- gas: bigint;
994
- hash: import("viem").Hash;
995
- input: import("viem").Hex;
996
- nonce: number;
997
- r: import("viem").Hex;
998
- s: import("viem").Hex;
999
- to: import("viem").Address | null;
1000
- transactionIndex: number | null;
1001
- typeHex: import("viem").Hex | null;
1002
- v: bigint;
1003
- value: bigint;
1004
- yParity: number;
1005
- accessList: import("viem").AccessList;
1006
- authorizationList: import("viem").SignedAuthorizationList;
1007
- blobVersionedHashes?: undefined | undefined;
1008
- chainId: number;
1009
- type: "eip7702";
1010
- gasPrice?: undefined | undefined;
1011
- maxFeePerBlobGas?: undefined | undefined;
1012
- maxFeePerGas: bigint;
1013
- maxPriorityFeePerGas: bigint;
1014
- l1BatchNumber: bigint | null;
1015
- l1BatchTxIndex: bigint | null;
1016
- } | {
1017
- blockHash: `0x${string}` | null;
1018
- blockNumber: bigint | null;
1019
- from: import("viem").Address;
1020
- gas: bigint;
1021
- hash: import("viem").Hash;
1022
- input: import("viem").Hex;
1023
- nonce: number;
1024
- r: import("viem").Hex;
1025
- s: import("viem").Hex;
1026
- to: import("viem").Address | null;
1027
- transactionIndex: number | null;
1028
- typeHex: import("viem").Hex | null;
1029
- v: bigint;
1030
- value: bigint;
1031
- yParity: number;
1032
- l1BatchNumber: bigint | null;
1033
- l1BatchTxIndex: bigint | null;
1034
- gasPrice?: undefined | undefined;
1035
- maxFeePerBlobGas?: undefined | undefined;
1036
- maxFeePerGas: bigint;
1037
- maxPriorityFeePerGas: bigint;
1038
- type: "priority";
1039
- } | {
1040
- blockHash: `0x${string}` | null;
1041
- blockNumber: bigint | null;
1042
- from: import("viem").Address;
1043
- gas: bigint;
1044
- hash: import("viem").Hash;
1045
- input: import("viem").Hex;
1046
- nonce: number;
1047
- r: import("viem").Hex;
1048
- s: import("viem").Hex;
1049
- to: import("viem").Address | null;
1050
- transactionIndex: number | null;
1051
- typeHex: import("viem").Hex | null;
1052
- v: bigint;
1053
- value: bigint;
1054
- yParity: number;
1055
- l1BatchNumber: bigint | null;
1056
- l1BatchTxIndex: bigint | null;
1057
- gasPrice?: undefined | undefined;
1058
- maxFeePerBlobGas?: undefined | undefined;
1059
- maxFeePerGas: bigint;
1060
- maxPriorityFeePerGas: bigint;
1061
- type: "eip712" | "priority";
1062
- }) & {};
1063
- type: "transaction";
1064
- };
1065
- readonly transactionReceipt: {
1066
- exclude: [] | undefined;
1067
- format: (args: import("viem/zksync").ZkSyncRpcTransactionReceipt) => {
1068
- type: import("viem/zksync").ZkSyncTransactionType;
1069
- contractAddress: import("viem").Address | null | undefined;
1070
- to: import("viem").Address | null;
1071
- from: import("viem").Address;
1072
- blockHash: import("viem").Hash;
1073
- blockNumber: bigint;
1074
- transactionIndex: number;
1075
- status: "success" | "reverted";
1076
- logsBloom: import("viem").Hex;
1077
- blobGasUsed?: bigint | undefined;
1078
- gasUsed: bigint;
1079
- transactionHash: import("viem").Hash;
1080
- blobGasPrice?: bigint | undefined;
1081
- cumulativeGasUsed: bigint;
1082
- effectiveGasPrice: bigint;
1083
- root?: `0x${string}` | undefined;
1084
- l1BatchNumber: bigint | null;
1085
- l1BatchTxIndex: bigint | null;
1086
- logs: import("viem/zksync").ZkSyncLog[];
1087
- l2ToL1Logs: import("viem/zksync").ZkSyncL2ToL1Log[];
1088
- } & {};
1089
- type: "transactionReceipt";
1090
- };
1091
- readonly transactionRequest: {
1092
- exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
1093
- format: (args: import("viem/zksync").ZkSyncTransactionRequest) => ({
1094
- data?: `0x${string}` | undefined;
1095
- from?: `0x${string}` | undefined;
1096
- gas?: `0x${string}` | undefined;
1097
- nonce?: `0x${string}` | undefined;
1098
- to?: `0x${string}` | null | undefined;
1099
- type?: "0x0" | undefined;
1100
- value?: `0x${string}` | undefined;
1101
- gasPrice?: `0x${string}` | undefined;
1102
- maxFeePerBlobGas?: undefined | undefined;
1103
- maxFeePerGas?: undefined | undefined;
1104
- maxPriorityFeePerGas?: undefined | undefined;
1105
- blobs?: undefined;
1106
- accessList?: undefined;
1107
- blobVersionedHashes?: undefined;
1108
- kzg?: undefined;
1109
- sidecars?: undefined;
1110
- authorizationList?: undefined;
1111
- eip712Meta?: undefined | undefined;
1112
- } | {
1113
- data?: `0x${string}` | undefined;
1114
- from?: `0x${string}` | undefined;
1115
- gas?: `0x${string}` | undefined;
1116
- nonce?: `0x${string}` | undefined;
1117
- to?: `0x${string}` | null | undefined;
1118
- type?: "0x1" | undefined;
1119
- value?: `0x${string}` | undefined;
1120
- gasPrice?: `0x${string}` | undefined;
1121
- maxFeePerBlobGas?: undefined | undefined;
1122
- maxFeePerGas?: undefined | undefined;
1123
- maxPriorityFeePerGas?: undefined | undefined;
1124
- accessList?: import("viem").AccessList | undefined;
1125
- blobs?: undefined;
1126
- blobVersionedHashes?: undefined;
1127
- kzg?: undefined;
1128
- sidecars?: undefined;
1129
- authorizationList?: undefined;
1130
- eip712Meta?: undefined | undefined;
1131
- } | {
1132
- data?: `0x${string}` | undefined;
1133
- from?: `0x${string}` | undefined;
1134
- gas?: `0x${string}` | undefined;
1135
- nonce?: `0x${string}` | undefined;
1136
- to?: `0x${string}` | null | undefined;
1137
- type?: "0x2" | undefined;
1138
- value?: `0x${string}` | undefined;
1139
- gasPrice?: undefined | undefined;
1140
- maxFeePerBlobGas?: undefined | undefined;
1141
- maxFeePerGas?: `0x${string}` | undefined;
1142
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1143
- accessList?: import("viem").AccessList | undefined;
1144
- blobs?: undefined;
1145
- blobVersionedHashes?: undefined;
1146
- kzg?: undefined;
1147
- sidecars?: undefined;
1148
- authorizationList?: undefined;
1149
- eip712Meta?: undefined | undefined;
1150
- } | {
1151
- type?: "0x3" | undefined;
1152
- data?: `0x${string}` | undefined;
1153
- from?: `0x${string}` | undefined;
1154
- gas?: `0x${string}` | undefined;
1155
- nonce?: `0x${string}` | undefined;
1156
- value?: `0x${string}` | undefined;
1157
- to: `0x${string}` | null;
1158
- gasPrice?: undefined | undefined;
1159
- maxFeePerGas?: `0x${string}` | undefined;
1160
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1161
- maxFeePerBlobGas: `0x${string}`;
1162
- accessList?: import("viem").AccessList | undefined;
1163
- blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1164
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1165
- kzg?: import("viem").Kzg | undefined;
1166
- sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1167
- authorizationList?: undefined;
1168
- eip712Meta?: undefined | undefined;
1169
- } | {
1170
- type?: "0x4" | undefined;
1171
- gasPrice?: undefined | undefined;
1172
- maxFeePerBlobGas?: undefined | undefined;
1173
- maxFeePerGas?: `0x${string}` | undefined;
1174
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1175
- to?: `0x${string}` | null | undefined;
1176
- data?: `0x${string}` | undefined;
1177
- from?: `0x${string}` | undefined;
1178
- gas?: `0x${string}` | undefined;
1179
- nonce?: `0x${string}` | undefined;
1180
- value?: `0x${string}` | undefined;
1181
- accessList?: import("viem").AccessList | undefined;
1182
- authorizationList?: import("viem").RpcAuthorizationList | undefined;
1183
- blobs?: undefined;
1184
- blobVersionedHashes?: undefined;
1185
- kzg?: undefined;
1186
- sidecars?: undefined;
1187
- eip712Meta?: undefined | undefined;
1188
- } | {
1189
- data?: `0x${string}` | undefined;
1190
- from?: `0x${string}` | undefined;
1191
- gas?: `0x${string}` | undefined;
1192
- nonce?: `0x${string}` | undefined;
1193
- to?: `0x${string}` | null | undefined;
1194
- type: "0xff" | "0x71";
1195
- value?: `0x${string}` | undefined;
1196
- gasPrice?: undefined | undefined;
1197
- maxFeePerBlobGas?: undefined | undefined;
1198
- maxFeePerGas?: `0x${string}` | undefined;
1199
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1200
- eip712Meta: import("viem/zksync").ZkSyncEip712Meta;
1201
- }) & {
1202
- paymaster: never;
1203
- gasPerPubdata: never;
1204
- factoryDeps: never;
1205
- paymasterInput: never;
1206
- customSignature: never;
1207
- };
1208
- type: "transactionRequest";
1209
- };
1210
- };
1211
- serializers: {
1212
- readonly transaction: typeof import("viem/zksync").serializeTransaction;
1213
- };
1214
- readonly network: "zksync-era";
1215
- } | {
1216
- blockExplorers: {
1217
- readonly default: {
1218
- readonly name: "Mantle Explorer";
1219
- readonly url: "https://mantlescan.xyz/";
1220
- readonly apiUrl: "https://api.mantlescan.xyz/api";
1221
- };
1222
- };
1223
- contracts: {
1224
- readonly multicall3: {
1225
- readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1226
- readonly blockCreated: 304717;
1227
- };
1228
- };
1229
- ensTlds?: readonly string[] | undefined;
1230
- id: 5000;
1231
- name: "Mantle";
1232
- nativeCurrency: {
1233
- readonly decimals: 18;
1234
- readonly name: "MNT";
1235
- readonly symbol: "MNT";
1236
- };
1237
- rpcUrls: {
1238
- readonly default: {
1239
- readonly http: readonly ["https://rpc.mantle.xyz"];
1240
- };
1241
- };
1242
- sourceId?: number | undefined | undefined;
1243
- testnet?: boolean | undefined | undefined;
1244
- custom?: Record<string, unknown> | undefined;
1245
- fees?: import("viem").ChainFees<undefined> | undefined;
1246
- formatters?: undefined;
1247
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1248
- } | {
1249
- blockExplorers: {
1250
- readonly default: {
1251
- readonly name: "Scrollscan";
1252
- readonly url: "https://scrollscan.com";
1253
- readonly apiUrl: "https://api.scrollscan.com/api";
1254
- };
1255
- };
1256
- contracts: {
1257
- readonly multicall3: {
1258
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1259
- readonly blockCreated: 14;
1260
- };
1261
- };
1262
- ensTlds?: readonly string[] | undefined;
1263
- id: 534352;
1264
- name: "Scroll";
1265
- nativeCurrency: {
1266
- readonly name: "Ether";
1267
- readonly symbol: "ETH";
1268
- readonly decimals: 18;
1269
- };
1270
- rpcUrls: {
1271
- readonly default: {
1272
- readonly http: readonly ["https://rpc.scroll.io"];
1273
- readonly webSocket: readonly ["wss://wss-rpc.scroll.io/ws"];
1274
- };
1275
- };
1276
- sourceId?: number | undefined | undefined;
1277
- testnet: false;
1278
- custom?: Record<string, unknown> | undefined;
1279
- fees?: import("viem").ChainFees<undefined> | undefined;
1280
- formatters?: undefined;
1281
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1282
- } | {
1283
- blockExplorers: {
1284
- readonly default: {
1285
- readonly name: "Etherscan";
1286
- readonly url: "https://goerli.etherscan.io";
1287
- readonly apiUrl: "https://api-goerli.etherscan.io/api";
1288
- };
1289
- };
1290
- contracts: {
1291
- readonly ensRegistry: {
1292
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
1293
- };
1294
- readonly ensUniversalResolver: {
1295
- readonly address: "0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1";
1296
- readonly blockCreated: 10339206;
1297
- };
1298
- readonly multicall3: {
1299
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1300
- readonly blockCreated: 6507670;
1301
- };
1302
- };
1303
- ensTlds?: readonly string[] | undefined;
1304
- id: 5;
1305
- name: "Goerli";
1306
- nativeCurrency: {
1307
- readonly name: "Goerli Ether";
1308
- readonly symbol: "ETH";
1309
- readonly decimals: 18;
1310
- };
1311
- rpcUrls: {
1312
- readonly default: {
1313
- readonly http: readonly ["https://5.rpc.thirdweb.com"];
1314
- };
1315
- };
1316
- sourceId?: number | undefined | undefined;
1317
- testnet: true;
1318
- custom?: Record<string, unknown> | undefined;
1319
- fees?: import("viem").ChainFees<undefined> | undefined;
1320
- formatters?: undefined;
1321
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1322
- } | {
1323
- blockExplorers: {
1324
- readonly default: {
1325
- readonly name: "Arbiscan";
1326
- readonly url: "https://sepolia.arbiscan.io";
1327
- readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
1328
- };
1329
- };
1330
- contracts: {
1331
- readonly multicall3: {
1332
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1333
- readonly blockCreated: 81930;
1334
- };
1335
- };
1336
- ensTlds?: readonly string[] | undefined;
1337
- id: 421614;
1338
- name: "Arbitrum Sepolia";
1339
- nativeCurrency: {
1340
- readonly name: "Arbitrum Sepolia Ether";
1341
- readonly symbol: "ETH";
1342
- readonly decimals: 18;
1343
- };
1344
- rpcUrls: {
1345
- readonly default: {
1346
- readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
1347
- };
1348
- };
1349
- sourceId?: number | undefined | undefined;
1350
- testnet: true;
1351
- custom?: Record<string, unknown> | undefined;
1352
- fees?: import("viem").ChainFees<undefined> | undefined;
1353
- formatters?: undefined;
1354
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1355
- })[];
21
+ export declare const getDefaultChains: () => Chain[];
1356
22
  /**
1357
23
  * Get the default transports record for each default chain
1358
24
  */