@talismn/balances-react 0.0.0-pr2111-20250723033812 → 0.0.0-pr2111-20250723235646
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,4 +1,4 @@
|
|
|
1
|
-
import { NetworkId, NetworkList, TokenId, TokenList } from "@talismn/chaindata-provider";
|
|
1
|
+
import { Network, NetworkId, NetworkList, Token, TokenId, TokenList } from "@talismn/chaindata-provider";
|
|
2
2
|
export declare const useChaindataProvider: () => import("@talismn/chaindata-provider").ChaindataProvider;
|
|
3
3
|
export declare const useChaindata: () => {
|
|
4
4
|
networks: ({
|
|
@@ -238,477 +238,9 @@ export declare const useChaindata: () => {
|
|
|
238
238
|
mirrorOf?: string | undefined;
|
|
239
239
|
})[];
|
|
240
240
|
};
|
|
241
|
-
export declare const useNetworks: () =>
|
|
242
|
-
id: string;
|
|
243
|
-
name: string;
|
|
244
|
-
nativeTokenId: string;
|
|
245
|
-
nativeCurrency: {
|
|
246
|
-
decimals: number;
|
|
247
|
-
symbol: string;
|
|
248
|
-
name: string;
|
|
249
|
-
coingeckoId?: string | undefined;
|
|
250
|
-
mirrorOf?: string | undefined;
|
|
251
|
-
logo?: string | undefined;
|
|
252
|
-
};
|
|
253
|
-
blockExplorerUrls: string[];
|
|
254
|
-
genesisHash: `0x${string}`;
|
|
255
|
-
platform: "polkadot";
|
|
256
|
-
chainName: string;
|
|
257
|
-
specName: string;
|
|
258
|
-
specVersion: number;
|
|
259
|
-
account: "secp256k1" | "*25519";
|
|
260
|
-
prefix: number;
|
|
261
|
-
rpcs: string[];
|
|
262
|
-
topology: {
|
|
263
|
-
type: "standalone";
|
|
264
|
-
} | {
|
|
265
|
-
type: "relay";
|
|
266
|
-
} | {
|
|
267
|
-
type: "parachain";
|
|
268
|
-
relayId: string;
|
|
269
|
-
paraId: number;
|
|
270
|
-
};
|
|
271
|
-
isTestnet?: boolean | undefined;
|
|
272
|
-
isDefault?: boolean | undefined;
|
|
273
|
-
forceScan?: boolean | undefined;
|
|
274
|
-
logo?: string | undefined;
|
|
275
|
-
themeColor?: string | undefined;
|
|
276
|
-
chainspecQrUrl?: string | undefined;
|
|
277
|
-
latestMetadataQrUrl?: string | undefined;
|
|
278
|
-
oldPrefix?: number | undefined;
|
|
279
|
-
registryTypes?: any;
|
|
280
|
-
signedExtensions?: any;
|
|
281
|
-
hasCheckMetadataHash?: boolean | undefined;
|
|
282
|
-
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
283
|
-
isUnknownFeeToken?: boolean | undefined;
|
|
284
|
-
balancesConfig?: {
|
|
285
|
-
"substrate-native"?: {
|
|
286
|
-
disable?: boolean | undefined;
|
|
287
|
-
} | undefined;
|
|
288
|
-
"substrate-assets"?: undefined;
|
|
289
|
-
"substrate-psp22"?: undefined;
|
|
290
|
-
"substrate-tokens"?: {
|
|
291
|
-
palletId?: string | undefined;
|
|
292
|
-
} | undefined;
|
|
293
|
-
"substrate-foreignassets"?: undefined;
|
|
294
|
-
"substrate-hydration"?: undefined;
|
|
295
|
-
} | undefined;
|
|
296
|
-
} | {
|
|
297
|
-
id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
nativeTokenId: string;
|
|
300
|
-
nativeCurrency: {
|
|
301
|
-
decimals: number;
|
|
302
|
-
symbol: string;
|
|
303
|
-
name: string;
|
|
304
|
-
coingeckoId?: string | undefined;
|
|
305
|
-
mirrorOf?: string | undefined;
|
|
306
|
-
logo?: string | undefined;
|
|
307
|
-
};
|
|
308
|
-
blockExplorerUrls: string[];
|
|
309
|
-
platform: "ethereum";
|
|
310
|
-
rpcs: string[];
|
|
311
|
-
isTestnet?: boolean | undefined;
|
|
312
|
-
isDefault?: boolean | undefined;
|
|
313
|
-
forceScan?: boolean | undefined;
|
|
314
|
-
logo?: string | undefined;
|
|
315
|
-
themeColor?: string | undefined;
|
|
316
|
-
substrateChainId?: string | undefined;
|
|
317
|
-
preserveGasEstimate?: boolean | undefined;
|
|
318
|
-
feeType?: "legacy" | "eip-1559" | undefined;
|
|
319
|
-
l2FeeType?: {
|
|
320
|
-
type: "op-stack";
|
|
321
|
-
} | {
|
|
322
|
-
type: "scroll";
|
|
323
|
-
l1GasPriceOracle: `0x${string}`;
|
|
324
|
-
} | undefined;
|
|
325
|
-
contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
|
|
326
|
-
balancesConfig?: {
|
|
327
|
-
"evm-native"?: undefined;
|
|
328
|
-
"evm-erc20"?: undefined;
|
|
329
|
-
"evm-uniswapv2"?: undefined;
|
|
330
|
-
} | undefined;
|
|
331
|
-
})[];
|
|
241
|
+
export declare const useNetworks: () => Network[];
|
|
332
242
|
export declare const useNetworksById: () => NetworkList;
|
|
333
|
-
export declare const useNetwork: (networkId?: NetworkId) =>
|
|
334
|
-
|
|
335
|
-
name: string;
|
|
336
|
-
nativeTokenId: string;
|
|
337
|
-
nativeCurrency: {
|
|
338
|
-
decimals: number;
|
|
339
|
-
symbol: string;
|
|
340
|
-
name: string;
|
|
341
|
-
coingeckoId?: string | undefined;
|
|
342
|
-
mirrorOf?: string | undefined;
|
|
343
|
-
logo?: string | undefined;
|
|
344
|
-
};
|
|
345
|
-
blockExplorerUrls: string[];
|
|
346
|
-
genesisHash: `0x${string}`;
|
|
347
|
-
platform: "polkadot";
|
|
348
|
-
chainName: string;
|
|
349
|
-
specName: string;
|
|
350
|
-
specVersion: number;
|
|
351
|
-
account: "secp256k1" | "*25519";
|
|
352
|
-
prefix: number;
|
|
353
|
-
rpcs: string[];
|
|
354
|
-
topology: {
|
|
355
|
-
type: "standalone";
|
|
356
|
-
} | {
|
|
357
|
-
type: "relay";
|
|
358
|
-
} | {
|
|
359
|
-
type: "parachain";
|
|
360
|
-
relayId: string;
|
|
361
|
-
paraId: number;
|
|
362
|
-
};
|
|
363
|
-
isTestnet?: boolean | undefined;
|
|
364
|
-
isDefault?: boolean | undefined;
|
|
365
|
-
forceScan?: boolean | undefined;
|
|
366
|
-
logo?: string | undefined;
|
|
367
|
-
themeColor?: string | undefined;
|
|
368
|
-
chainspecQrUrl?: string | undefined;
|
|
369
|
-
latestMetadataQrUrl?: string | undefined;
|
|
370
|
-
oldPrefix?: number | undefined;
|
|
371
|
-
registryTypes?: any;
|
|
372
|
-
signedExtensions?: any;
|
|
373
|
-
hasCheckMetadataHash?: boolean | undefined;
|
|
374
|
-
hasExtrinsicSignatureTypePrefix?: boolean | undefined;
|
|
375
|
-
isUnknownFeeToken?: boolean | undefined;
|
|
376
|
-
balancesConfig?: {
|
|
377
|
-
"substrate-native"?: {
|
|
378
|
-
disable?: boolean | undefined;
|
|
379
|
-
} | undefined;
|
|
380
|
-
"substrate-assets"?: undefined;
|
|
381
|
-
"substrate-psp22"?: undefined;
|
|
382
|
-
"substrate-tokens"?: {
|
|
383
|
-
palletId?: string | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
"substrate-foreignassets"?: undefined;
|
|
386
|
-
"substrate-hydration"?: undefined;
|
|
387
|
-
} | undefined;
|
|
388
|
-
} | {
|
|
389
|
-
id: string;
|
|
390
|
-
name: string;
|
|
391
|
-
nativeTokenId: string;
|
|
392
|
-
nativeCurrency: {
|
|
393
|
-
decimals: number;
|
|
394
|
-
symbol: string;
|
|
395
|
-
name: string;
|
|
396
|
-
coingeckoId?: string | undefined;
|
|
397
|
-
mirrorOf?: string | undefined;
|
|
398
|
-
logo?: string | undefined;
|
|
399
|
-
};
|
|
400
|
-
blockExplorerUrls: string[];
|
|
401
|
-
platform: "ethereum";
|
|
402
|
-
rpcs: string[];
|
|
403
|
-
isTestnet?: boolean | undefined;
|
|
404
|
-
isDefault?: boolean | undefined;
|
|
405
|
-
forceScan?: boolean | undefined;
|
|
406
|
-
logo?: string | undefined;
|
|
407
|
-
themeColor?: string | undefined;
|
|
408
|
-
substrateChainId?: string | undefined;
|
|
409
|
-
preserveGasEstimate?: boolean | undefined;
|
|
410
|
-
feeType?: "legacy" | "eip-1559" | undefined;
|
|
411
|
-
l2FeeType?: {
|
|
412
|
-
type: "op-stack";
|
|
413
|
-
} | {
|
|
414
|
-
type: "scroll";
|
|
415
|
-
l1GasPriceOracle: `0x${string}`;
|
|
416
|
-
} | undefined;
|
|
417
|
-
contracts?: Partial<Record<"Erc20Aggregator" | "Multicall3", `0x${string}`>> | undefined;
|
|
418
|
-
balancesConfig?: {
|
|
419
|
-
"evm-native"?: undefined;
|
|
420
|
-
"evm-erc20"?: undefined;
|
|
421
|
-
"evm-uniswapv2"?: undefined;
|
|
422
|
-
} | undefined;
|
|
423
|
-
};
|
|
424
|
-
export declare const useTokens: () => ({
|
|
425
|
-
id: string;
|
|
426
|
-
networkId: string;
|
|
427
|
-
decimals: number;
|
|
428
|
-
symbol: string;
|
|
429
|
-
type: "evm-erc20";
|
|
430
|
-
platform: "ethereum";
|
|
431
|
-
contractAddress: `0x${string}`;
|
|
432
|
-
isDefault?: boolean | undefined;
|
|
433
|
-
name?: string | undefined;
|
|
434
|
-
logo?: string | undefined;
|
|
435
|
-
coingeckoId?: string | undefined;
|
|
436
|
-
noDiscovery?: boolean | undefined;
|
|
437
|
-
mirrorOf?: string | undefined;
|
|
438
|
-
} | {
|
|
439
|
-
id: string;
|
|
440
|
-
networkId: string;
|
|
441
|
-
decimals: number;
|
|
442
|
-
symbol: string;
|
|
443
|
-
type: "evm-native";
|
|
444
|
-
platform: "ethereum";
|
|
445
|
-
isDefault?: boolean | undefined;
|
|
446
|
-
name?: string | undefined;
|
|
447
|
-
logo?: string | undefined;
|
|
448
|
-
coingeckoId?: string | undefined;
|
|
449
|
-
noDiscovery?: boolean | undefined;
|
|
450
|
-
mirrorOf?: string | undefined;
|
|
451
|
-
} | {
|
|
452
|
-
id: string;
|
|
453
|
-
networkId: string;
|
|
454
|
-
decimals: number;
|
|
455
|
-
symbol: string;
|
|
456
|
-
type: "evm-uniswapv2";
|
|
457
|
-
platform: "ethereum";
|
|
458
|
-
contractAddress: `0x${string}`;
|
|
459
|
-
symbol0: string;
|
|
460
|
-
symbol1: string;
|
|
461
|
-
decimals0: number;
|
|
462
|
-
decimals1: number;
|
|
463
|
-
tokenAddress0: `0x${string}`;
|
|
464
|
-
tokenAddress1: `0x${string}`;
|
|
465
|
-
isDefault?: boolean | undefined;
|
|
466
|
-
name?: string | undefined;
|
|
467
|
-
logo?: string | undefined;
|
|
468
|
-
coingeckoId?: string | undefined;
|
|
469
|
-
noDiscovery?: boolean | undefined;
|
|
470
|
-
mirrorOf?: string | undefined;
|
|
471
|
-
isCustom?: boolean | undefined;
|
|
472
|
-
coingeckoId0?: string | undefined;
|
|
473
|
-
coingeckoId1?: string | undefined;
|
|
474
|
-
} | {
|
|
475
|
-
id: string;
|
|
476
|
-
networkId: string;
|
|
477
|
-
decimals: number;
|
|
478
|
-
symbol: string;
|
|
479
|
-
type: "substrate-assets";
|
|
480
|
-
platform: "polkadot";
|
|
481
|
-
assetId: string;
|
|
482
|
-
isSufficient: boolean;
|
|
483
|
-
existentialDeposit: 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
|
-
isFrozen?: boolean | undefined;
|
|
491
|
-
} | {
|
|
492
|
-
id: string;
|
|
493
|
-
networkId: string;
|
|
494
|
-
decimals: number;
|
|
495
|
-
symbol: string;
|
|
496
|
-
type: "substrate-foreignassets";
|
|
497
|
-
platform: "polkadot";
|
|
498
|
-
onChainId: string;
|
|
499
|
-
isSufficient: boolean;
|
|
500
|
-
existentialDeposit: string;
|
|
501
|
-
isDefault?: boolean | undefined;
|
|
502
|
-
name?: string | undefined;
|
|
503
|
-
logo?: string | undefined;
|
|
504
|
-
coingeckoId?: string | undefined;
|
|
505
|
-
noDiscovery?: boolean | undefined;
|
|
506
|
-
mirrorOf?: string | undefined;
|
|
507
|
-
isFrozen?: boolean | undefined;
|
|
508
|
-
} | {
|
|
509
|
-
id: string;
|
|
510
|
-
networkId: string;
|
|
511
|
-
decimals: number;
|
|
512
|
-
symbol: string;
|
|
513
|
-
type: "substrate-native";
|
|
514
|
-
platform: "polkadot";
|
|
515
|
-
existentialDeposit: string;
|
|
516
|
-
isDefault?: boolean | undefined;
|
|
517
|
-
name?: string | undefined;
|
|
518
|
-
logo?: string | undefined;
|
|
519
|
-
coingeckoId?: string | undefined;
|
|
520
|
-
noDiscovery?: boolean | undefined;
|
|
521
|
-
mirrorOf?: string | undefined;
|
|
522
|
-
} | {
|
|
523
|
-
id: string;
|
|
524
|
-
networkId: string;
|
|
525
|
-
decimals: number;
|
|
526
|
-
symbol: string;
|
|
527
|
-
type: "substrate-psp22";
|
|
528
|
-
platform: "polkadot";
|
|
529
|
-
contractAddress: string;
|
|
530
|
-
isDefault?: boolean | undefined;
|
|
531
|
-
name?: string | undefined;
|
|
532
|
-
logo?: string | undefined;
|
|
533
|
-
coingeckoId?: string | undefined;
|
|
534
|
-
noDiscovery?: boolean | undefined;
|
|
535
|
-
mirrorOf?: string | undefined;
|
|
536
|
-
} | {
|
|
537
|
-
id: string;
|
|
538
|
-
networkId: string;
|
|
539
|
-
decimals: number;
|
|
540
|
-
symbol: string;
|
|
541
|
-
type: "substrate-tokens";
|
|
542
|
-
platform: "polkadot";
|
|
543
|
-
onChainId: string | number;
|
|
544
|
-
existentialDeposit: string;
|
|
545
|
-
isDefault?: boolean | undefined;
|
|
546
|
-
name?: string | undefined;
|
|
547
|
-
logo?: string | undefined;
|
|
548
|
-
coingeckoId?: string | undefined;
|
|
549
|
-
noDiscovery?: boolean | undefined;
|
|
550
|
-
mirrorOf?: string | undefined;
|
|
551
|
-
} | {
|
|
552
|
-
id: string;
|
|
553
|
-
networkId: string;
|
|
554
|
-
decimals: number;
|
|
555
|
-
symbol: string;
|
|
556
|
-
type: "substrate-hydration";
|
|
557
|
-
platform: "polkadot";
|
|
558
|
-
onChainId: number;
|
|
559
|
-
assetType: "Token" | "Erc20" | "External";
|
|
560
|
-
isSufficient: boolean;
|
|
561
|
-
existentialDeposit: string;
|
|
562
|
-
isDefault?: boolean | undefined;
|
|
563
|
-
name?: string | undefined;
|
|
564
|
-
logo?: string | undefined;
|
|
565
|
-
coingeckoId?: string | undefined;
|
|
566
|
-
noDiscovery?: boolean | undefined;
|
|
567
|
-
mirrorOf?: string | undefined;
|
|
568
|
-
})[];
|
|
243
|
+
export declare const useNetwork: (networkId?: NetworkId) => Network | null;
|
|
244
|
+
export declare const useTokens: () => Token[];
|
|
569
245
|
export declare const useTokensById: () => TokenList;
|
|
570
|
-
export declare const useToken: (tokenId?: TokenId) =>
|
|
571
|
-
id: string;
|
|
572
|
-
networkId: string;
|
|
573
|
-
decimals: number;
|
|
574
|
-
symbol: string;
|
|
575
|
-
type: "evm-erc20";
|
|
576
|
-
platform: "ethereum";
|
|
577
|
-
contractAddress: `0x${string}`;
|
|
578
|
-
isDefault?: boolean | undefined;
|
|
579
|
-
name?: string | undefined;
|
|
580
|
-
logo?: string | undefined;
|
|
581
|
-
coingeckoId?: string | undefined;
|
|
582
|
-
noDiscovery?: boolean | undefined;
|
|
583
|
-
mirrorOf?: string | undefined;
|
|
584
|
-
} | {
|
|
585
|
-
id: string;
|
|
586
|
-
networkId: string;
|
|
587
|
-
decimals: number;
|
|
588
|
-
symbol: string;
|
|
589
|
-
type: "evm-native";
|
|
590
|
-
platform: "ethereum";
|
|
591
|
-
isDefault?: boolean | undefined;
|
|
592
|
-
name?: string | undefined;
|
|
593
|
-
logo?: string | undefined;
|
|
594
|
-
coingeckoId?: string | undefined;
|
|
595
|
-
noDiscovery?: boolean | undefined;
|
|
596
|
-
mirrorOf?: string | undefined;
|
|
597
|
-
} | {
|
|
598
|
-
id: string;
|
|
599
|
-
networkId: string;
|
|
600
|
-
decimals: number;
|
|
601
|
-
symbol: string;
|
|
602
|
-
type: "evm-uniswapv2";
|
|
603
|
-
platform: "ethereum";
|
|
604
|
-
contractAddress: `0x${string}`;
|
|
605
|
-
symbol0: string;
|
|
606
|
-
symbol1: string;
|
|
607
|
-
decimals0: number;
|
|
608
|
-
decimals1: number;
|
|
609
|
-
tokenAddress0: `0x${string}`;
|
|
610
|
-
tokenAddress1: `0x${string}`;
|
|
611
|
-
isDefault?: boolean | undefined;
|
|
612
|
-
name?: string | undefined;
|
|
613
|
-
logo?: string | undefined;
|
|
614
|
-
coingeckoId?: string | undefined;
|
|
615
|
-
noDiscovery?: boolean | undefined;
|
|
616
|
-
mirrorOf?: string | undefined;
|
|
617
|
-
isCustom?: boolean | undefined;
|
|
618
|
-
coingeckoId0?: string | undefined;
|
|
619
|
-
coingeckoId1?: string | undefined;
|
|
620
|
-
} | {
|
|
621
|
-
id: string;
|
|
622
|
-
networkId: string;
|
|
623
|
-
decimals: number;
|
|
624
|
-
symbol: string;
|
|
625
|
-
type: "substrate-assets";
|
|
626
|
-
platform: "polkadot";
|
|
627
|
-
assetId: string;
|
|
628
|
-
isSufficient: boolean;
|
|
629
|
-
existentialDeposit: string;
|
|
630
|
-
isDefault?: boolean | undefined;
|
|
631
|
-
name?: string | undefined;
|
|
632
|
-
logo?: string | undefined;
|
|
633
|
-
coingeckoId?: string | undefined;
|
|
634
|
-
noDiscovery?: boolean | undefined;
|
|
635
|
-
mirrorOf?: string | undefined;
|
|
636
|
-
isFrozen?: boolean | undefined;
|
|
637
|
-
} | {
|
|
638
|
-
id: string;
|
|
639
|
-
networkId: string;
|
|
640
|
-
decimals: number;
|
|
641
|
-
symbol: string;
|
|
642
|
-
type: "substrate-foreignassets";
|
|
643
|
-
platform: "polkadot";
|
|
644
|
-
onChainId: string;
|
|
645
|
-
isSufficient: boolean;
|
|
646
|
-
existentialDeposit: string;
|
|
647
|
-
isDefault?: boolean | undefined;
|
|
648
|
-
name?: string | undefined;
|
|
649
|
-
logo?: string | undefined;
|
|
650
|
-
coingeckoId?: string | undefined;
|
|
651
|
-
noDiscovery?: boolean | undefined;
|
|
652
|
-
mirrorOf?: string | undefined;
|
|
653
|
-
isFrozen?: boolean | undefined;
|
|
654
|
-
} | {
|
|
655
|
-
id: string;
|
|
656
|
-
networkId: string;
|
|
657
|
-
decimals: number;
|
|
658
|
-
symbol: string;
|
|
659
|
-
type: "substrate-native";
|
|
660
|
-
platform: "polkadot";
|
|
661
|
-
existentialDeposit: string;
|
|
662
|
-
isDefault?: boolean | undefined;
|
|
663
|
-
name?: string | undefined;
|
|
664
|
-
logo?: string | undefined;
|
|
665
|
-
coingeckoId?: string | undefined;
|
|
666
|
-
noDiscovery?: boolean | undefined;
|
|
667
|
-
mirrorOf?: string | undefined;
|
|
668
|
-
} | {
|
|
669
|
-
id: string;
|
|
670
|
-
networkId: string;
|
|
671
|
-
decimals: number;
|
|
672
|
-
symbol: string;
|
|
673
|
-
type: "substrate-psp22";
|
|
674
|
-
platform: "polkadot";
|
|
675
|
-
contractAddress: string;
|
|
676
|
-
isDefault?: boolean | undefined;
|
|
677
|
-
name?: string | undefined;
|
|
678
|
-
logo?: string | undefined;
|
|
679
|
-
coingeckoId?: string | undefined;
|
|
680
|
-
noDiscovery?: boolean | undefined;
|
|
681
|
-
mirrorOf?: string | undefined;
|
|
682
|
-
} | {
|
|
683
|
-
id: string;
|
|
684
|
-
networkId: string;
|
|
685
|
-
decimals: number;
|
|
686
|
-
symbol: string;
|
|
687
|
-
type: "substrate-tokens";
|
|
688
|
-
platform: "polkadot";
|
|
689
|
-
onChainId: string | number;
|
|
690
|
-
existentialDeposit: string;
|
|
691
|
-
isDefault?: boolean | undefined;
|
|
692
|
-
name?: string | undefined;
|
|
693
|
-
logo?: string | undefined;
|
|
694
|
-
coingeckoId?: string | undefined;
|
|
695
|
-
noDiscovery?: boolean | undefined;
|
|
696
|
-
mirrorOf?: string | undefined;
|
|
697
|
-
} | {
|
|
698
|
-
id: string;
|
|
699
|
-
networkId: string;
|
|
700
|
-
decimals: number;
|
|
701
|
-
symbol: string;
|
|
702
|
-
type: "substrate-hydration";
|
|
703
|
-
platform: "polkadot";
|
|
704
|
-
onChainId: number;
|
|
705
|
-
assetType: "Token" | "Erc20" | "External";
|
|
706
|
-
isSufficient: boolean;
|
|
707
|
-
existentialDeposit: string;
|
|
708
|
-
isDefault?: boolean | undefined;
|
|
709
|
-
name?: string | undefined;
|
|
710
|
-
logo?: string | undefined;
|
|
711
|
-
coingeckoId?: string | undefined;
|
|
712
|
-
noDiscovery?: boolean | undefined;
|
|
713
|
-
mirrorOf?: string | undefined;
|
|
714
|
-
};
|
|
246
|
+
export declare const useToken: (tokenId?: TokenId) => Token | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talismn/balances-react",
|
|
3
|
-
"version": "0.0.0-pr2111-
|
|
3
|
+
"version": "0.0.0-pr2111-20250723235646",
|
|
4
4
|
"author": "Talisman",
|
|
5
5
|
"homepage": "https://talisman.xyz",
|
|
6
6
|
"license": "GPL-3.0-or-later",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"lodash-es": "4.17.21",
|
|
31
31
|
"react-use": "^17.5.1",
|
|
32
32
|
"rxjs": "^7.8.1",
|
|
33
|
+
"@talismn/balances": "0.0.0-pr2111-20250723235646",
|
|
33
34
|
"@talismn/chain-connector": "1.0.0",
|
|
34
|
-
"@talismn/balances": "0.0.0-pr2111-20250723033812",
|
|
35
35
|
"@talismn/chain-connector-evm": "1.0.0",
|
|
36
36
|
"@talismn/chaindata-provider": "1.0.0",
|
|
37
37
|
"@talismn/connection-meta": "0.2.18",
|