@chainstream-io/sdk 0.2.7 → 0.2.9

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.
@@ -605,6 +605,38 @@ interface TopTradersPage {
605
605
  /** DTO.TRADE.TOP_TRADERS.PAGE.DATA */
606
606
  data: TopTradersDTO[];
607
607
  }
608
+ type TraderPnlResolution = (typeof TraderPnlResolution)[keyof typeof TraderPnlResolution];
609
+ declare const TraderPnlResolution: {
610
+ readonly "1d": "1d";
611
+ readonly "7d": "7d";
612
+ readonly "30d": "30d";
613
+ };
614
+ interface TraderGainersLosersItemDTO {
615
+ /** GLOBAL.CHAIN.DESCRIPTION */
616
+ chain: ChainSymbol;
617
+ /** DTO.TRADER.GAINERS_LOSERS.ITEM.ADDRESS */
618
+ address: string;
619
+ /** DTO.TRADER.GAINERS_LOSERS.ITEM.PNL */
620
+ pnl: string;
621
+ /** DTO.TRADER.GAINERS_LOSERS.ITEM.TRADE_COUNT */
622
+ tradeCount: string;
623
+ /** DTO.TRADER.GAINERS_LOSERS.ITEM.VOLUME */
624
+ volume: string;
625
+ }
626
+ interface TraderGainersLosersPage {
627
+ /** DTO.PAGE.HAS_NEXT */
628
+ hasNext?: boolean;
629
+ /** DTO.PAGE.HAS_PREV */
630
+ hasPrev?: boolean;
631
+ /** DTO.PAGE.START_CURSOR */
632
+ startCursor?: string;
633
+ /** DTO.PAGE.END_CURSOR */
634
+ endCursor?: string;
635
+ /** DTO.PAGE.TOTAL */
636
+ total?: number;
637
+ /** DTO.TRADE.GAINERS_LOSERS.PAGE.DATA */
638
+ data: TraderGainersLosersItemDTO[];
639
+ }
608
640
  interface TokenCreatorsDTO {
609
641
  /** DTO.TOKEN.CREATORS.ADDRESS */
610
642
  address?: string;
@@ -685,267 +717,23 @@ interface TokenSocialMediasDTO {
685
717
  /** DTO.TOKEN.SOCIAL_MEDIAS.BITBUCKET */
686
718
  bitbucket?: string;
687
719
  }
720
+ /**
721
+ * DTO.TOKEN.TRADE_STAT.PERIODS
722
+ */
723
+ type TokenStatPeriods = {
724
+ [key: string]: unknown;
725
+ };
688
726
  interface TokenStat {
689
727
  /** DTO.TOKEN.STAT.ADDRESS */
690
728
  address: string;
691
- /** DTO.TOKEN.STAT.PRICE_1M */
692
- price1m: string;
693
- /** DTO.TOKEN.STAT.BUYS_1M */
694
- buys1m: string;
695
- /** DTO.TOKEN.STAT.SELLS_1M */
696
- sells1m: string;
697
- /** DTO.TOKEN.STAT.BUY_VOLUMES_1M */
698
- buyVolumes1m: string;
699
- /** DTO.TOKEN.STAT.SELL_VOLUMES_1M */
700
- sellsVolumes1m: string;
701
- /** DTO.TOKEN.STAT.VOLUMES_1M */
702
- volumes1m: string;
703
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_1M */
704
- buyVolumesInUsd1m: string;
705
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_1M */
706
- sellVolumesInUsd1m: string;
707
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_1M */
708
- volumesInUsd1m: string;
709
- /** DTO.TOKEN.STAT.BUYERS_1M */
710
- buyers1m?: string;
711
- /** DTO.TOKEN.STAT.SELLERS_1M */
712
- sellers1m?: string;
713
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_1M */
714
- openPriceInUsd1m: string;
715
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_1M */
716
- closePriceInUsd1m: string;
717
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_1M */
718
- priceChangeRatioInUsd1m: string;
719
- /** DTO.TOKEN.STAT.TRADES_1M */
720
- trades1m: string;
721
- /** DTO.TOKEN.STAT.TRADERS_1M */
722
- traders1m?: string;
723
- /** DTO.TOKEN.STAT.HIGH_IN_USD_1M */
724
- highInUsd1m?: string;
725
- /** DTO.TOKEN.STAT.LOW_IN_USD_1M */
726
- lowInUsd1m?: string;
727
- /** DTO.TOKEN.STAT.PRICE_5M */
728
- price5m: string;
729
- /** DTO.TOKEN.STAT.BUYS_5M */
730
- buys5m: string;
731
- /** DTO.TOKEN.STAT.SELLS_5M */
732
- sells5m: string;
733
- /** DTO.TOKEN.STAT.BUY_VOLUMES_5M */
734
- buyVolumes5m: string;
735
- /** DTO.TOKEN.STAT.SELL_VOLUMES_5M */
736
- sellsVolumes5m: string;
737
- /** DTO.TOKEN.STAT.VOLUMES_5M */
738
- volumes5m: string;
739
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_5M */
740
- buyVolumesInUsd5m: string;
741
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_5M */
742
- sellVolumesInUsd5m: string;
743
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_5M */
744
- volumesInUsd5m: string;
745
- /** DTO.TOKEN.STAT.BUYERS_5M */
746
- buyers5m?: string;
747
- /** DTO.TOKEN.STAT.SELLERS_5M */
748
- sellers5m?: string;
749
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_5M */
750
- openPriceInUsd5m: string;
751
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_5M */
752
- closePriceInUsd5m: string;
753
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_5M */
754
- priceChangeRatioInUsd5m: string;
755
- /** DTO.TOKEN.STAT.TRADES_5M */
756
- trades5m: string;
757
- /** DTO.TOKEN.STAT.TRADERS_5M */
758
- traders5m?: string;
759
- /** DTO.TOKEN.STAT.HIGH_IN_USD_5M */
760
- highInUsd5m?: string;
761
- /** DTO.TOKEN.STAT.LOW_IN_USD_5M */
762
- lowInUsd5m?: string;
763
- /** DTO.TOKEN.STAT.PRICE_15M */
764
- price15m?: string;
765
- /** DTO.TOKEN.STAT.BUYS_15M */
766
- buys15m?: string;
767
- /** DTO.TOKEN.STAT.SELLS_15M */
768
- sells15m?: string;
769
- /** DTO.TOKEN.STAT.BUY_VOLUMES_15M */
770
- buyVolumes15m?: string;
771
- /** DTO.TOKEN.STAT.SELL_VOLUMES_15M */
772
- sellsVolumes15m?: string;
773
- /** DTO.TOKEN.STAT.VOLUMES_15M */
774
- volumes15m?: string;
775
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_15M */
776
- buyVolumesInUsd15m?: string;
777
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_15M */
778
- sellVolumesInUsd15m?: string;
779
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_15M */
780
- volumesInUsd15m?: string;
781
- /** DTO.TOKEN.STAT.BUYERS_15M */
782
- buyers15m?: string;
783
- /** DTO.TOKEN.STAT.SELLERS_15M */
784
- sellers15m?: string;
785
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_15M */
786
- openPriceInUsd15m?: string;
787
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_15M */
788
- closePriceInUsd15m?: string;
789
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_15M */
790
- priceChangeRatioInUsd15m?: string;
791
- /** DTO.TOKEN.STAT.TRADES_15M */
792
- trades15m?: string;
793
- /** DTO.TOKEN.STAT.TRADERS_15M */
794
- traders15m?: string;
795
- /** DTO.TOKEN.STAT.HIGH_IN_USD_15M */
796
- highInUsd15m?: string;
797
- /** DTO.TOKEN.STAT.LOW_IN_USD_15M */
798
- lowInUsd15m?: string;
799
- /** DTO.TOKEN.STAT.PRICE_30M */
800
- price30m: string;
801
- /** DTO.TOKEN.STAT.BUYS_30M */
802
- buys30m: string;
803
- /** DTO.TOKEN.STAT.SELLS_30M */
804
- sells30m: string;
805
- /** DTO.TOKEN.STAT.BUY_VOLUMES_30M */
806
- buyVolumes30m: string;
807
- /** DTO.TOKEN.STAT.SELL_VOLUMES_30M */
808
- sellsVolumes30m: string;
809
- /** DTO.TOKEN.STAT.VOLUMES_30M */
810
- volumes30m: string;
811
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_30M */
812
- buyVolumesInUsd30m: string;
813
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_30M */
814
- sellVolumesInUsd30m: string;
815
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_30M */
816
- volumesInUsd30m: string;
817
- /** DTO.TOKEN.STAT.BUYERS_30M */
818
- buyers30m?: string;
819
- /** DTO.TOKEN.STAT.SELLERS_30M */
820
- sellers30m?: string;
821
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_30M */
822
- openPriceInUsd30m: string;
823
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_30M */
824
- closePriceInUsd30m: string;
825
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_30M */
826
- priceChangeRatioInUsd30m: string;
827
- /** DTO.TOKEN.STAT.TRADES_30M */
828
- trades30m: string;
829
- /** DTO.TOKEN.STAT.TRADERS_30M */
830
- traders30m?: string;
831
- /** DTO.TOKEN.STAT.HIGH_IN_USD_30M */
832
- highInUsd30m?: string;
833
- /** DTO.TOKEN.STAT.LOW_IN_USD_30M */
834
- lowInUsd30m?: string;
835
- /** DTO.TOKEN.STAT.PRICE_1H */
836
- price1h: string;
837
- /** DTO.TOKEN.STAT.BUYS_1H */
838
- buys1h: string;
839
- /** DTO.TOKEN.STAT.SELLS_1H */
840
- sells1h: string;
841
- /** DTO.TOKEN.STAT.BUY_VOLUMES_1H */
842
- buyVolumes1h: string;
843
- /** DTO.TOKEN.STAT.SELL_VOLUMES_1H */
844
- sellsVolumes1h: string;
845
- /** DTO.TOKEN.STAT.VOLUMES_1H */
846
- volumes1h: string;
847
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_1H */
848
- buyVolumesInUsd1h: string;
849
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_1H */
850
- sellVolumesInUsd1h: string;
851
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_1H */
852
- volumesInUsd1h: string;
853
- /** DTO.TOKEN.STAT.BUYERS_1H */
854
- buyers1h?: string;
855
- /** DTO.TOKEN.STAT.SELLERS_1H */
856
- sellers1h?: string;
857
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_1H */
858
- openPriceInUsd1h: string;
859
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_1H */
860
- closePriceInUsd1h: string;
861
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_1H */
862
- priceChangeRatioInUsd1h: string;
863
- /** DTO.TOKEN.STAT.TRADES_1H */
864
- trades1h: string;
865
- /** DTO.TOKEN.STAT.TRADERS_1H */
866
- traders1h?: string;
867
- /** DTO.TOKEN.STAT.HIGH_IN_USD_1H */
868
- highInUsd1h?: string;
869
- /** DTO.TOKEN.STAT.LOW_IN_USD_1H */
870
- lowInUsd1h?: string;
871
- /** DTO.TOKEN.STAT.PRICE_4H */
872
- price4h: string;
873
- /** DTO.TOKEN.STAT.BUYS_4H */
874
- buys4h: string;
875
- /** DTO.TOKEN.STAT.SELLS_4H */
876
- sells4h: string;
877
- /** DTO.TOKEN.STAT.BUY_VOLUMES_4H */
878
- buyVolumes4h: string;
879
- /** DTO.TOKEN.STAT.SELL_VOLUMES_4H */
880
- sellsVolumes4h: string;
881
- /** DTO.TOKEN.STAT.VOLUMES_4H */
882
- volumes4h: string;
883
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_4H */
884
- buyVolumesInUsd4h: string;
885
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_4H */
886
- sellVolumesInUsd4h: string;
887
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_4H */
888
- volumesInUsd4h: string;
889
- /** DTO.TOKEN.STAT.BUYERS_4H */
890
- buyers4h?: string;
891
- /** DTO.TOKEN.STAT.SELLERS_4H */
892
- sellers4h?: string;
893
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_4H */
894
- openPriceInUsd4h: string;
895
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_4H */
896
- closePriceInUsd4h: string;
897
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_4H */
898
- priceChangeRatioInUsd4h: string;
899
- /** DTO.TOKEN.STAT.TRADES_4H */
900
- trades4h: string;
901
- /** DTO.TOKEN.STAT.TRADERS_4H */
902
- traders4h?: string;
903
- /** DTO.TOKEN.STAT.HIGH_IN_USD_4H */
904
- highInUsd4h?: string;
905
- /** DTO.TOKEN.STAT.LOW_IN_USD_4H */
906
- lowInUsd4h?: string;
907
- /** DTO.TOKEN.STAT.PRICE_24H */
908
- price24h: string;
909
- /** DTO.TOKEN.STAT.BUYS_24H */
910
- buys24h: string;
911
- /** DTO.TOKEN.STAT.SELLS_24H */
912
- sells24h: string;
913
- /** DTO.TOKEN.STAT.BUY_VOLUMES_24H */
914
- buyVolumes24h: string;
915
- /** DTO.TOKEN.STAT.SELL_VOLUMES_24H */
916
- sellsVolumes24h: string;
917
- /** DTO.TOKEN.STAT.VOLUMES_24H */
918
- volumes24h: string;
919
- /** DTO.TOKEN.STAT.BUY_VOLUMES_IN_USD_24H */
920
- buyVolumesInUsd24h: string;
921
- /** DTO.TOKEN.STAT.SELL_VOLUMES_IN_USD_24H */
922
- sellVolumesInUsd24h: string;
923
- /** DTO.TOKEN.STAT.VOLUMES_IN_USD_24H */
924
- volumesInUsd24h: string;
925
- /** DTO.TOKEN.STAT.BUYERS_24H */
926
- buyers24h?: string;
927
- /** DTO.TOKEN.STAT.SELLERS_24H */
928
- sellers24h?: string;
929
- /** DTO.TOKEN.STAT.OPEN_PRICE_IN_USD_24H */
930
- openPriceInUsd24h: string;
931
- /** DTO.TOKEN.STAT.CLOSE_PRICE_IN_USD_24H */
932
- closePriceInUsd24h: string;
933
- /** DTO.TOKEN.STAT.PRICE_CHANGE_RATIO_IN_USD_24H */
934
- priceChangeRatioInUsd24h: string;
935
- /** DTO.TOKEN.STAT.TRADES_24H */
936
- trades24h: string;
937
- /** DTO.TOKEN.STAT.TRADERS_24H */
938
- traders24h?: string;
939
- /** DTO.TOKEN.STAT.HIGH_IN_USD_24H */
940
- highInUsd24h?: string;
941
- /** DTO.TOKEN.STAT.LOW_IN_USD_24H */
942
- lowInUsd24h?: string;
729
+ /** DTO.TOKEN.TRADE_STAT.PERIODS */
730
+ periods: TokenStatPeriods;
943
731
  }
944
732
  interface DexPoolTokenLiquidity {
945
733
  /** DTO.DEXPOOL.TOKEN_ADDRESS */
946
734
  tokenAddress: string;
947
735
  /** DTO.DEXPOOL.TOKEN_DECIMALS */
948
- tokenDecimals: number;
736
+ decimals: number;
949
737
  /** DTO.DEXPOOL.VAULT_AMOUNT */
950
738
  vaultAmount: string;
951
739
  /** DTO.DEXPOOL.AMOUNT_IN_USD */
@@ -1533,11 +1321,73 @@ interface TokenLiquiditySnapshotPage {
1533
1321
  /** DTO.PAGE.HAS_PREV */
1534
1322
  hasPrev: boolean;
1535
1323
  }
1324
+ /**
1325
+ * DTO.TOKEN.TRANSFER.FLOW
1326
+ */
1327
+ type TokenTransferItemDTOFlow = (typeof TokenTransferItemDTOFlow)[keyof typeof TokenTransferItemDTOFlow];
1328
+ declare const TokenTransferItemDTOFlow: {
1329
+ readonly in: "in";
1330
+ readonly out: "out";
1331
+ };
1332
+ interface TokenTransferItemDTO {
1333
+ /** DTO.TOKEN.TRANSFER.TX_HASH */
1334
+ txHash: string;
1335
+ /** DTO.TOKEN.TRANSFER.BLOCK_NUMBER */
1336
+ blockNumber: number;
1337
+ /** DTO.TOKEN.TRANSFER.BLOCK_TIME */
1338
+ blockTime: number;
1339
+ /** DTO.TOKEN.TRANSFER.TOKEN_ADDRESS */
1340
+ tokenAddress: string;
1341
+ /** DTO.TOKEN.TRANSFER.FROM_ADDRESS */
1342
+ fromAddress: string;
1343
+ /** DTO.TOKEN.TRANSFER.TO_ADDRESS */
1344
+ toAddress: string;
1345
+ /** DTO.TOKEN.TRANSFER.FROM_TOKEN_ACCOUNT */
1346
+ fromTokenAccount: string;
1347
+ /** DTO.TOKEN.TRANSFER.TO_TOKEN_ACCOUNT */
1348
+ toTokenAccount: string;
1349
+ /** DTO.TOKEN.TRANSFER.AMOUNT */
1350
+ amount: string;
1351
+ /** DTO.TOKEN.TRANSFER.PRICE */
1352
+ price: string;
1353
+ /** DTO.TOKEN.TRANSFER.VALUE */
1354
+ value: string;
1355
+ /** DTO.TOKEN.TRANSFER.FLOW */
1356
+ flow: TokenTransferItemDTOFlow;
1357
+ /** DTO.TOKEN.TRANSFER.ACTION */
1358
+ action: string;
1359
+ /** DTO.TOKEN.TRANSFER.SYMBOL */
1360
+ symbol: string;
1361
+ /** DTO.TOKEN.TRANSFER.NAME */
1362
+ name: string;
1363
+ /** DTO.TOKEN.TRANSFER.DECIMALS */
1364
+ decimals: number;
1365
+ /** DTO.TOKEN.TRANSFER.LOGO_URI */
1366
+ logoUri?: string;
1367
+ }
1368
+ interface TokenTransferPage {
1369
+ /** DTO.PAGE.HAS_NEXT */
1370
+ hasNext?: boolean;
1371
+ /** DTO.PAGE.HAS_PREV */
1372
+ hasPrev?: boolean;
1373
+ /** DTO.PAGE.START_CURSOR */
1374
+ startCursor?: string;
1375
+ /** DTO.PAGE.END_CURSOR */
1376
+ endCursor?: string;
1377
+ /** DTO.PAGE.TOTAL */
1378
+ total?: number;
1379
+ /** DTO.PAGE.DATA */
1380
+ data: TokenTransferItemDTO[];
1381
+ }
1382
+ interface TokenTransferTotalDTO {
1383
+ /** DTO.TOKEN.TRANSFER.TOTAL */
1384
+ total: number;
1385
+ }
1536
1386
  interface DexPoolTokenSnapshotDTO {
1537
1387
  /** DTO.DEXPOOL.TOKEN_ADDRESS */
1538
1388
  tokenAddress: string;
1539
1389
  /** DTO.DEXPOOL.TOKEN_DECIMALS */
1540
- tokenDecimals: number;
1390
+ decimals: number;
1541
1391
  /** DTO.DEXPOOL.VAULT_AMOUNT */
1542
1392
  vaultAmount: string;
1543
1393
  /** DTO.DEXPOOL.AMOUNT_IN_USD */
@@ -1581,113 +1431,129 @@ interface DexPoolSnapshotPage {
1581
1431
  /** DTO.PAGE.HAS_PREV */
1582
1432
  hasPrev: boolean;
1583
1433
  }
1584
- interface WalletPnlDTO {
1585
- /** DTO.WALLET.PNL.ID */
1586
- id: number;
1587
- /** DTO.WALLET.PNL.CHAIN */
1588
- chain: string;
1589
- /** DTO.WALLET.PNL.WALLET_ADDRESS */
1590
- walletAddress: string;
1591
- /** DTO.WALLET.PNL.TOKEN_ADDRESS */
1592
- tokenAddress: string;
1593
- /** DTO.WALLET.PNL.TOKEN_PRICE */
1594
- tokenPriceInUsd: string;
1595
- /** DTO.WALLET.PNL.OPEN_TIME */
1596
- openTime: number;
1597
- /** DTO.WALLET.PNL.CLOSE_TIME */
1598
- closeTime: number;
1599
- /** DTO.WALLET.PNL.LAST_TIME */
1600
- lastTime: number;
1601
- /** DTO.WALLET.PNL.BALANCE */
1602
- balance: string;
1603
- /** DTO.WALLET.PNL.BUY_AMOUNT */
1604
- buyAmount: string;
1605
- /** DTO.WALLET.PNL.BUY_AMOUNT_USD */
1606
- buyAmountInUsd: string;
1607
- /** DTO.WALLET.PNL.BUYS */
1434
+ /**
1435
+ * DTO.WALLET.NET_WORTH_SUMMARY.WALLETS
1436
+ */
1437
+ type WalletNetWorthSummaryDTOWallets = {
1438
+ [key: string]: unknown;
1439
+ };
1440
+ interface WalletNetWorthSummaryDTO {
1441
+ /** DTO.WALLET.NET_WORTH_SUMMARY.CURRENT_TIMESTAMP */
1442
+ currentTimestamp: string;
1443
+ /** DTO.WALLET.NET_WORTH_SUMMARY.WALLETS */
1444
+ wallets: WalletNetWorthSummaryDTOWallets;
1445
+ }
1446
+ interface PnlDetailSummaryDTO {
1447
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.TOKENS */
1448
+ tokens: string;
1449
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.BUYS */
1608
1450
  buys: string;
1609
- /** DTO.WALLET.PNL.SELL_AMOUNT */
1610
- sellAmount: string;
1611
- /** DTO.WALLET.PNL.SELL_AMOUNT_USD */
1612
- sellAmountInUsd: string;
1613
- /** DTO.WALLET.PNL.SELLS */
1451
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.SELLS */
1614
1452
  sells: string;
1615
- /** DTO.WALLET.PNL.AVERAGE_BUY_PRICE */
1616
- averageBuyPriceInUsd: string;
1617
- /** DTO.WALLET.PNL.AVERAGE_SELL_PRICE */
1618
- averageSellPriceInUsd: string;
1619
- /** DTO.WALLET.PNL.UNREALIZED_PROFIT */
1620
- unrealizedProfitInUsd: string;
1621
- /** DTO.WALLET.PNL.UNREALIZED_PROFIT_RATIO */
1622
- unrealizedProfitRatio: string;
1623
- /** DTO.WALLET.PNL.REALIZED_PROFIT */
1453
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.TOTAL_TRADES */
1454
+ totalTrades: string;
1455
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.WINS */
1456
+ wins: string;
1457
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.LOSSES */
1458
+ losses: string;
1459
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.WIN_RATE */
1460
+ winRate: string;
1461
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.BUY_AMOUNT_IN_USD */
1462
+ buyAmountInUsd: string;
1463
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.SELL_AMOUNT_IN_USD */
1464
+ sellAmountInUsd: string;
1465
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.TOTAL_COST_IN_USD */
1466
+ totalCostInUsd: string;
1467
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.CURRENT_VALUE */
1468
+ currentValue: string;
1469
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.REALIZED_PROFIT_IN_USD */
1624
1470
  realizedProfitInUsd: string;
1625
- /** DTO.WALLET.PNL.REALIZED_PROFIT_RATIO */
1471
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.REALIZED_PROFIT_RATIO */
1626
1472
  realizedProfitRatio: string;
1627
- /** DTO.WALLET.PNL.TOTAL_REALIZED_PROFIT */
1628
- totalRealizedProfitInUsd: string;
1629
- /** DTO.WALLET.PNL.TOTAL_REALIZED_PROFIT_RATIO */
1630
- totalRealizedProfitRatio: string;
1473
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.UNREALIZED_PROFIT_IN_USD */
1474
+ unrealizedProfitInUsd: string;
1475
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.TOTAL_PROFIT_IN_USD */
1476
+ totalProfitInUsd: string;
1477
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY.AVG_PROFIT_PER_TRADE_IN_USD */
1478
+ avgProfitPerTradeInUsd: string;
1631
1479
  }
1632
- interface WalletBalanceDetailDTO {
1633
- /** DTO.WALLET.BALANCE.TOKEN_ADDRESS */
1480
+ interface PnlDetailItemDTO {
1481
+ /** DTO.WALLET.PNL_DETAIL.ITEM.TOKEN_ADDRESS */
1634
1482
  tokenAddress: string;
1635
- /** DTO.WALLET.BALANCE.AMOUNT */
1636
- amount: string;
1637
- /** DTO.WALLET.BALANCE.AMOUNT_IN_USD */
1638
- valueInUsd: string;
1639
- /** DTO.WALLET.BALANCE.TOKEN_NAME */
1640
- name: string;
1641
- /** DTO.WALLET.BALANCE.TOKEN_SYMBOL */
1483
+ /** DTO.WALLET.PNL_DETAIL.ITEM.SYMBOL */
1642
1484
  symbol: string;
1643
- /** DTO.WALLET.BALANCE.TOKEN_IMAGE_URL */
1644
- imageUrl: string;
1645
- /** DTO.WALLET.BALANCE.TOKEN_PRICE_IN_SOL */
1646
- priceInSol: string;
1647
- /** DTO.WALLET.BALANCE.TOKEN_PRICE_IN_USD */
1485
+ /** DTO.WALLET.PNL_DETAIL.ITEM.NAME */
1486
+ name: string;
1487
+ /** DTO.WALLET.PNL_DETAIL.ITEM.DECIMALS */
1488
+ decimals: number;
1489
+ /** DTO.WALLET.PNL_DETAIL.ITEM.LOGO_URI */
1490
+ logoUri?: string;
1491
+ /** DTO.WALLET.PNL_DETAIL.ITEM.WALLET_ADDRESS */
1492
+ walletAddress: string;
1493
+ /** DTO.WALLET.PNL_DETAIL.ITEM.BALANCE */
1494
+ balance: string;
1495
+ /** DTO.WALLET.PNL_DETAIL.ITEM.PRICE_IN_USD */
1648
1496
  priceInUsd: string;
1649
- /** DTO.WALLET.BALANCE.PRICE_CHANGE_24H */
1650
- priceChangeRatioInUsd24h: string;
1651
- /** DTO.WALLET.BALANCE.UNREALIZED_PROFIT */
1652
- unrealizedProfitInUsd: string;
1653
- /** DTO.WALLET.BALANCE.UNREALIZED_PROFIT_RATIO */
1654
- unrealizedProfitRatio: string;
1655
- /** DTO.WALLET.BALANCE.OPEN_TIME */
1656
- openTime: number;
1657
- /** DTO.WALLET.BALANCE.CLOSE_TIME */
1658
- closeTime: number;
1659
- /** DTO.WALLET.BALANCE.BUYS */
1497
+ /** DTO.WALLET.PNL_DETAIL.ITEM.CURRENT_VALUE */
1498
+ currentValue: string;
1499
+ /** DTO.WALLET.PNL_DETAIL.ITEM.BUYS */
1660
1500
  buys: string;
1661
- /** DTO.WALLET.BALANCE.BUY_AMOUNT */
1662
- buyAmount: string;
1663
- /** DTO.WALLET.BALANCE.BUY_AMOUNT_USD */
1664
- buyAmountInUsd: string;
1665
- /** DTO.WALLET.BALANCE.SELLS */
1501
+ /** DTO.WALLET.PNL_DETAIL.ITEM.SELLS */
1666
1502
  sells: string;
1667
- /** DTO.WALLET.BALANCE.SELL_AMOUNT */
1503
+ /** DTO.WALLET.PNL_DETAIL.ITEM.TOTAL_TRADES */
1504
+ totalTrades: string;
1505
+ /** DTO.WALLET.PNL_DETAIL.ITEM.BUY_AMOUNT */
1506
+ buyAmount: string;
1507
+ /** DTO.WALLET.PNL_DETAIL.ITEM.SELL_AMOUNT */
1668
1508
  sellAmount: string;
1669
- /** DTO.WALLET.BALANCE.SELL_AMOUNT_USD */
1509
+ /** DTO.WALLET.PNL_DETAIL.ITEM.BUY_AMOUNT_IN_USD */
1510
+ buyAmountInUsd: string;
1511
+ /** DTO.WALLET.PNL_DETAIL.ITEM.SELL_AMOUNT_IN_USD */
1670
1512
  sellAmountInUsd: string;
1671
- /** DTO.WALLET.BALANCE.AVERAGE_BUY_PRICE */
1672
- averageBuyPriceInUsd: string;
1673
- /** DTO.WALLET.BALANCE.AVERAGE_SELL_PRICE */
1674
- averageSellPriceInUsd: string;
1675
- /** DTO.WALLET.BALANCE.REALIZED_PROFIT_IN_USD */
1513
+ /** DTO.WALLET.PNL_DETAIL.ITEM.AVG_BUY_PRICE_IN_USD */
1514
+ avgBuyPriceInUsd: string;
1515
+ /** DTO.WALLET.PNL_DETAIL.ITEM.AVG_SELL_PRICE_IN_USD */
1516
+ avgSellPriceInUsd: string;
1517
+ /** DTO.WALLET.PNL_DETAIL.ITEM.REALIZED_PROFIT_IN_USD */
1676
1518
  realizedProfitInUsd: string;
1677
- /** DTO.WALLET.BALANCE.REALIZED_PROFIT_RATIO */
1519
+ /** DTO.WALLET.PNL_DETAIL.ITEM.REALIZED_PROFIT_RATIO */
1678
1520
  realizedProfitRatio: string;
1679
- /** DTO.WALLET.BALANCE.TOTAL_REALIZED_PROFIT */
1680
- totalRealizedProfitInUsd: string;
1681
- /** DTO.WALLET.BALANCE.TOTAL_REALIZED_PROFIT_RATIO */
1682
- totalRealizedProfitRatio: string;
1683
- }
1684
- interface WalletBalancesDTO {
1685
- /** DTO.WALLET.BALANCES.TOTAL_BALANCES_IN_USD */
1686
- totalBalancesInUsd: string;
1687
- /** DTO.WALLET.BALANCES.TOTAL_PROFIT_IN_USD */
1521
+ /** DTO.WALLET.PNL_DETAIL.ITEM.UNREALIZED_PROFIT_IN_USD */
1522
+ unrealizedProfitInUsd: string;
1523
+ /** DTO.WALLET.PNL_DETAIL.ITEM.UNREALIZED_PROFIT_RATIO */
1524
+ unrealizedProfitRatio: string;
1525
+ /** DTO.WALLET.PNL_DETAIL.ITEM.TOTAL_PROFIT_IN_USD */
1688
1526
  totalProfitInUsd: string;
1689
- /** DTO.WALLET.BALANCES.BALANCES.DETAIL */
1690
- balances: WalletBalanceDetailDTO[];
1527
+ /** DTO.WALLET.PNL_DETAIL.ITEM.TOTAL_PROFIT_RATIO */
1528
+ totalProfitRatio: string;
1529
+ /** DTO.WALLET.PNL_DETAIL.ITEM.AVG_PROFIT_PER_TRADE_IN_USD */
1530
+ avgProfitPerTradeInUsd: string;
1531
+ }
1532
+ interface PnlDetailsPage {
1533
+ /** DTO.PAGE.HAS_NEXT */
1534
+ hasNext?: boolean;
1535
+ /** DTO.PAGE.HAS_PREV */
1536
+ hasPrev?: boolean;
1537
+ /** DTO.PAGE.START_CURSOR */
1538
+ startCursor?: string;
1539
+ /** DTO.PAGE.END_CURSOR */
1540
+ endCursor?: string;
1541
+ /** DTO.PAGE.TOTAL */
1542
+ total?: number;
1543
+ /** DTO.WALLET.PNL_DETAIL.SUMMARY */
1544
+ summary: PnlDetailSummaryDTO;
1545
+ /** DTO.PAGE.DATA */
1546
+ data: PnlDetailItemDTO[];
1547
+ }
1548
+ /**
1549
+ * DTO.WALLET.FIRST_TX.TX_HASH
1550
+ */
1551
+ type WalletFirstTxDTOWallets = {
1552
+ [key: string]: unknown;
1553
+ };
1554
+ interface WalletFirstTxDTO {
1555
+ /** DTO.WALLET.FIRST_TX.TX_HASH */
1556
+ wallets: WalletFirstTxDTOWallets;
1691
1557
  }
1692
1558
  interface CalculatePnlInput {
1693
1559
  /** DTO.WALLET.CALCULATE_PNL.INPUT.TOKEN_ADDRESSES */
@@ -1697,6 +1563,244 @@ interface BooleanResultDTO {
1697
1563
  /** DTO.BOOLEAN_RESULT.SUCCESS */
1698
1564
  success: boolean;
1699
1565
  }
1566
+ interface WalletNetWorthItemDTO {
1567
+ /** DTO.WALLET.NET_WORTH.ITEM.TOKEN_ADDRESS */
1568
+ tokenAddress: string;
1569
+ /** DTO.WALLET.NET_WORTH.ITEM.DECIMALS */
1570
+ decimals: number;
1571
+ /** DTO.WALLET.NET_WORTH.ITEM.PRICE_IN_USD */
1572
+ priceInUsd: string;
1573
+ /** DTO.WALLET.NET_WORTH.ITEM.PRICE_IN_NATIVE */
1574
+ priceInNative: string;
1575
+ /** DTO.WALLET.NET_WORTH.ITEM.AMOUNT */
1576
+ amount: string;
1577
+ /** DTO.WALLET.NET_WORTH.ITEM.VALUE_IN_USD */
1578
+ valueInUsd: string;
1579
+ /** DTO.WALLET.NET_WORTH.ITEM.VALUE_IN_NATIVE */
1580
+ valueInNative: string;
1581
+ /** GLOBAL.CHAIN.DESCRIPTION */
1582
+ chain: string;
1583
+ /** DTO.WALLET.NET_WORTH.ITEM.NAME */
1584
+ name: string;
1585
+ /** DTO.WALLET.NET_WORTH.ITEM.SYMBOL */
1586
+ symbol: string;
1587
+ /** DTO.WALLET.NET_WORTH.ITEM.LOGO_URI */
1588
+ logoUri?: string;
1589
+ }
1590
+ interface WalletNetWorthPage {
1591
+ /** DTO.PAGE.HAS_NEXT */
1592
+ hasNext?: boolean;
1593
+ /** DTO.PAGE.HAS_PREV */
1594
+ hasPrev?: boolean;
1595
+ /** DTO.PAGE.START_CURSOR */
1596
+ startCursor?: string;
1597
+ /** DTO.PAGE.END_CURSOR */
1598
+ endCursor?: string;
1599
+ /** DTO.PAGE.TOTAL */
1600
+ total?: number;
1601
+ /** DTO.WALLET.NET_WORTH.WALLET_ADDRESS */
1602
+ walletAddress: string;
1603
+ /** DTO.WALLET.NET_WORTH.TOTAL_VALUE_IN_USD */
1604
+ totalValueInUsd: string;
1605
+ /** DTO.WALLET.NET_WORTH.TOTAL_VALUE_IN_NATIVE */
1606
+ totalValueInNative: string;
1607
+ /** DTO.WALLET.NET_WORTH.CURRENT_TIMESTAMP */
1608
+ currentTimestamp: string;
1609
+ /** DTO.PAGE.DATA */
1610
+ data: WalletNetWorthItemDTO[];
1611
+ }
1612
+ interface TokensBalancePage {
1613
+ /** DTO.PAGE.HAS_NEXT */
1614
+ hasNext?: boolean;
1615
+ /** DTO.PAGE.HAS_PREV */
1616
+ hasPrev?: boolean;
1617
+ /** DTO.PAGE.START_CURSOR */
1618
+ startCursor?: string;
1619
+ /** DTO.PAGE.END_CURSOR */
1620
+ endCursor?: string;
1621
+ /** DTO.PAGE.TOTAL */
1622
+ total?: number;
1623
+ /** DTO.PAGE.DATA */
1624
+ data: WalletNetWorthItemDTO[];
1625
+ }
1626
+ interface WalletNetWorthHistoryItemDTO {
1627
+ /** DTO.WALLET.NET_WORTH_CHART.ITEM.TIMESTAMP */
1628
+ timestamp: string;
1629
+ /** DTO.WALLET.NET_WORTH_CHART.ITEM.NET_WORTH */
1630
+ netWorth: string;
1631
+ /** DTO.WALLET.NET_WORTH_CHART.ITEM.NET_WORTH_CHANGE */
1632
+ netWorthChange: string;
1633
+ /** DTO.WALLET.NET_WORTH_CHART.ITEM.NET_WORTH_CHANGE_PERCENT */
1634
+ netWorthChangePercent: string;
1635
+ }
1636
+ interface WalletNetWorthChartDTO {
1637
+ /** DTO.WALLET.NET_WORTH_CHART.WALLET_ADDRESS */
1638
+ walletAddress: string;
1639
+ /** DTO.WALLET.NET_WORTH_CHART.CURRENT_TIMESTAMP */
1640
+ currentTimestamp: string;
1641
+ /** DTO.WALLET.NET_WORTH_CHART.PAST_TIMESTAMP */
1642
+ pastTimestamp: string;
1643
+ /** DTO.WALLET.NET_WORTH_CHART.HISTORY */
1644
+ history: WalletNetWorthHistoryItemDTO[];
1645
+ }
1646
+ interface WalletNetWorthDetailsPage {
1647
+ /** DTO.PAGE.HAS_NEXT */
1648
+ hasNext?: boolean;
1649
+ /** DTO.PAGE.HAS_PREV */
1650
+ hasPrev?: boolean;
1651
+ /** DTO.PAGE.START_CURSOR */
1652
+ startCursor?: string;
1653
+ /** DTO.PAGE.END_CURSOR */
1654
+ endCursor?: string;
1655
+ /** DTO.PAGE.TOTAL */
1656
+ total?: number;
1657
+ /** DTO.WALLET.NET_WORTH_DETAILS.WALLET_ADDRESS */
1658
+ walletAddress: string;
1659
+ /** DTO.WALLET.NET_WORTH_DETAILS.NET_WORTH */
1660
+ netWorth: string;
1661
+ /** DTO.WALLET.NET_WORTH_DETAILS.REQUESTED_TIMESTAMP */
1662
+ requestedTimestamp: string;
1663
+ /** DTO.WALLET.NET_WORTH_DETAILS.RESOLVED_TIMESTAMP */
1664
+ resolvedTimestamp: string;
1665
+ /** DTO.PAGE.DATA */
1666
+ data: WalletNetWorthItemDTO[];
1667
+ }
1668
+ type PnlResolution = (typeof PnlResolution)[keyof typeof PnlResolution];
1669
+ declare const PnlResolution: {
1670
+ readonly "1d": "1d";
1671
+ readonly "7d": "7d";
1672
+ readonly "30d": "30d";
1673
+ readonly all: "all";
1674
+ };
1675
+ /**
1676
+ * DTO.WALLET.PNL_SUMMARY.RESOLUTION
1677
+ */
1678
+ type WalletPnlSummaryDTOResolution = (typeof WalletPnlSummaryDTOResolution)[keyof typeof WalletPnlSummaryDTOResolution];
1679
+ declare const WalletPnlSummaryDTOResolution: {
1680
+ readonly "1d": "1d";
1681
+ readonly "7d": "7d";
1682
+ readonly "30d": "30d";
1683
+ readonly all: "all";
1684
+ };
1685
+ interface WalletPnlSummaryDTO {
1686
+ /** DTO.WALLET.PNL_SUMMARY.WALLET_ADDRESS */
1687
+ walletAddress: string;
1688
+ /** DTO.WALLET.PNL_SUMMARY.RESOLUTION */
1689
+ resolution: WalletPnlSummaryDTOResolution;
1690
+ /** DTO.WALLET.PNL_SUMMARY.TOKENS */
1691
+ tokens: string;
1692
+ /** DTO.WALLET.PNL_SUMMARY.BUYS */
1693
+ buys: string;
1694
+ /** DTO.WALLET.PNL_SUMMARY.SELLS */
1695
+ sells: string;
1696
+ /** DTO.WALLET.PNL_SUMMARY.TOTAL_TRADES */
1697
+ totalTrades: string;
1698
+ /** DTO.WALLET.PNL_SUMMARY.WINS */
1699
+ wins: string;
1700
+ /** DTO.WALLET.PNL_SUMMARY.LOSSES */
1701
+ losses: string;
1702
+ /** DTO.WALLET.PNL_SUMMARY.WIN_RATE */
1703
+ winRate: string;
1704
+ /** DTO.WALLET.PNL_SUMMARY.BUY_AMOUNT_IN_USD */
1705
+ buyAmountInUsd: string;
1706
+ /** DTO.WALLET.PNL_SUMMARY.SELL_AMOUNT_IN_USD */
1707
+ sellAmountInUsd: string;
1708
+ /** DTO.WALLET.PNL_SUMMARY.TOTAL_COST_IN_USD */
1709
+ totalCostInUsd: string;
1710
+ /** DTO.WALLET.PNL_SUMMARY.REALIZED_PROFIT_IN_USD */
1711
+ realizedProfitInUsd: string;
1712
+ /** DTO.WALLET.PNL_SUMMARY.REALIZED_PROFIT_RATIO */
1713
+ realizedProfitRatio: string;
1714
+ /** DTO.WALLET.PNL_SUMMARY.UNREALIZED_PROFIT_IN_USD */
1715
+ unrealizedProfitInUsd: string;
1716
+ /** DTO.WALLET.PNL_SUMMARY.UNREALIZED_PROFIT_RATIO */
1717
+ unrealizedProfitRatio: string;
1718
+ /** DTO.WALLET.PNL_SUMMARY.TOTAL_PROFIT_IN_USD */
1719
+ totalProfitInUsd: string;
1720
+ /** DTO.WALLET.PNL_SUMMARY.TOTAL_PROFIT_RATIO */
1721
+ totalProfitRatio: string;
1722
+ /** DTO.WALLET.PNL_SUMMARY.AVG_PROFIT_PER_TRADE_IN_USD */
1723
+ avgProfitPerTradeInUsd: string;
1724
+ /** DTO.WALLET.PNL_SUMMARY.UPDATED_AT */
1725
+ updatedAt?: string;
1726
+ }
1727
+ /**
1728
+ * DTO.WALLET.TX_HISTORY.STATUS
1729
+ */
1730
+ type TransactionHistoryItemDTOStatus = (typeof TransactionHistoryItemDTOStatus)[keyof typeof TransactionHistoryItemDTOStatus];
1731
+ declare const TransactionHistoryItemDTOStatus: {
1732
+ readonly UNKNOWN: "UNKNOWN";
1733
+ readonly SUCCEEDED: "SUCCEEDED";
1734
+ readonly FAILED: "FAILED";
1735
+ };
1736
+ /**
1737
+ * DTO.WALLET.TX_HISTORY.MAIN_ACTION
1738
+ */
1739
+ type TransactionHistoryItemDTOMainAction = (typeof TransactionHistoryItemDTOMainAction)[keyof typeof TransactionHistoryItemDTOMainAction];
1740
+ declare const TransactionHistoryItemDTOMainAction: {
1741
+ readonly send: "send";
1742
+ readonly receive: "receive";
1743
+ };
1744
+ interface TransactionHistoryItemDTO {
1745
+ /** DTO.WALLET.TX_HISTORY.TX_HASH */
1746
+ txHash: string;
1747
+ /** DTO.WALLET.TX_HISTORY.BLOCK_NUMBER */
1748
+ blockNumber: number;
1749
+ /** DTO.WALLET.TX_HISTORY.BLOCK_TIME */
1750
+ blockTime: number;
1751
+ /** DTO.WALLET.TX_HISTORY.STATUS */
1752
+ status: TransactionHistoryItemDTOStatus;
1753
+ /** DTO.WALLET.TX_HISTORY.FROM */
1754
+ from: string;
1755
+ /** DTO.WALLET.TX_HISTORY.TO */
1756
+ to: string;
1757
+ /** DTO.WALLET.TX_HISTORY.FEE */
1758
+ fee: string;
1759
+ /** DTO.WALLET.TX_HISTORY.MAIN_ACTION */
1760
+ mainAction: TransactionHistoryItemDTOMainAction;
1761
+ /** DTO.WALLET.TX_HISTORY.TOKEN_ADDRESS */
1762
+ tokenAddress: string;
1763
+ /** DTO.WALLET.TX_HISTORY.TOKEN_AMOUNT */
1764
+ tokenAmount: string;
1765
+ /** DTO.WALLET.TX_HISTORY.TOKEN_AMOUNT_IN_USD */
1766
+ tokenAmountInUsd: string;
1767
+ /** DTO.WALLET.TX_HISTORY.TOKEN_PRICE_IN_USD */
1768
+ tokenPriceInUsd: string;
1769
+ /** DTO.WALLET.TX_HISTORY.SYMBOL */
1770
+ symbol: string;
1771
+ /** DTO.WALLET.TX_HISTORY.NAME */
1772
+ name: string;
1773
+ /** DTO.WALLET.TX_HISTORY.DECIMALS */
1774
+ decimals: number;
1775
+ /** DTO.WALLET.TX_HISTORY.LOGO_URI */
1776
+ logoUri?: string;
1777
+ /** DTO.WALLET.TX_HISTORY.FROM_TOKEN_ACCOUNT */
1778
+ fromTokenAccount: string;
1779
+ /** DTO.WALLET.TX_HISTORY.TO_TOKEN_ACCOUNT */
1780
+ toTokenAccount: string;
1781
+ /** DTO.WALLET.TX_HISTORY.FROM_USER_ACCOUNT */
1782
+ fromUserAccount: string;
1783
+ /** DTO.WALLET.TX_HISTORY.TO_USER_ACCOUNT */
1784
+ toUserAccount: string;
1785
+ /** DTO.WALLET.TX_HISTORY.OUTER_DAPP_PROGRAM */
1786
+ outerDappProgram: string;
1787
+ /** DTO.WALLET.TX_HISTORY.DAPP_PROGRAM */
1788
+ dappProgram: string;
1789
+ }
1790
+ interface TransactionHistoryPage {
1791
+ /** DTO.PAGE.HAS_NEXT */
1792
+ hasNext?: boolean;
1793
+ /** DTO.PAGE.HAS_PREV */
1794
+ hasPrev?: boolean;
1795
+ /** DTO.PAGE.START_CURSOR */
1796
+ startCursor?: string;
1797
+ /** DTO.PAGE.END_CURSOR */
1798
+ endCursor?: string;
1799
+ /** DTO.PAGE.TOTAL */
1800
+ total?: number;
1801
+ /** DTO.PAGE.DATA */
1802
+ data: TransactionHistoryItemDTO[];
1803
+ }
1700
1804
  type BalanceTokenType = (typeof BalanceTokenType)[keyof typeof BalanceTokenType];
1701
1805
  declare const BalanceTokenType: {
1702
1806
  readonly SOL: "SOL";
@@ -2578,7 +2682,51 @@ declare const GetTopTradersSortBy: {
2578
2682
  readonly tradeAmount: "tradeAmount";
2579
2683
  readonly tradeCount: "tradeCount";
2580
2684
  };
2685
+ type GetTraderGainersLosersParams = {
2686
+ /**
2687
+ * DTO.PAGE.CURSOR.DESCRIPTION
2688
+ */
2689
+ cursor?: string;
2690
+ /**
2691
+ * DTO.PAGE.LIMIT
2692
+ */
2693
+ limit?: number;
2694
+ /**
2695
+ * DTO.PAGE.DIRECTION
2696
+ */
2697
+ direction?: GetTraderGainersLosersDirection;
2698
+ /**
2699
+ * DTO.TRADER.GAINERS_LOSERS.QUERY.RESOLUTION
2700
+ */
2701
+ resolution?: TraderPnlResolution;
2702
+ /**
2703
+ * DTO.TRADER.GAINERS_LOSERS.QUERY.SORT_TYPE
2704
+ */
2705
+ sortType?: GetTraderGainersLosersSortType;
2706
+ };
2707
+ type GetTraderGainersLosersDirection = (typeof GetTraderGainersLosersDirection)[keyof typeof GetTraderGainersLosersDirection];
2708
+ declare const GetTraderGainersLosersDirection: {
2709
+ readonly next: "next";
2710
+ readonly prev: "prev";
2711
+ };
2712
+ type GetTraderGainersLosersSortType = (typeof GetTraderGainersLosersSortType)[keyof typeof GetTraderGainersLosersSortType];
2713
+ declare const GetTraderGainersLosersSortType: {
2714
+ readonly desc: "desc";
2715
+ readonly asc: "asc";
2716
+ };
2581
2717
  type SearchParams = {
2718
+ /**
2719
+ * DTO.PAGE.CURSOR.DESCRIPTION
2720
+ */
2721
+ cursor?: string;
2722
+ /**
2723
+ * DTO.PAGE.LIMIT
2724
+ */
2725
+ limit?: number;
2726
+ /**
2727
+ * DTO.PAGE.DIRECTION
2728
+ */
2729
+ direction?: SearchDirection;
2582
2730
  /**
2583
2731
  * DTO.TOKEN.SEARCH.CHAINS
2584
2732
  */
@@ -2587,10 +2735,6 @@ type SearchParams = {
2587
2735
  * DTO.TOKEN.SEARCH.QUERY
2588
2736
  */
2589
2737
  q?: string;
2590
- /**
2591
- * DTO.TOKEN.SEARCH.LIMIT
2592
- */
2593
- limit?: number;
2594
2738
  /**
2595
2739
  * DTO.TOKEN.SEARCH.SORT_DIRECTION
2596
2740
  */
@@ -2599,15 +2743,16 @@ type SearchParams = {
2599
2743
  * DTO.TOKEN.SEARCH.PROTOCOLS
2600
2744
  */
2601
2745
  protocols?: string[];
2602
- /**
2603
- * DTO.PAGE.CURSOR
2604
- */
2605
- cursor?: string;
2606
2746
  /**
2607
2747
  * DTO.TOKEN.SEARCH.SORT_BY
2608
2748
  */
2609
2749
  sortBy?: SearchSortBy;
2610
2750
  };
2751
+ type SearchDirection = (typeof SearchDirection)[keyof typeof SearchDirection];
2752
+ declare const SearchDirection: {
2753
+ readonly next: "next";
2754
+ readonly prev: "prev";
2755
+ };
2611
2756
  type SearchSort = (typeof SearchSort)[keyof typeof SearchSort];
2612
2757
  declare const SearchSort: {
2613
2758
  readonly asc: "asc";
@@ -3527,31 +3672,103 @@ type GetSecurity200 = {
3527
3672
  };
3528
3673
  type GetTokenLiquiditySnapshotsParams = {
3529
3674
  /**
3530
- * DTO.TOKEN.LIQUIDITY_SNAPSHOT.TIME
3531
- */
3532
- time?: number;
3533
- /**
3534
- * DTO.PAGE.CURSOR
3675
+ * DTO.PAGE.CURSOR.DESCRIPTION
3535
3676
  */
3536
3677
  cursor?: string;
3537
3678
  /**
3538
3679
  * DTO.PAGE.LIMIT
3539
3680
  */
3540
3681
  limit?: number;
3541
- };
3542
- type GetDexpoolSnapshotsParams = {
3543
3682
  /**
3544
- * DTO.DEXPOOL.SNAPSHOT.TIME
3683
+ * DTO.PAGE.DIRECTION
3684
+ */
3685
+ direction?: GetTokenLiquiditySnapshotsDirection;
3686
+ /**
3687
+ * DTO.TOKEN.LIQUIDITY_SNAPSHOT.TIME
3545
3688
  */
3546
3689
  time?: number;
3690
+ };
3691
+ type GetTokenLiquiditySnapshotsDirection = (typeof GetTokenLiquiditySnapshotsDirection)[keyof typeof GetTokenLiquiditySnapshotsDirection];
3692
+ declare const GetTokenLiquiditySnapshotsDirection: {
3693
+ readonly next: "next";
3694
+ readonly prev: "prev";
3695
+ };
3696
+ type GetTokenTransfersParams = {
3697
+ /**
3698
+ * DTO.PAGE.CURSOR.DESCRIPTION
3699
+ */
3700
+ cursor?: string;
3701
+ /**
3702
+ * DTO.PAGE.LIMIT
3703
+ */
3704
+ limit?: number;
3705
+ /**
3706
+ * DTO.PAGE.DIRECTION
3707
+ */
3708
+ direction?: GetTokenTransfersDirection;
3709
+ /**
3710
+ * DTO.TOKEN.TRANSFER.QUERY.BEFORE_TIMESTAMP
3711
+ */
3712
+ beforeTimestamp?: number;
3713
+ /**
3714
+ * DTO.TOKEN.TRANSFER.QUERY.AFTER_TIMESTAMP
3715
+ */
3716
+ afterTimestamp?: number;
3717
+ };
3718
+ type GetTokenTransfersDirection = (typeof GetTokenTransfersDirection)[keyof typeof GetTokenTransfersDirection];
3719
+ declare const GetTokenTransfersDirection: {
3720
+ readonly next: "next";
3721
+ readonly prev: "prev";
3722
+ };
3723
+ type GetTokenTransferTotalParams = {
3724
+ /**
3725
+ * DTO.PAGE.CURSOR.DESCRIPTION
3726
+ */
3727
+ cursor?: string;
3728
+ /**
3729
+ * DTO.PAGE.LIMIT
3730
+ */
3731
+ limit?: number;
3732
+ /**
3733
+ * DTO.PAGE.DIRECTION
3734
+ */
3735
+ direction?: GetTokenTransferTotalDirection;
3736
+ /**
3737
+ * DTO.TOKEN.TRANSFER.QUERY.BEFORE_TIMESTAMP
3738
+ */
3739
+ beforeTimestamp?: number;
3547
3740
  /**
3548
- * DTO.PAGE.CURSOR
3741
+ * DTO.TOKEN.TRANSFER.QUERY.AFTER_TIMESTAMP
3742
+ */
3743
+ afterTimestamp?: number;
3744
+ };
3745
+ type GetTokenTransferTotalDirection = (typeof GetTokenTransferTotalDirection)[keyof typeof GetTokenTransferTotalDirection];
3746
+ declare const GetTokenTransferTotalDirection: {
3747
+ readonly next: "next";
3748
+ readonly prev: "prev";
3749
+ };
3750
+ type GetDexpoolSnapshotsParams = {
3751
+ /**
3752
+ * DTO.PAGE.CURSOR.DESCRIPTION
3549
3753
  */
3550
3754
  cursor?: string;
3551
3755
  /**
3552
3756
  * DTO.PAGE.LIMIT
3553
3757
  */
3554
3758
  limit?: number;
3759
+ /**
3760
+ * DTO.PAGE.DIRECTION
3761
+ */
3762
+ direction?: GetDexpoolSnapshotsDirection;
3763
+ /**
3764
+ * DTO.DEXPOOL.SNAPSHOT.TIME
3765
+ */
3766
+ time?: number;
3767
+ };
3768
+ type GetDexpoolSnapshotsDirection = (typeof GetDexpoolSnapshotsDirection)[keyof typeof GetDexpoolSnapshotsDirection];
3769
+ declare const GetDexpoolSnapshotsDirection: {
3770
+ readonly next: "next";
3771
+ readonly prev: "prev";
3555
3772
  };
3556
3773
  type GetHotTokensParams = {
3557
3774
  /**
@@ -4033,19 +4250,235 @@ declare const GetMigratedTokensTag: {
4033
4250
  readonly bonk_fun: "bonk_fun";
4034
4251
  readonly moonit_fun: "moonit_fun";
4035
4252
  };
4253
+ type GetNetWorthSummaryParams = {
4254
+ /**
4255
+ * GLOBAL.WALLETADDRESSES.DESCRIPTION
4256
+ */
4257
+ walletAddresses: string;
4258
+ };
4259
+ type GetPnlByWalletParams = {
4260
+ /**
4261
+ * DTO.PAGE.CURSOR.DESCRIPTION
4262
+ */
4263
+ cursor?: string;
4264
+ /**
4265
+ * DTO.PAGE.LIMIT
4266
+ */
4267
+ limit?: number;
4268
+ /**
4269
+ * DTO.PAGE.DIRECTION
4270
+ */
4271
+ direction?: GetPnlByWalletDirection;
4272
+ /**
4273
+ * GLOBAL.WALLETADDRESSES.DESCRIPTION
4274
+ */
4275
+ walletAddresses: string;
4276
+ /**
4277
+ * GLOBAL.TOKENADDRESS.DESCRIPTION
4278
+ */
4279
+ tokenAddress: string;
4280
+ };
4281
+ type GetPnlByWalletDirection = (typeof GetPnlByWalletDirection)[keyof typeof GetPnlByWalletDirection];
4282
+ declare const GetPnlByWalletDirection: {
4283
+ readonly next: "next";
4284
+ readonly prev: "prev";
4285
+ };
4286
+ type GetWalletFirstTxParams = {
4287
+ /**
4288
+ * GLOBAL.WALLETADDRESSES.DESCRIPTION
4289
+ */
4290
+ walletAddresses: string;
4291
+ };
4292
+ type GetNetWorthParams = {
4293
+ /**
4294
+ * DTO.PAGE.CURSOR.DESCRIPTION
4295
+ */
4296
+ cursor?: string;
4297
+ /**
4298
+ * DTO.PAGE.LIMIT
4299
+ */
4300
+ limit?: number;
4301
+ /**
4302
+ * DTO.PAGE.DIRECTION
4303
+ */
4304
+ direction?: GetNetWorthDirection;
4305
+ };
4306
+ type GetNetWorthDirection = (typeof GetNetWorthDirection)[keyof typeof GetNetWorthDirection];
4307
+ declare const GetNetWorthDirection: {
4308
+ readonly next: "next";
4309
+ readonly prev: "prev";
4310
+ };
4311
+ type GetTokensBalanceParams = {
4312
+ /**
4313
+ * DTO.PAGE.CURSOR.DESCRIPTION
4314
+ */
4315
+ cursor?: string;
4316
+ /**
4317
+ * DTO.PAGE.LIMIT
4318
+ */
4319
+ limit?: number;
4320
+ /**
4321
+ * DTO.PAGE.DIRECTION
4322
+ */
4323
+ direction?: GetTokensBalanceDirection;
4324
+ };
4325
+ type GetTokensBalanceDirection = (typeof GetTokensBalanceDirection)[keyof typeof GetTokensBalanceDirection];
4326
+ declare const GetTokensBalanceDirection: {
4327
+ readonly next: "next";
4328
+ readonly prev: "prev";
4329
+ };
4330
+ type GetNetWorthChartParams = {
4331
+ /**
4332
+ * DTO.WALLET.NET_WORTH_CHART.QUERY.HOURS
4333
+ */
4334
+ hours?: number;
4335
+ };
4336
+ type GetNetWorthDetailsParams = {
4337
+ /**
4338
+ * DTO.PAGE.CURSOR.DESCRIPTION
4339
+ */
4340
+ cursor?: string;
4341
+ /**
4342
+ * DTO.PAGE.LIMIT
4343
+ */
4344
+ limit?: number;
4345
+ /**
4346
+ * DTO.PAGE.DIRECTION
4347
+ */
4348
+ direction?: GetNetWorthDetailsDirection;
4349
+ /**
4350
+ * DTO.WALLET.NET_WORTH_DETAILS.QUERY.HOURS
4351
+ */
4352
+ hours?: number;
4353
+ };
4354
+ type GetNetWorthDetailsDirection = (typeof GetNetWorthDetailsDirection)[keyof typeof GetNetWorthDetailsDirection];
4355
+ declare const GetNetWorthDetailsDirection: {
4356
+ readonly next: "next";
4357
+ readonly prev: "prev";
4358
+ };
4036
4359
  type GetPnlParams = {
4360
+ /**
4361
+ * DTO.WALLET.PNL_SUMMARY.QUERY.RESOLUTION
4362
+ */
4363
+ resolution?: PnlResolution;
4364
+ };
4365
+ type GetPnlDetailsParams = {
4366
+ /**
4367
+ * DTO.PAGE.CURSOR.DESCRIPTION
4368
+ */
4369
+ cursor?: string;
4370
+ /**
4371
+ * DTO.PAGE.LIMIT
4372
+ */
4373
+ limit?: number;
4374
+ /**
4375
+ * DTO.PAGE.DIRECTION
4376
+ */
4377
+ direction?: GetPnlDetailsDirection;
4378
+ };
4379
+ type GetPnlDetailsDirection = (typeof GetPnlDetailsDirection)[keyof typeof GetPnlDetailsDirection];
4380
+ declare const GetPnlDetailsDirection: {
4381
+ readonly next: "next";
4382
+ readonly prev: "prev";
4383
+ };
4384
+ type GetPnlByTokenParams = {
4385
+ /**
4386
+ * DTO.PAGE.CURSOR.DESCRIPTION
4387
+ */
4388
+ cursor?: string;
4389
+ /**
4390
+ * DTO.PAGE.LIMIT
4391
+ */
4392
+ limit?: number;
4393
+ /**
4394
+ * DTO.PAGE.DIRECTION
4395
+ */
4396
+ direction?: GetPnlByTokenDirection;
4397
+ /**
4398
+ * GLOBAL.TOKENADDRESSES.DESCRIPTION
4399
+ */
4400
+ tokenAddresses: string;
4401
+ };
4402
+ type GetPnlByTokenDirection = (typeof GetPnlByTokenDirection)[keyof typeof GetPnlByTokenDirection];
4403
+ declare const GetPnlByTokenDirection: {
4404
+ readonly next: "next";
4405
+ readonly prev: "prev";
4406
+ };
4407
+ type GetWalletTransfersParams = {
4408
+ /**
4409
+ * DTO.PAGE.CURSOR.DESCRIPTION
4410
+ */
4411
+ cursor?: string;
4412
+ /**
4413
+ * DTO.PAGE.LIMIT
4414
+ */
4415
+ limit?: number;
4416
+ /**
4417
+ * DTO.PAGE.DIRECTION
4418
+ */
4419
+ direction?: GetWalletTransfersDirection;
4037
4420
  /**
4038
4421
  * GLOBAL.TOKENADDRESS.DESCRIPTION
4039
4422
  */
4040
4423
  tokenAddress?: string;
4424
+ /**
4425
+ * DTO.TOKEN.TRANSFER.QUERY.BEFORE_TIMESTAMP
4426
+ */
4427
+ beforeTimestamp?: number;
4428
+ /**
4429
+ * DTO.TOKEN.TRANSFER.QUERY.AFTER_TIMESTAMP
4430
+ */
4431
+ afterTimestamp?: number;
4041
4432
  };
4042
- type GetBalanceParams = {
4433
+ type GetWalletTransfersDirection = (typeof GetWalletTransfersDirection)[keyof typeof GetWalletTransfersDirection];
4434
+ declare const GetWalletTransfersDirection: {
4435
+ readonly next: "next";
4436
+ readonly prev: "prev";
4437
+ };
4438
+ type GetWalletTransferTotalParams = {
4439
+ /**
4440
+ * DTO.PAGE.CURSOR.DESCRIPTION
4441
+ */
4442
+ cursor?: string;
4043
4443
  /**
4044
- * DTO.WALLET.BALANCE.QUERY.TOKEN_ADDRESS
4444
+ * DTO.PAGE.LIMIT
4445
+ */
4446
+ limit?: number;
4447
+ /**
4448
+ * DTO.PAGE.DIRECTION
4449
+ */
4450
+ direction?: GetWalletTransferTotalDirection;
4451
+ /**
4452
+ * GLOBAL.TOKENADDRESS.DESCRIPTION
4045
4453
  */
4046
4454
  tokenAddress?: string;
4455
+ /**
4456
+ * DTO.TOKEN.TRANSFER.QUERY.BEFORE_TIMESTAMP
4457
+ */
4458
+ beforeTimestamp?: number;
4459
+ /**
4460
+ * DTO.TOKEN.TRANSFER.QUERY.AFTER_TIMESTAMP
4461
+ */
4462
+ afterTimestamp?: number;
4463
+ };
4464
+ type GetWalletTransferTotalDirection = (typeof GetWalletTransferTotalDirection)[keyof typeof GetWalletTransferTotalDirection];
4465
+ declare const GetWalletTransferTotalDirection: {
4466
+ readonly next: "next";
4467
+ readonly prev: "prev";
4047
4468
  };
4048
4469
  type GetBalanceUpdatesParams = {
4470
+ /**
4471
+ * DTO.PAGE.CURSOR.DESCRIPTION
4472
+ */
4473
+ cursor?: string;
4474
+ /**
4475
+ * DTO.PAGE.LIMIT
4476
+ */
4477
+ limit?: number;
4478
+ /**
4479
+ * DTO.PAGE.DIRECTION
4480
+ */
4481
+ direction?: GetBalanceUpdatesDirection;
4049
4482
  /**
4050
4483
  * DTO.WALLET.BALANCE_UPDATE.QUERY.TOKEN_ADDRESS
4051
4484
  */
@@ -4066,14 +4499,11 @@ type GetBalanceUpdatesParams = {
4066
4499
  * DTO.WALLET.BALANCE_UPDATE.QUERY.CHANGE_TYPE
4067
4500
  */
4068
4501
  changeType?: BalanceChangeType;
4069
- /**
4070
- * DTO.PAGE.CURSOR
4071
- */
4072
- cursor?: string;
4073
- /**
4074
- * DTO.PAGE.LIMIT
4075
- */
4076
- limit?: number;
4502
+ };
4503
+ type GetBalanceUpdatesDirection = (typeof GetBalanceUpdatesDirection)[keyof typeof GetBalanceUpdatesDirection];
4504
+ declare const GetBalanceUpdatesDirection: {
4505
+ readonly next: "next";
4506
+ readonly prev: "prev";
4077
4507
  };
4078
4508
  type GetClaimsParams = {
4079
4509
  /**
@@ -4425,18 +4855,26 @@ declare const getActivities: (chain: ChainSymbol, params?: GetActivitiesParams,
4425
4855
  * @summary CONTROLLER.TRADE.GET.TOP_TRADERS.SUMMARY
4426
4856
  */
4427
4857
  declare const getTopTraders: (chain: ChainSymbol, params: GetTopTradersParams, options?: SecondParameter$8<typeof chainstreamApiClient>) => Promise<TopTradersPage>;
4858
+ /**
4859
+ * CONTROLLER.TRADER.GET_GAINERS_LOSERS.DESCRIPTION
4860
+ * @summary CONTROLLER.TRADER.GET_GAINERS_LOSERS.SUMMARY
4861
+ */
4862
+ declare const getTraderGainersLosers: (chain: ChainSymbol, params?: GetTraderGainersLosersParams, options?: SecondParameter$8<typeof chainstreamApiClient>) => Promise<TraderGainersLosersPage>;
4428
4863
  type GetTradesResult = NonNullable<Awaited<ReturnType<typeof getTrades>>>;
4429
4864
  type GetActivitiesResult = NonNullable<Awaited<ReturnType<typeof getActivities>>>;
4430
4865
  type GetTopTradersResult = NonNullable<Awaited<ReturnType<typeof getTopTraders>>>;
4866
+ type GetTraderGainersLosersResult = NonNullable<Awaited<ReturnType<typeof getTraderGainersLosers>>>;
4431
4867
 
4432
4868
  type tradeApi_GetActivitiesResult = GetActivitiesResult;
4433
4869
  type tradeApi_GetTopTradersResult = GetTopTradersResult;
4870
+ type tradeApi_GetTraderGainersLosersResult = GetTraderGainersLosersResult;
4434
4871
  type tradeApi_GetTradesResult = GetTradesResult;
4435
4872
  declare const tradeApi_getActivities: typeof getActivities;
4436
4873
  declare const tradeApi_getTopTraders: typeof getTopTraders;
4874
+ declare const tradeApi_getTraderGainersLosers: typeof getTraderGainersLosers;
4437
4875
  declare const tradeApi_getTrades: typeof getTrades;
4438
4876
  declare namespace tradeApi {
4439
- export { type tradeApi_GetActivitiesResult as GetActivitiesResult, type tradeApi_GetTopTradersResult as GetTopTradersResult, type tradeApi_GetTradesResult as GetTradesResult, tradeApi_getActivities as getActivities, tradeApi_getTopTraders as getTopTraders, tradeApi_getTrades as getTrades };
4877
+ export { type tradeApi_GetActivitiesResult as GetActivitiesResult, type tradeApi_GetTopTradersResult as GetTopTradersResult, type tradeApi_GetTraderGainersLosersResult as GetTraderGainersLosersResult, type tradeApi_GetTradesResult as GetTradesResult, tradeApi_getActivities as getActivities, tradeApi_getTopTraders as getTopTraders, tradeApi_getTraderGainersLosers as getTraderGainersLosers, tradeApi_getTrades as getTrades };
4440
4878
  }
4441
4879
 
4442
4880
  /**
@@ -4573,6 +5011,16 @@ declare const getTokenTraders: (chain: ChainSymbol, tokenAddress: string, tag: T
4573
5011
  * @summary CONTROLLER.TOKEN.GET_LIQUIDITY_SNAPSHOTS.SUMMARY
4574
5012
  */
4575
5013
  declare const getTokenLiquiditySnapshots: (chain: ChainSymbol, tokenAddress: string, params?: GetTokenLiquiditySnapshotsParams, options?: SecondParameter$7<typeof chainstreamApiClient>) => Promise<TokenLiquiditySnapshotPage>;
5014
+ /**
5015
+ * CONTROLLER.TOKEN.GET_TRANSFER_LIST.DESCRIPTION
5016
+ * @summary CONTROLLER.TOKEN.GET_TRANSFER_LIST.SUMMARY
5017
+ */
5018
+ declare const getTokenTransfers: (chain: ChainSymbol, tokenAddress: string, params?: GetTokenTransfersParams, options?: SecondParameter$7<typeof chainstreamApiClient>) => Promise<TokenTransferPage>;
5019
+ /**
5020
+ * CONTROLLER.TOKEN.GET_TRANSFER_TOTAL.DESCRIPTION
5021
+ * @summary CONTROLLER.TOKEN.GET_TRANSFER_TOTAL.SUMMARY
5022
+ */
5023
+ declare const getTokenTransferTotal: (chain: ChainSymbol, tokenAddress: string, params?: GetTokenTransferTotalParams, options?: SecondParameter$7<typeof chainstreamApiClient>) => Promise<TokenTransferTotalDTO>;
4576
5024
  type SearchResult = NonNullable<Awaited<ReturnType<typeof search>>>;
4577
5025
  type GetTokensResult = NonNullable<Awaited<ReturnType<typeof getTokens>>>;
4578
5026
  type GetTokenResult = NonNullable<Awaited<ReturnType<typeof getToken>>>;
@@ -4598,6 +5046,8 @@ type GetSecurityResult = NonNullable<Awaited<ReturnType<typeof getSecurity>>>;
4598
5046
  type GetDevTokensResult = NonNullable<Awaited<ReturnType<typeof getDevTokens>>>;
4599
5047
  type GetTokenTradersResult = NonNullable<Awaited<ReturnType<typeof getTokenTraders>>>;
4600
5048
  type GetTokenLiquiditySnapshotsResult = NonNullable<Awaited<ReturnType<typeof getTokenLiquiditySnapshots>>>;
5049
+ type GetTokenTransfersResult = NonNullable<Awaited<ReturnType<typeof getTokenTransfers>>>;
5050
+ type GetTokenTransferTotalResult = NonNullable<Awaited<ReturnType<typeof getTokenTransferTotal>>>;
4601
5051
 
4602
5052
  type tokenApi_GetCandlesResult = GetCandlesResult;
4603
5053
  type tokenApi_GetCreationResult = GetCreationResult;
@@ -4620,6 +5070,8 @@ type tokenApi_GetStatsResult = GetStatsResult;
4620
5070
  type tokenApi_GetTokenLiquiditySnapshotsResult = GetTokenLiquiditySnapshotsResult;
4621
5071
  type tokenApi_GetTokenResult = GetTokenResult;
4622
5072
  type tokenApi_GetTokenTradersResult = GetTokenTradersResult;
5073
+ type tokenApi_GetTokenTransferTotalResult = GetTokenTransferTotalResult;
5074
+ type tokenApi_GetTokenTransfersResult = GetTokenTransfersResult;
4623
5075
  type tokenApi_GetTokensResult = GetTokensResult;
4624
5076
  type tokenApi_GetTopHoldersResult = GetTopHoldersResult;
4625
5077
  type tokenApi_ListTokenResult = ListTokenResult;
@@ -4645,12 +5097,14 @@ declare const tokenApi_getStatsMulti: typeof getStatsMulti;
4645
5097
  declare const tokenApi_getToken: typeof getToken;
4646
5098
  declare const tokenApi_getTokenLiquiditySnapshots: typeof getTokenLiquiditySnapshots;
4647
5099
  declare const tokenApi_getTokenTraders: typeof getTokenTraders;
5100
+ declare const tokenApi_getTokenTransferTotal: typeof getTokenTransferTotal;
5101
+ declare const tokenApi_getTokenTransfers: typeof getTokenTransfers;
4648
5102
  declare const tokenApi_getTokens: typeof getTokens;
4649
5103
  declare const tokenApi_getTopHolders: typeof getTopHolders;
4650
5104
  declare const tokenApi_listToken: typeof listToken;
4651
5105
  declare const tokenApi_search: typeof search;
4652
5106
  declare namespace tokenApi {
4653
- export { type tokenApi_GetCandlesResult as GetCandlesResult, type tokenApi_GetCreationResult as GetCreationResult, type tokenApi_GetDevTokensResult as GetDevTokensResult, type tokenApi_GetHoldersMultiResult as GetHoldersMultiResult, type tokenApi_GetHoldersResult as GetHoldersResult, type tokenApi_GetMarketDataMultiResult as GetMarketDataMultiResult, type tokenApi_GetMarketDataResult as GetMarketDataResult, type tokenApi_GetMetadataMultiResult as GetMetadataMultiResult, type tokenApi_GetMetadataResult as GetMetadataResult, type tokenApi_GetMintAndBurnResult as GetMintAndBurnResult, type tokenApi_GetPairCandlesResult as GetPairCandlesResult, type tokenApi_GetPoolCandlesResult as GetPoolCandlesResult, type tokenApi_GetPoolsResult as GetPoolsResult, type tokenApi_GetPriceByTimeResult as GetPriceByTimeResult, type tokenApi_GetPricesResult as GetPricesResult, type tokenApi_GetSecurityResult as GetSecurityResult, type tokenApi_GetStatsMultiResult as GetStatsMultiResult, type tokenApi_GetStatsResult as GetStatsResult, type tokenApi_GetTokenLiquiditySnapshotsResult as GetTokenLiquiditySnapshotsResult, type tokenApi_GetTokenResult as GetTokenResult, type tokenApi_GetTokenTradersResult as GetTokenTradersResult, type tokenApi_GetTokensResult as GetTokensResult, type tokenApi_GetTopHoldersResult as GetTopHoldersResult, type tokenApi_ListTokenResult as ListTokenResult, type tokenApi_SearchResult as SearchResult, tokenApi_getCandles as getCandles, tokenApi_getCreation as getCreation, tokenApi_getDevTokens as getDevTokens, tokenApi_getHolders as getHolders, tokenApi_getHoldersMulti as getHoldersMulti, tokenApi_getMarketData as getMarketData, tokenApi_getMarketDataMulti as getMarketDataMulti, tokenApi_getMetadata as getMetadata, tokenApi_getMetadataMulti as getMetadataMulti, tokenApi_getMintAndBurn as getMintAndBurn, tokenApi_getPairCandles as getPairCandles, tokenApi_getPoolCandles as getPoolCandles, tokenApi_getPools as getPools, tokenApi_getPriceByTime as getPriceByTime, tokenApi_getPrices as getPrices, tokenApi_getSecurity as getSecurity, tokenApi_getStats as getStats, tokenApi_getStatsMulti as getStatsMulti, tokenApi_getToken as getToken, tokenApi_getTokenLiquiditySnapshots as getTokenLiquiditySnapshots, tokenApi_getTokenTraders as getTokenTraders, tokenApi_getTokens as getTokens, tokenApi_getTopHolders as getTopHolders, tokenApi_listToken as listToken, tokenApi_search as search };
5107
+ export { type tokenApi_GetCandlesResult as GetCandlesResult, type tokenApi_GetCreationResult as GetCreationResult, type tokenApi_GetDevTokensResult as GetDevTokensResult, type tokenApi_GetHoldersMultiResult as GetHoldersMultiResult, type tokenApi_GetHoldersResult as GetHoldersResult, type tokenApi_GetMarketDataMultiResult as GetMarketDataMultiResult, type tokenApi_GetMarketDataResult as GetMarketDataResult, type tokenApi_GetMetadataMultiResult as GetMetadataMultiResult, type tokenApi_GetMetadataResult as GetMetadataResult, type tokenApi_GetMintAndBurnResult as GetMintAndBurnResult, type tokenApi_GetPairCandlesResult as GetPairCandlesResult, type tokenApi_GetPoolCandlesResult as GetPoolCandlesResult, type tokenApi_GetPoolsResult as GetPoolsResult, type tokenApi_GetPriceByTimeResult as GetPriceByTimeResult, type tokenApi_GetPricesResult as GetPricesResult, type tokenApi_GetSecurityResult as GetSecurityResult, type tokenApi_GetStatsMultiResult as GetStatsMultiResult, type tokenApi_GetStatsResult as GetStatsResult, type tokenApi_GetTokenLiquiditySnapshotsResult as GetTokenLiquiditySnapshotsResult, type tokenApi_GetTokenResult as GetTokenResult, type tokenApi_GetTokenTradersResult as GetTokenTradersResult, type tokenApi_GetTokenTransferTotalResult as GetTokenTransferTotalResult, type tokenApi_GetTokenTransfersResult as GetTokenTransfersResult, type tokenApi_GetTokensResult as GetTokensResult, type tokenApi_GetTopHoldersResult as GetTopHoldersResult, type tokenApi_ListTokenResult as ListTokenResult, type tokenApi_SearchResult as SearchResult, tokenApi_getCandles as getCandles, tokenApi_getCreation as getCreation, tokenApi_getDevTokens as getDevTokens, tokenApi_getHolders as getHolders, tokenApi_getHoldersMulti as getHoldersMulti, tokenApi_getMarketData as getMarketData, tokenApi_getMarketDataMulti as getMarketDataMulti, tokenApi_getMetadata as getMetadata, tokenApi_getMetadataMulti as getMetadataMulti, tokenApi_getMintAndBurn as getMintAndBurn, tokenApi_getPairCandles as getPairCandles, tokenApi_getPoolCandles as getPoolCandles, tokenApi_getPools as getPools, tokenApi_getPriceByTime as getPriceByTime, tokenApi_getPrices as getPrices, tokenApi_getSecurity as getSecurity, tokenApi_getStats as getStats, tokenApi_getStatsMulti as getStatsMulti, tokenApi_getToken as getToken, tokenApi_getTokenLiquiditySnapshots as getTokenLiquiditySnapshots, tokenApi_getTokenTraders as getTokenTraders, tokenApi_getTokenTransferTotal as getTokenTransferTotal, tokenApi_getTokenTransfers as getTokenTransfers, tokenApi_getTokens as getTokens, tokenApi_getTopHolders as getTopHolders, tokenApi_listToken as listToken, tokenApi_search as search };
4654
5108
  }
4655
5109
 
4656
5110
  /**
@@ -4747,48 +5201,120 @@ declare namespace rankingApi {
4747
5201
 
4748
5202
  type SecondParameter$4<T extends (...args: never) => unknown> = Parameters<T>[1];
4749
5203
  /**
4750
- * CONTROLLER.WALLET.GET_PNL.DESCRIPTION
4751
- * @summary CONTROLLER.WALLET.GET_PNL.SUMMARY
5204
+ * CONTROLLER.WALLET.GET_NET_WORTH_SUMMARY.DESCRIPTION
5205
+ * @summary CONTROLLER.WALLET.GET_NET_WORTH_SUMMARY.SUMMARY
4752
5206
  */
4753
- declare const getPnl: (chain: ChainSymbol, walletAddress: string, params?: GetPnlParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletPnlDTO[]>;
5207
+ declare const getNetWorthSummary: (chain: ChainSymbol, params: GetNetWorthSummaryParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletNetWorthSummaryDTO>;
4754
5208
  /**
4755
- * CONTROLLER.WALLET.GET_PNL_STATS.DESCRIPTION
4756
- * @summary CONTROLLER.WALLET.GET_PNL_STATS.SUMMARY
5209
+ * CONTROLLER.WALLET.GET_PNL_BY_WALLET.DESCRIPTION
5210
+ * @summary CONTROLLER.WALLET.GET_PNL_BY_WALLET.SUMMARY
4757
5211
  */
4758
- declare const getPnlStats: (chain: ChainSymbol, walletAddress: string, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletPnlDTO[]>;
5212
+ declare const getPnlByWallet: (chain: ChainSymbol, params: GetPnlByWalletParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<PnlDetailsPage>;
4759
5213
  /**
4760
- * CONTROLLER.WALLET.GET_BALANCES.DESCRIPTION
4761
- * @summary CONTROLLER.WALLET.GET_BALANCES.SUMMARY
5214
+ * CONTROLLER.WALLET.GET_FIRST_TX.DESCRIPTION
5215
+ * @summary CONTROLLER.WALLET.GET_FIRST_TX.SUMMARY
4762
5216
  */
4763
- declare const getBalance: (chain: ChainSymbol, walletAddress: string, params?: GetBalanceParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletBalancesDTO>;
5217
+ declare const getWalletFirstTx: (chain: ChainSymbol, params: GetWalletFirstTxParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletFirstTxDTO>;
4764
5218
  /**
4765
5219
  * CONTROLLER.WALLET.CALCULATE_PNL.DESCRIPTION
4766
5220
  * @summary CONTROLLER.WALLET.CALCULATE_PNL.SUMMARY
4767
5221
  */
4768
5222
  declare const calculatePnl: (chain: ChainSymbol, walletAddress: string, calculatePnlInput: CalculatePnlInput, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<BooleanResultDTO>;
5223
+ /**
5224
+ * CONTROLLER.WALLET.GET_NET_WORTH.DESCRIPTION
5225
+ * @summary CONTROLLER.WALLET.GET_NET_WORTH.SUMMARY
5226
+ */
5227
+ declare const getNetWorth: (chain: ChainSymbol, walletAddress: string, params?: GetNetWorthParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletNetWorthPage>;
5228
+ /**
5229
+ * CONTROLLER.WALLET.GET_TOKENS_BALANCE.DESCRIPTION
5230
+ * @summary CONTROLLER.WALLET.GET_TOKENS_BALANCE.SUMMARY
5231
+ */
5232
+ declare const getTokensBalance: (chain: ChainSymbol, walletAddress: string, params?: GetTokensBalanceParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<TokensBalancePage>;
5233
+ /**
5234
+ * CONTROLLER.WALLET.GET_NET_WORTH_CHART.DESCRIPTION
5235
+ * @summary CONTROLLER.WALLET.GET_NET_WORTH_CHART.SUMMARY
5236
+ */
5237
+ declare const getNetWorthChart: (chain: ChainSymbol, walletAddress: string, params?: GetNetWorthChartParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletNetWorthChartDTO>;
5238
+ /**
5239
+ * CONTROLLER.WALLET.GET_NET_WORTH_DETAILS.DESCRIPTION
5240
+ * @summary CONTROLLER.WALLET.GET_NET_WORTH_DETAILS.SUMMARY
5241
+ */
5242
+ declare const getNetWorthDetails: (chain: ChainSymbol, walletAddress: string, params?: GetNetWorthDetailsParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletNetWorthDetailsPage>;
5243
+ /**
5244
+ * CONTROLLER.WALLET.GET_PNL_SUMMARY.DESCRIPTION
5245
+ * @summary CONTROLLER.WALLET.GET_PNL_SUMMARY.SUMMARY
5246
+ */
5247
+ declare const getPnl: (chain: ChainSymbol, walletAddress: string, params?: GetPnlParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<WalletPnlSummaryDTO>;
5248
+ /**
5249
+ * CONTROLLER.WALLET.GET_PNL_DETAILS.DESCRIPTION
5250
+ * @summary CONTROLLER.WALLET.GET_PNL_DETAILS.SUMMARY
5251
+ */
5252
+ declare const getPnlDetails: (chain: ChainSymbol, walletAddress: string, params?: GetPnlDetailsParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<PnlDetailsPage>;
5253
+ /**
5254
+ * CONTROLLER.WALLET.GET_PNL_BY_TOKEN.DESCRIPTION
5255
+ * @summary CONTROLLER.WALLET.GET_PNL_BY_TOKEN.SUMMARY
5256
+ */
5257
+ declare const getPnlByToken: (chain: ChainSymbol, walletAddress: string, params: GetPnlByTokenParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<PnlDetailsPage>;
5258
+ /**
5259
+ * CONTROLLER.WALLET.GET_TRANSFERS.DESCRIPTION
5260
+ * @summary CONTROLLER.WALLET.GET_TRANSFERS.SUMMARY
5261
+ */
5262
+ declare const getWalletTransfers: (chain: ChainSymbol, walletAddress: string, params?: GetWalletTransfersParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<TransactionHistoryPage>;
5263
+ /**
5264
+ * CONTROLLER.WALLET.GET_TRANSFER_TOTAL.DESCRIPTION
5265
+ * @summary CONTROLLER.WALLET.GET_TRANSFER_TOTAL.SUMMARY
5266
+ */
5267
+ declare const getWalletTransferTotal: (chain: ChainSymbol, walletAddress: string, params?: GetWalletTransferTotalParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<TokenTransferTotalDTO>;
4769
5268
  /**
4770
5269
  * CONTROLLER.WALLET.GET_BALANCE_UPDATES.DESCRIPTION
4771
5270
  * @summary CONTROLLER.WALLET.GET_BALANCE_UPDATES.SUMMARY
4772
5271
  */
4773
5272
  declare const getBalanceUpdates: (chain: ChainSymbol, walletAddress: string, params?: GetBalanceUpdatesParams, options?: SecondParameter$4<typeof chainstreamApiClient>) => Promise<BalanceUpdatePage>;
4774
- type GetPnlResult = NonNullable<Awaited<ReturnType<typeof getPnl>>>;
4775
- type GetPnlStatsResult = NonNullable<Awaited<ReturnType<typeof getPnlStats>>>;
4776
- type GetBalanceResult = NonNullable<Awaited<ReturnType<typeof getBalance>>>;
5273
+ type GetNetWorthSummaryResult = NonNullable<Awaited<ReturnType<typeof getNetWorthSummary>>>;
5274
+ type GetPnlByWalletResult = NonNullable<Awaited<ReturnType<typeof getPnlByWallet>>>;
5275
+ type GetWalletFirstTxResult = NonNullable<Awaited<ReturnType<typeof getWalletFirstTx>>>;
4777
5276
  type CalculatePnlResult = NonNullable<Awaited<ReturnType<typeof calculatePnl>>>;
5277
+ type GetNetWorthResult = NonNullable<Awaited<ReturnType<typeof getNetWorth>>>;
5278
+ type GetTokensBalanceResult = NonNullable<Awaited<ReturnType<typeof getTokensBalance>>>;
5279
+ type GetNetWorthChartResult = NonNullable<Awaited<ReturnType<typeof getNetWorthChart>>>;
5280
+ type GetNetWorthDetailsResult = NonNullable<Awaited<ReturnType<typeof getNetWorthDetails>>>;
5281
+ type GetPnlResult = NonNullable<Awaited<ReturnType<typeof getPnl>>>;
5282
+ type GetPnlDetailsResult = NonNullable<Awaited<ReturnType<typeof getPnlDetails>>>;
5283
+ type GetPnlByTokenResult = NonNullable<Awaited<ReturnType<typeof getPnlByToken>>>;
5284
+ type GetWalletTransfersResult = NonNullable<Awaited<ReturnType<typeof getWalletTransfers>>>;
5285
+ type GetWalletTransferTotalResult = NonNullable<Awaited<ReturnType<typeof getWalletTransferTotal>>>;
4778
5286
  type GetBalanceUpdatesResult = NonNullable<Awaited<ReturnType<typeof getBalanceUpdates>>>;
4779
5287
 
4780
5288
  type walletApi_CalculatePnlResult = CalculatePnlResult;
4781
- type walletApi_GetBalanceResult = GetBalanceResult;
4782
5289
  type walletApi_GetBalanceUpdatesResult = GetBalanceUpdatesResult;
5290
+ type walletApi_GetNetWorthChartResult = GetNetWorthChartResult;
5291
+ type walletApi_GetNetWorthDetailsResult = GetNetWorthDetailsResult;
5292
+ type walletApi_GetNetWorthResult = GetNetWorthResult;
5293
+ type walletApi_GetNetWorthSummaryResult = GetNetWorthSummaryResult;
5294
+ type walletApi_GetPnlByTokenResult = GetPnlByTokenResult;
5295
+ type walletApi_GetPnlByWalletResult = GetPnlByWalletResult;
5296
+ type walletApi_GetPnlDetailsResult = GetPnlDetailsResult;
4783
5297
  type walletApi_GetPnlResult = GetPnlResult;
4784
- type walletApi_GetPnlStatsResult = GetPnlStatsResult;
5298
+ type walletApi_GetTokensBalanceResult = GetTokensBalanceResult;
5299
+ type walletApi_GetWalletFirstTxResult = GetWalletFirstTxResult;
5300
+ type walletApi_GetWalletTransferTotalResult = GetWalletTransferTotalResult;
5301
+ type walletApi_GetWalletTransfersResult = GetWalletTransfersResult;
4785
5302
  declare const walletApi_calculatePnl: typeof calculatePnl;
4786
- declare const walletApi_getBalance: typeof getBalance;
4787
5303
  declare const walletApi_getBalanceUpdates: typeof getBalanceUpdates;
5304
+ declare const walletApi_getNetWorth: typeof getNetWorth;
5305
+ declare const walletApi_getNetWorthChart: typeof getNetWorthChart;
5306
+ declare const walletApi_getNetWorthDetails: typeof getNetWorthDetails;
5307
+ declare const walletApi_getNetWorthSummary: typeof getNetWorthSummary;
4788
5308
  declare const walletApi_getPnl: typeof getPnl;
4789
- declare const walletApi_getPnlStats: typeof getPnlStats;
5309
+ declare const walletApi_getPnlByToken: typeof getPnlByToken;
5310
+ declare const walletApi_getPnlByWallet: typeof getPnlByWallet;
5311
+ declare const walletApi_getPnlDetails: typeof getPnlDetails;
5312
+ declare const walletApi_getTokensBalance: typeof getTokensBalance;
5313
+ declare const walletApi_getWalletFirstTx: typeof getWalletFirstTx;
5314
+ declare const walletApi_getWalletTransferTotal: typeof getWalletTransferTotal;
5315
+ declare const walletApi_getWalletTransfers: typeof getWalletTransfers;
4790
5316
  declare namespace walletApi {
4791
- export { type walletApi_CalculatePnlResult as CalculatePnlResult, type walletApi_GetBalanceResult as GetBalanceResult, type walletApi_GetBalanceUpdatesResult as GetBalanceUpdatesResult, type walletApi_GetPnlResult as GetPnlResult, type walletApi_GetPnlStatsResult as GetPnlStatsResult, walletApi_calculatePnl as calculatePnl, walletApi_getBalance as getBalance, walletApi_getBalanceUpdates as getBalanceUpdates, walletApi_getPnl as getPnl, walletApi_getPnlStats as getPnlStats };
5317
+ export { type walletApi_CalculatePnlResult as CalculatePnlResult, type walletApi_GetBalanceUpdatesResult as GetBalanceUpdatesResult, type walletApi_GetNetWorthChartResult as GetNetWorthChartResult, type walletApi_GetNetWorthDetailsResult as GetNetWorthDetailsResult, type walletApi_GetNetWorthResult as GetNetWorthResult, type walletApi_GetNetWorthSummaryResult as GetNetWorthSummaryResult, type walletApi_GetPnlByTokenResult as GetPnlByTokenResult, type walletApi_GetPnlByWalletResult as GetPnlByWalletResult, type walletApi_GetPnlDetailsResult as GetPnlDetailsResult, type walletApi_GetPnlResult as GetPnlResult, type walletApi_GetTokensBalanceResult as GetTokensBalanceResult, type walletApi_GetWalletFirstTxResult as GetWalletFirstTxResult, type walletApi_GetWalletTransferTotalResult as GetWalletTransferTotalResult, type walletApi_GetWalletTransfersResult as GetWalletTransfersResult, walletApi_calculatePnl as calculatePnl, walletApi_getBalanceUpdates as getBalanceUpdates, walletApi_getNetWorth as getNetWorth, walletApi_getNetWorthChart as getNetWorthChart, walletApi_getNetWorthDetails as getNetWorthDetails, walletApi_getNetWorthSummary as getNetWorthSummary, walletApi_getPnl as getPnl, walletApi_getPnlByToken as getPnlByToken, walletApi_getPnlByWallet as getPnlByWallet, walletApi_getPnlDetails as getPnlDetails, walletApi_getTokensBalance as getTokensBalance, walletApi_getWalletFirstTx as getWalletFirstTx, walletApi_getWalletTransferTotal as getWalletTransferTotal, walletApi_getWalletTransfers as getWalletTransfers };
4792
5318
  }
4793
5319
 
4794
5320
  /**
@@ -5112,9 +5638,17 @@ interface WsTokenActivity {
5112
5638
  txHash: string;
5113
5639
  timestamp: number;
5114
5640
  }
5641
+ /**
5642
+ * Token trade statistics for multiple time windows.
5643
+ * Time windows: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 24h, 1W, 1M
5644
+ */
5115
5645
  interface WsTokenStat {
5646
+ /** Token address */
5116
5647
  address: string;
5648
+ /** Timestamp in milliseconds (UTC time when pipeline processed) */
5117
5649
  timestamp: number;
5650
+ /** Current token price in USD (first positive closeInUsd across windows, or from cache) */
5651
+ price?: string;
5118
5652
  buys1m?: number;
5119
5653
  sells1m?: number;
5120
5654
  buyers1m?: number;
@@ -5124,6 +5658,12 @@ interface WsTokenStat {
5124
5658
  price1m?: string;
5125
5659
  openInUsd1m?: string;
5126
5660
  closeInUsd1m?: string;
5661
+ volumeChangeRatio1m?: string;
5662
+ trades1m?: number;
5663
+ dappProgramCount1m?: number;
5664
+ poolCount1m?: number;
5665
+ liquidityInUsd1m?: string;
5666
+ liquidityChangeRatio1m?: string;
5127
5667
  buys5m?: number;
5128
5668
  sells5m?: number;
5129
5669
  buyers5m?: number;
@@ -5133,6 +5673,12 @@ interface WsTokenStat {
5133
5673
  price5m?: string;
5134
5674
  openInUsd5m?: string;
5135
5675
  closeInUsd5m?: string;
5676
+ volumeChangeRatio5m?: string;
5677
+ trades5m?: number;
5678
+ dappProgramCount5m?: number;
5679
+ poolCount5m?: number;
5680
+ liquidityInUsd5m?: string;
5681
+ liquidityChangeRatio5m?: string;
5136
5682
  buys15m?: number;
5137
5683
  sells15m?: number;
5138
5684
  buyers15m?: number;
@@ -5142,6 +5688,12 @@ interface WsTokenStat {
5142
5688
  price15m?: string;
5143
5689
  openInUsd15m?: string;
5144
5690
  closeInUsd15m?: string;
5691
+ volumeChangeRatio15m?: string;
5692
+ trades15m?: number;
5693
+ dappProgramCount15m?: number;
5694
+ poolCount15m?: number;
5695
+ liquidityInUsd15m?: string;
5696
+ liquidityChangeRatio15m?: string;
5145
5697
  buys30m?: number;
5146
5698
  sells30m?: number;
5147
5699
  buyers30m?: number;
@@ -5151,6 +5703,12 @@ interface WsTokenStat {
5151
5703
  price30m?: string;
5152
5704
  openInUsd30m?: string;
5153
5705
  closeInUsd30m?: string;
5706
+ volumeChangeRatio30m?: string;
5707
+ trades30m?: number;
5708
+ dappProgramCount30m?: number;
5709
+ poolCount30m?: number;
5710
+ liquidityInUsd30m?: string;
5711
+ liquidityChangeRatio30m?: string;
5154
5712
  buys1h?: number;
5155
5713
  sells1h?: number;
5156
5714
  buyers1h?: number;
@@ -5160,6 +5718,27 @@ interface WsTokenStat {
5160
5718
  price1h?: string;
5161
5719
  openInUsd1h?: string;
5162
5720
  closeInUsd1h?: string;
5721
+ volumeChangeRatio1h?: string;
5722
+ trades1h?: number;
5723
+ dappProgramCount1h?: number;
5724
+ poolCount1h?: number;
5725
+ liquidityInUsd1h?: string;
5726
+ liquidityChangeRatio1h?: string;
5727
+ buys2h?: number;
5728
+ sells2h?: number;
5729
+ buyers2h?: number;
5730
+ sellers2h?: number;
5731
+ buyVolumeInUsd2h?: string;
5732
+ sellVolumeInUsd2h?: string;
5733
+ price2h?: string;
5734
+ openInUsd2h?: string;
5735
+ closeInUsd2h?: string;
5736
+ volumeChangeRatio2h?: string;
5737
+ trades2h?: number;
5738
+ dappProgramCount2h?: number;
5739
+ poolCount2h?: number;
5740
+ liquidityInUsd2h?: string;
5741
+ liquidityChangeRatio2h?: string;
5163
5742
  buys4h?: number;
5164
5743
  sells4h?: number;
5165
5744
  buyers4h?: number;
@@ -5169,6 +5748,42 @@ interface WsTokenStat {
5169
5748
  price4h?: string;
5170
5749
  openInUsd4h?: string;
5171
5750
  closeInUsd4h?: string;
5751
+ volumeChangeRatio4h?: string;
5752
+ trades4h?: number;
5753
+ dappProgramCount4h?: number;
5754
+ poolCount4h?: number;
5755
+ liquidityInUsd4h?: string;
5756
+ liquidityChangeRatio4h?: string;
5757
+ buys6h?: number;
5758
+ sells6h?: number;
5759
+ buyers6h?: number;
5760
+ sellers6h?: number;
5761
+ buyVolumeInUsd6h?: string;
5762
+ sellVolumeInUsd6h?: string;
5763
+ price6h?: string;
5764
+ openInUsd6h?: string;
5765
+ closeInUsd6h?: string;
5766
+ volumeChangeRatio6h?: string;
5767
+ trades6h?: number;
5768
+ dappProgramCount6h?: number;
5769
+ poolCount6h?: number;
5770
+ liquidityInUsd6h?: string;
5771
+ liquidityChangeRatio6h?: string;
5772
+ buys8h?: number;
5773
+ sells8h?: number;
5774
+ buyers8h?: number;
5775
+ sellers8h?: number;
5776
+ buyVolumeInUsd8h?: string;
5777
+ sellVolumeInUsd8h?: string;
5778
+ price8h?: string;
5779
+ openInUsd8h?: string;
5780
+ closeInUsd8h?: string;
5781
+ volumeChangeRatio8h?: string;
5782
+ trades8h?: number;
5783
+ dappProgramCount8h?: number;
5784
+ poolCount8h?: number;
5785
+ liquidityInUsd8h?: string;
5786
+ liquidityChangeRatio8h?: string;
5172
5787
  buys24h?: number;
5173
5788
  sells24h?: number;
5174
5789
  buyers24h?: number;
@@ -5178,7 +5793,42 @@ interface WsTokenStat {
5178
5793
  price24h?: string;
5179
5794
  openInUsd24h?: string;
5180
5795
  closeInUsd24h?: string;
5181
- price?: string;
5796
+ volumeChangeRatio24h?: string;
5797
+ trades24h?: number;
5798
+ dappProgramCount24h?: number;
5799
+ poolCount24h?: number;
5800
+ liquidityInUsd24h?: string;
5801
+ liquidityChangeRatio24h?: string;
5802
+ buys1W?: number;
5803
+ sells1W?: number;
5804
+ buyers1W?: number;
5805
+ sellers1W?: number;
5806
+ buyVolumeInUsd1W?: string;
5807
+ sellVolumeInUsd1W?: string;
5808
+ price1W?: string;
5809
+ openInUsd1W?: string;
5810
+ closeInUsd1W?: string;
5811
+ volumeChangeRatio1W?: string;
5812
+ trades1W?: number;
5813
+ dappProgramCount1W?: number;
5814
+ poolCount1W?: number;
5815
+ liquidityInUsd1W?: string;
5816
+ liquidityChangeRatio1W?: string;
5817
+ buys1M?: number;
5818
+ sells1M?: number;
5819
+ buyers1M?: number;
5820
+ sellers1M?: number;
5821
+ buyVolumeInUsd1M?: string;
5822
+ sellVolumeInUsd1M?: string;
5823
+ price1M?: string;
5824
+ openInUsd1M?: string;
5825
+ closeInUsd1M?: string;
5826
+ volumeChangeRatio1M?: string;
5827
+ trades1M?: number;
5828
+ dappProgramCount1M?: number;
5829
+ poolCount1M?: number;
5830
+ liquidityInUsd1M?: string;
5831
+ liquidityChangeRatio1M?: string;
5182
5832
  }
5183
5833
  interface WsTokenHolder {
5184
5834
  tokenAddress: string;
@@ -5532,6 +6182,17 @@ declare class StreamApi {
5532
6182
  filter?: string;
5533
6183
  priceType?: WsPriceType;
5534
6184
  }): Unsubscribable;
6185
+ /**
6186
+ * Parse token stat data for a specific time window
6187
+ * @param data - Raw WebSocket data
6188
+ * @param suffix - Time window suffix (e.g., "1m", "5m", "1h", "1W", "1M")
6189
+ */
6190
+ private parseTokenStatWindow;
6191
+ /**
6192
+ * Subscribe to token trade statistics
6193
+ * Channel: dex-token-stats:{chain}_{tokenAddress}
6194
+ * Time windows: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 24h, 1W, 1M
6195
+ */
5535
6196
  subscribeTokenStats({ chain, tokenAddress, callback, filter, }: {
5536
6197
  chain: string;
5537
6198
  tokenAddress: string;
@@ -5706,4 +6367,4 @@ interface PostOptions {
5706
6367
  idempotencyKey?: string;
5707
6368
  }
5708
6369
 
5709
- export { SwapRouteInputDex as $, get as A, streaming as B, ChainStreamClient as C, type StreamingResult as D, type JobDTO as E, type JobStreamingDTOData as F, type GetResult as G, type JobStreamingDTO as H, type BlockchainDTO as I, type JobDTOResult as J, ChainSymbol as K, type BlockchainLatestBlockDTO as L, SendTxInputSubmitType as M, type SendTxInputOptions as N, type SendTxInput as O, type SendTxResponse as P, type GasPriceResponse as Q, type EstimateGasLimitInput as R, StreamApi as S, type TokenProvider as T, type Unsubscribable as U, type EstimateGasLimitResponse as V, WsTokenActivityType as W, SwapInputDex as X, SwapInputSwapMode as Y, type SwapInput as Z, type SwapReply as _, WsChannelType as a, type TokenLiquiditySnapshotPage as a$, SwapRouteInputSwapMode as a0, type SwapRouteInput as a1, type SwapRouteResponseRouteInfo as a2, type SwapRouteResponse as a3, type DexQuoteResponse as a4, CreateTokenInputDex as a5, type CreateTokenInputExtra as a6, type CreateTokenInput as a7, type CreateTokenReply as a8, type DexDTO as a9, DexPoolDTOLiquidityModel as aA, type DexPoolDTO as aB, type TokenMarketData as aC, type TokenExtension as aD, type Token as aE, type TokenPageCountsByProtocols as aF, type TokenPage as aG, FilterConditionField as aH, type FilterCondition as aI, type TokenMetadata as aJ, type DexPoolPage as aK, type TokenHolder as aL, type TokenHolderPage as aM, Resolution as aN, PriceType as aO, type Candle as aP, type TokenPriceDTO as aQ, type TokenPricePage as aR, TokenCreationDTOType as aS, type TokenCreationDTO as aT, type TokenCreationPage as aU, type TokenListPage as aV, type DevTokenDTO as aW, TokenTraderTag as aX, type TokenTraderOnchainCreatedAt as aY, type TokenTrader as aZ, type TokenLiquiditySnapshotDTO as a_, type DexPage as aa, LinkLabel as ab, type Link as ac, MoonshotCreateTokenInputDex as ad, MoonshotCreateTokenInputMigrationDex as ae, type MoonshotCreateTokenInput as af, type MoonshotCreateTokenReplyExtra as ag, type MoonshotCreateTokenReply as ah, type MoonshotSubmitCreateTokenInputExtra as ai, type MoonshotSubmitCreateTokenInput as aj, PumpCreateTokenInputDex as ak, PumpCreateTokenInputMigrationDex as al, type PumpCreateTokenInput as am, type PumpCreateTokenReplyExtra as an, type PumpCreateTokenReply as ao, type TradeDetailDTO as ap, type TradePage as aq, type TopTradersDTO as ar, type TopTradersPage as as, type TokenCreatorsDTO as at, type TokenExtraDTO as au, type TokenSocialMediasDTO as av, type TokenStat as aw, type DexPoolTokenLiquidity as ax, DexPoolDTOType as ay, DexPoolDTOVersion as az, WsMetricType as b, type ListDexParams as b$, type DexPoolTokenSnapshotDTO as b0, type DexPoolSnapshotDTO as b1, type DexPoolSnapshotPage as b2, type WalletPnlDTO as b3, type WalletBalanceDetailDTO as b4, type WalletBalancesDTO as b5, type CalculatePnlInput as b6, type BooleanResultDTO as b7, BalanceTokenType as b8, BalanceChangeType as b9, type KYTRegisterWithdrawalRequest as bA, type WithdrawalBaseResponseDTO as bB, type ChainalysisAddressIdentification as bC, type WithdrawalAddressIdentificationsResponseDTO as bD, type OnChainActivity as bE, type AlteryaIdentification as bF, type WithdrawalFraudAssessmentResponseDTO as bG, type RegisterAddressRequest as bH, type RegisterAddressResponseDTO as bI, type AddressExposure as bJ, type AddressRiskResponseDTO as bK, EndpointResponseChannelsItem as bL, type EndpointResponseMetadata as bM, type EndpointResponse as bN, type EndpointListResponse as bO, type EndpointSecretResponse as bP, type EndpointOperationResponse as bQ, CreateEndpointInputChannelsItem as bR, type CreateEndpointInputMetadata as bS, type CreateEndpointInput as bT, UpdateEndpointInputChannelsItem as bU, type UpdateEndpointInputMetadata as bV, type UpdateEndpointInput as bW, TradeType as bX, type TradeEvent as bY, type QuoteParams as bZ, QuoteDex as b_, type BalanceUpdateDTO as ba, type BalanceUpdatePage as bb, CreateRedPacketInputChain as bc, type CreateRedPacketInput as bd, type CreateRedPacketReply as be, ClaimRedPacketInputChain as bf, type ClaimRedPacketInput as bg, type RedPacketReply as bh, Chain as bi, type RedPacketDTO as bj, type RedPacketClaimDTO as bk, type RedPacketClaimsPage as bl, type RedPacketsPage as bm, type RedPacketSendTxInput as bn, type RedPacketSendTxResponse as bo, KYTRegisterTransferRequestNetwork as bp, KYTRegisterTransferRequestDirection as bq, type KYTRegisterTransferRequest as br, type TransferBaseResponseDTO as bs, type DirectExposureDetail as bt, type TransferDirectExposureResponseDTO as bu, type AlertDetail as bv, type TransferAlertsResponseDTO as bw, type NetworkIdentificationOrg as bx, type TransferNetworkIdentificationsResponseDTO as by, KYTRegisterWithdrawalRequestNetwork as bz, type WsTokenActivity as c, type GetMigratedTokensParams as c$, type MoonshotSubmitCreateToken200 as c0, type GetTradesParams as c1, GetTradesDirection as c2, GetTradesType as c3, type GetActivitiesParams as c4, GetActivitiesDirection as c5, GetActivitiesType as c6, type GetTopTradersParams as c7, GetTopTradersDirection as c8, GetTopTradersTimeFrame as c9, type GetPriceByTimeParams as cA, type GetMintAndBurnParams as cB, GetMintAndBurnDirection as cC, GetMintAndBurnType as cD, type ListTokenParams as cE, ListTokenDirection as cF, ListTokenSort as cG, ListTokenSortBy as cH, type GetSecurity200 as cI, type GetTokenLiquiditySnapshotsParams as cJ, type GetDexpoolSnapshotsParams as cK, type GetHotTokensParams as cL, GetHotTokensSortBy as cM, GetHotTokensSortDirection as cN, GetHotTokensTag as cO, type GetNewTokensParams as cP, GetNewTokensSortBy as cQ, GetNewTokensSortDirection as cR, GetNewTokensTag as cS, type GetStocksTokensParams as cT, GetStocksTokensSortBy as cU, GetStocksTokensSortDirection as cV, GetStocksTokensTag as cW, type GetFinalStretchTokensParams as cX, GetFinalStretchTokensSortBy as cY, GetFinalStretchTokensSortDirection as cZ, GetFinalStretchTokensTag as c_, GetTopTradersSortType as ca, GetTopTradersSortBy as cb, type SearchParams as cc, SearchSort as cd, SearchSortBy as ce, type GetTokensParams as cf, GetTokensSortBy as cg, GetTokensSortDirection as ch, type GetMetadataMultiParams as ci, type GetMetadataMulti200 as cj, type GetPoolsParams as ck, GetPoolsDirection as cl, GetPoolsSortBy as cm, GetPoolsSortDirection as cn, type GetStatsMultiParams as co, type GetStatsMulti200 as cp, type GetHoldersParams as cq, GetHoldersDirection as cr, type GetHoldersMultiParams as cs, type GetCandlesParams as ct, type GetPoolCandlesParams as cu, type GetPairCandlesParams as cv, type GetMarketDataMultiParams as cw, type GetMarketDataMulti200 as cx, type GetPricesParams as cy, GetPricesDirection as cz, type WsTokenStat as d, getMarketDataMulti as d$, GetMigratedTokensSortBy as d0, GetMigratedTokensSortDirection as d1, GetMigratedTokensTag as d2, type GetPnlParams as d3, type GetBalanceParams as d4, type GetBalanceUpdatesParams as d5, type GetClaimsParams as d6, type GetRedpacketsParams as d7, GetRedpacketsChain as d8, type GetClaimsByAddressParams as d9, moonshotCreateToken as dA, moonshotSubmitCreateToken as dB, type MoonshotCreateTokenResult as dC, type MoonshotSubmitCreateTokenResult as dD, pumpfunCreateToken as dE, type PumpfunCreateTokenResult as dF, getTrades as dG, getActivities as dH, getTopTraders as dI, type GetTradesResult as dJ, type GetActivitiesResult as dK, type GetTopTradersResult as dL, search as dM, getTokens as dN, getToken as dO, getMetadata as dP, getMetadataMulti as dQ, getPools as dR, getStats as dS, getStatsMulti as dT, getHolders as dU, getHoldersMulti as dV, getCandles as dW, getPoolCandles as dX, getPairCandles as dY, getTopHolders as dZ, getMarketData as d_, type GetRedpacketsByAddressParams as da, type ListEndpointsParams as db, ListEndpointsOrder as dc, presign as dd, type PresignResult as de, getSupportedBlockchains as df, getLatestBlock as dg, type GetSupportedBlockchainsResult as dh, type GetLatestBlockResult as di, send as dj, getGasPrice as dk, getGasLimit as dl, type SendResult as dm, type GetGasPriceResult as dn, type GetGasLimitResult as dp, swap as dq, route as dr, quote as ds, createToken as dt, listDex as du, type SwapResult as dv, type RouteResult as dw, type QuoteResult as dx, type CreateTokenResult as dy, type ListDexResult as dz, type WsTokenHolder as e, getClaimsByAddress as e$, getPrices as e0, getPriceByTime as e1, getCreation as e2, getMintAndBurn as e3, listToken as e4, getSecurity as e5, getDevTokens as e6, getTokenTraders as e7, getTokenLiquiditySnapshots as e8, type SearchResult as e9, type GetDexpoolResult as eA, type GetDexpoolSnapshotsResult as eB, getHotTokens as eC, getNewTokens as eD, getStocksTokens as eE, getFinalStretchTokens as eF, getMigratedTokens as eG, type GetHotTokensResult as eH, type GetNewTokensResult as eI, type GetStocksTokensResult as eJ, type GetFinalStretchTokensResult as eK, type GetMigratedTokensResult as eL, getPnl as eM, getPnlStats as eN, getBalance as eO, calculatePnl as eP, getBalanceUpdates as eQ, type GetPnlResult as eR, type GetPnlStatsResult as eS, type GetBalanceResult as eT, type CalculatePnlResult as eU, type GetBalanceUpdatesResult as eV, createRedpacket as eW, claimRedpacket as eX, getRedpacket as eY, getClaims as eZ, getRedpackets as e_, type GetTokensResult as ea, type GetTokenResult as eb, type GetMetadataResult as ec, type GetMetadataMultiResult as ed, type GetPoolsResult as ee, type GetStatsResult as ef, type GetStatsMultiResult as eg, type GetHoldersResult as eh, type GetHoldersMultiResult as ei, type GetCandlesResult as ej, type GetPoolCandlesResult as ek, type GetPairCandlesResult as el, type GetTopHoldersResult as em, type GetMarketDataResult as en, type GetMarketDataMultiResult as eo, type GetPricesResult as ep, type GetPriceByTimeResult as eq, type GetCreationResult as er, type GetMintAndBurnResult as es, type ListTokenResult as et, type GetSecurityResult as eu, type GetDevTokensResult as ev, type GetTokenTradersResult as ew, type GetTokenLiquiditySnapshotsResult as ex, getDexpool as ey, getDexpoolSnapshots as ez, type WsWalletBalance as f, getRedpacketsByAddress as f0, redpacketSend as f1, type CreateRedpacketResult as f2, type ClaimRedpacketResult as f3, type GetRedpacketResult as f4, type GetClaimsResult as f5, type GetRedpacketsResult as f6, type GetClaimsByAddressResult as f7, type GetRedpacketsByAddressResult as f8, type RedpacketSendResult as f9, type GetWithdrawalNetworkIdentificationsResult as fA, type GetWithdrawalFraudAssessmentResult as fB, type RegisterAddressResult as fC, type GetAddressRiskResult as fD, listEndpoints as fE, createEndpoint as fF, updateEndpoint as fG, getEndpoint as fH, deleteEndpoint as fI, getEndpointSecret as fJ, rotateEndpointSecret as fK, type ListEndpointsResult as fL, type CreateEndpointResult as fM, type UpdateEndpointResult as fN, type GetEndpointResult as fO, type DeleteEndpointResult as fP, type GetEndpointSecretResult as fQ, type RotateEndpointSecretResult as fR, type PostOptions as fS, watchlistAdd as fa, type WatchlistAddResult as fb, registerTransfer as fc, getTransferSummary as fd, getTransferDirectExposure as fe, getTransferAlerts as ff, getTransferNetworkIdentifications as fg, registerWithdrawal as fh, getWithdrawalSummary as fi, getWithdrawalDirectExposure as fj, getWithdrawalAlerts as fk, getWithdrawalAddressIdentifications as fl, getWithdrawalNetworkIdentifications as fm, getWithdrawalFraudAssessment as fn, registerAddress as fo, getAddressRisk as fp, type RegisterTransferResult as fq, type GetTransferSummaryResult as fr, type GetTransferDirectExposureResult as fs, type GetTransferAlertsResult as ft, type GetTransferNetworkIdentificationsResult as fu, type RegisterWithdrawalResult as fv, type GetWithdrawalSummaryResult as fw, type GetWithdrawalDirectExposureResult as fx, type GetWithdrawalAlertsResult as fy, type GetWithdrawalAddressIdentificationsResult as fz, type WsWalletPnl as g, type WsNewToken as h, type WsTokenSupply as i, type WsDexPoolBalance as j, type WsTokenLiquidity as k, type WsTokenMaxLiquidity as l, type WsTokenTotalLiquidity as m, type WsDexProtocol as n, type WsTokenBondingCurve as o, type WsTokenMetadata as p, type WsSocialMedia as q, type WsCandle as r, type WsPriceType as s, type WsTradeActivity as t, type WsWalletTokenPnl as u, WsRankingType as v, WsDex as w, type WsRankingTokenList as x, type ChainStreamClientOptions as y, type ChainStreamRequestContext as z };
6370
+ export { SwapRouteInputDex as $, get as A, streaming as B, ChainStreamClient as C, type StreamingResult as D, type JobDTO as E, type JobStreamingDTOData as F, type GetResult as G, type JobStreamingDTO as H, type BlockchainDTO as I, type JobDTOResult as J, ChainSymbol as K, type BlockchainLatestBlockDTO as L, SendTxInputSubmitType as M, type SendTxInputOptions as N, type SendTxInput as O, type SendTxResponse as P, type GasPriceResponse as Q, type EstimateGasLimitInput as R, StreamApi as S, type TokenProvider as T, type Unsubscribable as U, type EstimateGasLimitResponse as V, WsTokenActivityType as W, SwapInputDex as X, SwapInputSwapMode as Y, type SwapInput as Z, type SwapReply as _, WsChannelType as a, TokenTraderTag as a$, SwapRouteInputSwapMode as a0, type SwapRouteInput as a1, type SwapRouteResponseRouteInfo as a2, type SwapRouteResponse as a3, type DexQuoteResponse as a4, CreateTokenInputDex as a5, type CreateTokenInputExtra as a6, type CreateTokenInput as a7, type CreateTokenReply as a8, type DexDTO as a9, type TokenStat as aA, type DexPoolTokenLiquidity as aB, DexPoolDTOType as aC, DexPoolDTOVersion as aD, DexPoolDTOLiquidityModel as aE, type DexPoolDTO as aF, type TokenMarketData as aG, type TokenExtension as aH, type Token as aI, type TokenPageCountsByProtocols as aJ, type TokenPage as aK, FilterConditionField as aL, type FilterCondition as aM, type TokenMetadata as aN, type DexPoolPage as aO, type TokenHolder as aP, type TokenHolderPage as aQ, Resolution as aR, PriceType as aS, type Candle as aT, type TokenPriceDTO as aU, type TokenPricePage as aV, TokenCreationDTOType as aW, type TokenCreationDTO as aX, type TokenCreationPage as aY, type TokenListPage as aZ, type DevTokenDTO as a_, type DexPage as aa, LinkLabel as ab, type Link as ac, MoonshotCreateTokenInputDex as ad, MoonshotCreateTokenInputMigrationDex as ae, type MoonshotCreateTokenInput as af, type MoonshotCreateTokenReplyExtra as ag, type MoonshotCreateTokenReply as ah, type MoonshotSubmitCreateTokenInputExtra as ai, type MoonshotSubmitCreateTokenInput as aj, PumpCreateTokenInputDex as ak, PumpCreateTokenInputMigrationDex as al, type PumpCreateTokenInput as am, type PumpCreateTokenReplyExtra as an, type PumpCreateTokenReply as ao, type TradeDetailDTO as ap, type TradePage as aq, type TopTradersDTO as ar, type TopTradersPage as as, TraderPnlResolution as at, type TraderGainersLosersItemDTO as au, type TraderGainersLosersPage as av, type TokenCreatorsDTO as aw, type TokenExtraDTO as ax, type TokenSocialMediasDTO as ay, type TokenStatPeriods as az, WsMetricType as b, type ChainalysisAddressIdentification as b$, type TokenTraderOnchainCreatedAt as b0, type TokenTrader as b1, type TokenLiquiditySnapshotDTO as b2, type TokenLiquiditySnapshotPage as b3, TokenTransferItemDTOFlow as b4, type TokenTransferItemDTO as b5, type TokenTransferPage as b6, type TokenTransferTotalDTO as b7, type DexPoolTokenSnapshotDTO as b8, type DexPoolSnapshotDTO as b9, type BalanceUpdatePage as bA, CreateRedPacketInputChain as bB, type CreateRedPacketInput as bC, type CreateRedPacketReply as bD, ClaimRedPacketInputChain as bE, type ClaimRedPacketInput as bF, type RedPacketReply as bG, Chain as bH, type RedPacketDTO as bI, type RedPacketClaimDTO as bJ, type RedPacketClaimsPage as bK, type RedPacketsPage as bL, type RedPacketSendTxInput as bM, type RedPacketSendTxResponse as bN, KYTRegisterTransferRequestNetwork as bO, KYTRegisterTransferRequestDirection as bP, type KYTRegisterTransferRequest as bQ, type TransferBaseResponseDTO as bR, type DirectExposureDetail as bS, type TransferDirectExposureResponseDTO as bT, type AlertDetail as bU, type TransferAlertsResponseDTO as bV, type NetworkIdentificationOrg as bW, type TransferNetworkIdentificationsResponseDTO as bX, KYTRegisterWithdrawalRequestNetwork as bY, type KYTRegisterWithdrawalRequest as bZ, type WithdrawalBaseResponseDTO as b_, type DexPoolSnapshotPage as ba, type WalletNetWorthSummaryDTOWallets as bb, type WalletNetWorthSummaryDTO as bc, type PnlDetailSummaryDTO as bd, type PnlDetailItemDTO as be, type PnlDetailsPage as bf, type WalletFirstTxDTOWallets as bg, type WalletFirstTxDTO as bh, type CalculatePnlInput as bi, type BooleanResultDTO as bj, type WalletNetWorthItemDTO as bk, type WalletNetWorthPage as bl, type TokensBalancePage as bm, type WalletNetWorthHistoryItemDTO as bn, type WalletNetWorthChartDTO as bo, type WalletNetWorthDetailsPage as bp, PnlResolution as bq, WalletPnlSummaryDTOResolution as br, type WalletPnlSummaryDTO as bs, TransactionHistoryItemDTOStatus as bt, TransactionHistoryItemDTOMainAction as bu, type TransactionHistoryItemDTO as bv, type TransactionHistoryPage as bw, BalanceTokenType as bx, BalanceChangeType as by, type BalanceUpdateDTO as bz, type WsTokenActivity as c, type GetPricesParams as c$, type WithdrawalAddressIdentificationsResponseDTO as c0, type OnChainActivity as c1, type AlteryaIdentification as c2, type WithdrawalFraudAssessmentResponseDTO as c3, type RegisterAddressRequest as c4, type RegisterAddressResponseDTO as c5, type AddressExposure as c6, type AddressRiskResponseDTO as c7, EndpointResponseChannelsItem as c8, type EndpointResponseMetadata as c9, GetTopTradersSortBy as cA, type GetTraderGainersLosersParams as cB, GetTraderGainersLosersDirection as cC, GetTraderGainersLosersSortType as cD, type SearchParams as cE, SearchDirection as cF, SearchSort as cG, SearchSortBy as cH, type GetTokensParams as cI, GetTokensSortBy as cJ, GetTokensSortDirection as cK, type GetMetadataMultiParams as cL, type GetMetadataMulti200 as cM, type GetPoolsParams as cN, GetPoolsDirection as cO, GetPoolsSortBy as cP, GetPoolsSortDirection as cQ, type GetStatsMultiParams as cR, type GetStatsMulti200 as cS, type GetHoldersParams as cT, GetHoldersDirection as cU, type GetHoldersMultiParams as cV, type GetCandlesParams as cW, type GetPoolCandlesParams as cX, type GetPairCandlesParams as cY, type GetMarketDataMultiParams as cZ, type GetMarketDataMulti200 as c_, type EndpointResponse as ca, type EndpointListResponse as cb, type EndpointSecretResponse as cc, type EndpointOperationResponse as cd, CreateEndpointInputChannelsItem as ce, type CreateEndpointInputMetadata as cf, type CreateEndpointInput as cg, UpdateEndpointInputChannelsItem as ch, type UpdateEndpointInputMetadata as ci, type UpdateEndpointInput as cj, TradeType as ck, type TradeEvent as cl, type QuoteParams as cm, QuoteDex as cn, type ListDexParams as co, type MoonshotSubmitCreateToken200 as cp, type GetTradesParams as cq, GetTradesDirection as cr, GetTradesType as cs, type GetActivitiesParams as ct, GetActivitiesDirection as cu, GetActivitiesType as cv, type GetTopTradersParams as cw, GetTopTradersDirection as cx, GetTopTradersTimeFrame as cy, GetTopTradersSortType as cz, type WsTokenStat as d, GetRedpacketsChain as d$, GetPricesDirection as d0, type GetPriceByTimeParams as d1, type GetMintAndBurnParams as d2, GetMintAndBurnDirection as d3, GetMintAndBurnType as d4, type ListTokenParams as d5, ListTokenDirection as d6, ListTokenSort as d7, ListTokenSortBy as d8, type GetSecurity200 as d9, GetMigratedTokensSortBy as dA, GetMigratedTokensSortDirection as dB, GetMigratedTokensTag as dC, type GetNetWorthSummaryParams as dD, type GetPnlByWalletParams as dE, GetPnlByWalletDirection as dF, type GetWalletFirstTxParams as dG, type GetNetWorthParams as dH, GetNetWorthDirection as dI, type GetTokensBalanceParams as dJ, GetTokensBalanceDirection as dK, type GetNetWorthChartParams as dL, type GetNetWorthDetailsParams as dM, GetNetWorthDetailsDirection as dN, type GetPnlParams as dO, type GetPnlDetailsParams as dP, GetPnlDetailsDirection as dQ, type GetPnlByTokenParams as dR, GetPnlByTokenDirection as dS, type GetWalletTransfersParams as dT, GetWalletTransfersDirection as dU, type GetWalletTransferTotalParams as dV, GetWalletTransferTotalDirection as dW, type GetBalanceUpdatesParams as dX, GetBalanceUpdatesDirection as dY, type GetClaimsParams as dZ, type GetRedpacketsParams as d_, type GetTokenLiquiditySnapshotsParams as da, GetTokenLiquiditySnapshotsDirection as db, type GetTokenTransfersParams as dc, GetTokenTransfersDirection as dd, type GetTokenTransferTotalParams as de, GetTokenTransferTotalDirection as df, type GetDexpoolSnapshotsParams as dg, GetDexpoolSnapshotsDirection as dh, type GetHotTokensParams as di, GetHotTokensSortBy as dj, GetHotTokensSortDirection as dk, GetHotTokensTag as dl, type GetNewTokensParams as dm, GetNewTokensSortBy as dn, GetNewTokensSortDirection as dp, GetNewTokensTag as dq, type GetStocksTokensParams as dr, GetStocksTokensSortBy as ds, GetStocksTokensSortDirection as dt, GetStocksTokensTag as du, type GetFinalStretchTokensParams as dv, GetFinalStretchTokensSortBy as dw, GetFinalStretchTokensSortDirection as dx, GetFinalStretchTokensTag as dy, type GetMigratedTokensParams as dz, type WsTokenHolder as e, getTokenTraders as e$, type GetClaimsByAddressParams as e0, type GetRedpacketsByAddressParams as e1, type ListEndpointsParams as e2, ListEndpointsOrder as e3, presign as e4, type PresignResult as e5, getSupportedBlockchains as e6, getLatestBlock as e7, type GetSupportedBlockchainsResult as e8, type GetLatestBlockResult as e9, type GetTradesResult as eA, type GetActivitiesResult as eB, type GetTopTradersResult as eC, type GetTraderGainersLosersResult as eD, search as eE, getTokens as eF, getToken as eG, getMetadata as eH, getMetadataMulti as eI, getPools as eJ, getStats as eK, getStatsMulti as eL, getHolders as eM, getHoldersMulti as eN, getCandles as eO, getPoolCandles as eP, getPairCandles as eQ, getTopHolders as eR, getMarketData as eS, getMarketDataMulti as eT, getPrices as eU, getPriceByTime as eV, getCreation as eW, getMintAndBurn as eX, listToken as eY, getSecurity as eZ, getDevTokens as e_, send as ea, getGasPrice as eb, getGasLimit as ec, type SendResult as ed, type GetGasPriceResult as ee, type GetGasLimitResult as ef, swap as eg, route as eh, quote as ei, createToken as ej, listDex as ek, type SwapResult as el, type RouteResult as em, type QuoteResult as en, type CreateTokenResult as eo, type ListDexResult as ep, moonshotCreateToken as eq, moonshotSubmitCreateToken as er, type MoonshotCreateTokenResult as es, type MoonshotSubmitCreateTokenResult as et, pumpfunCreateToken as eu, type PumpfunCreateTokenResult as ev, getTrades as ew, getActivities as ex, getTopTraders as ey, getTraderGainersLosers as ez, type WsWalletBalance as f, type GetTokensBalanceResult as f$, getTokenLiquiditySnapshots as f0, getTokenTransfers as f1, getTokenTransferTotal as f2, type SearchResult as f3, type GetTokensResult as f4, type GetTokenResult as f5, type GetMetadataResult as f6, type GetMetadataMultiResult as f7, type GetPoolsResult as f8, type GetStatsResult as f9, getStocksTokens as fA, getFinalStretchTokens as fB, getMigratedTokens as fC, type GetHotTokensResult as fD, type GetNewTokensResult as fE, type GetStocksTokensResult as fF, type GetFinalStretchTokensResult as fG, type GetMigratedTokensResult as fH, getNetWorthSummary as fI, getPnlByWallet as fJ, getWalletFirstTx as fK, calculatePnl as fL, getNetWorth as fM, getTokensBalance as fN, getNetWorthChart as fO, getNetWorthDetails as fP, getPnl as fQ, getPnlDetails as fR, getPnlByToken as fS, getWalletTransfers as fT, getWalletTransferTotal as fU, getBalanceUpdates as fV, type GetNetWorthSummaryResult as fW, type GetPnlByWalletResult as fX, type GetWalletFirstTxResult as fY, type CalculatePnlResult as fZ, type GetNetWorthResult as f_, type GetStatsMultiResult as fa, type GetHoldersResult as fb, type GetHoldersMultiResult as fc, type GetCandlesResult as fd, type GetPoolCandlesResult as fe, type GetPairCandlesResult as ff, type GetTopHoldersResult as fg, type GetMarketDataResult as fh, type GetMarketDataMultiResult as fi, type GetPricesResult as fj, type GetPriceByTimeResult as fk, type GetCreationResult as fl, type GetMintAndBurnResult as fm, type ListTokenResult as fn, type GetSecurityResult as fo, type GetDevTokensResult as fp, type GetTokenTradersResult as fq, type GetTokenLiquiditySnapshotsResult as fr, type GetTokenTransfersResult as fs, type GetTokenTransferTotalResult as ft, getDexpool as fu, getDexpoolSnapshots as fv, type GetDexpoolResult as fw, type GetDexpoolSnapshotsResult as fx, getHotTokens as fy, getNewTokens as fz, type WsWalletPnl as g, type UpdateEndpointResult as g$, type GetNetWorthChartResult as g0, type GetNetWorthDetailsResult as g1, type GetPnlResult as g2, type GetPnlDetailsResult as g3, type GetPnlByTokenResult as g4, type GetWalletTransfersResult as g5, type GetWalletTransferTotalResult as g6, type GetBalanceUpdatesResult as g7, createRedpacket as g8, claimRedpacket as g9, getWithdrawalNetworkIdentifications as gA, getWithdrawalFraudAssessment as gB, registerAddress as gC, getAddressRisk as gD, type RegisterTransferResult as gE, type GetTransferSummaryResult as gF, type GetTransferDirectExposureResult as gG, type GetTransferAlertsResult as gH, type GetTransferNetworkIdentificationsResult as gI, type RegisterWithdrawalResult as gJ, type GetWithdrawalSummaryResult as gK, type GetWithdrawalDirectExposureResult as gL, type GetWithdrawalAlertsResult as gM, type GetWithdrawalAddressIdentificationsResult as gN, type GetWithdrawalNetworkIdentificationsResult as gO, type GetWithdrawalFraudAssessmentResult as gP, type RegisterAddressResult as gQ, type GetAddressRiskResult as gR, listEndpoints as gS, createEndpoint as gT, updateEndpoint as gU, getEndpoint as gV, deleteEndpoint as gW, getEndpointSecret as gX, rotateEndpointSecret as gY, type ListEndpointsResult as gZ, type CreateEndpointResult as g_, getRedpacket as ga, getClaims as gb, getRedpackets as gc, getClaimsByAddress as gd, getRedpacketsByAddress as ge, redpacketSend as gf, type CreateRedpacketResult as gg, type ClaimRedpacketResult as gh, type GetRedpacketResult as gi, type GetClaimsResult as gj, type GetRedpacketsResult as gk, type GetClaimsByAddressResult as gl, type GetRedpacketsByAddressResult as gm, type RedpacketSendResult as gn, watchlistAdd as go, type WatchlistAddResult as gp, registerTransfer as gq, getTransferSummary as gr, getTransferDirectExposure as gs, getTransferAlerts as gt, getTransferNetworkIdentifications as gu, registerWithdrawal as gv, getWithdrawalSummary as gw, getWithdrawalDirectExposure as gx, getWithdrawalAlerts as gy, getWithdrawalAddressIdentifications as gz, type WsNewToken as h, type GetEndpointResult as h0, type DeleteEndpointResult as h1, type GetEndpointSecretResult as h2, type RotateEndpointSecretResult as h3, type PostOptions as h4, type WsTokenSupply as i, type WsDexPoolBalance as j, type WsTokenLiquidity as k, type WsTokenMaxLiquidity as l, type WsTokenTotalLiquidity as m, type WsDexProtocol as n, type WsTokenBondingCurve as o, type WsTokenMetadata as p, type WsSocialMedia as q, type WsCandle as r, type WsPriceType as s, type WsTradeActivity as t, type WsWalletTokenPnl as u, WsRankingType as v, WsDex as w, type WsRankingTokenList as x, type ChainStreamClientOptions as y, type ChainStreamRequestContext as z };