@codex-data/sdk 1.0.13 → 1.0.15

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,8 +1883,10 @@ 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'];
1888
+ /** The liquidity of the token's top pair. */
1889
+ liquidity?: Maybe<Scalars['String']['output']>;
1879
1890
  /** The market cap of the token. */
1880
1891
  marketCap?: Maybe<Scalars['String']['output']>;
1881
1892
  /** The network ID that the token is deployed on. */
@@ -1916,6 +1927,8 @@ export enum LaunchpadTokenEventType {
1916
1927
  export enum LaunchpadTokenProtocol {
1917
1928
  /** Protocol name for ArenaTrade. */
1918
1929
  ArenaTrade = 'ArenaTrade',
1930
+ /** Protocol name for Baseapp. */
1931
+ Baseapp = 'Baseapp',
1919
1932
  /** Protocol name for boop.fun. */
1920
1933
  BoopFun = 'BoopFun',
1921
1934
  /** Protocol name for EgoTech. */
@@ -1933,7 +1946,11 @@ export enum LaunchpadTokenProtocol {
1933
1946
  /** Protocol name for LaunchLab and Bonk. */
1934
1947
  RaydiumLaunchpad = 'RaydiumLaunchpad',
1935
1948
  /** Protocol name for Vertigo. */
1936
- Vertigo = 'Vertigo'
1949
+ Vertigo = 'Vertigo',
1950
+ /** Protocol name for ZoraCreator. */
1951
+ ZoraCreatorV4 = 'ZoraCreatorV4',
1952
+ /** Protocol name for Zora. */
1953
+ ZoraV4 = 'ZoraV4'
1937
1954
  }
1938
1955
 
1939
1956
  /** Data about liquidity in a pair. */
@@ -2197,6 +2214,8 @@ export type MintEventData = {
2197
2214
 
2198
2215
  export type Mutation = {
2199
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;
2200
2219
  /** Create a new set of short-lived api access tokens */
2201
2220
  createApiTokens: Array<ApiToken>;
2202
2221
  /** Create price, raw transaction, token/pair event, and NFT event webhooks. */
@@ -2208,6 +2227,11 @@ export type Mutation = {
2208
2227
  };
2209
2228
 
2210
2229
 
2230
+ export type MutationBackfillWalletAggregatesArgs = {
2231
+ input: WalletAggregateBackfillInput;
2232
+ };
2233
+
2234
+
2211
2235
  export type MutationCreateApiTokensArgs = {
2212
2236
  input: CreateApiTokensInput;
2213
2237
  };
@@ -5006,7 +5030,7 @@ export type OnEventsCreatedByMakerInput = {
5006
5030
  export type OnLaunchpadTokenEventBatchInput = {
5007
5031
  /** The type of event. */
5008
5032
  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. */
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. */
5010
5034
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5011
5035
  /** The network ID that the token is deployed on. */
5012
5036
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5020,7 +5044,7 @@ export type OnLaunchpadTokenEventInput = {
5020
5044
  address?: InputMaybe<Scalars['String']['input']>;
5021
5045
  /** The type of event. */
5022
5046
  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. */
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. */
5024
5048
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5025
5049
  /** The network ID that the token is deployed on. */
5026
5050
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5123,6 +5147,13 @@ export type Pair = {
5123
5147
  networkId: Scalars['Int']['output'];
5124
5148
  /** The pooled amounts of each token in the pair. */
5125
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>;
5126
5157
  /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
5127
5158
  tickSpacing?: Maybe<Scalars['Int']['output']>;
5128
5159
  /** The contract address of `token0`. */
@@ -5353,6 +5384,8 @@ export type PairFilters = {
5353
5384
  highPrice12?: InputMaybe<NumberFilter>;
5354
5385
  /** The highest price in USD in the past 24 hours. */
5355
5386
  highPrice24?: InputMaybe<NumberFilter>;
5387
+ /** The address of the hook contract for applicable protocols. */
5388
+ hookAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5356
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. */
5357
5390
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
5358
5391
  /** The unix timestamp for the last transaction to happen on the pair. */
@@ -5560,6 +5593,12 @@ export type PairMetadataToken = {
5560
5593
  symbol: Scalars['String']['output'];
5561
5594
  };
5562
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
+
5563
5602
  /** Input type of `PairRanking`. */
5564
5603
  export type PairRanking = {
5565
5604
  /** The attribute to rank pairs by. */
@@ -6479,6 +6518,8 @@ export type PrimePoolWithdrawData = {
6479
6518
  userPrimeRewardDebt: Scalars['String']['output'];
6480
6519
  };
6481
6520
 
6521
+ export type ProtocolData = ArenaTradeData | UniswapV4Data;
6522
+
6482
6523
  /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
6483
6524
  export enum PublishingType {
6484
6525
  Batch = 'BATCH',
@@ -6637,6 +6678,8 @@ export type Query = {
6637
6678
  tokens: Array<Maybe<EnhancedToken>>;
6638
6679
  /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6639
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;
6640
6683
  /** Returns a chart of a wallet's activity. */
6641
6684
  walletChart?: Maybe<WalletChartResponse>;
6642
6685
  /** Returns list of NFT assets held by a given wallet for a single collection. */
@@ -7132,6 +7175,11 @@ export type QueryTop10HoldersPercentArgs = {
7132
7175
  };
7133
7176
 
7134
7177
 
7178
+ export type QueryWalletAggregateBackfillStateArgs = {
7179
+ input: WalletAggregateBackfillStateInput;
7180
+ };
7181
+
7182
+
7135
7183
  export type QueryWalletChartArgs = {
7136
7184
  input: WalletChartInput;
7137
7185
  };
@@ -8042,7 +8090,7 @@ export type TokenFilters = {
8042
8090
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8043
8091
  /** The timestamp when the launchpad was migrated */
8044
8092
  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. */
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. */
8046
8094
  launchpadName?: InputMaybe<Scalars['String']['input']>;
8047
8095
  /** The launchpad protocol */
8048
8096
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
@@ -8861,6 +8909,18 @@ export type UnconfirmedSwapEventData = {
8861
8909
  type: EventType;
8862
8910
  };
8863
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
+
8864
8924
  /** The state of the wallet backfill. */
8865
8925
  export enum WalletAggregateBackfillState {
8866
8926
  /** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
@@ -8877,6 +8937,18 @@ export enum WalletAggregateBackfillState {
8877
8937
  BackfillRequestReceived = 'BackfillRequestReceived'
8878
8938
  }
8879
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
+
8880
8952
  /** The data for a chart of a wallet's activity. */
8881
8953
  export type WalletChartData = {
8882
8954
  __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!
@@ -2607,6 +2623,8 @@ type LaunchpadTokenEventOutput {
2607
2623
  volume1: Int
2608
2624
  """The number of transactions in the last 24 hours."""
2609
2625
  transactions1: Int
2626
+ """The liquidity of the token's top pair."""
2627
+ liquidity: String
2610
2628
  }
2611
2629
 
2612
2630
  """The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events."""
@@ -2649,6 +2667,12 @@ enum LaunchpadTokenProtocol {
2649
2667
  Moonit
2650
2668
  """Protocol name for MeteoraDBC."""
2651
2669
  MeteoraDBC
2670
+ """Protocol name for Baseapp."""
2671
+ Baseapp
2672
+ """Protocol name for Zora."""
2673
+ ZoraV4
2674
+ """Protocol name for ZoraCreator."""
2675
+ ZoraCreatorV4
2652
2676
  }
2653
2677
 
2654
2678
  scalar link__Import
@@ -5557,7 +5581,7 @@ input OnLaunchpadTokenEventBatchInput {
5557
5581
  protocol: LaunchpadTokenProtocol
5558
5582
  """The network ID that the token is deployed on."""
5559
5583
  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."""
5584
+ """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
5585
  launchpadName: String
5562
5586
  """The type of event."""
5563
5587
  eventType: LaunchpadTokenEventType
@@ -5567,7 +5591,7 @@ input OnLaunchpadTokenEventBatchInput {
5567
5591
  input OnLaunchpadTokenEventInput {
5568
5592
  """The protocol of the token."""
5569
5593
  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."""
5594
+ """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
5595
  launchpadName: String
5572
5596
  """The type of event."""
5573
5597
  eventType: LaunchpadTokenEventType
@@ -5666,6 +5690,10 @@ type Pair {
5666
5690
  token1Data: EnhancedToken
5667
5691
  """The pooled amounts of each token in the pair."""
5668
5692
  pooled: PooledTokenValues
5693
+ """Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example)"""
5694
+ protocolData: ProtocolData
5695
+ """The per-protocol data for the pair, if applicable"""
5696
+ protocolCustomData: PairProtocolCustomData @deprecated(reason: "Use protocolData instead")
5669
5697
  }
5670
5698
 
5671
5699
  """Input type of `PairChartInput`."""
@@ -5982,6 +6010,8 @@ input PairFilters {
5982
6010
  trendingIgnored: Boolean
5983
6011
  """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
6012
  isTestnet: Boolean
6013
+ """The address of the hook contract for applicable protocols."""
6014
+ hookAddress: [String]
5985
6015
  """The average age of the wallets that traded in the last 24h"""
5986
6016
  walletAgeAvg: NumberFilter
5987
6017
  """The standard deviation of age of the wallets that traded in the last 24h"""
@@ -6089,6 +6119,11 @@ type PairMetadataToken {
6089
6119
  labels: [ContractLabel]
6090
6120
  }
6091
6121
 
6122
+ type PairProtocolCustomData {
6123
+ """The address of the hook contract for Uniswap V4 pools."""
6124
+ uniswapV4HookAddress: String
6125
+ }
6126
+
6092
6127
  """Input type of `PairRanking`."""
6093
6128
  input PairRanking {
6094
6129
  """The attribute to rank pairs by."""
@@ -6970,6 +7005,8 @@ type PrimePoolWithdrawData {
6970
7005
  userCachedAmount: String!
6971
7006
  }
6972
7007
 
7008
+ union ProtocolData = UniswapV4Data | ArenaTradeData
7009
+
6973
7010
  """The type of publishing for the webhook. If not set, it defaults to `SINGLE`."""
6974
7011
  enum PublishingType {
6975
7012
  BATCH
@@ -7788,7 +7825,7 @@ input TokenFilters {
7788
7825
  creatorAddress: String
7789
7826
  """The launchpad protocol"""
7790
7827
  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."""
7828
+ """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
7829
  launchpadName: String
7793
7830
  """Indicates if the launchpad is completed"""
7794
7831
  launchpadCompleted: Boolean
@@ -8496,8 +8533,19 @@ type UnconfirmedSwapEventData {
8496
8533
  amountBaseToken: String
8497
8534
  }
8498
8535
 
8536
+ type UniswapV4Data {
8537
+ """The address of the hook contract for Uniswap V4 pools."""
8538
+ uniswapV4HookAddress: String
8539
+ type: String!
8540
+ }
8541
+
8499
8542
  scalar Void
8500
8543
 
8544
+ """Input arguments for the `backfillWalletAggregates` mutation."""
8545
+ input WalletAggregateBackfillInput {
8546
+ walletAddress: String!
8547
+ }
8548
+
8501
8549
  """The state of the wallet backfill."""
8502
8550
  enum WalletAggregateBackfillState {
8503
8551
  """Historical stats calculations for this wallet have been successfully processed"""
@@ -8514,6 +8562,17 @@ enum WalletAggregateBackfillState {
8514
8562
  BackfillNotFound
8515
8563
  }
8516
8564
 
8565
+ """Input arguments for the `walletAggregateBackfillState` mutation."""
8566
+ input WalletAggregateBackfillStateInput {
8567
+ walletAddress: String!
8568
+ }
8569
+
8570
+ """The response for the `walletAggregateBackfillState` mutation."""
8571
+ type WalletAggregateBackfillStateResponse {
8572
+ walletAddress: String!
8573
+ status: WalletAggregateBackfillState!
8574
+ }
8575
+
8517
8576
  """The data for a chart of a wallet's activity."""
8518
8577
  type WalletChartData {
8519
8578
  """The timestamp"""
@@ -8578,6 +8637,8 @@ type WalletFilterConnection {
8578
8637
  type WalletFilterResult {
8579
8638
  """The wallet address"""
8580
8639
  address: String!
8640
+ """The network ID of the wallet (only present if filtered by network)"""
8641
+ networkId: Int
8581
8642
  """The unix timestamp for the first transaction from this wallet"""
8582
8643
  firstTransactionAt: Int
8583
8644
  """The unix timestamp for the last transaction from this wallet"""
@@ -8668,8 +8729,6 @@ type WalletFilterResult {
8668
8729
  scammerScore: Int
8669
8730
  """The bot score for the wallet."""
8670
8731
  botScore: Int
8671
- """The network ID of the wallet (only present if filtered by network)"""
8672
- networkId: Int
8673
8732
  """The native token balance of the wallet (only present if filtered by network)"""
8674
8733
  nativeTokenBalance: String
8675
8734
  """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,8 +1885,10 @@ 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'];
1890
+ /** The liquidity of the token's top pair. */
1891
+ liquidity?: Maybe<Scalars['String']['output']>;
1881
1892
  /** The market cap of the token. */
1882
1893
  marketCap?: Maybe<Scalars['String']['output']>;
1883
1894
  /** The network ID that the token is deployed on. */
@@ -1918,6 +1929,8 @@ export enum LaunchpadTokenEventType {
1918
1929
  export enum LaunchpadTokenProtocol {
1919
1930
  /** Protocol name for ArenaTrade. */
1920
1931
  ArenaTrade = 'ArenaTrade',
1932
+ /** Protocol name for Baseapp. */
1933
+ Baseapp = 'Baseapp',
1921
1934
  /** Protocol name for boop.fun. */
1922
1935
  BoopFun = 'BoopFun',
1923
1936
  /** Protocol name for EgoTech. */
@@ -1935,7 +1948,11 @@ export enum LaunchpadTokenProtocol {
1935
1948
  /** Protocol name for LaunchLab and Bonk. */
1936
1949
  RaydiumLaunchpad = 'RaydiumLaunchpad',
1937
1950
  /** Protocol name for Vertigo. */
1938
- Vertigo = 'Vertigo'
1951
+ Vertigo = 'Vertigo',
1952
+ /** Protocol name for ZoraCreator. */
1953
+ ZoraCreatorV4 = 'ZoraCreatorV4',
1954
+ /** Protocol name for Zora. */
1955
+ ZoraV4 = 'ZoraV4'
1939
1956
  }
1940
1957
 
1941
1958
  /** Data about liquidity in a pair. */
@@ -2199,6 +2216,8 @@ export type MintEventData = {
2199
2216
 
2200
2217
  export type Mutation = {
2201
2218
  __typename?: 'Mutation';
2219
+ /** Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries. */
2220
+ backfillWalletAggregates: WalletAggregateBackfillStateResponse;
2202
2221
  /** Create a new set of short-lived api access tokens */
2203
2222
  createApiTokens: Array<ApiToken>;
2204
2223
  /** Create price, raw transaction, token/pair event, and NFT event webhooks. */
@@ -2210,6 +2229,11 @@ export type Mutation = {
2210
2229
  };
2211
2230
 
2212
2231
 
2232
+ export type MutationBackfillWalletAggregatesArgs = {
2233
+ input: WalletAggregateBackfillInput;
2234
+ };
2235
+
2236
+
2213
2237
  export type MutationCreateApiTokensArgs = {
2214
2238
  input: CreateApiTokensInput;
2215
2239
  };
@@ -5008,7 +5032,7 @@ export type OnEventsCreatedByMakerInput = {
5008
5032
  export type OnLaunchpadTokenEventBatchInput = {
5009
5033
  /** The type of event. */
5010
5034
  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. */
5035
+ /** 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
5036
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5013
5037
  /** The network ID that the token is deployed on. */
5014
5038
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5022,7 +5046,7 @@ export type OnLaunchpadTokenEventInput = {
5022
5046
  address?: InputMaybe<Scalars['String']['input']>;
5023
5047
  /** The type of event. */
5024
5048
  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. */
5049
+ /** 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
5050
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5027
5051
  /** The network ID that the token is deployed on. */
5028
5052
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5125,6 +5149,13 @@ export type Pair = {
5125
5149
  networkId: Scalars['Int']['output'];
5126
5150
  /** The pooled amounts of each token in the pair. */
5127
5151
  pooled?: Maybe<PooledTokenValues>;
5152
+ /**
5153
+ * The per-protocol data for the pair, if applicable
5154
+ * @deprecated Use protocolData instead
5155
+ */
5156
+ protocolCustomData?: Maybe<PairProtocolCustomData>;
5157
+ /** Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example) */
5158
+ protocolData?: Maybe<ProtocolData>;
5128
5159
  /** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
5129
5160
  tickSpacing?: Maybe<Scalars['Int']['output']>;
5130
5161
  /** The contract address of `token0`. */
@@ -5355,6 +5386,8 @@ export type PairFilters = {
5355
5386
  highPrice12?: InputMaybe<NumberFilter>;
5356
5387
  /** The highest price in USD in the past 24 hours. */
5357
5388
  highPrice24?: InputMaybe<NumberFilter>;
5389
+ /** The address of the hook contract for applicable protocols. */
5390
+ hookAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
5358
5391
  /** 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
5392
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
5360
5393
  /** The unix timestamp for the last transaction to happen on the pair. */
@@ -5562,6 +5595,12 @@ export type PairMetadataToken = {
5562
5595
  symbol: Scalars['String']['output'];
5563
5596
  };
5564
5597
 
5598
+ export type PairProtocolCustomData = {
5599
+ __typename?: 'PairProtocolCustomData';
5600
+ /** The address of the hook contract for Uniswap V4 pools. */
5601
+ uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
5602
+ };
5603
+
5565
5604
  /** Input type of `PairRanking`. */
5566
5605
  export type PairRanking = {
5567
5606
  /** The attribute to rank pairs by. */
@@ -6481,6 +6520,8 @@ export type PrimePoolWithdrawData = {
6481
6520
  userPrimeRewardDebt: Scalars['String']['output'];
6482
6521
  };
6483
6522
 
6523
+ export type ProtocolData = ArenaTradeData | UniswapV4Data;
6524
+
6484
6525
  /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
6485
6526
  export enum PublishingType {
6486
6527
  Batch = 'BATCH',
@@ -6639,6 +6680,8 @@ export type Query = {
6639
6680
  tokens: Array<Maybe<EnhancedToken>>;
6640
6681
  /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6641
6682
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6683
+ /** Once a wallet backfill has been triggered, this query can be used to check the status of the backfill. */
6684
+ walletAggregateBackfillState: WalletAggregateBackfillStateResponse;
6642
6685
  /** Returns a chart of a wallet's activity. */
6643
6686
  walletChart?: Maybe<WalletChartResponse>;
6644
6687
  /** Returns list of NFT assets held by a given wallet for a single collection. */
@@ -7134,6 +7177,11 @@ export type QueryTop10HoldersPercentArgs = {
7134
7177
  };
7135
7178
 
7136
7179
 
7180
+ export type QueryWalletAggregateBackfillStateArgs = {
7181
+ input: WalletAggregateBackfillStateInput;
7182
+ };
7183
+
7184
+
7137
7185
  export type QueryWalletChartArgs = {
7138
7186
  input: WalletChartInput;
7139
7187
  };
@@ -8044,7 +8092,7 @@ export type TokenFilters = {
8044
8092
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8045
8093
  /** The timestamp when the launchpad was migrated */
8046
8094
  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. */
8095
+ /** 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
8096
  launchpadName?: InputMaybe<Scalars['String']['input']>;
8049
8097
  /** The launchpad protocol */
8050
8098
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
@@ -8863,6 +8911,18 @@ export type UnconfirmedSwapEventData = {
8863
8911
  type: EventType;
8864
8912
  };
8865
8913
 
8914
+ export type UniswapV4Data = {
8915
+ __typename?: 'UniswapV4Data';
8916
+ type: Scalars['String']['output'];
8917
+ /** The address of the hook contract for Uniswap V4 pools. */
8918
+ uniswapV4HookAddress?: Maybe<Scalars['String']['output']>;
8919
+ };
8920
+
8921
+ /** Input arguments for the `backfillWalletAggregates` mutation. */
8922
+ export type WalletAggregateBackfillInput = {
8923
+ walletAddress: Scalars['String']['input'];
8924
+ };
8925
+
8866
8926
  /** The state of the wallet backfill. */
8867
8927
  export enum WalletAggregateBackfillState {
8868
8928
  /** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
@@ -8879,6 +8939,18 @@ export enum WalletAggregateBackfillState {
8879
8939
  BackfillRequestReceived = 'BackfillRequestReceived'
8880
8940
  }
8881
8941
 
8942
+ /** Input arguments for the `walletAggregateBackfillState` mutation. */
8943
+ export type WalletAggregateBackfillStateInput = {
8944
+ walletAddress: Scalars['String']['input'];
8945
+ };
8946
+
8947
+ /** The response for the `walletAggregateBackfillState` mutation. */
8948
+ export type WalletAggregateBackfillStateResponse = {
8949
+ __typename?: 'WalletAggregateBackfillStateResponse';
8950
+ status: WalletAggregateBackfillState;
8951
+ walletAddress: Scalars['String']['output'];
8952
+ };
8953
+
8882
8954
  /** The data for a chart of a wallet's activity. */
8883
8955
  export type WalletChartData = {
8884
8956
  __typename?: 'WalletChartData';