@talismn/balances-react 0.9.12 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,711 @@
1
- import { Token } from "@talismn/chaindata-provider";
2
- export declare const chainsAtom: import("jotai").Atom<Promise<(import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain)[]>>;
3
- export declare const chainsByIdAtom: import("jotai").Atom<Promise<Record<string, import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain>>>;
4
- export declare const chainsByGenesisHashAtom: import("jotai").Atom<Promise<Record<string, import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain>>>;
5
- export declare const evmNetworksAtom: import("jotai").Atom<Promise<(import("@talismn/chaindata-provider").EvmNetwork | import("@talismn/chaindata-provider").CustomEvmNetwork)[]>>;
6
- export declare const evmNetworksByIdAtom: import("jotai").Atom<Promise<Record<string, import("@talismn/chaindata-provider").EvmNetwork | import("@talismn/chaindata-provider").CustomEvmNetwork>>>;
7
- export declare const tokensAtom: import("jotai").Atom<Promise<Token[]>>;
8
- export declare const tokensByIdAtom: import("jotai").Atom<Promise<{
9
- [k: string]: Token;
10
- }>>;
11
- export declare const miniMetadatasAtom: import("jotai").Atom<Promise<import("@talismn/balances").MiniMetadata[]>>;
12
1
  export declare const chaindataAtom: import("jotai").Atom<{
13
- chains: (import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain)[];
14
- chainsById: Record<string, import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain>;
15
- chainsByGenesisHash: Record<string, import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain>;
16
- evmNetworks: (import("@talismn/chaindata-provider").EvmNetwork | import("@talismn/chaindata-provider").CustomEvmNetwork)[];
17
- evmNetworksById: Record<string, import("@talismn/chaindata-provider").EvmNetwork | import("@talismn/chaindata-provider").CustomEvmNetwork>;
18
- tokens: Token[];
19
- tokensById: {
20
- [k: string]: Token;
21
- };
22
- miniMetadatas: import("@talismn/balances").MiniMetadata[];
2
+ networks: ({
3
+ id: string;
4
+ name: string;
5
+ nativeTokenId: string;
6
+ nativeCurrency: {
7
+ decimals: number;
8
+ symbol: string;
9
+ name: string;
10
+ coingeckoId?: string | undefined;
11
+ mirrorOf?: string | undefined;
12
+ logo?: string | undefined;
13
+ };
14
+ blockExplorerUrls: string[];
15
+ genesisHash: `0x${string}`;
16
+ platform: "polkadot";
17
+ chainName: string;
18
+ specName: string;
19
+ specVersion: number;
20
+ account: "secp256k1" | "*25519";
21
+ prefix: number;
22
+ rpcs: string[];
23
+ topology: {
24
+ type: "standalone";
25
+ } | {
26
+ type: "relay";
27
+ } | {
28
+ type: "parachain";
29
+ relayId: string;
30
+ paraId: number;
31
+ };
32
+ isTestnet?: boolean | undefined;
33
+ isDefault?: boolean | undefined;
34
+ forceScan?: boolean | undefined;
35
+ logo?: string | undefined;
36
+ themeColor?: string | undefined;
37
+ chainspecQrUrl?: string | undefined;
38
+ latestMetadataQrUrl?: string | undefined;
39
+ oldPrefix?: number | undefined;
40
+ registryTypes?: any;
41
+ signedExtensions?: any;
42
+ hasCheckMetadataHash?: boolean | undefined;
43
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
44
+ isUnknownFeeToken?: boolean | undefined;
45
+ balancesConfig?: {
46
+ "substrate-native"?: {
47
+ disable?: boolean | undefined;
48
+ } | undefined;
49
+ "substrate-assets"?: undefined;
50
+ "substrate-psp22"?: undefined;
51
+ "substrate-tokens"?: {
52
+ palletId?: string | undefined;
53
+ } | undefined;
54
+ "substrate-foreignassets"?: undefined;
55
+ "substrate-hydration"?: undefined;
56
+ } | undefined;
57
+ } | {
58
+ id: string;
59
+ name: string;
60
+ nativeTokenId: string;
61
+ nativeCurrency: {
62
+ decimals: number;
63
+ symbol: string;
64
+ name: string;
65
+ coingeckoId?: string | undefined;
66
+ mirrorOf?: string | undefined;
67
+ logo?: string | undefined;
68
+ };
69
+ blockExplorerUrls: string[];
70
+ platform: "ethereum";
71
+ rpcs: string[];
72
+ isTestnet?: boolean | undefined;
73
+ isDefault?: boolean | undefined;
74
+ forceScan?: boolean | undefined;
75
+ logo?: string | undefined;
76
+ themeColor?: string | undefined;
77
+ substrateChainId?: string | undefined;
78
+ preserveGasEstimate?: boolean | undefined;
79
+ feeType?: "legacy" | "eip-1559" | undefined;
80
+ l2FeeType?: {
81
+ type: "op-stack";
82
+ } | {
83
+ type: "scroll";
84
+ l1GasPriceOracle: `0x${string}`;
85
+ } | undefined;
86
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
87
+ balancesConfig?: {
88
+ "evm-native"?: undefined;
89
+ "evm-erc20"?: undefined;
90
+ "evm-uniswapv2"?: undefined;
91
+ } | undefined;
92
+ })[];
93
+ tokens: ({
94
+ id: string;
95
+ networkId: string;
96
+ decimals: number;
97
+ symbol: string;
98
+ type: "evm-erc20";
99
+ platform: "ethereum";
100
+ contractAddress: `0x${string}`;
101
+ isDefault?: boolean | undefined;
102
+ name?: string | undefined;
103
+ logo?: string | undefined;
104
+ coingeckoId?: string | undefined;
105
+ noDiscovery?: boolean | undefined;
106
+ mirrorOf?: string | undefined;
107
+ } | {
108
+ id: string;
109
+ networkId: string;
110
+ decimals: number;
111
+ symbol: string;
112
+ type: "evm-native";
113
+ platform: "ethereum";
114
+ isDefault?: boolean | undefined;
115
+ name?: string | undefined;
116
+ logo?: string | undefined;
117
+ coingeckoId?: string | undefined;
118
+ noDiscovery?: boolean | undefined;
119
+ mirrorOf?: string | undefined;
120
+ } | {
121
+ id: string;
122
+ networkId: string;
123
+ decimals: number;
124
+ symbol: string;
125
+ type: "evm-uniswapv2";
126
+ platform: "ethereum";
127
+ contractAddress: `0x${string}`;
128
+ symbol0: string;
129
+ symbol1: string;
130
+ decimals0: number;
131
+ decimals1: number;
132
+ tokenAddress0: `0x${string}`;
133
+ tokenAddress1: `0x${string}`;
134
+ isDefault?: boolean | undefined;
135
+ name?: string | undefined;
136
+ logo?: string | undefined;
137
+ coingeckoId?: string | undefined;
138
+ noDiscovery?: boolean | undefined;
139
+ mirrorOf?: string | undefined;
140
+ isCustom?: boolean | undefined;
141
+ coingeckoId0?: string | undefined;
142
+ coingeckoId1?: string | undefined;
143
+ } | {
144
+ id: string;
145
+ networkId: string;
146
+ decimals: number;
147
+ symbol: string;
148
+ type: "substrate-assets";
149
+ platform: "polkadot";
150
+ assetId: string;
151
+ isSufficient: boolean;
152
+ existentialDeposit: string;
153
+ isDefault?: boolean | undefined;
154
+ name?: string | undefined;
155
+ logo?: string | undefined;
156
+ coingeckoId?: string | undefined;
157
+ noDiscovery?: boolean | undefined;
158
+ mirrorOf?: string | undefined;
159
+ isFrozen?: boolean | undefined;
160
+ } | {
161
+ id: string;
162
+ networkId: string;
163
+ decimals: number;
164
+ symbol: string;
165
+ type: "substrate-foreignassets";
166
+ platform: "polkadot";
167
+ onChainId: string;
168
+ isSufficient: boolean;
169
+ existentialDeposit: string;
170
+ isDefault?: boolean | undefined;
171
+ name?: string | undefined;
172
+ logo?: string | undefined;
173
+ coingeckoId?: string | undefined;
174
+ noDiscovery?: boolean | undefined;
175
+ mirrorOf?: string | undefined;
176
+ isFrozen?: boolean | undefined;
177
+ } | {
178
+ id: string;
179
+ networkId: string;
180
+ decimals: number;
181
+ symbol: string;
182
+ type: "substrate-native";
183
+ platform: "polkadot";
184
+ existentialDeposit: string;
185
+ isDefault?: boolean | undefined;
186
+ name?: string | undefined;
187
+ logo?: string | undefined;
188
+ coingeckoId?: string | undefined;
189
+ noDiscovery?: boolean | undefined;
190
+ mirrorOf?: string | undefined;
191
+ } | {
192
+ id: string;
193
+ networkId: string;
194
+ decimals: number;
195
+ symbol: string;
196
+ type: "substrate-psp22";
197
+ platform: "polkadot";
198
+ contractAddress: string;
199
+ isDefault?: boolean | undefined;
200
+ name?: string | undefined;
201
+ logo?: string | undefined;
202
+ coingeckoId?: string | undefined;
203
+ noDiscovery?: boolean | undefined;
204
+ mirrorOf?: string | undefined;
205
+ } | {
206
+ id: string;
207
+ networkId: string;
208
+ decimals: number;
209
+ symbol: string;
210
+ type: "substrate-tokens";
211
+ platform: "polkadot";
212
+ onChainId: string | number;
213
+ existentialDeposit: string;
214
+ isDefault?: boolean | undefined;
215
+ name?: string | undefined;
216
+ logo?: string | undefined;
217
+ coingeckoId?: string | undefined;
218
+ noDiscovery?: boolean | undefined;
219
+ mirrorOf?: string | undefined;
220
+ } | {
221
+ id: string;
222
+ networkId: string;
223
+ decimals: number;
224
+ symbol: string;
225
+ type: "substrate-hydration";
226
+ platform: "polkadot";
227
+ onChainId: number;
228
+ assetType: "Token" | "Erc20" | "External";
229
+ isSufficient: boolean;
230
+ existentialDeposit: string;
231
+ isDefault?: boolean | undefined;
232
+ name?: string | undefined;
233
+ logo?: string | undefined;
234
+ coingeckoId?: string | undefined;
235
+ noDiscovery?: boolean | undefined;
236
+ mirrorOf?: string | undefined;
237
+ })[];
23
238
  } | Promise<{
24
- chains: (import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain)[];
25
- chainsById: Record<string, import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain>;
26
- chainsByGenesisHash: Record<string, import("@talismn/chaindata-provider").Chain | import("@talismn/chaindata-provider").CustomChain>;
27
- evmNetworks: (import("@talismn/chaindata-provider").EvmNetwork | import("@talismn/chaindata-provider").CustomEvmNetwork)[];
28
- evmNetworksById: Record<string, import("@talismn/chaindata-provider").EvmNetwork | import("@talismn/chaindata-provider").CustomEvmNetwork>;
29
- tokens: Token[];
30
- tokensById: {
31
- [k: string]: Token;
32
- };
33
- miniMetadatas: import("@talismn/balances").MiniMetadata[];
239
+ networks: ({
240
+ id: string;
241
+ name: string;
242
+ nativeTokenId: string;
243
+ nativeCurrency: {
244
+ decimals: number;
245
+ symbol: string;
246
+ name: string;
247
+ coingeckoId?: string | undefined;
248
+ mirrorOf?: string | undefined;
249
+ logo?: string | undefined;
250
+ };
251
+ blockExplorerUrls: string[];
252
+ genesisHash: `0x${string}`;
253
+ platform: "polkadot";
254
+ chainName: string;
255
+ specName: string;
256
+ specVersion: number;
257
+ account: "secp256k1" | "*25519";
258
+ prefix: number;
259
+ rpcs: string[];
260
+ topology: {
261
+ type: "standalone";
262
+ } | {
263
+ type: "relay";
264
+ } | {
265
+ type: "parachain";
266
+ relayId: string;
267
+ paraId: number;
268
+ };
269
+ isTestnet?: boolean | undefined;
270
+ isDefault?: boolean | undefined;
271
+ forceScan?: boolean | undefined;
272
+ logo?: string | undefined;
273
+ themeColor?: string | undefined;
274
+ chainspecQrUrl?: string | undefined;
275
+ latestMetadataQrUrl?: string | undefined;
276
+ oldPrefix?: number | undefined;
277
+ registryTypes?: any;
278
+ signedExtensions?: any;
279
+ hasCheckMetadataHash?: boolean | undefined;
280
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
281
+ isUnknownFeeToken?: boolean | undefined;
282
+ balancesConfig?: {
283
+ "substrate-native"?: {
284
+ disable?: boolean | undefined;
285
+ } | undefined;
286
+ "substrate-assets"?: undefined;
287
+ "substrate-psp22"?: undefined;
288
+ "substrate-tokens"?: {
289
+ palletId?: string | undefined;
290
+ } | undefined;
291
+ "substrate-foreignassets"?: undefined;
292
+ "substrate-hydration"?: undefined;
293
+ } | undefined;
294
+ } | {
295
+ id: string;
296
+ name: string;
297
+ nativeTokenId: string;
298
+ nativeCurrency: {
299
+ decimals: number;
300
+ symbol: string;
301
+ name: string;
302
+ coingeckoId?: string | undefined;
303
+ mirrorOf?: string | undefined;
304
+ logo?: string | undefined;
305
+ };
306
+ blockExplorerUrls: string[];
307
+ platform: "ethereum";
308
+ rpcs: string[];
309
+ isTestnet?: boolean | undefined;
310
+ isDefault?: boolean | undefined;
311
+ forceScan?: boolean | undefined;
312
+ logo?: string | undefined;
313
+ themeColor?: string | undefined;
314
+ substrateChainId?: string | undefined;
315
+ preserveGasEstimate?: boolean | undefined;
316
+ feeType?: "legacy" | "eip-1559" | undefined;
317
+ l2FeeType?: {
318
+ type: "op-stack";
319
+ } | {
320
+ type: "scroll";
321
+ l1GasPriceOracle: `0x${string}`;
322
+ } | undefined;
323
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
324
+ balancesConfig?: {
325
+ "evm-native"?: undefined;
326
+ "evm-erc20"?: undefined;
327
+ "evm-uniswapv2"?: undefined;
328
+ } | undefined;
329
+ })[];
330
+ tokens: ({
331
+ id: string;
332
+ networkId: string;
333
+ decimals: number;
334
+ symbol: string;
335
+ type: "evm-erc20";
336
+ platform: "ethereum";
337
+ contractAddress: `0x${string}`;
338
+ isDefault?: boolean | undefined;
339
+ name?: string | undefined;
340
+ logo?: string | undefined;
341
+ coingeckoId?: string | undefined;
342
+ noDiscovery?: boolean | undefined;
343
+ mirrorOf?: string | undefined;
344
+ } | {
345
+ id: string;
346
+ networkId: string;
347
+ decimals: number;
348
+ symbol: string;
349
+ type: "evm-native";
350
+ platform: "ethereum";
351
+ isDefault?: boolean | undefined;
352
+ name?: string | undefined;
353
+ logo?: string | undefined;
354
+ coingeckoId?: string | undefined;
355
+ noDiscovery?: boolean | undefined;
356
+ mirrorOf?: string | undefined;
357
+ } | {
358
+ id: string;
359
+ networkId: string;
360
+ decimals: number;
361
+ symbol: string;
362
+ type: "evm-uniswapv2";
363
+ platform: "ethereum";
364
+ contractAddress: `0x${string}`;
365
+ symbol0: string;
366
+ symbol1: string;
367
+ decimals0: number;
368
+ decimals1: number;
369
+ tokenAddress0: `0x${string}`;
370
+ tokenAddress1: `0x${string}`;
371
+ isDefault?: boolean | undefined;
372
+ name?: string | undefined;
373
+ logo?: string | undefined;
374
+ coingeckoId?: string | undefined;
375
+ noDiscovery?: boolean | undefined;
376
+ mirrorOf?: string | undefined;
377
+ isCustom?: boolean | undefined;
378
+ coingeckoId0?: string | undefined;
379
+ coingeckoId1?: string | undefined;
380
+ } | {
381
+ id: string;
382
+ networkId: string;
383
+ decimals: number;
384
+ symbol: string;
385
+ type: "substrate-assets";
386
+ platform: "polkadot";
387
+ assetId: string;
388
+ isSufficient: boolean;
389
+ existentialDeposit: string;
390
+ isDefault?: boolean | undefined;
391
+ name?: string | undefined;
392
+ logo?: string | undefined;
393
+ coingeckoId?: string | undefined;
394
+ noDiscovery?: boolean | undefined;
395
+ mirrorOf?: string | undefined;
396
+ isFrozen?: boolean | undefined;
397
+ } | {
398
+ id: string;
399
+ networkId: string;
400
+ decimals: number;
401
+ symbol: string;
402
+ type: "substrate-foreignassets";
403
+ platform: "polkadot";
404
+ onChainId: string;
405
+ isSufficient: boolean;
406
+ existentialDeposit: string;
407
+ isDefault?: boolean | undefined;
408
+ name?: string | undefined;
409
+ logo?: string | undefined;
410
+ coingeckoId?: string | undefined;
411
+ noDiscovery?: boolean | undefined;
412
+ mirrorOf?: string | undefined;
413
+ isFrozen?: boolean | undefined;
414
+ } | {
415
+ id: string;
416
+ networkId: string;
417
+ decimals: number;
418
+ symbol: string;
419
+ type: "substrate-native";
420
+ platform: "polkadot";
421
+ existentialDeposit: string;
422
+ isDefault?: boolean | undefined;
423
+ name?: string | undefined;
424
+ logo?: string | undefined;
425
+ coingeckoId?: string | undefined;
426
+ noDiscovery?: boolean | undefined;
427
+ mirrorOf?: string | undefined;
428
+ } | {
429
+ id: string;
430
+ networkId: string;
431
+ decimals: number;
432
+ symbol: string;
433
+ type: "substrate-psp22";
434
+ platform: "polkadot";
435
+ contractAddress: string;
436
+ isDefault?: boolean | undefined;
437
+ name?: string | undefined;
438
+ logo?: string | undefined;
439
+ coingeckoId?: string | undefined;
440
+ noDiscovery?: boolean | undefined;
441
+ mirrorOf?: string | undefined;
442
+ } | {
443
+ id: string;
444
+ networkId: string;
445
+ decimals: number;
446
+ symbol: string;
447
+ type: "substrate-tokens";
448
+ platform: "polkadot";
449
+ onChainId: string | number;
450
+ existentialDeposit: string;
451
+ isDefault?: boolean | undefined;
452
+ name?: string | undefined;
453
+ logo?: string | undefined;
454
+ coingeckoId?: string | undefined;
455
+ noDiscovery?: boolean | undefined;
456
+ mirrorOf?: string | undefined;
457
+ } | {
458
+ id: string;
459
+ networkId: string;
460
+ decimals: number;
461
+ symbol: string;
462
+ type: "substrate-hydration";
463
+ platform: "polkadot";
464
+ onChainId: number;
465
+ assetType: "Token" | "Erc20" | "External";
466
+ isSufficient: boolean;
467
+ existentialDeposit: string;
468
+ isDefault?: boolean | undefined;
469
+ name?: string | undefined;
470
+ logo?: string | undefined;
471
+ coingeckoId?: string | undefined;
472
+ noDiscovery?: boolean | undefined;
473
+ mirrorOf?: string | undefined;
474
+ })[];
34
475
  }>>;
476
+ export declare const tokensAtom: import("jotai").Atom<Promise<({
477
+ id: string;
478
+ networkId: string;
479
+ decimals: number;
480
+ symbol: string;
481
+ type: "evm-erc20";
482
+ platform: "ethereum";
483
+ contractAddress: `0x${string}`;
484
+ isDefault?: boolean | undefined;
485
+ name?: string | undefined;
486
+ logo?: string | undefined;
487
+ coingeckoId?: string | undefined;
488
+ noDiscovery?: boolean | undefined;
489
+ mirrorOf?: string | undefined;
490
+ } | {
491
+ id: string;
492
+ networkId: string;
493
+ decimals: number;
494
+ symbol: string;
495
+ type: "evm-native";
496
+ platform: "ethereum";
497
+ isDefault?: boolean | undefined;
498
+ name?: string | undefined;
499
+ logo?: string | undefined;
500
+ coingeckoId?: string | undefined;
501
+ noDiscovery?: boolean | undefined;
502
+ mirrorOf?: string | undefined;
503
+ } | {
504
+ id: string;
505
+ networkId: string;
506
+ decimals: number;
507
+ symbol: string;
508
+ type: "evm-uniswapv2";
509
+ platform: "ethereum";
510
+ contractAddress: `0x${string}`;
511
+ symbol0: string;
512
+ symbol1: string;
513
+ decimals0: number;
514
+ decimals1: number;
515
+ tokenAddress0: `0x${string}`;
516
+ tokenAddress1: `0x${string}`;
517
+ isDefault?: boolean | undefined;
518
+ name?: string | undefined;
519
+ logo?: string | undefined;
520
+ coingeckoId?: string | undefined;
521
+ noDiscovery?: boolean | undefined;
522
+ mirrorOf?: string | undefined;
523
+ isCustom?: boolean | undefined;
524
+ coingeckoId0?: string | undefined;
525
+ coingeckoId1?: string | undefined;
526
+ } | {
527
+ id: string;
528
+ networkId: string;
529
+ decimals: number;
530
+ symbol: string;
531
+ type: "substrate-assets";
532
+ platform: "polkadot";
533
+ assetId: string;
534
+ isSufficient: boolean;
535
+ existentialDeposit: string;
536
+ isDefault?: boolean | undefined;
537
+ name?: string | undefined;
538
+ logo?: string | undefined;
539
+ coingeckoId?: string | undefined;
540
+ noDiscovery?: boolean | undefined;
541
+ mirrorOf?: string | undefined;
542
+ isFrozen?: boolean | undefined;
543
+ } | {
544
+ id: string;
545
+ networkId: string;
546
+ decimals: number;
547
+ symbol: string;
548
+ type: "substrate-foreignassets";
549
+ platform: "polkadot";
550
+ onChainId: string;
551
+ isSufficient: boolean;
552
+ existentialDeposit: string;
553
+ isDefault?: boolean | undefined;
554
+ name?: string | undefined;
555
+ logo?: string | undefined;
556
+ coingeckoId?: string | undefined;
557
+ noDiscovery?: boolean | undefined;
558
+ mirrorOf?: string | undefined;
559
+ isFrozen?: boolean | undefined;
560
+ } | {
561
+ id: string;
562
+ networkId: string;
563
+ decimals: number;
564
+ symbol: string;
565
+ type: "substrate-native";
566
+ platform: "polkadot";
567
+ existentialDeposit: string;
568
+ isDefault?: boolean | undefined;
569
+ name?: string | undefined;
570
+ logo?: string | undefined;
571
+ coingeckoId?: string | undefined;
572
+ noDiscovery?: boolean | undefined;
573
+ mirrorOf?: string | undefined;
574
+ } | {
575
+ id: string;
576
+ networkId: string;
577
+ decimals: number;
578
+ symbol: string;
579
+ type: "substrate-psp22";
580
+ platform: "polkadot";
581
+ contractAddress: string;
582
+ isDefault?: boolean | undefined;
583
+ name?: string | undefined;
584
+ logo?: string | undefined;
585
+ coingeckoId?: string | undefined;
586
+ noDiscovery?: boolean | undefined;
587
+ mirrorOf?: string | undefined;
588
+ } | {
589
+ id: string;
590
+ networkId: string;
591
+ decimals: number;
592
+ symbol: string;
593
+ type: "substrate-tokens";
594
+ platform: "polkadot";
595
+ onChainId: string | number;
596
+ existentialDeposit: string;
597
+ isDefault?: boolean | undefined;
598
+ name?: string | undefined;
599
+ logo?: string | undefined;
600
+ coingeckoId?: string | undefined;
601
+ noDiscovery?: boolean | undefined;
602
+ mirrorOf?: string | undefined;
603
+ } | {
604
+ id: string;
605
+ networkId: string;
606
+ decimals: number;
607
+ symbol: string;
608
+ type: "substrate-hydration";
609
+ platform: "polkadot";
610
+ onChainId: number;
611
+ assetType: "Token" | "Erc20" | "External";
612
+ isSufficient: boolean;
613
+ existentialDeposit: string;
614
+ isDefault?: boolean | undefined;
615
+ name?: string | undefined;
616
+ logo?: string | undefined;
617
+ coingeckoId?: string | undefined;
618
+ noDiscovery?: boolean | undefined;
619
+ mirrorOf?: string | undefined;
620
+ })[]>>;
621
+ export declare const networksAtom: import("jotai").Atom<Promise<({
622
+ id: string;
623
+ name: string;
624
+ nativeTokenId: string;
625
+ nativeCurrency: {
626
+ decimals: number;
627
+ symbol: string;
628
+ name: string;
629
+ coingeckoId?: string | undefined;
630
+ mirrorOf?: string | undefined;
631
+ logo?: string | undefined;
632
+ };
633
+ blockExplorerUrls: string[];
634
+ genesisHash: `0x${string}`;
635
+ platform: "polkadot";
636
+ chainName: string;
637
+ specName: string;
638
+ specVersion: number;
639
+ account: "secp256k1" | "*25519";
640
+ prefix: number;
641
+ rpcs: string[];
642
+ topology: {
643
+ type: "standalone";
644
+ } | {
645
+ type: "relay";
646
+ } | {
647
+ type: "parachain";
648
+ relayId: string;
649
+ paraId: number;
650
+ };
651
+ isTestnet?: boolean | undefined;
652
+ isDefault?: boolean | undefined;
653
+ forceScan?: boolean | undefined;
654
+ logo?: string | undefined;
655
+ themeColor?: string | undefined;
656
+ chainspecQrUrl?: string | undefined;
657
+ latestMetadataQrUrl?: string | undefined;
658
+ oldPrefix?: number | undefined;
659
+ registryTypes?: any;
660
+ signedExtensions?: any;
661
+ hasCheckMetadataHash?: boolean | undefined;
662
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
663
+ isUnknownFeeToken?: boolean | undefined;
664
+ balancesConfig?: {
665
+ "substrate-native"?: {
666
+ disable?: boolean | undefined;
667
+ } | undefined;
668
+ "substrate-assets"?: undefined;
669
+ "substrate-psp22"?: undefined;
670
+ "substrate-tokens"?: {
671
+ palletId?: string | undefined;
672
+ } | undefined;
673
+ "substrate-foreignassets"?: undefined;
674
+ "substrate-hydration"?: undefined;
675
+ } | undefined;
676
+ } | {
677
+ id: string;
678
+ name: string;
679
+ nativeTokenId: string;
680
+ nativeCurrency: {
681
+ decimals: number;
682
+ symbol: string;
683
+ name: string;
684
+ coingeckoId?: string | undefined;
685
+ mirrorOf?: string | undefined;
686
+ logo?: string | undefined;
687
+ };
688
+ blockExplorerUrls: string[];
689
+ platform: "ethereum";
690
+ rpcs: string[];
691
+ isTestnet?: boolean | undefined;
692
+ isDefault?: boolean | undefined;
693
+ forceScan?: boolean | undefined;
694
+ logo?: string | undefined;
695
+ themeColor?: string | undefined;
696
+ substrateChainId?: string | undefined;
697
+ preserveGasEstimate?: boolean | undefined;
698
+ feeType?: "legacy" | "eip-1559" | undefined;
699
+ l2FeeType?: {
700
+ type: "op-stack";
701
+ } | {
702
+ type: "scroll";
703
+ l1GasPriceOracle: `0x${string}`;
704
+ } | undefined;
705
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
706
+ balancesConfig?: {
707
+ "evm-native"?: undefined;
708
+ "evm-erc20"?: undefined;
709
+ "evm-uniswapv2"?: undefined;
710
+ } | undefined;
711
+ })[]>>;