@codex-data/sdk 1.0.13 → 1.0.14

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.
@@ -126,6 +126,13 @@ export type ApiToken = {
126
126
  token: Scalars['String']['output'];
127
127
  };
128
128
 
129
+ export type ArenaTradeData = {
130
+ __typename?: 'ArenaTradeData';
131
+ /** Protocol specific token ID */
132
+ tokenId?: Maybe<Scalars['String']['output']>;
133
+ type: Scalars['String']['output'];
134
+ };
135
+
129
136
  /** Wallet balance of a token. */
130
137
  export type Balance = {
131
138
  __typename?: 'Balance';
@@ -1842,9 +1849,11 @@ export type LaunchpadData = {
1842
1849
  completedSlot?: Maybe<Scalars['Int']['output']>;
1843
1850
  /** The percentage of the pool that was sold to the public. */
1844
1851
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1845
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
1852
+ /** The icon URL of the launchpad. */
1853
+ launchpadIconUrl?: Maybe<Scalars['String']['output']>;
1854
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
1846
1855
  launchpadName?: Maybe<Scalars['String']['output']>;
1847
- /** The launchpad protocol */
1856
+ /** The launchpad protocol. */
1848
1857
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
1849
1858
  /** Indicates if the launchpad was migrated. */
1850
1859
  migrated?: Maybe<Scalars['Boolean']['output']>;
@@ -1874,7 +1883,7 @@ export type LaunchpadTokenEventOutput = {
1874
1883
  eventType: LaunchpadTokenEventType;
1875
1884
  /** The number of holders. */
1876
1885
  holders?: Maybe<Scalars['Int']['output']>;
1877
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
1886
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
1878
1887
  launchpadName: Scalars['String']['output'];
1879
1888
  /** The market cap of the token. */
1880
1889
  marketCap?: Maybe<Scalars['String']['output']>;
@@ -1916,6 +1925,8 @@ export enum LaunchpadTokenEventType {
1916
1925
  export enum LaunchpadTokenProtocol {
1917
1926
  /** Protocol name for ArenaTrade. */
1918
1927
  ArenaTrade = 'ArenaTrade',
1928
+ /** Protocol name for Baseapp. */
1929
+ Baseapp = 'Baseapp',
1919
1930
  /** Protocol name for boop.fun. */
1920
1931
  BoopFun = 'BoopFun',
1921
1932
  /** Protocol name for EgoTech. */
@@ -1933,7 +1944,11 @@ export enum LaunchpadTokenProtocol {
1933
1944
  /** Protocol name for LaunchLab and Bonk. */
1934
1945
  RaydiumLaunchpad = 'RaydiumLaunchpad',
1935
1946
  /** Protocol name for Vertigo. */
1936
- Vertigo = 'Vertigo'
1947
+ Vertigo = 'Vertigo',
1948
+ /** Protocol name for ZoraCreator. */
1949
+ ZoraCreatorV4 = 'ZoraCreatorV4',
1950
+ /** Protocol name for Zora. */
1951
+ ZoraV4 = 'ZoraV4'
1937
1952
  }
1938
1953
 
1939
1954
  /** Data about liquidity in a pair. */
@@ -2197,6 +2212,8 @@ export type MintEventData = {
2197
2212
 
2198
2213
  export type Mutation = {
2199
2214
  __typename?: 'Mutation';
2215
+ /** Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries. */
2216
+ backfillWalletAggregates: WalletAggregateBackfillStateResponse;
2200
2217
  /** Create a new set of short-lived api access tokens */
2201
2218
  createApiTokens: Array<ApiToken>;
2202
2219
  /** Create price, raw transaction, token/pair event, and NFT event webhooks. */
@@ -2208,6 +2225,11 @@ export type Mutation = {
2208
2225
  };
2209
2226
 
2210
2227
 
2228
+ export type MutationBackfillWalletAggregatesArgs = {
2229
+ input: WalletAggregateBackfillInput;
2230
+ };
2231
+
2232
+
2211
2233
  export type MutationCreateApiTokensArgs = {
2212
2234
  input: CreateApiTokensInput;
2213
2235
  };
@@ -5006,7 +5028,7 @@ export type OnEventsCreatedByMakerInput = {
5006
5028
  export type OnLaunchpadTokenEventBatchInput = {
5007
5029
  /** The type of event. */
5008
5030
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5009
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
5031
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5010
5032
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5011
5033
  /** The network ID that the token is deployed on. */
5012
5034
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5020,7 +5042,7 @@ export type OnLaunchpadTokenEventInput = {
5020
5042
  address?: InputMaybe<Scalars['String']['input']>;
5021
5043
  /** The type of event. */
5022
5044
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5023
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
5045
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5024
5046
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5025
5047
  /** The network ID that the token is deployed on. */
5026
5048
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5123,6 +5145,13 @@ export type Pair = {
5123
5145
  networkId: Scalars['Int']['output'];
5124
5146
  /** The pooled amounts of each token in the pair. */
5125
5147
  pooled?: Maybe<PooledTokenValues>;
5148
+ /**
5149
+ * The per-protocol data for the pair, if applicable
5150
+ * @deprecated Use protocolData instead
5151
+ */
5152
+ protocolCustomData?: Maybe<PairProtocolCustomData>;
5153
+ /** Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example) */
5154
+ protocolData?: Maybe<ProtocolData>;
5126
5155
  /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
5127
5156
  tickSpacing?: Maybe<Scalars['Int']['output']>;
5128
5157
  /** The contract address of `token0`. */
@@ -5353,6 +5382,8 @@ export type PairFilters = {
5353
5382
  highPrice12?: InputMaybe<NumberFilter>;
5354
5383
  /** The highest price in USD in the past 24 hours. */
5355
5384
  highPrice24?: InputMaybe<NumberFilter>;
5385
+ /** The address of the hook contract for applicable protocols. */
5386
+ hookAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5356
5387
  /** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
5357
5388
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
5358
5389
  /** The unix timestamp for the last transaction to happen on the pair. */
@@ -5560,6 +5591,12 @@ export type PairMetadataToken = {
5560
5591
  symbol: Scalars['String']['output'];
5561
5592
  };
5562
5593
 
5594
+ export type PairProtocolCustomData = {
5595
+ __typename?: 'PairProtocolCustomData';
5596
+ /** The address of the hook contract for Uniswap V4 pools. */
5597
+ uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
5598
+ };
5599
+
5563
5600
  /** Input type of `PairRanking`. */
5564
5601
  export type PairRanking = {
5565
5602
  /** The attribute to rank pairs by. */
@@ -6479,6 +6516,8 @@ export type PrimePoolWithdrawData = {
6479
6516
  userPrimeRewardDebt: Scalars['String']['output'];
6480
6517
  };
6481
6518
 
6519
+ export type ProtocolData = ArenaTradeData | UniswapV4Data;
6520
+
6482
6521
  /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
6483
6522
  export enum PublishingType {
6484
6523
  Batch = 'BATCH',
@@ -6637,6 +6676,8 @@ export type Query = {
6637
6676
  tokens: Array<Maybe<EnhancedToken>>;
6638
6677
  /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6639
6678
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6679
+ /** Once a wallet backfill has been triggered, this query can be used to check the status of the backfill. */
6680
+ walletAggregateBackfillState: WalletAggregateBackfillStateResponse;
6640
6681
  /** Returns a chart of a wallet's activity. */
6641
6682
  walletChart?: Maybe<WalletChartResponse>;
6642
6683
  /** Returns list of NFT assets held by a given wallet for a single collection. */
@@ -7132,6 +7173,11 @@ export type QueryTop10HoldersPercentArgs = {
7132
7173
  };
7133
7174
 
7134
7175
 
7176
+ export type QueryWalletAggregateBackfillStateArgs = {
7177
+ input: WalletAggregateBackfillStateInput;
7178
+ };
7179
+
7180
+
7135
7181
  export type QueryWalletChartArgs = {
7136
7182
  input: WalletChartInput;
7137
7183
  };
@@ -8042,7 +8088,7 @@ export type TokenFilters = {
8042
8088
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8043
8089
  /** The timestamp when the launchpad was migrated */
8044
8090
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8045
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
8091
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
8046
8092
  launchpadName?: InputMaybe<Scalars['String']['input']>;
8047
8093
  /** The launchpad protocol */
8048
8094
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
@@ -8861,6 +8907,18 @@ export type UnconfirmedSwapEventData = {
8861
8907
  type: EventType;
8862
8908
  };
8863
8909
 
8910
+ export type UniswapV4Data = {
8911
+ __typename?: 'UniswapV4Data';
8912
+ type: Scalars['String']['output'];
8913
+ /** The address of the hook contract for Uniswap V4 pools. */
8914
+ uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
8915
+ };
8916
+
8917
+ /** Input arguments for the `backfillWalletAggregates` mutation. */
8918
+ export type WalletAggregateBackfillInput = {
8919
+ walletAddress: Scalars['String']['input'];
8920
+ };
8921
+
8864
8922
  /** The state of the wallet backfill. */
8865
8923
  export enum WalletAggregateBackfillState {
8866
8924
  /** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
@@ -8877,6 +8935,18 @@ export enum WalletAggregateBackfillState {
8877
8935
  BackfillRequestReceived = 'BackfillRequestReceived'
8878
8936
  }
8879
8937
 
8938
+ /** Input arguments for the `walletAggregateBackfillState` mutation. */
8939
+ export type WalletAggregateBackfillStateInput = {
8940
+ walletAddress: Scalars['String']['input'];
8941
+ };
8942
+
8943
+ /** The response for the `walletAggregateBackfillState` mutation. */
8944
+ export type WalletAggregateBackfillStateResponse = {
8945
+ __typename?: 'WalletAggregateBackfillStateResponse';
8946
+ status: WalletAggregateBackfillState;
8947
+ walletAddress: Scalars['String']['output'];
8948
+ };
8949
+
8880
8950
  /** The data for a chart of a wallet's activity. */
8881
8951
  export type WalletChartData = {
8882
8952
  __typename?: 'WalletChartData';
@@ -624,6 +624,10 @@ type Query {
624
624
  """The network id of the token."""
625
625
  networkId: Int!
626
626
  ): LiquidityMetadataByToken!
627
+ """Once a wallet backfill has been triggered, this query can be used to check the status of the backfill."""
628
+ walletAggregateBackfillState(
629
+ input: WalletAggregateBackfillStateInput!
630
+ ): WalletAggregateBackfillStateResponse!
627
631
  """Returns a list of top traders for a given token."""
628
632
  tokenTopTraders(
629
633
  input: TokenTopTradersInput!
@@ -673,6 +677,10 @@ type Mutation {
673
677
  """input: Input for deleting webhooks."""
674
678
  input: DeleteWebhooksInput!
675
679
  ): DeleteWebhooksOutput
680
+ """Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries."""
681
+ backfillWalletAggregates(
682
+ input: WalletAggregateBackfillInput!
683
+ ): WalletAggregateBackfillStateResponse!
676
684
  }
677
685
 
678
686
  type Subscription {
@@ -928,6 +936,12 @@ type ApiToken {
928
936
  remaining: String
929
937
  }
930
938
 
939
+ type ArenaTradeData {
940
+ """Protocol specific token ID"""
941
+ tokenId: String
942
+ type: String!
943
+ }
944
+
931
945
  """Wallet balance of a token."""
932
946
  type Balance {
933
947
  """The ID of the wallet (`walletAddress:networkId`)."""
@@ -2555,7 +2569,7 @@ type LatestTokenSimResults {
2555
2569
  type LaunchpadData {
2556
2570
  """The name of the launchpad."""
2557
2571
  name: String @deprecated(reason: "Use launchpadName instead")
2558
- """The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City."""
2572
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
2559
2573
  launchpadName: String
2560
2574
  """The percentage of the pool that was sold to the public."""
2561
2575
  graduationPercent: Float
@@ -2575,8 +2589,10 @@ type LaunchpadData {
2575
2589
  migrated: Boolean
2576
2590
  """The pool address after the launchpad was migrated."""
2577
2591
  migratedPoolAddress: String
2578
- """The launchpad protocol"""
2592
+ """The launchpad protocol."""
2579
2593
  launchpadProtocol: String
2594
+ """The icon URL of the launchpad."""
2595
+ launchpadIconUrl: String
2580
2596
  }
2581
2597
 
2582
2598
  """Response returned by `onLaunchpadTokenEvent`."""
@@ -2587,7 +2603,7 @@ type LaunchpadTokenEventOutput {
2587
2603
  networkId: Int!
2588
2604
  """The protocol of the token."""
2589
2605
  protocol: String!
2590
- """The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City."""
2606
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
2591
2607
  launchpadName: String!
2592
2608
  """Metadata for the token."""
2593
2609
  token: EnhancedToken!
@@ -2649,6 +2665,12 @@ enum LaunchpadTokenProtocol {
2649
2665
  Moonit
2650
2666
  """Protocol name for MeteoraDBC."""
2651
2667
  MeteoraDBC
2668
+ """Protocol name for Baseapp."""
2669
+ Baseapp
2670
+ """Protocol name for Zora."""
2671
+ ZoraV4
2672
+ """Protocol name for ZoraCreator."""
2673
+ ZoraCreatorV4
2652
2674
  }
2653
2675
 
2654
2676
  scalar link__Import
@@ -5557,7 +5579,7 @@ input OnLaunchpadTokenEventBatchInput {
5557
5579
  protocol: LaunchpadTokenProtocol
5558
5580
  """The network ID that the token is deployed on."""
5559
5581
  networkId: Int
5560
- """The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City."""
5582
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
5561
5583
  launchpadName: String
5562
5584
  """The type of event."""
5563
5585
  eventType: LaunchpadTokenEventType
@@ -5567,7 +5589,7 @@ input OnLaunchpadTokenEventBatchInput {
5567
5589
  input OnLaunchpadTokenEventInput {
5568
5590
  """The protocol of the token."""
5569
5591
  protocol: LaunchpadTokenProtocol
5570
- """The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City."""
5592
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
5571
5593
  launchpadName: String
5572
5594
  """The type of event."""
5573
5595
  eventType: LaunchpadTokenEventType
@@ -5666,6 +5688,10 @@ type Pair {
5666
5688
  token1Data: EnhancedToken
5667
5689
  """The pooled amounts of each token in the pair."""
5668
5690
  pooled: PooledTokenValues
5691
+ """Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example)"""
5692
+ protocolData: ProtocolData
5693
+ """The per-protocol data for the pair, if applicable"""
5694
+ protocolCustomData: PairProtocolCustomData @deprecated(reason: "Use protocolData instead")
5669
5695
  }
5670
5696
 
5671
5697
  """Input type of `PairChartInput`."""
@@ -5982,6 +6008,8 @@ input PairFilters {
5982
6008
  trendingIgnored: Boolean
5983
6009
  """Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both."""
5984
6010
  isTestnet: Boolean
6011
+ """The address of the hook contract for applicable protocols."""
6012
+ hookAddress: [String]
5985
6013
  """The average age of the wallets that traded in the last 24h"""
5986
6014
  walletAgeAvg: NumberFilter
5987
6015
  """The standard deviation of age of the wallets that traded in the last 24h"""
@@ -6089,6 +6117,11 @@ type PairMetadataToken {
6089
6117
  labels: [ContractLabel]
6090
6118
  }
6091
6119
 
6120
+ type PairProtocolCustomData {
6121
+ """The address of the hook contract for Uniswap V4 pools."""
6122
+ uniswapV4HookAddress: String
6123
+ }
6124
+
6092
6125
  """Input type of `PairRanking`."""
6093
6126
  input PairRanking {
6094
6127
  """The attribute to rank pairs by."""
@@ -6970,6 +7003,8 @@ type PrimePoolWithdrawData {
6970
7003
  userCachedAmount: String!
6971
7004
  }
6972
7005
 
7006
+ union ProtocolData = UniswapV4Data | ArenaTradeData
7007
+
6973
7008
  """The type of publishing for the webhook. If not set, it defaults to `SINGLE`."""
6974
7009
  enum PublishingType {
6975
7010
  BATCH
@@ -7788,7 +7823,7 @@ input TokenFilters {
7788
7823
  creatorAddress: String
7789
7824
  """The launchpad protocol"""
7790
7825
  launchpadProtocol: String
7791
- """The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City."""
7826
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
7792
7827
  launchpadName: String
7793
7828
  """Indicates if the launchpad is completed"""
7794
7829
  launchpadCompleted: Boolean
@@ -8496,8 +8531,19 @@ type UnconfirmedSwapEventData {
8496
8531
  amountBaseToken: String
8497
8532
  }
8498
8533
 
8534
+ type UniswapV4Data {
8535
+ """The address of the hook contract for Uniswap V4 pools."""
8536
+ uniswapV4HookAddress: String
8537
+ type: String!
8538
+ }
8539
+
8499
8540
  scalar Void
8500
8541
 
8542
+ """Input arguments for the `backfillWalletAggregates` mutation."""
8543
+ input WalletAggregateBackfillInput {
8544
+ walletAddress: String!
8545
+ }
8546
+
8501
8547
  """The state of the wallet backfill."""
8502
8548
  enum WalletAggregateBackfillState {
8503
8549
  """Historical stats calculations for this wallet have been successfully processed"""
@@ -8514,6 +8560,17 @@ enum WalletAggregateBackfillState {
8514
8560
  BackfillNotFound
8515
8561
  }
8516
8562
 
8563
+ """Input arguments for the `walletAggregateBackfillState` mutation."""
8564
+ input WalletAggregateBackfillStateInput {
8565
+ walletAddress: String!
8566
+ }
8567
+
8568
+ """The response for the `walletAggregateBackfillState` mutation."""
8569
+ type WalletAggregateBackfillStateResponse {
8570
+ walletAddress: String!
8571
+ status: WalletAggregateBackfillState!
8572
+ }
8573
+
8517
8574
  """The data for a chart of a wallet's activity."""
8518
8575
  type WalletChartData {
8519
8576
  """The timestamp"""
@@ -8578,6 +8635,8 @@ type WalletFilterConnection {
8578
8635
  type WalletFilterResult {
8579
8636
  """The wallet address"""
8580
8637
  address: String!
8638
+ """The network ID of the wallet (only present if filtered by network)"""
8639
+ networkId: Int
8581
8640
  """The unix timestamp for the first transaction from this wallet"""
8582
8641
  firstTransactionAt: Int
8583
8642
  """The unix timestamp for the last transaction from this wallet"""
@@ -8668,8 +8727,6 @@ type WalletFilterResult {
8668
8727
  scammerScore: Int
8669
8728
  """The bot score for the wallet."""
8670
8729
  botScore: Int
8671
- """The network ID of the wallet (only present if filtered by network)"""
8672
- networkId: Int
8673
8730
  """The native token balance of the wallet (only present if filtered by network)"""
8674
8731
  nativeTokenBalance: String
8675
8732
  """The backfill state of the wallet."""
@@ -128,6 +128,13 @@ export type ApiToken = {
128
128
  token: Scalars['String']['output'];
129
129
  };
130
130
 
131
+ export type ArenaTradeData = {
132
+ __typename?: 'ArenaTradeData';
133
+ /** Protocol specific token ID */
134
+ tokenId?: Maybe<Scalars['String']['output']>;
135
+ type: Scalars['String']['output'];
136
+ };
137
+
131
138
  /** Wallet balance of a token. */
132
139
  export type Balance = {
133
140
  __typename?: 'Balance';
@@ -1844,9 +1851,11 @@ export type LaunchpadData = {
1844
1851
  completedSlot?: Maybe<Scalars['Int']['output']>;
1845
1852
  /** The percentage of the pool that was sold to the public. */
1846
1853
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1847
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
1854
+ /** The icon URL of the launchpad. */
1855
+ launchpadIconUrl?: Maybe<Scalars['String']['output']>;
1856
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
1848
1857
  launchpadName?: Maybe<Scalars['String']['output']>;
1849
- /** The launchpad protocol */
1858
+ /** The launchpad protocol. */
1850
1859
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
1851
1860
  /** Indicates if the launchpad was migrated. */
1852
1861
  migrated?: Maybe<Scalars['Boolean']['output']>;
@@ -1876,7 +1885,7 @@ export type LaunchpadTokenEventOutput = {
1876
1885
  eventType: LaunchpadTokenEventType;
1877
1886
  /** The number of holders. */
1878
1887
  holders?: Maybe<Scalars['Int']['output']>;
1879
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
1888
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
1880
1889
  launchpadName: Scalars['String']['output'];
1881
1890
  /** The market cap of the token. */
1882
1891
  marketCap?: Maybe<Scalars['String']['output']>;
@@ -1918,6 +1927,8 @@ export enum LaunchpadTokenEventType {
1918
1927
  export enum LaunchpadTokenProtocol {
1919
1928
  /** Protocol name for ArenaTrade. */
1920
1929
  ArenaTrade = 'ArenaTrade',
1930
+ /** Protocol name for Baseapp. */
1931
+ Baseapp = 'Baseapp',
1921
1932
  /** Protocol name for boop.fun. */
1922
1933
  BoopFun = 'BoopFun',
1923
1934
  /** Protocol name for EgoTech. */
@@ -1935,7 +1946,11 @@ export enum LaunchpadTokenProtocol {
1935
1946
  /** Protocol name for LaunchLab and Bonk. */
1936
1947
  RaydiumLaunchpad = 'RaydiumLaunchpad',
1937
1948
  /** Protocol name for Vertigo. */
1938
- Vertigo = 'Vertigo'
1949
+ Vertigo = 'Vertigo',
1950
+ /** Protocol name for ZoraCreator. */
1951
+ ZoraCreatorV4 = 'ZoraCreatorV4',
1952
+ /** Protocol name for Zora. */
1953
+ ZoraV4 = 'ZoraV4'
1939
1954
  }
1940
1955
 
1941
1956
  /** Data about liquidity in a pair. */
@@ -2199,6 +2214,8 @@ export type MintEventData = {
2199
2214
 
2200
2215
  export type Mutation = {
2201
2216
  __typename?: 'Mutation';
2217
+ /** Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries. */
2218
+ backfillWalletAggregates: WalletAggregateBackfillStateResponse;
2202
2219
  /** Create a new set of short-lived api access tokens */
2203
2220
  createApiTokens: Array<ApiToken>;
2204
2221
  /** Create price, raw transaction, token/pair event, and NFT event webhooks. */
@@ -2210,6 +2227,11 @@ export type Mutation = {
2210
2227
  };
2211
2228
 
2212
2229
 
2230
+ export type MutationBackfillWalletAggregatesArgs = {
2231
+ input: WalletAggregateBackfillInput;
2232
+ };
2233
+
2234
+
2213
2235
  export type MutationCreateApiTokensArgs = {
2214
2236
  input: CreateApiTokensInput;
2215
2237
  };
@@ -5008,7 +5030,7 @@ export type OnEventsCreatedByMakerInput = {
5008
5030
  export type OnLaunchpadTokenEventBatchInput = {
5009
5031
  /** The type of event. */
5010
5032
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5011
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
5033
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5012
5034
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5013
5035
  /** The network ID that the token is deployed on. */
5014
5036
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5022,7 +5044,7 @@ export type OnLaunchpadTokenEventInput = {
5022
5044
  address?: InputMaybe<Scalars['String']['input']>;
5023
5045
  /** The type of event. */
5024
5046
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5025
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
5047
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5026
5048
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5027
5049
  /** The network ID that the token is deployed on. */
5028
5050
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5125,6 +5147,13 @@ export type Pair = {
5125
5147
  networkId: Scalars['Int']['output'];
5126
5148
  /** The pooled amounts of each token in the pair. */
5127
5149
  pooled?: Maybe<PooledTokenValues>;
5150
+ /**
5151
+ * The per-protocol data for the pair, if applicable
5152
+ * @deprecated Use protocolData instead
5153
+ */
5154
+ protocolCustomData?: Maybe<PairProtocolCustomData>;
5155
+ /** Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example) */
5156
+ protocolData?: Maybe<ProtocolData>;
5128
5157
  /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
5129
5158
  tickSpacing?: Maybe<Scalars['Int']['output']>;
5130
5159
  /** The contract address of `token0`. */
@@ -5355,6 +5384,8 @@ export type PairFilters = {
5355
5384
  highPrice12?: InputMaybe<NumberFilter>;
5356
5385
  /** The highest price in USD in the past 24 hours. */
5357
5386
  highPrice24?: InputMaybe<NumberFilter>;
5387
+ /** The address of the hook contract for applicable protocols. */
5388
+ hookAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5358
5389
  /** Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both. */
5359
5390
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
5360
5391
  /** The unix timestamp for the last transaction to happen on the pair. */
@@ -5562,6 +5593,12 @@ export type PairMetadataToken = {
5562
5593
  symbol: Scalars['String']['output'];
5563
5594
  };
5564
5595
 
5596
+ export type PairProtocolCustomData = {
5597
+ __typename?: 'PairProtocolCustomData';
5598
+ /** The address of the hook contract for Uniswap V4 pools. */
5599
+ uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
5600
+ };
5601
+
5565
5602
  /** Input type of `PairRanking`. */
5566
5603
  export type PairRanking = {
5567
5604
  /** The attribute to rank pairs by. */
@@ -6481,6 +6518,8 @@ export type PrimePoolWithdrawData = {
6481
6518
  userPrimeRewardDebt: Scalars['String']['output'];
6482
6519
  };
6483
6520
 
6521
+ export type ProtocolData = ArenaTradeData | UniswapV4Data;
6522
+
6484
6523
  /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
6485
6524
  export enum PublishingType {
6486
6525
  Batch = 'BATCH',
@@ -6639,6 +6678,8 @@ export type Query = {
6639
6678
  tokens: Array<Maybe<EnhancedToken>>;
6640
6679
  /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6641
6680
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6681
+ /** Once a wallet backfill has been triggered, this query can be used to check the status of the backfill. */
6682
+ walletAggregateBackfillState: WalletAggregateBackfillStateResponse;
6642
6683
  /** Returns a chart of a wallet's activity. */
6643
6684
  walletChart?: Maybe<WalletChartResponse>;
6644
6685
  /** Returns list of NFT assets held by a given wallet for a single collection. */
@@ -7134,6 +7175,11 @@ export type QueryTop10HoldersPercentArgs = {
7134
7175
  };
7135
7176
 
7136
7177
 
7178
+ export type QueryWalletAggregateBackfillStateArgs = {
7179
+ input: WalletAggregateBackfillStateInput;
7180
+ };
7181
+
7182
+
7137
7183
  export type QueryWalletChartArgs = {
7138
7184
  input: WalletChartInput;
7139
7185
  };
@@ -8044,7 +8090,7 @@ export type TokenFilters = {
8044
8090
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8045
8091
  /** The timestamp when the launchpad was migrated */
8046
8092
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8047
- /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
8093
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
8048
8094
  launchpadName?: InputMaybe<Scalars['String']['input']>;
8049
8095
  /** The launchpad protocol */
8050
8096
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
@@ -8863,6 +8909,18 @@ export type UnconfirmedSwapEventData = {
8863
8909
  type: EventType;
8864
8910
  };
8865
8911
 
8912
+ export type UniswapV4Data = {
8913
+ __typename?: 'UniswapV4Data';
8914
+ type: Scalars['String']['output'];
8915
+ /** The address of the hook contract for Uniswap V4 pools. */
8916
+ uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
8917
+ };
8918
+
8919
+ /** Input arguments for the `backfillWalletAggregates` mutation. */
8920
+ export type WalletAggregateBackfillInput = {
8921
+ walletAddress: Scalars['String']['input'];
8922
+ };
8923
+
8866
8924
  /** The state of the wallet backfill. */
8867
8925
  export enum WalletAggregateBackfillState {
8868
8926
  /** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
@@ -8879,6 +8937,18 @@ export enum WalletAggregateBackfillState {
8879
8937
  BackfillRequestReceived = 'BackfillRequestReceived'
8880
8938
  }
8881
8939
 
8940
+ /** Input arguments for the `walletAggregateBackfillState` mutation. */
8941
+ export type WalletAggregateBackfillStateInput = {
8942
+ walletAddress: Scalars['String']['input'];
8943
+ };
8944
+
8945
+ /** The response for the `walletAggregateBackfillState` mutation. */
8946
+ export type WalletAggregateBackfillStateResponse = {
8947
+ __typename?: 'WalletAggregateBackfillStateResponse';
8948
+ status: WalletAggregateBackfillState;
8949
+ walletAddress: Scalars['String']['output'];
8950
+ };
8951
+
8882
8952
  /** The data for a chart of a wallet's activity. */
8883
8953
  export type WalletChartData = {
8884
8954
  __typename?: 'WalletChartData';