@talismn/balances-react 0.0.0-pr2075-20250710142256 → 0.0.0-pr2076-20250703121429

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,216 +1,390 @@
1
- export declare const chaindataAtom: import("jotai").Atom<{
2
- networks: ({
3
- id: string;
1
+ export declare const chainsAtom: import("jotai").Atom<Promise<{
2
+ id: string;
3
+ name: string;
4
+ nativeTokenId: string;
5
+ nativeCurrency: {
6
+ decimals: number;
7
+ symbol: string;
4
8
  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;
9
+ coingeckoId?: string | undefined;
10
+ mirrorOf?: string | undefined;
35
11
  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;
12
+ };
13
+ blockExplorerUrls: string[];
14
+ genesisHash: `0x${string}`;
15
+ platform: "polkadot";
16
+ chainName: string;
17
+ specName: string;
18
+ specVersion: number;
19
+ account: "secp256k1" | "*25519";
20
+ prefix: number;
21
+ rpcs: string[];
22
+ topology: {
23
+ type: "standalone";
57
24
  } | {
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}`;
25
+ type: "relay";
26
+ } | {
27
+ type: "parachain";
28
+ relayId: string;
29
+ paraId: number;
30
+ };
31
+ isTestnet?: boolean | undefined;
32
+ isDefault?: boolean | undefined;
33
+ forceScan?: boolean | undefined;
34
+ logo?: string | undefined;
35
+ themeColor?: string | undefined;
36
+ chainspecQrUrl?: string | undefined;
37
+ latestMetadataQrUrl?: string | undefined;
38
+ oldPrefix?: number | undefined;
39
+ registryTypes?: any;
40
+ signedExtensions?: any;
41
+ hasCheckMetadataHash?: boolean | undefined;
42
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
43
+ isUnknownFeeToken?: boolean | undefined;
44
+ balancesConfig?: {
45
+ "substrate-native"?: {
46
+ disable?: boolean | undefined;
85
47
  } | undefined;
86
- contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
87
- balancesConfig?: {
88
- "evm-native"?: undefined;
89
- "evm-erc20"?: undefined;
90
- "evm-uniswapv2"?: undefined;
48
+ "substrate-assets"?: undefined;
49
+ "substrate-psp22"?: undefined;
50
+ "substrate-tokens"?: {
51
+ palletId?: string | undefined;
91
52
  } | undefined;
92
- })[];
93
- tokens: ({
94
- id: string;
95
- networkId: string;
53
+ "substrate-foreignassets"?: undefined;
54
+ } | undefined;
55
+ }[]>>;
56
+ export declare const chainsByIdAtom: import("jotai").Atom<Promise<Record<string, {
57
+ id: string;
58
+ name: string;
59
+ nativeTokenId: string;
60
+ nativeCurrency: {
96
61
  decimals: number;
97
62
  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;
63
+ name: string;
104
64
  coingeckoId?: string | undefined;
105
- noDiscovery?: boolean | undefined;
106
65
  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
66
  logo?: string | undefined;
117
- coingeckoId?: string | undefined;
118
- noDiscovery?: boolean | undefined;
119
- mirrorOf?: string | undefined;
67
+ };
68
+ blockExplorerUrls: string[];
69
+ genesisHash: `0x${string}`;
70
+ platform: "polkadot";
71
+ chainName: string;
72
+ specName: string;
73
+ specVersion: number;
74
+ account: "secp256k1" | "*25519";
75
+ prefix: number;
76
+ rpcs: string[];
77
+ topology: {
78
+ type: "standalone";
120
79
  } | {
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;
80
+ type: "relay";
143
81
  } | {
144
- id: string;
145
- networkId: string;
82
+ type: "parachain";
83
+ relayId: string;
84
+ paraId: number;
85
+ };
86
+ isTestnet?: boolean | undefined;
87
+ isDefault?: boolean | undefined;
88
+ forceScan?: boolean | undefined;
89
+ logo?: string | undefined;
90
+ themeColor?: string | undefined;
91
+ chainspecQrUrl?: string | undefined;
92
+ latestMetadataQrUrl?: string | undefined;
93
+ oldPrefix?: number | undefined;
94
+ registryTypes?: any;
95
+ signedExtensions?: any;
96
+ hasCheckMetadataHash?: boolean | undefined;
97
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
98
+ isUnknownFeeToken?: boolean | undefined;
99
+ balancesConfig?: {
100
+ "substrate-native"?: {
101
+ disable?: boolean | undefined;
102
+ } | undefined;
103
+ "substrate-assets"?: undefined;
104
+ "substrate-psp22"?: undefined;
105
+ "substrate-tokens"?: {
106
+ palletId?: string | undefined;
107
+ } | undefined;
108
+ "substrate-foreignassets"?: undefined;
109
+ } | undefined;
110
+ }>>>;
111
+ export declare const chainsByGenesisHashAtom: import("jotai").Atom<Promise<Record<string, {
112
+ id: string;
113
+ name: string;
114
+ nativeTokenId: string;
115
+ nativeCurrency: {
146
116
  decimals: number;
147
117
  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;
118
+ name: string;
156
119
  coingeckoId?: string | undefined;
157
- noDiscovery?: boolean | undefined;
158
120
  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
121
  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;
122
+ };
123
+ blockExplorerUrls: string[];
124
+ genesisHash: `0x${string}`;
125
+ platform: "polkadot";
126
+ chainName: string;
127
+ specName: string;
128
+ specVersion: number;
129
+ account: "secp256k1" | "*25519";
130
+ prefix: number;
131
+ rpcs: string[];
132
+ topology: {
133
+ type: "standalone";
134
+ } | {
135
+ type: "relay";
136
+ } | {
137
+ type: "parachain";
138
+ relayId: string;
139
+ paraId: number;
140
+ };
141
+ isTestnet?: boolean | undefined;
142
+ isDefault?: boolean | undefined;
143
+ forceScan?: boolean | undefined;
144
+ logo?: string | undefined;
145
+ themeColor?: string | undefined;
146
+ chainspecQrUrl?: string | undefined;
147
+ latestMetadataQrUrl?: string | undefined;
148
+ oldPrefix?: number | undefined;
149
+ registryTypes?: any;
150
+ signedExtensions?: any;
151
+ hasCheckMetadataHash?: boolean | undefined;
152
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
153
+ isUnknownFeeToken?: boolean | undefined;
154
+ balancesConfig?: {
155
+ "substrate-native"?: {
156
+ disable?: boolean | undefined;
157
+ } | undefined;
158
+ "substrate-assets"?: undefined;
159
+ "substrate-psp22"?: undefined;
160
+ "substrate-tokens"?: {
161
+ palletId?: string | undefined;
162
+ } | undefined;
163
+ "substrate-foreignassets"?: undefined;
164
+ } | undefined;
165
+ }>>>;
166
+ export declare const evmNetworksAtom: import("jotai").Atom<Promise<{
167
+ id: string;
168
+ name: string;
169
+ nativeTokenId: string;
170
+ nativeCurrency: {
180
171
  decimals: number;
181
172
  symbol: string;
182
- type: "substrate-native";
183
- platform: "polkadot";
184
- existentialDeposit: string;
185
- isDefault?: boolean | undefined;
186
- name?: string | undefined;
173
+ name: string;
174
+ coingeckoId?: string | undefined;
175
+ mirrorOf?: string | undefined;
187
176
  logo?: string | undefined;
177
+ };
178
+ blockExplorerUrls: string[];
179
+ platform: "ethereum";
180
+ rpcs: string[];
181
+ isTestnet?: boolean | undefined;
182
+ isDefault?: boolean | undefined;
183
+ forceScan?: boolean | undefined;
184
+ logo?: string | undefined;
185
+ themeColor?: string | undefined;
186
+ substrateChainId?: string | undefined;
187
+ preserveGasEstimate?: boolean | undefined;
188
+ feeType?: "legacy" | "eip-1559" | undefined;
189
+ l2FeeType?: {
190
+ type: "op-stack";
191
+ } | {
192
+ type: "scroll";
193
+ l1GasPriceOracle: `0x${string}`;
194
+ } | undefined;
195
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
196
+ balancesConfig?: {
197
+ "evm-native"?: undefined;
198
+ "evm-erc20"?: undefined;
199
+ "evm-uniswapv2"?: undefined;
200
+ } | undefined;
201
+ }[]>>;
202
+ export declare const evmNetworksByIdAtom: import("jotai").Atom<Promise<Record<string, {
203
+ id: string;
204
+ name: string;
205
+ nativeTokenId: string;
206
+ nativeCurrency: {
207
+ decimals: number;
208
+ symbol: string;
209
+ name: string;
188
210
  coingeckoId?: string | undefined;
189
- noDiscovery?: boolean | undefined;
190
211
  mirrorOf?: string | undefined;
212
+ logo?: string | undefined;
213
+ };
214
+ blockExplorerUrls: string[];
215
+ platform: "ethereum";
216
+ rpcs: string[];
217
+ isTestnet?: boolean | undefined;
218
+ isDefault?: boolean | undefined;
219
+ forceScan?: boolean | undefined;
220
+ logo?: string | undefined;
221
+ themeColor?: string | undefined;
222
+ substrateChainId?: string | undefined;
223
+ preserveGasEstimate?: boolean | undefined;
224
+ feeType?: "legacy" | "eip-1559" | undefined;
225
+ l2FeeType?: {
226
+ type: "op-stack";
191
227
  } | {
228
+ type: "scroll";
229
+ l1GasPriceOracle: `0x${string}`;
230
+ } | undefined;
231
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
232
+ balancesConfig?: {
233
+ "evm-native"?: undefined;
234
+ "evm-erc20"?: undefined;
235
+ "evm-uniswapv2"?: undefined;
236
+ } | undefined;
237
+ }>>>;
238
+ export declare const tokensAtom: import("jotai").Atom<Promise<({
239
+ id: string;
240
+ networkId: string;
241
+ decimals: number;
242
+ symbol: string;
243
+ type: "evm-erc20";
244
+ platform: "ethereum";
245
+ contractAddress: `0x${string}`;
246
+ isDefault?: boolean | undefined;
247
+ name?: string | undefined;
248
+ logo?: string | undefined;
249
+ coingeckoId?: string | undefined;
250
+ noDiscovery?: boolean | undefined;
251
+ mirrorOf?: string | undefined;
252
+ isCustom?: boolean | undefined;
253
+ } | {
254
+ id: string;
255
+ networkId: string;
256
+ decimals: number;
257
+ symbol: string;
258
+ type: "evm-native";
259
+ platform: "ethereum";
260
+ isDefault?: boolean | undefined;
261
+ name?: string | undefined;
262
+ logo?: string | undefined;
263
+ coingeckoId?: string | undefined;
264
+ noDiscovery?: boolean | undefined;
265
+ mirrorOf?: string | undefined;
266
+ } | {
267
+ id: string;
268
+ networkId: string;
269
+ decimals: number;
270
+ symbol: string;
271
+ type: "evm-uniswapv2";
272
+ platform: "ethereum";
273
+ contractAddress: `0x${string}`;
274
+ symbol0: string;
275
+ symbol1: string;
276
+ decimals0: number;
277
+ decimals1: number;
278
+ tokenAddress0: `0x${string}`;
279
+ tokenAddress1: `0x${string}`;
280
+ isDefault?: boolean | undefined;
281
+ name?: string | undefined;
282
+ logo?: string | undefined;
283
+ coingeckoId?: string | undefined;
284
+ noDiscovery?: boolean | undefined;
285
+ mirrorOf?: string | undefined;
286
+ isCustom?: boolean | undefined;
287
+ coingeckoId0?: string | undefined;
288
+ coingeckoId1?: string | undefined;
289
+ } | {
290
+ id: string;
291
+ networkId: string;
292
+ decimals: number;
293
+ symbol: string;
294
+ type: "substrate-assets";
295
+ platform: "polkadot";
296
+ assetId: string;
297
+ existentialDeposit: string;
298
+ isDefault?: boolean | undefined;
299
+ name?: string | undefined;
300
+ logo?: string | undefined;
301
+ coingeckoId?: string | undefined;
302
+ noDiscovery?: boolean | undefined;
303
+ mirrorOf?: string | undefined;
304
+ isFrozen?: boolean | undefined;
305
+ } | {
306
+ id: string;
307
+ networkId: string;
308
+ decimals: number;
309
+ symbol: string;
310
+ type: "substrate-foreignassets";
311
+ platform: "polkadot";
312
+ onChainId: string;
313
+ existentialDeposit: string;
314
+ isDefault?: boolean | undefined;
315
+ name?: string | undefined;
316
+ logo?: string | undefined;
317
+ coingeckoId?: string | undefined;
318
+ noDiscovery?: boolean | undefined;
319
+ mirrorOf?: string | undefined;
320
+ isFrozen?: boolean | undefined;
321
+ } | {
322
+ id: string;
323
+ networkId: string;
324
+ decimals: number;
325
+ symbol: string;
326
+ type: "substrate-native";
327
+ platform: "polkadot";
328
+ existentialDeposit: string;
329
+ isDefault?: boolean | undefined;
330
+ name?: string | undefined;
331
+ logo?: string | undefined;
332
+ coingeckoId?: string | undefined;
333
+ noDiscovery?: boolean | undefined;
334
+ mirrorOf?: string | undefined;
335
+ } | {
336
+ id: string;
337
+ networkId: string;
338
+ decimals: number;
339
+ symbol: string;
340
+ type: "substrate-psp22";
341
+ platform: "polkadot";
342
+ contractAddress: string;
343
+ isDefault?: boolean | undefined;
344
+ name?: string | undefined;
345
+ logo?: string | undefined;
346
+ coingeckoId?: string | undefined;
347
+ noDiscovery?: boolean | undefined;
348
+ mirrorOf?: string | undefined;
349
+ } | {
350
+ id: string;
351
+ networkId: string;
352
+ decimals: number;
353
+ symbol: string;
354
+ type: "substrate-tokens";
355
+ platform: "polkadot";
356
+ onChainId: string | number;
357
+ existentialDeposit: string;
358
+ isDefault?: boolean | undefined;
359
+ name?: string | undefined;
360
+ logo?: string | undefined;
361
+ coingeckoId?: string | undefined;
362
+ noDiscovery?: boolean | undefined;
363
+ mirrorOf?: string | undefined;
364
+ })[]>>;
365
+ export declare const tokensByIdAtom: import("jotai").Atom<Promise<{
366
+ [k: string]: {
192
367
  id: string;
193
368
  networkId: string;
194
369
  decimals: number;
195
370
  symbol: string;
196
- type: "substrate-psp22";
197
- platform: "polkadot";
198
- contractAddress: string;
371
+ type: "evm-erc20";
372
+ platform: "ethereum";
373
+ contractAddress: `0x${string}`;
199
374
  isDefault?: boolean | undefined;
200
375
  name?: string | undefined;
201
376
  logo?: string | undefined;
202
377
  coingeckoId?: string | undefined;
203
378
  noDiscovery?: boolean | undefined;
204
379
  mirrorOf?: string | undefined;
380
+ isCustom?: boolean | undefined;
205
381
  } | {
206
382
  id: string;
207
383
  networkId: string;
208
384
  decimals: number;
209
385
  symbol: string;
210
- type: "substrate-tokens";
211
- platform: "polkadot";
212
- onChainId: string | number;
213
- existentialDeposit: string;
386
+ type: "evm-native";
387
+ platform: "ethereum";
214
388
  isDefault?: boolean | undefined;
215
389
  name?: string | undefined;
216
390
  logo?: string | undefined;
@@ -222,20 +396,103 @@ export declare const chaindataAtom: import("jotai").Atom<{
222
396
  networkId: string;
223
397
  decimals: number;
224
398
  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;
399
+ type: "evm-uniswapv2";
400
+ platform: "ethereum";
401
+ contractAddress: `0x${string}`;
402
+ symbol0: string;
403
+ symbol1: string;
404
+ decimals0: number;
405
+ decimals1: number;
406
+ tokenAddress0: `0x${string}`;
407
+ tokenAddress1: `0x${string}`;
408
+ isDefault?: boolean | undefined;
232
409
  name?: string | undefined;
233
410
  logo?: string | undefined;
234
411
  coingeckoId?: string | undefined;
235
412
  noDiscovery?: boolean | undefined;
236
413
  mirrorOf?: string | undefined;
237
- })[];
238
- } | Promise<{
414
+ isCustom?: boolean | undefined;
415
+ coingeckoId0?: string | undefined;
416
+ coingeckoId1?: string | undefined;
417
+ } | {
418
+ id: string;
419
+ networkId: string;
420
+ decimals: number;
421
+ symbol: string;
422
+ type: "substrate-assets";
423
+ platform: "polkadot";
424
+ assetId: string;
425
+ existentialDeposit: string;
426
+ isDefault?: boolean | undefined;
427
+ name?: string | undefined;
428
+ logo?: string | undefined;
429
+ coingeckoId?: string | undefined;
430
+ noDiscovery?: boolean | undefined;
431
+ mirrorOf?: string | undefined;
432
+ isFrozen?: boolean | undefined;
433
+ } | {
434
+ id: string;
435
+ networkId: string;
436
+ decimals: number;
437
+ symbol: string;
438
+ type: "substrate-foreignassets";
439
+ platform: "polkadot";
440
+ onChainId: string;
441
+ existentialDeposit: string;
442
+ isDefault?: boolean | undefined;
443
+ name?: string | undefined;
444
+ logo?: string | undefined;
445
+ coingeckoId?: string | undefined;
446
+ noDiscovery?: boolean | undefined;
447
+ mirrorOf?: string | undefined;
448
+ isFrozen?: boolean | undefined;
449
+ } | {
450
+ id: string;
451
+ networkId: string;
452
+ decimals: number;
453
+ symbol: string;
454
+ type: "substrate-native";
455
+ platform: "polkadot";
456
+ existentialDeposit: string;
457
+ isDefault?: boolean | undefined;
458
+ name?: string | undefined;
459
+ logo?: string | undefined;
460
+ coingeckoId?: string | undefined;
461
+ noDiscovery?: boolean | undefined;
462
+ mirrorOf?: string | undefined;
463
+ } | {
464
+ id: string;
465
+ networkId: string;
466
+ decimals: number;
467
+ symbol: string;
468
+ type: "substrate-psp22";
469
+ platform: "polkadot";
470
+ contractAddress: string;
471
+ isDefault?: boolean | undefined;
472
+ name?: string | undefined;
473
+ logo?: string | undefined;
474
+ coingeckoId?: string | undefined;
475
+ noDiscovery?: boolean | undefined;
476
+ mirrorOf?: string | undefined;
477
+ } | {
478
+ id: string;
479
+ networkId: string;
480
+ decimals: number;
481
+ symbol: string;
482
+ type: "substrate-tokens";
483
+ platform: "polkadot";
484
+ onChainId: string | number;
485
+ existentialDeposit: string;
486
+ isDefault?: boolean | undefined;
487
+ name?: string | undefined;
488
+ logo?: string | undefined;
489
+ coingeckoId?: string | undefined;
490
+ noDiscovery?: boolean | undefined;
491
+ mirrorOf?: string | undefined;
492
+ };
493
+ }>>;
494
+ export declare const miniMetadatasAtom: import("jotai").Atom<Promise<import("@talismn/balances").MiniMetadata[]>>;
495
+ export declare const chaindataAtom: import("jotai").Atom<{
239
496
  networks: ({
240
497
  id: string;
241
498
  name: string;
@@ -289,7 +546,6 @@ export declare const chaindataAtom: import("jotai").Atom<{
289
546
  palletId?: string | undefined;
290
547
  } | undefined;
291
548
  "substrate-foreignassets"?: undefined;
292
- "substrate-hydration"?: undefined;
293
549
  } | undefined;
294
550
  } | {
295
551
  id: string;
@@ -327,97 +583,392 @@ export declare const chaindataAtom: import("jotai").Atom<{
327
583
  "evm-uniswapv2"?: undefined;
328
584
  } | undefined;
329
585
  })[];
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
- } | {
586
+ networksById: Record<string, {
345
587
  id: string;
346
- networkId: string;
347
- decimals: number;
348
- symbol: string;
349
- type: "evm-native";
350
- platform: "ethereum";
588
+ name: string;
589
+ nativeTokenId: string;
590
+ nativeCurrency: {
591
+ decimals: number;
592
+ symbol: string;
593
+ name: string;
594
+ coingeckoId?: string | undefined;
595
+ mirrorOf?: string | undefined;
596
+ logo?: string | undefined;
597
+ };
598
+ blockExplorerUrls: string[];
599
+ genesisHash: `0x${string}`;
600
+ platform: "polkadot";
601
+ chainName: string;
602
+ specName: string;
603
+ specVersion: number;
604
+ account: "secp256k1" | "*25519";
605
+ prefix: number;
606
+ rpcs: string[];
607
+ topology: {
608
+ type: "standalone";
609
+ } | {
610
+ type: "relay";
611
+ } | {
612
+ type: "parachain";
613
+ relayId: string;
614
+ paraId: number;
615
+ };
616
+ isTestnet?: boolean | undefined;
351
617
  isDefault?: boolean | undefined;
352
- name?: string | undefined;
618
+ forceScan?: boolean | undefined;
353
619
  logo?: string | undefined;
354
- coingeckoId?: string | undefined;
355
- noDiscovery?: boolean | undefined;
356
- mirrorOf?: string | undefined;
620
+ themeColor?: string | undefined;
621
+ chainspecQrUrl?: string | undefined;
622
+ latestMetadataQrUrl?: string | undefined;
623
+ oldPrefix?: number | undefined;
624
+ registryTypes?: any;
625
+ signedExtensions?: any;
626
+ hasCheckMetadataHash?: boolean | undefined;
627
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
628
+ isUnknownFeeToken?: boolean | undefined;
629
+ balancesConfig?: {
630
+ "substrate-native"?: {
631
+ disable?: boolean | undefined;
632
+ } | undefined;
633
+ "substrate-assets"?: undefined;
634
+ "substrate-psp22"?: undefined;
635
+ "substrate-tokens"?: {
636
+ palletId?: string | undefined;
637
+ } | undefined;
638
+ "substrate-foreignassets"?: undefined;
639
+ } | undefined;
357
640
  } | {
358
641
  id: string;
359
- networkId: string;
360
- decimals: number;
361
- symbol: string;
362
- type: "evm-uniswapv2";
642
+ name: string;
643
+ nativeTokenId: string;
644
+ nativeCurrency: {
645
+ decimals: number;
646
+ symbol: string;
647
+ name: string;
648
+ coingeckoId?: string | undefined;
649
+ mirrorOf?: string | undefined;
650
+ logo?: string | undefined;
651
+ };
652
+ blockExplorerUrls: string[];
363
653
  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}`;
654
+ rpcs: string[];
655
+ isTestnet?: boolean | undefined;
371
656
  isDefault?: boolean | undefined;
372
- name?: string | undefined;
657
+ forceScan?: boolean | undefined;
373
658
  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
- } | {
659
+ themeColor?: string | undefined;
660
+ substrateChainId?: string | undefined;
661
+ preserveGasEstimate?: boolean | undefined;
662
+ feeType?: "legacy" | "eip-1559" | undefined;
663
+ l2FeeType?: {
664
+ type: "op-stack";
665
+ } | {
666
+ type: "scroll";
667
+ l1GasPriceOracle: `0x${string}`;
668
+ } | undefined;
669
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
670
+ balancesConfig?: {
671
+ "evm-native"?: undefined;
672
+ "evm-erc20"?: undefined;
673
+ "evm-uniswapv2"?: undefined;
674
+ } | undefined;
675
+ }>;
676
+ chains: {
381
677
  id: string;
382
- networkId: string;
383
- decimals: number;
384
- symbol: string;
385
- type: "substrate-assets";
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
+ genesisHash: `0x${string}`;
386
690
  platform: "polkadot";
387
- assetId: string;
388
- isSufficient: boolean;
389
- existentialDeposit: string;
691
+ chainName: string;
692
+ specName: string;
693
+ specVersion: number;
694
+ account: "secp256k1" | "*25519";
695
+ prefix: number;
696
+ rpcs: string[];
697
+ topology: {
698
+ type: "standalone";
699
+ } | {
700
+ type: "relay";
701
+ } | {
702
+ type: "parachain";
703
+ relayId: string;
704
+ paraId: number;
705
+ };
706
+ isTestnet?: boolean | undefined;
390
707
  isDefault?: boolean | undefined;
391
- name?: string | undefined;
708
+ forceScan?: boolean | undefined;
392
709
  logo?: string | undefined;
393
- coingeckoId?: string | undefined;
394
- noDiscovery?: boolean | undefined;
395
- mirrorOf?: string | undefined;
396
- isFrozen?: boolean | undefined;
710
+ themeColor?: string | undefined;
711
+ chainspecQrUrl?: string | undefined;
712
+ latestMetadataQrUrl?: string | undefined;
713
+ oldPrefix?: number | undefined;
714
+ registryTypes?: any;
715
+ signedExtensions?: any;
716
+ hasCheckMetadataHash?: boolean | undefined;
717
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
718
+ isUnknownFeeToken?: boolean | undefined;
719
+ balancesConfig?: {
720
+ "substrate-native"?: {
721
+ disable?: boolean | undefined;
722
+ } | undefined;
723
+ "substrate-assets"?: undefined;
724
+ "substrate-psp22"?: undefined;
725
+ "substrate-tokens"?: {
726
+ palletId?: string | undefined;
727
+ } | undefined;
728
+ "substrate-foreignassets"?: undefined;
729
+ } | undefined;
730
+ }[];
731
+ chainsById: Record<string, {
732
+ id: string;
733
+ name: string;
734
+ nativeTokenId: string;
735
+ nativeCurrency: {
736
+ decimals: number;
737
+ symbol: string;
738
+ name: string;
739
+ coingeckoId?: string | undefined;
740
+ mirrorOf?: string | undefined;
741
+ logo?: string | undefined;
742
+ };
743
+ blockExplorerUrls: string[];
744
+ genesisHash: `0x${string}`;
745
+ platform: "polkadot";
746
+ chainName: string;
747
+ specName: string;
748
+ specVersion: number;
749
+ account: "secp256k1" | "*25519";
750
+ prefix: number;
751
+ rpcs: string[];
752
+ topology: {
753
+ type: "standalone";
754
+ } | {
755
+ type: "relay";
756
+ } | {
757
+ type: "parachain";
758
+ relayId: string;
759
+ paraId: number;
760
+ };
761
+ isTestnet?: boolean | undefined;
762
+ isDefault?: boolean | undefined;
763
+ forceScan?: boolean | undefined;
764
+ logo?: string | undefined;
765
+ themeColor?: string | undefined;
766
+ chainspecQrUrl?: string | undefined;
767
+ latestMetadataQrUrl?: string | undefined;
768
+ oldPrefix?: number | undefined;
769
+ registryTypes?: any;
770
+ signedExtensions?: any;
771
+ hasCheckMetadataHash?: boolean | undefined;
772
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
773
+ isUnknownFeeToken?: boolean | undefined;
774
+ balancesConfig?: {
775
+ "substrate-native"?: {
776
+ disable?: boolean | undefined;
777
+ } | undefined;
778
+ "substrate-assets"?: undefined;
779
+ "substrate-psp22"?: undefined;
780
+ "substrate-tokens"?: {
781
+ palletId?: string | undefined;
782
+ } | undefined;
783
+ "substrate-foreignassets"?: undefined;
784
+ } | undefined;
785
+ }>;
786
+ chainsByGenesisHash: Record<string, {
787
+ id: string;
788
+ name: string;
789
+ nativeTokenId: string;
790
+ nativeCurrency: {
791
+ decimals: number;
792
+ symbol: string;
793
+ name: string;
794
+ coingeckoId?: string | undefined;
795
+ mirrorOf?: string | undefined;
796
+ logo?: string | undefined;
797
+ };
798
+ blockExplorerUrls: string[];
799
+ genesisHash: `0x${string}`;
800
+ platform: "polkadot";
801
+ chainName: string;
802
+ specName: string;
803
+ specVersion: number;
804
+ account: "secp256k1" | "*25519";
805
+ prefix: number;
806
+ rpcs: string[];
807
+ topology: {
808
+ type: "standalone";
809
+ } | {
810
+ type: "relay";
811
+ } | {
812
+ type: "parachain";
813
+ relayId: string;
814
+ paraId: number;
815
+ };
816
+ isTestnet?: boolean | undefined;
817
+ isDefault?: boolean | undefined;
818
+ forceScan?: boolean | undefined;
819
+ logo?: string | undefined;
820
+ themeColor?: string | undefined;
821
+ chainspecQrUrl?: string | undefined;
822
+ latestMetadataQrUrl?: string | undefined;
823
+ oldPrefix?: number | undefined;
824
+ registryTypes?: any;
825
+ signedExtensions?: any;
826
+ hasCheckMetadataHash?: boolean | undefined;
827
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
828
+ isUnknownFeeToken?: boolean | undefined;
829
+ balancesConfig?: {
830
+ "substrate-native"?: {
831
+ disable?: boolean | undefined;
832
+ } | undefined;
833
+ "substrate-assets"?: undefined;
834
+ "substrate-psp22"?: undefined;
835
+ "substrate-tokens"?: {
836
+ palletId?: string | undefined;
837
+ } | undefined;
838
+ "substrate-foreignassets"?: undefined;
839
+ } | undefined;
840
+ }>;
841
+ evmNetworks: {
842
+ id: string;
843
+ name: string;
844
+ nativeTokenId: string;
845
+ nativeCurrency: {
846
+ decimals: number;
847
+ symbol: string;
848
+ name: string;
849
+ coingeckoId?: string | undefined;
850
+ mirrorOf?: string | undefined;
851
+ logo?: string | undefined;
852
+ };
853
+ blockExplorerUrls: string[];
854
+ platform: "ethereum";
855
+ rpcs: string[];
856
+ isTestnet?: boolean | undefined;
857
+ isDefault?: boolean | undefined;
858
+ forceScan?: boolean | undefined;
859
+ logo?: string | undefined;
860
+ themeColor?: string | undefined;
861
+ substrateChainId?: string | undefined;
862
+ preserveGasEstimate?: boolean | undefined;
863
+ feeType?: "legacy" | "eip-1559" | undefined;
864
+ l2FeeType?: {
865
+ type: "op-stack";
866
+ } | {
867
+ type: "scroll";
868
+ l1GasPriceOracle: `0x${string}`;
869
+ } | undefined;
870
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
871
+ balancesConfig?: {
872
+ "evm-native"?: undefined;
873
+ "evm-erc20"?: undefined;
874
+ "evm-uniswapv2"?: undefined;
875
+ } | undefined;
876
+ }[];
877
+ evmNetworksById: Record<string, {
878
+ id: string;
879
+ name: string;
880
+ nativeTokenId: string;
881
+ nativeCurrency: {
882
+ decimals: number;
883
+ symbol: string;
884
+ name: string;
885
+ coingeckoId?: string | undefined;
886
+ mirrorOf?: string | undefined;
887
+ logo?: string | undefined;
888
+ };
889
+ blockExplorerUrls: string[];
890
+ platform: "ethereum";
891
+ rpcs: string[];
892
+ isTestnet?: boolean | undefined;
893
+ isDefault?: boolean | undefined;
894
+ forceScan?: boolean | undefined;
895
+ logo?: string | undefined;
896
+ themeColor?: string | undefined;
897
+ substrateChainId?: string | undefined;
898
+ preserveGasEstimate?: boolean | undefined;
899
+ feeType?: "legacy" | "eip-1559" | undefined;
900
+ l2FeeType?: {
901
+ type: "op-stack";
902
+ } | {
903
+ type: "scroll";
904
+ l1GasPriceOracle: `0x${string}`;
905
+ } | undefined;
906
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
907
+ balancesConfig?: {
908
+ "evm-native"?: undefined;
909
+ "evm-erc20"?: undefined;
910
+ "evm-uniswapv2"?: undefined;
911
+ } | undefined;
912
+ }>;
913
+ tokens: ({
914
+ id: string;
915
+ networkId: string;
916
+ decimals: number;
917
+ symbol: string;
918
+ type: "evm-erc20";
919
+ platform: "ethereum";
920
+ contractAddress: `0x${string}`;
921
+ isDefault?: boolean | undefined;
922
+ name?: string | undefined;
923
+ logo?: string | undefined;
924
+ coingeckoId?: string | undefined;
925
+ noDiscovery?: boolean | undefined;
926
+ mirrorOf?: string | undefined;
927
+ isCustom?: boolean | undefined;
397
928
  } | {
398
929
  id: string;
399
930
  networkId: string;
400
931
  decimals: number;
401
932
  symbol: string;
402
- type: "substrate-foreignassets";
403
- platform: "polkadot";
404
- onChainId: string;
405
- isSufficient: boolean;
406
- existentialDeposit: string;
933
+ type: "evm-native";
934
+ platform: "ethereum";
407
935
  isDefault?: boolean | undefined;
408
936
  name?: string | undefined;
409
937
  logo?: string | undefined;
410
938
  coingeckoId?: string | undefined;
411
939
  noDiscovery?: boolean | undefined;
412
940
  mirrorOf?: string | undefined;
413
- isFrozen?: boolean | undefined;
414
941
  } | {
415
942
  id: string;
416
943
  networkId: string;
417
944
  decimals: number;
418
945
  symbol: string;
419
- type: "substrate-native";
946
+ type: "evm-uniswapv2";
947
+ platform: "ethereum";
948
+ contractAddress: `0x${string}`;
949
+ symbol0: string;
950
+ symbol1: string;
951
+ decimals0: number;
952
+ decimals1: number;
953
+ tokenAddress0: `0x${string}`;
954
+ tokenAddress1: `0x${string}`;
955
+ isDefault?: boolean | undefined;
956
+ name?: string | undefined;
957
+ logo?: string | undefined;
958
+ coingeckoId?: string | undefined;
959
+ noDiscovery?: boolean | undefined;
960
+ mirrorOf?: string | undefined;
961
+ isCustom?: boolean | undefined;
962
+ coingeckoId0?: string | undefined;
963
+ coingeckoId1?: string | undefined;
964
+ } | {
965
+ id: string;
966
+ networkId: string;
967
+ decimals: number;
968
+ symbol: string;
969
+ type: "substrate-assets";
420
970
  platform: "polkadot";
971
+ assetId: string;
421
972
  existentialDeposit: string;
422
973
  isDefault?: boolean | undefined;
423
974
  name?: string | undefined;
@@ -425,28 +976,30 @@ export declare const chaindataAtom: import("jotai").Atom<{
425
976
  coingeckoId?: string | undefined;
426
977
  noDiscovery?: boolean | undefined;
427
978
  mirrorOf?: string | undefined;
979
+ isFrozen?: boolean | undefined;
428
980
  } | {
429
981
  id: string;
430
982
  networkId: string;
431
983
  decimals: number;
432
984
  symbol: string;
433
- type: "substrate-psp22";
985
+ type: "substrate-foreignassets";
434
986
  platform: "polkadot";
435
- contractAddress: string;
987
+ onChainId: string;
988
+ existentialDeposit: string;
436
989
  isDefault?: boolean | undefined;
437
990
  name?: string | undefined;
438
991
  logo?: string | undefined;
439
992
  coingeckoId?: string | undefined;
440
993
  noDiscovery?: boolean | undefined;
441
994
  mirrorOf?: string | undefined;
995
+ isFrozen?: boolean | undefined;
442
996
  } | {
443
997
  id: string;
444
998
  networkId: string;
445
999
  decimals: number;
446
1000
  symbol: string;
447
- type: "substrate-tokens";
1001
+ type: "substrate-native";
448
1002
  platform: "polkadot";
449
- onChainId: string | number;
450
1003
  existentialDeposit: string;
451
1004
  isDefault?: boolean | undefined;
452
1005
  name?: string | undefined;
@@ -459,253 +1012,834 @@ export declare const chaindataAtom: import("jotai").Atom<{
459
1012
  networkId: string;
460
1013
  decimals: number;
461
1014
  symbol: string;
462
- type: "substrate-hydration";
1015
+ type: "substrate-psp22";
463
1016
  platform: "polkadot";
464
- onChainId: number;
465
- assetType: "Token" | "Erc20" | "External";
466
- isSufficient: boolean;
467
- existentialDeposit: string;
1017
+ contractAddress: string;
468
1018
  isDefault?: boolean | undefined;
469
1019
  name?: string | undefined;
470
1020
  logo?: string | undefined;
471
1021
  coingeckoId?: string | undefined;
472
1022
  noDiscovery?: boolean | undefined;
473
1023
  mirrorOf?: string | undefined;
474
- })[];
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: {
1024
+ } | {
1025
+ id: string;
1026
+ networkId: string;
1027
+ decimals: number;
1028
+ symbol: string;
1029
+ type: "substrate-tokens";
1030
+ platform: "polkadot";
1031
+ onChainId: string | number;
1032
+ existentialDeposit: string;
1033
+ isDefault?: boolean | undefined;
1034
+ name?: string | undefined;
1035
+ logo?: string | undefined;
1036
+ coingeckoId?: string | undefined;
1037
+ noDiscovery?: boolean | undefined;
1038
+ mirrorOf?: string | undefined;
1039
+ })[];
1040
+ tokensById: {
1041
+ [k: string]: {
1042
+ id: string;
1043
+ networkId: string;
1044
+ decimals: number;
1045
+ symbol: string;
1046
+ type: "evm-erc20";
1047
+ platform: "ethereum";
1048
+ contractAddress: `0x${string}`;
1049
+ isDefault?: boolean | undefined;
1050
+ name?: string | undefined;
1051
+ logo?: string | undefined;
1052
+ coingeckoId?: string | undefined;
1053
+ noDiscovery?: boolean | undefined;
1054
+ mirrorOf?: string | undefined;
1055
+ isCustom?: boolean | undefined;
1056
+ } | {
1057
+ id: string;
1058
+ networkId: string;
1059
+ decimals: number;
1060
+ symbol: string;
1061
+ type: "evm-native";
1062
+ platform: "ethereum";
1063
+ isDefault?: boolean | undefined;
1064
+ name?: string | undefined;
1065
+ logo?: string | undefined;
1066
+ coingeckoId?: string | undefined;
1067
+ noDiscovery?: boolean | undefined;
1068
+ mirrorOf?: string | undefined;
1069
+ } | {
1070
+ id: string;
1071
+ networkId: string;
1072
+ decimals: number;
1073
+ symbol: string;
1074
+ type: "evm-uniswapv2";
1075
+ platform: "ethereum";
1076
+ contractAddress: `0x${string}`;
1077
+ symbol0: string;
1078
+ symbol1: string;
1079
+ decimals0: number;
1080
+ decimals1: number;
1081
+ tokenAddress0: `0x${string}`;
1082
+ tokenAddress1: `0x${string}`;
1083
+ isDefault?: boolean | undefined;
1084
+ name?: string | undefined;
1085
+ logo?: string | undefined;
1086
+ coingeckoId?: string | undefined;
1087
+ noDiscovery?: boolean | undefined;
1088
+ mirrorOf?: string | undefined;
1089
+ isCustom?: boolean | undefined;
1090
+ coingeckoId0?: string | undefined;
1091
+ coingeckoId1?: string | undefined;
1092
+ } | {
1093
+ id: string;
1094
+ networkId: string;
1095
+ decimals: number;
1096
+ symbol: string;
1097
+ type: "substrate-assets";
1098
+ platform: "polkadot";
1099
+ assetId: string;
1100
+ existentialDeposit: string;
1101
+ isDefault?: boolean | undefined;
1102
+ name?: string | undefined;
1103
+ logo?: string | undefined;
1104
+ coingeckoId?: string | undefined;
1105
+ noDiscovery?: boolean | undefined;
1106
+ mirrorOf?: string | undefined;
1107
+ isFrozen?: boolean | undefined;
1108
+ } | {
1109
+ id: string;
1110
+ networkId: string;
1111
+ decimals: number;
1112
+ symbol: string;
1113
+ type: "substrate-foreignassets";
1114
+ platform: "polkadot";
1115
+ onChainId: string;
1116
+ existentialDeposit: string;
1117
+ isDefault?: boolean | undefined;
1118
+ name?: string | undefined;
1119
+ logo?: string | undefined;
1120
+ coingeckoId?: string | undefined;
1121
+ noDiscovery?: boolean | undefined;
1122
+ mirrorOf?: string | undefined;
1123
+ isFrozen?: boolean | undefined;
1124
+ } | {
1125
+ id: string;
1126
+ networkId: string;
1127
+ decimals: number;
1128
+ symbol: string;
1129
+ type: "substrate-native";
1130
+ platform: "polkadot";
1131
+ existentialDeposit: string;
1132
+ isDefault?: boolean | undefined;
1133
+ name?: string | undefined;
1134
+ logo?: string | undefined;
1135
+ coingeckoId?: string | undefined;
1136
+ noDiscovery?: boolean | undefined;
1137
+ mirrorOf?: string | undefined;
1138
+ } | {
1139
+ id: string;
1140
+ networkId: string;
1141
+ decimals: number;
1142
+ symbol: string;
1143
+ type: "substrate-psp22";
1144
+ platform: "polkadot";
1145
+ contractAddress: string;
1146
+ isDefault?: boolean | undefined;
1147
+ name?: string | undefined;
1148
+ logo?: string | undefined;
1149
+ coingeckoId?: string | undefined;
1150
+ noDiscovery?: boolean | undefined;
1151
+ mirrorOf?: string | undefined;
1152
+ } | {
1153
+ id: string;
1154
+ networkId: string;
1155
+ decimals: number;
1156
+ symbol: string;
1157
+ type: "substrate-tokens";
1158
+ platform: "polkadot";
1159
+ onChainId: string | number;
1160
+ existentialDeposit: string;
1161
+ isDefault?: boolean | undefined;
1162
+ name?: string | undefined;
1163
+ logo?: string | undefined;
1164
+ coingeckoId?: string | undefined;
1165
+ noDiscovery?: boolean | undefined;
1166
+ mirrorOf?: string | undefined;
1167
+ };
1168
+ };
1169
+ miniMetadatas: import("@talismn/balances").MiniMetadata[];
1170
+ } | Promise<{
1171
+ networks: ({
1172
+ id: string;
1173
+ name: string;
1174
+ nativeTokenId: string;
1175
+ nativeCurrency: {
1176
+ decimals: number;
1177
+ symbol: string;
1178
+ name: string;
1179
+ coingeckoId?: string | undefined;
1180
+ mirrorOf?: string | undefined;
1181
+ logo?: string | undefined;
1182
+ };
1183
+ blockExplorerUrls: string[];
1184
+ genesisHash: `0x${string}`;
1185
+ platform: "polkadot";
1186
+ chainName: string;
1187
+ specName: string;
1188
+ specVersion: number;
1189
+ account: "secp256k1" | "*25519";
1190
+ prefix: number;
1191
+ rpcs: string[];
1192
+ topology: {
1193
+ type: "standalone";
1194
+ } | {
1195
+ type: "relay";
1196
+ } | {
1197
+ type: "parachain";
1198
+ relayId: string;
1199
+ paraId: number;
1200
+ };
1201
+ isTestnet?: boolean | undefined;
1202
+ isDefault?: boolean | undefined;
1203
+ forceScan?: boolean | undefined;
1204
+ logo?: string | undefined;
1205
+ themeColor?: string | undefined;
1206
+ chainspecQrUrl?: string | undefined;
1207
+ latestMetadataQrUrl?: string | undefined;
1208
+ oldPrefix?: number | undefined;
1209
+ registryTypes?: any;
1210
+ signedExtensions?: any;
1211
+ hasCheckMetadataHash?: boolean | undefined;
1212
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1213
+ isUnknownFeeToken?: boolean | undefined;
1214
+ balancesConfig?: {
1215
+ "substrate-native"?: {
1216
+ disable?: boolean | undefined;
1217
+ } | undefined;
1218
+ "substrate-assets"?: undefined;
1219
+ "substrate-psp22"?: undefined;
1220
+ "substrate-tokens"?: {
1221
+ palletId?: string | undefined;
1222
+ } | undefined;
1223
+ "substrate-foreignassets"?: undefined;
1224
+ } | undefined;
1225
+ } | {
1226
+ id: string;
1227
+ name: string;
1228
+ nativeTokenId: string;
1229
+ nativeCurrency: {
1230
+ decimals: number;
1231
+ symbol: string;
1232
+ name: string;
1233
+ coingeckoId?: string | undefined;
1234
+ mirrorOf?: string | undefined;
1235
+ logo?: string | undefined;
1236
+ };
1237
+ blockExplorerUrls: string[];
1238
+ platform: "ethereum";
1239
+ rpcs: string[];
1240
+ isTestnet?: boolean | undefined;
1241
+ isDefault?: boolean | undefined;
1242
+ forceScan?: boolean | undefined;
1243
+ logo?: string | undefined;
1244
+ themeColor?: string | undefined;
1245
+ substrateChainId?: string | undefined;
1246
+ preserveGasEstimate?: boolean | undefined;
1247
+ feeType?: "legacy" | "eip-1559" | undefined;
1248
+ l2FeeType?: {
1249
+ type: "op-stack";
1250
+ } | {
1251
+ type: "scroll";
1252
+ l1GasPriceOracle: `0x${string}`;
1253
+ } | undefined;
1254
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1255
+ balancesConfig?: {
1256
+ "evm-native"?: undefined;
1257
+ "evm-erc20"?: undefined;
1258
+ "evm-uniswapv2"?: undefined;
1259
+ } | undefined;
1260
+ })[];
1261
+ networksById: Record<string, {
1262
+ id: string;
1263
+ name: string;
1264
+ nativeTokenId: string;
1265
+ nativeCurrency: {
1266
+ decimals: number;
1267
+ symbol: string;
1268
+ name: string;
1269
+ coingeckoId?: string | undefined;
1270
+ mirrorOf?: string | undefined;
1271
+ logo?: string | undefined;
1272
+ };
1273
+ blockExplorerUrls: string[];
1274
+ genesisHash: `0x${string}`;
1275
+ platform: "polkadot";
1276
+ chainName: string;
1277
+ specName: string;
1278
+ specVersion: number;
1279
+ account: "secp256k1" | "*25519";
1280
+ prefix: number;
1281
+ rpcs: string[];
1282
+ topology: {
1283
+ type: "standalone";
1284
+ } | {
1285
+ type: "relay";
1286
+ } | {
1287
+ type: "parachain";
1288
+ relayId: string;
1289
+ paraId: number;
1290
+ };
1291
+ isTestnet?: boolean | undefined;
1292
+ isDefault?: boolean | undefined;
1293
+ forceScan?: boolean | undefined;
1294
+ logo?: string | undefined;
1295
+ themeColor?: string | undefined;
1296
+ chainspecQrUrl?: string | undefined;
1297
+ latestMetadataQrUrl?: string | undefined;
1298
+ oldPrefix?: number | undefined;
1299
+ registryTypes?: any;
1300
+ signedExtensions?: any;
1301
+ hasCheckMetadataHash?: boolean | undefined;
1302
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1303
+ isUnknownFeeToken?: boolean | undefined;
1304
+ balancesConfig?: {
1305
+ "substrate-native"?: {
1306
+ disable?: boolean | undefined;
1307
+ } | undefined;
1308
+ "substrate-assets"?: undefined;
1309
+ "substrate-psp22"?: undefined;
1310
+ "substrate-tokens"?: {
1311
+ palletId?: string | undefined;
1312
+ } | undefined;
1313
+ "substrate-foreignassets"?: undefined;
1314
+ } | undefined;
1315
+ } | {
1316
+ id: string;
1317
+ name: string;
1318
+ nativeTokenId: string;
1319
+ nativeCurrency: {
1320
+ decimals: number;
1321
+ symbol: string;
1322
+ name: string;
1323
+ coingeckoId?: string | undefined;
1324
+ mirrorOf?: string | undefined;
1325
+ logo?: string | undefined;
1326
+ };
1327
+ blockExplorerUrls: string[];
1328
+ platform: "ethereum";
1329
+ rpcs: string[];
1330
+ isTestnet?: boolean | undefined;
1331
+ isDefault?: boolean | undefined;
1332
+ forceScan?: boolean | undefined;
1333
+ logo?: string | undefined;
1334
+ themeColor?: string | undefined;
1335
+ substrateChainId?: string | undefined;
1336
+ preserveGasEstimate?: boolean | undefined;
1337
+ feeType?: "legacy" | "eip-1559" | undefined;
1338
+ l2FeeType?: {
1339
+ type: "op-stack";
1340
+ } | {
1341
+ type: "scroll";
1342
+ l1GasPriceOracle: `0x${string}`;
1343
+ } | undefined;
1344
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1345
+ balancesConfig?: {
1346
+ "evm-native"?: undefined;
1347
+ "evm-erc20"?: undefined;
1348
+ "evm-uniswapv2"?: undefined;
1349
+ } | undefined;
1350
+ }>;
1351
+ chains: {
1352
+ id: string;
1353
+ name: string;
1354
+ nativeTokenId: string;
1355
+ nativeCurrency: {
1356
+ decimals: number;
1357
+ symbol: string;
1358
+ name: string;
1359
+ coingeckoId?: string | undefined;
1360
+ mirrorOf?: string | undefined;
1361
+ logo?: string | undefined;
1362
+ };
1363
+ blockExplorerUrls: string[];
1364
+ genesisHash: `0x${string}`;
1365
+ platform: "polkadot";
1366
+ chainName: string;
1367
+ specName: string;
1368
+ specVersion: number;
1369
+ account: "secp256k1" | "*25519";
1370
+ prefix: number;
1371
+ rpcs: string[];
1372
+ topology: {
1373
+ type: "standalone";
1374
+ } | {
1375
+ type: "relay";
1376
+ } | {
1377
+ type: "parachain";
1378
+ relayId: string;
1379
+ paraId: number;
1380
+ };
1381
+ isTestnet?: boolean | undefined;
1382
+ isDefault?: boolean | undefined;
1383
+ forceScan?: boolean | undefined;
1384
+ logo?: string | undefined;
1385
+ themeColor?: string | undefined;
1386
+ chainspecQrUrl?: string | undefined;
1387
+ latestMetadataQrUrl?: string | undefined;
1388
+ oldPrefix?: number | undefined;
1389
+ registryTypes?: any;
1390
+ signedExtensions?: any;
1391
+ hasCheckMetadataHash?: boolean | undefined;
1392
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1393
+ isUnknownFeeToken?: boolean | undefined;
1394
+ balancesConfig?: {
1395
+ "substrate-native"?: {
1396
+ disable?: boolean | undefined;
1397
+ } | undefined;
1398
+ "substrate-assets"?: undefined;
1399
+ "substrate-psp22"?: undefined;
1400
+ "substrate-tokens"?: {
1401
+ palletId?: string | undefined;
1402
+ } | undefined;
1403
+ "substrate-foreignassets"?: undefined;
1404
+ } | undefined;
1405
+ }[];
1406
+ chainsById: Record<string, {
1407
+ id: string;
1408
+ name: string;
1409
+ nativeTokenId: string;
1410
+ nativeCurrency: {
1411
+ decimals: number;
1412
+ symbol: string;
1413
+ name: string;
1414
+ coingeckoId?: string | undefined;
1415
+ mirrorOf?: string | undefined;
1416
+ logo?: string | undefined;
1417
+ };
1418
+ blockExplorerUrls: string[];
1419
+ genesisHash: `0x${string}`;
1420
+ platform: "polkadot";
1421
+ chainName: string;
1422
+ specName: string;
1423
+ specVersion: number;
1424
+ account: "secp256k1" | "*25519";
1425
+ prefix: number;
1426
+ rpcs: string[];
1427
+ topology: {
1428
+ type: "standalone";
1429
+ } | {
1430
+ type: "relay";
1431
+ } | {
1432
+ type: "parachain";
1433
+ relayId: string;
1434
+ paraId: number;
1435
+ };
1436
+ isTestnet?: boolean | undefined;
1437
+ isDefault?: boolean | undefined;
1438
+ forceScan?: boolean | undefined;
1439
+ logo?: string | undefined;
1440
+ themeColor?: string | undefined;
1441
+ chainspecQrUrl?: string | undefined;
1442
+ latestMetadataQrUrl?: string | undefined;
1443
+ oldPrefix?: number | undefined;
1444
+ registryTypes?: any;
1445
+ signedExtensions?: any;
1446
+ hasCheckMetadataHash?: boolean | undefined;
1447
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1448
+ isUnknownFeeToken?: boolean | undefined;
1449
+ balancesConfig?: {
1450
+ "substrate-native"?: {
1451
+ disable?: boolean | undefined;
1452
+ } | undefined;
1453
+ "substrate-assets"?: undefined;
1454
+ "substrate-psp22"?: undefined;
1455
+ "substrate-tokens"?: {
1456
+ palletId?: string | undefined;
1457
+ } | undefined;
1458
+ "substrate-foreignassets"?: undefined;
1459
+ } | undefined;
1460
+ }>;
1461
+ chainsByGenesisHash: Record<string, {
1462
+ id: string;
1463
+ name: string;
1464
+ nativeTokenId: string;
1465
+ nativeCurrency: {
1466
+ decimals: number;
1467
+ symbol: string;
1468
+ name: string;
1469
+ coingeckoId?: string | undefined;
1470
+ mirrorOf?: string | undefined;
1471
+ logo?: string | undefined;
1472
+ };
1473
+ blockExplorerUrls: string[];
1474
+ genesisHash: `0x${string}`;
1475
+ platform: "polkadot";
1476
+ chainName: string;
1477
+ specName: string;
1478
+ specVersion: number;
1479
+ account: "secp256k1" | "*25519";
1480
+ prefix: number;
1481
+ rpcs: string[];
1482
+ topology: {
1483
+ type: "standalone";
1484
+ } | {
1485
+ type: "relay";
1486
+ } | {
1487
+ type: "parachain";
1488
+ relayId: string;
1489
+ paraId: number;
1490
+ };
1491
+ isTestnet?: boolean | undefined;
1492
+ isDefault?: boolean | undefined;
1493
+ forceScan?: boolean | undefined;
1494
+ logo?: string | undefined;
1495
+ themeColor?: string | undefined;
1496
+ chainspecQrUrl?: string | undefined;
1497
+ latestMetadataQrUrl?: string | undefined;
1498
+ oldPrefix?: number | undefined;
1499
+ registryTypes?: any;
1500
+ signedExtensions?: any;
1501
+ hasCheckMetadataHash?: boolean | undefined;
1502
+ hasExtrinsicSignatureTypePrefix?: boolean | undefined;
1503
+ isUnknownFeeToken?: boolean | undefined;
1504
+ balancesConfig?: {
1505
+ "substrate-native"?: {
1506
+ disable?: boolean | undefined;
1507
+ } | undefined;
1508
+ "substrate-assets"?: undefined;
1509
+ "substrate-psp22"?: undefined;
1510
+ "substrate-tokens"?: {
1511
+ palletId?: string | undefined;
1512
+ } | undefined;
1513
+ "substrate-foreignassets"?: undefined;
1514
+ } | undefined;
1515
+ }>;
1516
+ evmNetworks: {
1517
+ id: string;
1518
+ name: string;
1519
+ nativeTokenId: string;
1520
+ nativeCurrency: {
1521
+ decimals: number;
1522
+ symbol: string;
1523
+ name: string;
1524
+ coingeckoId?: string | undefined;
1525
+ mirrorOf?: string | undefined;
1526
+ logo?: string | undefined;
1527
+ };
1528
+ blockExplorerUrls: string[];
1529
+ platform: "ethereum";
1530
+ rpcs: string[];
1531
+ isTestnet?: boolean | undefined;
1532
+ isDefault?: boolean | undefined;
1533
+ forceScan?: boolean | undefined;
1534
+ logo?: string | undefined;
1535
+ themeColor?: string | undefined;
1536
+ substrateChainId?: string | undefined;
1537
+ preserveGasEstimate?: boolean | undefined;
1538
+ feeType?: "legacy" | "eip-1559" | undefined;
1539
+ l2FeeType?: {
1540
+ type: "op-stack";
1541
+ } | {
1542
+ type: "scroll";
1543
+ l1GasPriceOracle: `0x${string}`;
1544
+ } | undefined;
1545
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1546
+ balancesConfig?: {
1547
+ "evm-native"?: undefined;
1548
+ "evm-erc20"?: undefined;
1549
+ "evm-uniswapv2"?: undefined;
1550
+ } | undefined;
1551
+ }[];
1552
+ evmNetworksById: Record<string, {
1553
+ id: string;
1554
+ name: string;
1555
+ nativeTokenId: string;
1556
+ nativeCurrency: {
1557
+ decimals: number;
1558
+ symbol: string;
1559
+ name: string;
1560
+ coingeckoId?: string | undefined;
1561
+ mirrorOf?: string | undefined;
1562
+ logo?: string | undefined;
1563
+ };
1564
+ blockExplorerUrls: string[];
1565
+ platform: "ethereum";
1566
+ rpcs: string[];
1567
+ isTestnet?: boolean | undefined;
1568
+ isDefault?: boolean | undefined;
1569
+ forceScan?: boolean | undefined;
1570
+ logo?: string | undefined;
1571
+ themeColor?: string | undefined;
1572
+ substrateChainId?: string | undefined;
1573
+ preserveGasEstimate?: boolean | undefined;
1574
+ feeType?: "legacy" | "eip-1559" | undefined;
1575
+ l2FeeType?: {
1576
+ type: "op-stack";
1577
+ } | {
1578
+ type: "scroll";
1579
+ l1GasPriceOracle: `0x${string}`;
1580
+ } | undefined;
1581
+ contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
1582
+ balancesConfig?: {
1583
+ "evm-native"?: undefined;
1584
+ "evm-erc20"?: undefined;
1585
+ "evm-uniswapv2"?: undefined;
1586
+ } | undefined;
1587
+ }>;
1588
+ tokens: ({
1589
+ id: string;
1590
+ networkId: string;
626
1591
  decimals: number;
627
1592
  symbol: string;
628
- name: string;
1593
+ type: "evm-erc20";
1594
+ platform: "ethereum";
1595
+ contractAddress: `0x${string}`;
1596
+ isDefault?: boolean | undefined;
1597
+ name?: string | undefined;
1598
+ logo?: string | undefined;
629
1599
  coingeckoId?: string | undefined;
1600
+ noDiscovery?: boolean | undefined;
630
1601
  mirrorOf?: string | undefined;
1602
+ isCustom?: boolean | undefined;
1603
+ } | {
1604
+ id: string;
1605
+ networkId: string;
1606
+ decimals: number;
1607
+ symbol: string;
1608
+ type: "evm-native";
1609
+ platform: "ethereum";
1610
+ isDefault?: boolean | undefined;
1611
+ name?: string | undefined;
631
1612
  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";
1613
+ coingeckoId?: string | undefined;
1614
+ noDiscovery?: boolean | undefined;
1615
+ mirrorOf?: string | undefined;
644
1616
  } | {
645
- type: "relay";
1617
+ id: string;
1618
+ networkId: string;
1619
+ decimals: number;
1620
+ symbol: string;
1621
+ type: "evm-uniswapv2";
1622
+ platform: "ethereum";
1623
+ contractAddress: `0x${string}`;
1624
+ symbol0: string;
1625
+ symbol1: string;
1626
+ decimals0: number;
1627
+ decimals1: number;
1628
+ tokenAddress0: `0x${string}`;
1629
+ tokenAddress1: `0x${string}`;
1630
+ isDefault?: boolean | undefined;
1631
+ name?: string | undefined;
1632
+ logo?: string | undefined;
1633
+ coingeckoId?: string | undefined;
1634
+ noDiscovery?: boolean | undefined;
1635
+ mirrorOf?: string | undefined;
1636
+ isCustom?: boolean | undefined;
1637
+ coingeckoId0?: string | undefined;
1638
+ coingeckoId1?: string | undefined;
646
1639
  } | {
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: {
1640
+ id: string;
1641
+ networkId: string;
681
1642
  decimals: number;
682
1643
  symbol: string;
683
- name: string;
1644
+ type: "substrate-assets";
1645
+ platform: "polkadot";
1646
+ assetId: string;
1647
+ existentialDeposit: string;
1648
+ isDefault?: boolean | undefined;
1649
+ name?: string | undefined;
1650
+ logo?: string | undefined;
1651
+ coingeckoId?: string | undefined;
1652
+ noDiscovery?: boolean | undefined;
1653
+ mirrorOf?: string | undefined;
1654
+ isFrozen?: boolean | undefined;
1655
+ } | {
1656
+ id: string;
1657
+ networkId: string;
1658
+ decimals: number;
1659
+ symbol: string;
1660
+ type: "substrate-foreignassets";
1661
+ platform: "polkadot";
1662
+ onChainId: string;
1663
+ existentialDeposit: string;
1664
+ isDefault?: boolean | undefined;
1665
+ name?: string | undefined;
1666
+ logo?: string | undefined;
684
1667
  coingeckoId?: string | undefined;
1668
+ noDiscovery?: boolean | undefined;
685
1669
  mirrorOf?: string | undefined;
1670
+ isFrozen?: boolean | undefined;
1671
+ } | {
1672
+ id: string;
1673
+ networkId: string;
1674
+ decimals: number;
1675
+ symbol: string;
1676
+ type: "substrate-native";
1677
+ platform: "polkadot";
1678
+ existentialDeposit: string;
1679
+ isDefault?: boolean | undefined;
1680
+ name?: string | undefined;
686
1681
  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";
1682
+ coingeckoId?: string | undefined;
1683
+ noDiscovery?: boolean | undefined;
1684
+ mirrorOf?: string | undefined;
701
1685
  } | {
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
- })[]>>;
1686
+ id: string;
1687
+ networkId: string;
1688
+ decimals: number;
1689
+ symbol: string;
1690
+ type: "substrate-psp22";
1691
+ platform: "polkadot";
1692
+ contractAddress: string;
1693
+ isDefault?: boolean | undefined;
1694
+ name?: string | undefined;
1695
+ logo?: string | undefined;
1696
+ coingeckoId?: string | undefined;
1697
+ noDiscovery?: boolean | undefined;
1698
+ mirrorOf?: string | undefined;
1699
+ } | {
1700
+ id: string;
1701
+ networkId: string;
1702
+ decimals: number;
1703
+ symbol: string;
1704
+ type: "substrate-tokens";
1705
+ platform: "polkadot";
1706
+ onChainId: string | number;
1707
+ existentialDeposit: string;
1708
+ isDefault?: boolean | undefined;
1709
+ name?: string | undefined;
1710
+ logo?: string | undefined;
1711
+ coingeckoId?: string | undefined;
1712
+ noDiscovery?: boolean | undefined;
1713
+ mirrorOf?: string | undefined;
1714
+ })[];
1715
+ tokensById: {
1716
+ [k: string]: {
1717
+ id: string;
1718
+ networkId: string;
1719
+ decimals: number;
1720
+ symbol: string;
1721
+ type: "evm-erc20";
1722
+ platform: "ethereum";
1723
+ contractAddress: `0x${string}`;
1724
+ isDefault?: boolean | undefined;
1725
+ name?: string | undefined;
1726
+ logo?: string | undefined;
1727
+ coingeckoId?: string | undefined;
1728
+ noDiscovery?: boolean | undefined;
1729
+ mirrorOf?: string | undefined;
1730
+ isCustom?: boolean | undefined;
1731
+ } | {
1732
+ id: string;
1733
+ networkId: string;
1734
+ decimals: number;
1735
+ symbol: string;
1736
+ type: "evm-native";
1737
+ platform: "ethereum";
1738
+ isDefault?: boolean | undefined;
1739
+ name?: string | undefined;
1740
+ logo?: string | undefined;
1741
+ coingeckoId?: string | undefined;
1742
+ noDiscovery?: boolean | undefined;
1743
+ mirrorOf?: string | undefined;
1744
+ } | {
1745
+ id: string;
1746
+ networkId: string;
1747
+ decimals: number;
1748
+ symbol: string;
1749
+ type: "evm-uniswapv2";
1750
+ platform: "ethereum";
1751
+ contractAddress: `0x${string}`;
1752
+ symbol0: string;
1753
+ symbol1: string;
1754
+ decimals0: number;
1755
+ decimals1: number;
1756
+ tokenAddress0: `0x${string}`;
1757
+ tokenAddress1: `0x${string}`;
1758
+ isDefault?: boolean | undefined;
1759
+ name?: string | undefined;
1760
+ logo?: string | undefined;
1761
+ coingeckoId?: string | undefined;
1762
+ noDiscovery?: boolean | undefined;
1763
+ mirrorOf?: string | undefined;
1764
+ isCustom?: boolean | undefined;
1765
+ coingeckoId0?: string | undefined;
1766
+ coingeckoId1?: string | undefined;
1767
+ } | {
1768
+ id: string;
1769
+ networkId: string;
1770
+ decimals: number;
1771
+ symbol: string;
1772
+ type: "substrate-assets";
1773
+ platform: "polkadot";
1774
+ assetId: string;
1775
+ existentialDeposit: string;
1776
+ isDefault?: boolean | undefined;
1777
+ name?: string | undefined;
1778
+ logo?: string | undefined;
1779
+ coingeckoId?: string | undefined;
1780
+ noDiscovery?: boolean | undefined;
1781
+ mirrorOf?: string | undefined;
1782
+ isFrozen?: boolean | undefined;
1783
+ } | {
1784
+ id: string;
1785
+ networkId: string;
1786
+ decimals: number;
1787
+ symbol: string;
1788
+ type: "substrate-foreignassets";
1789
+ platform: "polkadot";
1790
+ onChainId: string;
1791
+ existentialDeposit: string;
1792
+ isDefault?: boolean | undefined;
1793
+ name?: string | undefined;
1794
+ logo?: string | undefined;
1795
+ coingeckoId?: string | undefined;
1796
+ noDiscovery?: boolean | undefined;
1797
+ mirrorOf?: string | undefined;
1798
+ isFrozen?: boolean | undefined;
1799
+ } | {
1800
+ id: string;
1801
+ networkId: string;
1802
+ decimals: number;
1803
+ symbol: string;
1804
+ type: "substrate-native";
1805
+ platform: "polkadot";
1806
+ existentialDeposit: string;
1807
+ isDefault?: boolean | undefined;
1808
+ name?: string | undefined;
1809
+ logo?: string | undefined;
1810
+ coingeckoId?: string | undefined;
1811
+ noDiscovery?: boolean | undefined;
1812
+ mirrorOf?: string | undefined;
1813
+ } | {
1814
+ id: string;
1815
+ networkId: string;
1816
+ decimals: number;
1817
+ symbol: string;
1818
+ type: "substrate-psp22";
1819
+ platform: "polkadot";
1820
+ contractAddress: string;
1821
+ isDefault?: boolean | undefined;
1822
+ name?: string | undefined;
1823
+ logo?: string | undefined;
1824
+ coingeckoId?: string | undefined;
1825
+ noDiscovery?: boolean | undefined;
1826
+ mirrorOf?: string | undefined;
1827
+ } | {
1828
+ id: string;
1829
+ networkId: string;
1830
+ decimals: number;
1831
+ symbol: string;
1832
+ type: "substrate-tokens";
1833
+ platform: "polkadot";
1834
+ onChainId: string | number;
1835
+ existentialDeposit: string;
1836
+ isDefault?: boolean | undefined;
1837
+ name?: string | undefined;
1838
+ logo?: string | undefined;
1839
+ coingeckoId?: string | undefined;
1840
+ noDiscovery?: boolean | undefined;
1841
+ mirrorOf?: string | undefined;
1842
+ };
1843
+ };
1844
+ miniMetadatas: import("@talismn/balances").MiniMetadata[];
1845
+ }>>;