@codex-data/sdk 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/resources/generated_queries/BackfillWalletState.graphql +3 -0
  2. package/dist/resources/generated_queries/GetTokenEvents.graphql +2 -0
  3. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
  4. package/dist/resources/generated_queries/Holders.graphql +1 -0
  5. package/dist/resources/generated_queries/PairMetadata.graphql +126 -0
  6. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
  7. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
  8. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +126 -0
  9. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
  10. package/dist/resources/graphql.d.ts +52 -2
  11. package/dist/resources/graphql.d.ts.map +1 -1
  12. package/dist/resources/graphql.js +9 -2
  13. package/dist/resources/graphql.js.map +1 -1
  14. package/dist/resources/graphql.schema.json +485 -13
  15. package/dist/resources/graphql.ts +56 -2
  16. package/dist/resources/schema.graphql +77 -3
  17. package/dist/sdk/Query.d.ts +3 -1
  18. package/dist/sdk/Query.d.ts.map +1 -1
  19. package/dist/sdk/Query.js +2 -0
  20. package/dist/sdk/Query.js.map +1 -1
  21. package/dist/sdk/Subscribe.js +3 -3
  22. package/dist/sdk/generated/gql.d.ts +28 -14
  23. package/dist/sdk/generated/gql.d.ts.map +1 -1
  24. package/dist/sdk/generated/gql.js +9 -7
  25. package/dist/sdk/generated/gql.js.map +1 -1
  26. package/dist/sdk/generated/graphql.d.ts +349 -2
  27. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  28. package/dist/sdk/generated/graphql.js +20 -11
  29. package/dist/sdk/generated/graphql.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/resources/generated_queries/BackfillWalletState.graphql +3 -0
  32. package/src/resources/generated_queries/GetTokenEvents.graphql +2 -0
  33. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +2 -0
  34. package/src/resources/generated_queries/Holders.graphql +1 -0
  35. package/src/resources/generated_queries/PairMetadata.graphql +126 -0
  36. package/src/resources/generated_queries/Top10HoldersPercent.graphql +3 -0
  37. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +2 -0
  38. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +126 -0
  39. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +2 -0
  40. package/src/resources/graphql.schema.json +485 -13
  41. package/src/resources/graphql.ts +56 -2
  42. package/src/resources/schema.graphql +77 -3
  43. package/src/sdk/Query.ts +8 -0
  44. package/src/sdk/Subscribe.ts +3 -3
  45. package/src/sdk/generated/gql.ts +24 -14
  46. package/src/sdk/generated/graphql.ts +84 -16
@@ -126,6 +126,11 @@ export type AddUserAchievementInput = {
126
126
  quantity: Scalars['Int']['input'];
127
127
  userId: Scalars['String']['input'];
128
128
  };
129
+ export declare enum AddressType {
130
+ Evm = "EVM",
131
+ Sol = "SOL",
132
+ Tron = "TRON"
133
+ }
129
134
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
130
135
  export declare enum AlertRecurrence {
131
136
  Indefinite = "INDEFINITE",
@@ -908,12 +913,16 @@ export type Event = {
908
913
  quoteToken?: Maybe<QuoteToken>;
909
914
  /** The unix timestamp for when the transaction occurred. */
910
915
  timestamp: Scalars['Int']['output'];
916
+ /** The address of the event's token0. */
917
+ token0Address?: Maybe<Scalars['String']['output']>;
911
918
  /** The updated price of `token0` in USD, calculated after the transaction. */
912
919
  token0PoolValueUsd?: Maybe<Scalars['String']['output']>;
913
920
  /** The price of `token0` paid/received in USD, including any fees. */
914
921
  token0SwapValueUsd?: Maybe<Scalars['String']['output']>;
915
922
  /** The price of `token0` paid/received in the network's base token, including fees. */
916
923
  token0ValueBase?: Maybe<Scalars['String']['output']>;
924
+ /** The address of the event's token1. */
925
+ token1Address?: Maybe<Scalars['String']['output']>;
917
926
  /** The updated price of `token1` in USD, calculated after the transaction. */
918
927
  token1PoolValueUsd?: Maybe<Scalars['String']['output']>;
919
928
  /** The price of `token1` paid/received in USD, including any fees. */
@@ -1367,6 +1376,8 @@ export type HoldersResponse = {
1367
1376
  items: Array<Balance>;
1368
1377
  /** Status of holder. Disabled if on unsupported network or there is insufficient holder data. */
1369
1378
  status: HoldersStatus;
1379
+ /** What percentage of the total supply do the top 10 holders hold */
1380
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
1370
1381
  };
1371
1382
  export declare enum HoldersSortAttribute {
1372
1383
  Balance = "BALANCE",
@@ -1693,12 +1704,20 @@ export type MakerEventConnection = {
1693
1704
  items?: Maybe<Array<Maybe<Event>>>;
1694
1705
  };
1695
1706
  export type MakerEventsQueryInput = {
1707
+ /** The specific event type to filter by. */
1708
+ eventType?: InputMaybe<EventType>;
1696
1709
  /** The specific wallet address to filter by. */
1697
1710
  maker: Scalars['String']['input'];
1698
1711
  /** The network ID to filter by. */
1699
- networkId: Scalars['Int']['input'];
1700
- /** The token of interest. Can be `token0` or `token1`. */
1712
+ networkId?: InputMaybe<Scalars['Int']['input']>;
1713
+ /** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
1714
+ priceUsdTotal?: InputMaybe<NumberFilter>;
1715
+ /** docs: hide */
1701
1716
  quoteToken?: InputMaybe<QuoteToken>;
1717
+ /** The time range to filter by. */
1718
+ timestamp?: InputMaybe<EventQueryTimestampInput>;
1719
+ /** The token involved in the event. */
1720
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
1702
1721
  };
1703
1722
  /** The status for a network supported on Defined. */
1704
1723
  export type MetadataResponse = {
@@ -4678,6 +4697,8 @@ export type PairFilters = {
4678
4697
  };
4679
4698
  export type PairMetadata = {
4680
4699
  __typename?: 'PairMetadata';
4700
+ enhancedToken0?: Maybe<EnhancedToken>;
4701
+ enhancedToken1?: Maybe<EnhancedToken>;
4681
4702
  exchangeId?: Maybe<Scalars['String']['output']>;
4682
4703
  fee?: Maybe<Scalars['Int']['output']>;
4683
4704
  highPrice1?: Maybe<Scalars['String']['output']>;
@@ -5626,6 +5647,7 @@ export type Query = {
5626
5647
  apiToken: ApiToken;
5627
5648
  /** Get all active short-lived api tokens for this api key */
5628
5649
  apiTokens: Array<ApiToken>;
5650
+ backfillWalletState: Scalars['Boolean']['output'];
5629
5651
  /** Returns list of token balances that a wallet has */
5630
5652
  balances: BalancesResponse;
5631
5653
  /** Returns a URL for a pair chart. */
@@ -5711,6 +5733,7 @@ export type Query = {
5711
5733
  getTokenCount: Scalars['String']['output'];
5712
5734
  /** Returns transactions for a pair. */
5713
5735
  getTokenEvents?: Maybe<EventConnection>;
5736
+ /** Returns a list of token events for a given maker. */
5714
5737
  getTokenEventsForMaker?: Maybe<MakerEventConnection>;
5715
5738
  /** Returns metadata for a given token. */
5716
5739
  getTokenInfo?: Maybe<TokenInfo>;
@@ -5759,6 +5782,8 @@ export type Query = {
5759
5782
  tokenSparklines: Array<TokenSparkline>;
5760
5783
  /** Find a list of tokens by their addresses & network id, with pagination. */
5761
5784
  tokens: Array<Maybe<EnhancedToken>>;
5785
+ /** What percent of the total supply do the top 10 holders of a token hold */
5786
+ top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
5762
5787
  /** Returns list of NFT assets held by a given wallet for a single collection. */
5763
5788
  walletNftCollectionAssets: WalletNftCollectionAssetsResponse;
5764
5789
  /** Returns list of collections and quantity of NFTs held by a given wallet. */
@@ -6131,6 +6156,9 @@ export type QueryTokenSparklinesArgs = {
6131
6156
  export type QueryTokensArgs = {
6132
6157
  ids?: InputMaybe<Array<TokenInput>>;
6133
6158
  };
6159
+ export type QueryTop10HoldersPercentArgs = {
6160
+ tokenId: Scalars['String']['input'];
6161
+ };
6134
6162
  export type QueryWalletNftCollectionAssetsArgs = {
6135
6163
  input: WalletNftCollectionAssetsInput;
6136
6164
  };
@@ -6725,6 +6753,25 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
6725
6753
  id?: InputMaybe<Scalars['String']['input']>;
6726
6754
  quoteToken?: InputMaybe<QuoteToken>;
6727
6755
  };
6756
+ export type SuiNetworkConfig = {
6757
+ __typename?: 'SuiNetworkConfig';
6758
+ baseTokenAddress: Scalars['String']['output'];
6759
+ baseTokenSymbol: Scalars['String']['output'];
6760
+ color?: Maybe<Scalars['String']['output']>;
6761
+ defaultPairAddress: Scalars['String']['output'];
6762
+ defaultPairQuoteToken: QuoteToken;
6763
+ enabled: Scalars['Boolean']['output'];
6764
+ id: Scalars['ID']['output'];
6765
+ mainnet: Scalars['Boolean']['output'];
6766
+ name: Scalars['String']['output'];
6767
+ networkIconUrl: Scalars['String']['output'];
6768
+ networkId: Scalars['Int']['output'];
6769
+ networkName: Scalars['String']['output'];
6770
+ networkShortName: Scalars['String']['output'];
6771
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
6772
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
6773
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
6774
+ };
6728
6775
  /** Event data for a token swap event. */
6729
6776
  export type SwapEventData = {
6730
6777
  __typename?: 'SwapEventData';
@@ -7099,6 +7146,8 @@ export type TokenFilters = {
7099
7146
  marketCap?: InputMaybe<NumberFilter>;
7100
7147
  /** The list of network IDs to filter by. Applied in conjunction with `exchangeId` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
7101
7148
  network?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
7149
+ /** docs: hide */
7150
+ notableHolderCount?: InputMaybe<NumberFilter>;
7102
7151
  /** Filter potential Scams */
7103
7152
  potentialScam?: InputMaybe<Scalars['Boolean']['input']>;
7104
7153
  /** The token price in USD. */
@@ -7358,6 +7407,7 @@ export declare enum TokenRankingAttribute {
7358
7407
  Low12 = "low12",
7359
7408
  Low24 = "low24",
7360
7409
  MarketCap = "marketCap",
7410
+ NotableHolderCount = "notableHolderCount",
7361
7411
  PriceUsd = "priceUSD",
7362
7412
  SellCount1 = "sellCount1",
7363
7413
  SellCount4 = "sellCount4",
@@ -8551,6 +8601,13 @@ export type ApiTokensQuery = {
8551
8601
  token: string;
8552
8602
  }>;
8553
8603
  };
8604
+ export type BackfillWalletStateQueryVariables = Exact<{
8605
+ [key: string]: never;
8606
+ }>;
8607
+ export type BackfillWalletStateQuery = {
8608
+ __typename?: 'Query';
8609
+ backfillWalletState: boolean;
8610
+ };
8554
8611
  export type BalancesQueryVariables = Exact<{
8555
8612
  input: BalancesInput;
8556
8613
  }>;
@@ -15395,9 +15452,11 @@ export type GetTokenEventsQuery = {
15395
15452
  networkId: number;
15396
15453
  quoteToken?: QuoteToken | null;
15397
15454
  timestamp: number;
15455
+ token0Address?: string | null;
15398
15456
  token0PoolValueUsd?: string | null;
15399
15457
  token0SwapValueUsd?: string | null;
15400
15458
  token0ValueBase?: string | null;
15459
+ token1Address?: string | null;
15401
15460
  token1PoolValueUsd?: string | null;
15402
15461
  token1SwapValueUsd?: string | null;
15403
15462
  token1ValueBase?: string | null;
@@ -15494,9 +15553,11 @@ export type GetTokenEventsForMakerQuery = {
15494
15553
  networkId: number;
15495
15554
  quoteToken?: QuoteToken | null;
15496
15555
  timestamp: number;
15556
+ token0Address?: string | null;
15497
15557
  token0PoolValueUsd?: string | null;
15498
15558
  token0SwapValueUsd?: string | null;
15499
15559
  token0ValueBase?: string | null;
15560
+ token1Address?: string | null;
15500
15561
  token1PoolValueUsd?: string | null;
15501
15562
  token1SwapValueUsd?: string | null;
15502
15563
  token1ValueBase?: string | null;
@@ -15816,6 +15877,7 @@ export type HoldersQuery = {
15816
15877
  count: number;
15817
15878
  cursor?: string | null;
15818
15879
  status: HoldersStatus;
15880
+ top10HoldersPercent?: number | null;
15819
15881
  items: Array<{
15820
15882
  __typename?: 'Balance';
15821
15883
  balance: string;
@@ -16533,6 +16595,140 @@ export type PairMetadataQuery = {
16533
16595
  volume4?: string | null;
16534
16596
  volume12?: string | null;
16535
16597
  volume24?: string | null;
16598
+ enhancedToken0?: {
16599
+ __typename?: 'EnhancedToken';
16600
+ address: string;
16601
+ cmcId?: number | null;
16602
+ createBlockNumber?: number | null;
16603
+ createTransactionHash?: string | null;
16604
+ createdAt?: number | null;
16605
+ creatorAddress?: string | null;
16606
+ decimals: number;
16607
+ freezable?: string | null;
16608
+ id: string;
16609
+ isScam?: boolean | null;
16610
+ mintable?: string | null;
16611
+ name?: string | null;
16612
+ networkId: number;
16613
+ symbol?: string | null;
16614
+ exchanges?: Array<{
16615
+ __typename?: 'Exchange';
16616
+ address: string;
16617
+ color?: string | null;
16618
+ exchangeVersion?: string | null;
16619
+ iconUrl?: string | null;
16620
+ id: string;
16621
+ name?: string | null;
16622
+ networkId: number;
16623
+ tradeUrl?: string | null;
16624
+ }> | null;
16625
+ info?: {
16626
+ __typename?: 'TokenInfo';
16627
+ address: string;
16628
+ circulatingSupply?: string | null;
16629
+ cmcId?: number | null;
16630
+ description?: string | null;
16631
+ id: string;
16632
+ imageBannerUrl?: string | null;
16633
+ imageLargeUrl?: string | null;
16634
+ imageSmallUrl?: string | null;
16635
+ imageThumbUrl?: string | null;
16636
+ isScam?: boolean | null;
16637
+ name?: string | null;
16638
+ networkId: number;
16639
+ symbol: string;
16640
+ totalSupply?: string | null;
16641
+ } | null;
16642
+ socialLinks?: {
16643
+ __typename?: 'SocialLinks';
16644
+ bitcointalk?: string | null;
16645
+ blog?: string | null;
16646
+ coingecko?: string | null;
16647
+ coinmarketcap?: string | null;
16648
+ discord?: string | null;
16649
+ email?: string | null;
16650
+ facebook?: string | null;
16651
+ github?: string | null;
16652
+ instagram?: string | null;
16653
+ linkedin?: string | null;
16654
+ reddit?: string | null;
16655
+ slack?: string | null;
16656
+ telegram?: string | null;
16657
+ twitch?: string | null;
16658
+ twitter?: string | null;
16659
+ website?: string | null;
16660
+ wechat?: string | null;
16661
+ whitepaper?: string | null;
16662
+ youtube?: string | null;
16663
+ } | null;
16664
+ } | null;
16665
+ enhancedToken1?: {
16666
+ __typename?: 'EnhancedToken';
16667
+ address: string;
16668
+ cmcId?: number | null;
16669
+ createBlockNumber?: number | null;
16670
+ createTransactionHash?: string | null;
16671
+ createdAt?: number | null;
16672
+ creatorAddress?: string | null;
16673
+ decimals: number;
16674
+ freezable?: string | null;
16675
+ id: string;
16676
+ isScam?: boolean | null;
16677
+ mintable?: string | null;
16678
+ name?: string | null;
16679
+ networkId: number;
16680
+ symbol?: string | null;
16681
+ exchanges?: Array<{
16682
+ __typename?: 'Exchange';
16683
+ address: string;
16684
+ color?: string | null;
16685
+ exchangeVersion?: string | null;
16686
+ iconUrl?: string | null;
16687
+ id: string;
16688
+ name?: string | null;
16689
+ networkId: number;
16690
+ tradeUrl?: string | null;
16691
+ }> | null;
16692
+ info?: {
16693
+ __typename?: 'TokenInfo';
16694
+ address: string;
16695
+ circulatingSupply?: string | null;
16696
+ cmcId?: number | null;
16697
+ description?: string | null;
16698
+ id: string;
16699
+ imageBannerUrl?: string | null;
16700
+ imageLargeUrl?: string | null;
16701
+ imageSmallUrl?: string | null;
16702
+ imageThumbUrl?: string | null;
16703
+ isScam?: boolean | null;
16704
+ name?: string | null;
16705
+ networkId: number;
16706
+ symbol: string;
16707
+ totalSupply?: string | null;
16708
+ } | null;
16709
+ socialLinks?: {
16710
+ __typename?: 'SocialLinks';
16711
+ bitcointalk?: string | null;
16712
+ blog?: string | null;
16713
+ coingecko?: string | null;
16714
+ coinmarketcap?: string | null;
16715
+ discord?: string | null;
16716
+ email?: string | null;
16717
+ facebook?: string | null;
16718
+ github?: string | null;
16719
+ instagram?: string | null;
16720
+ linkedin?: string | null;
16721
+ reddit?: string | null;
16722
+ slack?: string | null;
16723
+ telegram?: string | null;
16724
+ twitch?: string | null;
16725
+ twitter?: string | null;
16726
+ website?: string | null;
16727
+ wechat?: string | null;
16728
+ whitepaper?: string | null;
16729
+ youtube?: string | null;
16730
+ } | null;
16731
+ } | null;
16536
16732
  token0: {
16537
16733
  __typename?: 'PairMetadataToken';
16538
16734
  address: string;
@@ -16835,6 +17031,13 @@ export type TokensQuery = {
16835
17031
  } | null;
16836
17032
  } | null>;
16837
17033
  };
17034
+ export type Top10HoldersPercentQueryVariables = Exact<{
17035
+ tokenId: Scalars['String']['input'];
17036
+ }>;
17037
+ export type Top10HoldersPercentQuery = {
17038
+ __typename?: 'Query';
17039
+ top10HoldersPercent?: number | null;
17040
+ };
16838
17041
  export type WalletNftCollectionAssetsQueryVariables = Exact<{
16839
17042
  input: WalletNftCollectionAssetsInput;
16840
17043
  }>;
@@ -17902,9 +18105,11 @@ export type OnEventsCreatedSubscription = {
17902
18105
  networkId: number;
17903
18106
  quoteToken?: QuoteToken | null;
17904
18107
  timestamp: number;
18108
+ token0Address?: string | null;
17905
18109
  token0PoolValueUsd?: string | null;
17906
18110
  token0SwapValueUsd?: string | null;
17907
18111
  token0ValueBase?: string | null;
18112
+ token1Address?: string | null;
17908
18113
  token1PoolValueUsd?: string | null;
17909
18114
  token1SwapValueUsd?: string | null;
17910
18115
  token1ValueBase?: string | null;
@@ -18674,6 +18879,140 @@ export type OnPairMetadataUpdatedSubscription = {
18674
18879
  volume4?: string | null;
18675
18880
  volume12?: string | null;
18676
18881
  volume24?: string | null;
18882
+ enhancedToken0?: {
18883
+ __typename?: 'EnhancedToken';
18884
+ address: string;
18885
+ cmcId?: number | null;
18886
+ createBlockNumber?: number | null;
18887
+ createTransactionHash?: string | null;
18888
+ createdAt?: number | null;
18889
+ creatorAddress?: string | null;
18890
+ decimals: number;
18891
+ freezable?: string | null;
18892
+ id: string;
18893
+ isScam?: boolean | null;
18894
+ mintable?: string | null;
18895
+ name?: string | null;
18896
+ networkId: number;
18897
+ symbol?: string | null;
18898
+ exchanges?: Array<{
18899
+ __typename?: 'Exchange';
18900
+ address: string;
18901
+ color?: string | null;
18902
+ exchangeVersion?: string | null;
18903
+ iconUrl?: string | null;
18904
+ id: string;
18905
+ name?: string | null;
18906
+ networkId: number;
18907
+ tradeUrl?: string | null;
18908
+ }> | null;
18909
+ info?: {
18910
+ __typename?: 'TokenInfo';
18911
+ address: string;
18912
+ circulatingSupply?: string | null;
18913
+ cmcId?: number | null;
18914
+ description?: string | null;
18915
+ id: string;
18916
+ imageBannerUrl?: string | null;
18917
+ imageLargeUrl?: string | null;
18918
+ imageSmallUrl?: string | null;
18919
+ imageThumbUrl?: string | null;
18920
+ isScam?: boolean | null;
18921
+ name?: string | null;
18922
+ networkId: number;
18923
+ symbol: string;
18924
+ totalSupply?: string | null;
18925
+ } | null;
18926
+ socialLinks?: {
18927
+ __typename?: 'SocialLinks';
18928
+ bitcointalk?: string | null;
18929
+ blog?: string | null;
18930
+ coingecko?: string | null;
18931
+ coinmarketcap?: string | null;
18932
+ discord?: string | null;
18933
+ email?: string | null;
18934
+ facebook?: string | null;
18935
+ github?: string | null;
18936
+ instagram?: string | null;
18937
+ linkedin?: string | null;
18938
+ reddit?: string | null;
18939
+ slack?: string | null;
18940
+ telegram?: string | null;
18941
+ twitch?: string | null;
18942
+ twitter?: string | null;
18943
+ website?: string | null;
18944
+ wechat?: string | null;
18945
+ whitepaper?: string | null;
18946
+ youtube?: string | null;
18947
+ } | null;
18948
+ } | null;
18949
+ enhancedToken1?: {
18950
+ __typename?: 'EnhancedToken';
18951
+ address: string;
18952
+ cmcId?: number | null;
18953
+ createBlockNumber?: number | null;
18954
+ createTransactionHash?: string | null;
18955
+ createdAt?: number | null;
18956
+ creatorAddress?: string | null;
18957
+ decimals: number;
18958
+ freezable?: string | null;
18959
+ id: string;
18960
+ isScam?: boolean | null;
18961
+ mintable?: string | null;
18962
+ name?: string | null;
18963
+ networkId: number;
18964
+ symbol?: string | null;
18965
+ exchanges?: Array<{
18966
+ __typename?: 'Exchange';
18967
+ address: string;
18968
+ color?: string | null;
18969
+ exchangeVersion?: string | null;
18970
+ iconUrl?: string | null;
18971
+ id: string;
18972
+ name?: string | null;
18973
+ networkId: number;
18974
+ tradeUrl?: string | null;
18975
+ }> | null;
18976
+ info?: {
18977
+ __typename?: 'TokenInfo';
18978
+ address: string;
18979
+ circulatingSupply?: string | null;
18980
+ cmcId?: number | null;
18981
+ description?: string | null;
18982
+ id: string;
18983
+ imageBannerUrl?: string | null;
18984
+ imageLargeUrl?: string | null;
18985
+ imageSmallUrl?: string | null;
18986
+ imageThumbUrl?: string | null;
18987
+ isScam?: boolean | null;
18988
+ name?: string | null;
18989
+ networkId: number;
18990
+ symbol: string;
18991
+ totalSupply?: string | null;
18992
+ } | null;
18993
+ socialLinks?: {
18994
+ __typename?: 'SocialLinks';
18995
+ bitcointalk?: string | null;
18996
+ blog?: string | null;
18997
+ coingecko?: string | null;
18998
+ coinmarketcap?: string | null;
18999
+ discord?: string | null;
19000
+ email?: string | null;
19001
+ facebook?: string | null;
19002
+ github?: string | null;
19003
+ instagram?: string | null;
19004
+ linkedin?: string | null;
19005
+ reddit?: string | null;
19006
+ slack?: string | null;
19007
+ telegram?: string | null;
19008
+ twitch?: string | null;
19009
+ twitter?: string | null;
19010
+ website?: string | null;
19011
+ wechat?: string | null;
19012
+ whitepaper?: string | null;
19013
+ youtube?: string | null;
19014
+ } | null;
19015
+ } | null;
18677
19016
  token0: {
18678
19017
  __typename?: 'PairMetadataToken';
18679
19018
  address: string;
@@ -19494,9 +19833,11 @@ export type OnTokenEventsCreatedSubscription = {
19494
19833
  networkId: number;
19495
19834
  quoteToken?: QuoteToken | null;
19496
19835
  timestamp: number;
19836
+ token0Address?: string | null;
19497
19837
  token0PoolValueUsd?: string | null;
19498
19838
  token0SwapValueUsd?: string | null;
19499
19839
  token0ValueBase?: string | null;
19840
+ token1Address?: string | null;
19500
19841
  token1PoolValueUsd?: string | null;
19501
19842
  token1SwapValueUsd?: string | null;
19502
19843
  token1ValueBase?: string | null;
@@ -19749,6 +20090,9 @@ export declare const ApiTokenDocument: DocumentNode<ApiTokenQuery, Exact<{
19749
20090
  export declare const ApiTokensDocument: DocumentNode<ApiTokensQuery, Exact<{
19750
20091
  [key: string]: never;
19751
20092
  }>>;
20093
+ export declare const BackfillWalletStateDocument: DocumentNode<BackfillWalletStateQuery, Exact<{
20094
+ [key: string]: never;
20095
+ }>>;
19752
20096
  export declare const BalancesDocument: DocumentNode<BalancesQuery, Exact<{
19753
20097
  input: BalancesInput;
19754
20098
  }>>;
@@ -20104,6 +20448,9 @@ export declare const TokenSparklinesDocument: DocumentNode<TokenSparklinesQuery,
20104
20448
  export declare const TokensDocument: DocumentNode<TokensQuery, Exact<{
20105
20449
  ids?: InputMaybe<TokenInput | TokenInput[]> | undefined;
20106
20450
  }>>;
20451
+ export declare const Top10HoldersPercentDocument: DocumentNode<Top10HoldersPercentQuery, Exact<{
20452
+ tokenId: Scalars['String']['input'];
20453
+ }>>;
20107
20454
  export declare const WalletNftCollectionAssetsDocument: DocumentNode<WalletNftCollectionAssetsQuery, Exact<{
20108
20455
  input: WalletNftCollectionAssetsInput;
20109
20456
  }>>;