@codex-data/sdk 1.0.12 → 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.
- package/dist/resources/graphql.d.ts +274 -52
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +7 -0
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Query.d.ts +1 -7
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +0 -6
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.js +6 -6
- package/dist/sdk/generated/gql.d.ts +64 -123
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +32 -38
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +279 -1368
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +42 -41
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +0 -15
- package/src/resources/generated_queries/DetailedWalletStats.graphql +0 -4
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +0 -8
- package/src/resources/generated_queries/FilterNftPools.graphql +0 -7
- package/src/resources/generated_queries/FilterPairs.graphql +0 -60
- package/src/resources/generated_queries/FilterTokenWallets.graphql +0 -15
- package/src/resources/generated_queries/FilterTokens.graphql +0 -47
- package/src/resources/generated_queries/GetBars.graphql +0 -31
- package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -15
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -30
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -30
- package/src/resources/generated_queries/GetNftEvents.graphql +0 -9
- package/src/resources/generated_queries/GetNftPool.graphql +0 -2
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +0 -8
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -8
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +0 -2
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -2
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -2
- package/src/resources/generated_queries/Holders.graphql +0 -15
- package/src/resources/generated_queries/LiquidityLocks.graphql +0 -1
- package/src/resources/generated_queries/ListPairsForToken.graphql +0 -30
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -60
- package/src/resources/generated_queries/PairMetadata.graphql +0 -30
- package/src/resources/generated_queries/PrimeHolders.graphql +0 -15
- package/src/resources/generated_queries/Token.graphql +0 -15
- package/src/resources/generated_queries/Tokens.graphql +0 -15
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -15
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -15
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -15
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -9
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -30
- package/src/resources/graphql.schema.json +574 -136
- package/src/resources/graphql.ts +285 -52
- package/src/resources/schema.graphql +147 -76
- package/src/sdk/Query.ts +0 -24
- package/src/sdk/Subscribe.ts +6 -6
- package/src/sdk/generated/gql.ts +64 -94
- package/src/sdk/generated/graphql.ts +349 -181
- package/src/resources/generated_queries/FilterNetworkWallets.graphql +0 -57
- package/src/resources/generated_queries/GetDetailedStats.graphql +0 -338
- package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
- package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
- package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
- package/src/resources/generated_queries/SearchTokens.graphql +0 -67
package/src/resources/graphql.ts
CHANGED
|
@@ -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';
|
|
@@ -156,7 +163,10 @@ export type Balance = {
|
|
|
156
163
|
export type BalancesInput = {
|
|
157
164
|
/** A cursor for use in pagination. */
|
|
158
165
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
159
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Optional token specifically request the balance for. Only works with `walletId`.
|
|
168
|
+
* @deprecated Use tokens list instead
|
|
169
|
+
*/
|
|
160
170
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
161
171
|
/** Whether to include native network balances in the response (ID will be native:<networkId>). Requires a list of `networks`. Does not apply when using `tokens`. */
|
|
162
172
|
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -170,7 +180,10 @@ export type BalancesInput = {
|
|
|
170
180
|
tokens?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
171
181
|
/** The wallet address to filter by. */
|
|
172
182
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
173
|
-
/**
|
|
183
|
+
/**
|
|
184
|
+
* The ID of the wallet (`walletAddress:networkId`).
|
|
185
|
+
* @deprecated Use walletAddress and networkId instead
|
|
186
|
+
*/
|
|
174
187
|
walletId?: InputMaybe<Scalars['String']['input']>;
|
|
175
188
|
};
|
|
176
189
|
|
|
@@ -217,7 +230,10 @@ export type BarsResponse = {
|
|
|
217
230
|
traders: Array<Maybe<Scalars['Int']['output']>>;
|
|
218
231
|
/** The number of transactions */
|
|
219
232
|
transactions: Array<Maybe<Scalars['Int']['output']>>;
|
|
220
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* The volume.
|
|
235
|
+
* @deprecated Use volume field instead
|
|
236
|
+
*/
|
|
221
237
|
v: Array<Maybe<Scalars['Int']['output']>>;
|
|
222
238
|
/** The volume with higher precision. */
|
|
223
239
|
volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -880,7 +896,10 @@ export type DetailedWalletStats = {
|
|
|
880
896
|
lastTransactionAt: Scalars['Int']['output'];
|
|
881
897
|
/** The network breakdown */
|
|
882
898
|
networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
|
|
883
|
-
/**
|
|
899
|
+
/**
|
|
900
|
+
* The network specific stats
|
|
901
|
+
* @deprecated Use networkBreakdown instead
|
|
902
|
+
*/
|
|
884
903
|
networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
|
|
885
904
|
/** The likelihood of the wallet being a scammer */
|
|
886
905
|
scammerScore?: Maybe<Scalars['Int']['output']>;
|
|
@@ -943,7 +962,10 @@ export type EnhancedToken = {
|
|
|
943
962
|
__typename?: 'EnhancedToken';
|
|
944
963
|
/** The contract address of the token. */
|
|
945
964
|
address: Scalars['String']['output'];
|
|
946
|
-
/**
|
|
965
|
+
/**
|
|
966
|
+
* The circulating supply of the token.
|
|
967
|
+
* @deprecated Use the TokenInfo type
|
|
968
|
+
*/
|
|
947
969
|
circulatingSupply?: Maybe<Scalars['String']['output']>;
|
|
948
970
|
/** The token ID on CoinMarketCap. */
|
|
949
971
|
cmcId?: Maybe<Scalars['Int']['output']>;
|
|
@@ -959,17 +981,29 @@ export type EnhancedToken = {
|
|
|
959
981
|
decimals: Scalars['Int']['output'];
|
|
960
982
|
/** A list of exchanges where the token has been traded. */
|
|
961
983
|
exchanges?: Maybe<Array<Exchange>>;
|
|
962
|
-
/**
|
|
984
|
+
/**
|
|
985
|
+
* Information about the token from 3rd party sources.
|
|
986
|
+
* @deprecated Use the TokenInfo type
|
|
987
|
+
*/
|
|
963
988
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
964
989
|
/** Whether or not the token is freezable */
|
|
965
990
|
freezable?: Maybe<Scalars['String']['output']>;
|
|
966
991
|
/** The ID of the token (`address:networkId`). */
|
|
967
992
|
id: Scalars['String']['output'];
|
|
968
|
-
/**
|
|
993
|
+
/**
|
|
994
|
+
* The large token logo URL.
|
|
995
|
+
* @deprecated Use the TokenInfo type
|
|
996
|
+
*/
|
|
969
997
|
imageLargeUrl?: Maybe<Scalars['String']['output']>;
|
|
970
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* The small token logo URL.
|
|
1000
|
+
* @deprecated Use the TokenInfo type
|
|
1001
|
+
*/
|
|
971
1002
|
imageSmallUrl?: Maybe<Scalars['String']['output']>;
|
|
972
|
-
/**
|
|
1003
|
+
/**
|
|
1004
|
+
* The thumbnail token logo URL.
|
|
1005
|
+
* @deprecated Use the TokenInfo type
|
|
1006
|
+
*/
|
|
973
1007
|
imageThumbUrl?: Maybe<Scalars['String']['output']>;
|
|
974
1008
|
/** More metadata about the token. */
|
|
975
1009
|
info?: Maybe<TokenInfo>;
|
|
@@ -983,13 +1017,19 @@ export type EnhancedToken = {
|
|
|
983
1017
|
name?: Maybe<Scalars['String']['output']>;
|
|
984
1018
|
/** The network ID the token is deployed on. */
|
|
985
1019
|
networkId: Scalars['Int']['output'];
|
|
986
|
-
/**
|
|
1020
|
+
/**
|
|
1021
|
+
* The amount of this token in the pair.
|
|
1022
|
+
* @deprecated Pooled can be found on the pair instead
|
|
1023
|
+
*/
|
|
987
1024
|
pooled?: Maybe<Scalars['String']['output']>;
|
|
988
1025
|
/** Community gathered links for the socials of this token. */
|
|
989
1026
|
socialLinks?: Maybe<SocialLinks>;
|
|
990
1027
|
/** The token symbol. For example, `APE`. */
|
|
991
1028
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
992
|
-
/**
|
|
1029
|
+
/**
|
|
1030
|
+
* The total supply of the token.
|
|
1031
|
+
* @deprecated Use the TokenInfo type
|
|
1032
|
+
*/
|
|
993
1033
|
totalSupply?: Maybe<Scalars['String']['output']>;
|
|
994
1034
|
};
|
|
995
1035
|
|
|
@@ -1248,6 +1288,8 @@ export type ExchangeFilters = {
|
|
|
1248
1288
|
txnCount12?: InputMaybe<StringFilter>;
|
|
1249
1289
|
/** The number of transactions on the exchange in the past 24 hours. */
|
|
1250
1290
|
txnCount24?: InputMaybe<StringFilter>;
|
|
1291
|
+
/** Scope to only verified exchanges */
|
|
1292
|
+
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1251
1293
|
/** The trade volume in the network's base token in the past hour. */
|
|
1252
1294
|
volumeNBT1?: InputMaybe<StringFilter>;
|
|
1253
1295
|
/** The trade volume in the network's base token in the past 4 hours. */
|
|
@@ -1364,7 +1406,10 @@ export type FilterNetworkWalletsInput = {
|
|
|
1364
1406
|
export type FilterTokenWalletsInput = {
|
|
1365
1407
|
/** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
|
|
1366
1408
|
excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1367
|
-
/**
|
|
1409
|
+
/**
|
|
1410
|
+
* A set of filters to apply
|
|
1411
|
+
* @deprecated Use filtersV2 instead
|
|
1412
|
+
*/
|
|
1368
1413
|
filters?: InputMaybe<WalletTokenFilters>;
|
|
1369
1414
|
/** A set of filters to apply */
|
|
1370
1415
|
filtersV2?: InputMaybe<WalletTokenFiltersV2>;
|
|
@@ -1382,7 +1427,10 @@ export type FilterTokenWalletsInput = {
|
|
|
1382
1427
|
rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
|
|
1383
1428
|
/** The ID of the token to filter wallets for */
|
|
1384
1429
|
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
1385
|
-
/**
|
|
1430
|
+
/**
|
|
1431
|
+
* The wallet address to filter wallets for
|
|
1432
|
+
* @deprecated Use wallets instead
|
|
1433
|
+
*/
|
|
1386
1434
|
walletAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1387
1435
|
/** A list of wallet addresses to filter wallets for */
|
|
1388
1436
|
wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -1494,7 +1542,10 @@ export type GetNftPoolsResponse = {
|
|
|
1494
1542
|
export type GetPriceInput = {
|
|
1495
1543
|
/** The contract address of the token. */
|
|
1496
1544
|
address: Scalars['String']['input'];
|
|
1497
|
-
/**
|
|
1545
|
+
/**
|
|
1546
|
+
* The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`.
|
|
1547
|
+
* @deprecated This isn't taken into account anymore.
|
|
1548
|
+
*/
|
|
1498
1549
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1499
1550
|
/** The network ID the token is deployed on. */
|
|
1500
1551
|
networkId: Scalars['Int']['input'];
|
|
@@ -1530,6 +1581,8 @@ export enum GraphQlNftPoolVariant {
|
|
|
1530
1581
|
export type HoldersInput = {
|
|
1531
1582
|
/** A cursor for use in pagination. */
|
|
1532
1583
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
1584
|
+
/** The maximum number of holders to return. Default is 50, maximum is 200. */
|
|
1585
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1533
1586
|
/** The attribute to sort the list on */
|
|
1534
1587
|
sort?: InputMaybe<HoldersInputSort>;
|
|
1535
1588
|
/** The ID of the token (`tokenAddress:networkId`). */
|
|
@@ -1796,9 +1849,11 @@ export type LaunchpadData = {
|
|
|
1796
1849
|
completedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1797
1850
|
/** The percentage of the pool that was sold to the public. */
|
|
1798
1851
|
graduationPercent?: Maybe<Scalars['Float']['output']>;
|
|
1799
|
-
/** The
|
|
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. */
|
|
1800
1855
|
launchpadName?: Maybe<Scalars['String']['output']>;
|
|
1801
|
-
/** The launchpad protocol */
|
|
1856
|
+
/** The launchpad protocol. */
|
|
1802
1857
|
launchpadProtocol?: Maybe<Scalars['String']['output']>;
|
|
1803
1858
|
/** Indicates if the launchpad was migrated. */
|
|
1804
1859
|
migrated?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1808,7 +1863,10 @@ export type LaunchpadData = {
|
|
|
1808
1863
|
migratedPoolAddress?: Maybe<Scalars['String']['output']>;
|
|
1809
1864
|
/** The slot number when the launchpad was migrated. */
|
|
1810
1865
|
migratedSlot?: Maybe<Scalars['Int']['output']>;
|
|
1811
|
-
/**
|
|
1866
|
+
/**
|
|
1867
|
+
* The name of the launchpad.
|
|
1868
|
+
* @deprecated Use launchpadName instead
|
|
1869
|
+
*/
|
|
1812
1870
|
name?: Maybe<Scalars['String']['output']>;
|
|
1813
1871
|
/** The address of the pool. */
|
|
1814
1872
|
poolAddress?: Maybe<Scalars['String']['output']>;
|
|
@@ -1825,6 +1883,8 @@ export type LaunchpadTokenEventOutput = {
|
|
|
1825
1883
|
eventType: LaunchpadTokenEventType;
|
|
1826
1884
|
/** The number of holders. */
|
|
1827
1885
|
holders?: Maybe<Scalars['Int']['output']>;
|
|
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. */
|
|
1887
|
+
launchpadName: Scalars['String']['output'];
|
|
1828
1888
|
/** The market cap of the token. */
|
|
1829
1889
|
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1830
1890
|
/** The network ID that the token is deployed on. */
|
|
@@ -1865,6 +1925,8 @@ export enum LaunchpadTokenEventType {
|
|
|
1865
1925
|
export enum LaunchpadTokenProtocol {
|
|
1866
1926
|
/** Protocol name for ArenaTrade. */
|
|
1867
1927
|
ArenaTrade = 'ArenaTrade',
|
|
1928
|
+
/** Protocol name for Baseapp. */
|
|
1929
|
+
Baseapp = 'Baseapp',
|
|
1868
1930
|
/** Protocol name for boop.fun. */
|
|
1869
1931
|
BoopFun = 'BoopFun',
|
|
1870
1932
|
/** Protocol name for EgoTech. */
|
|
@@ -1882,7 +1944,11 @@ export enum LaunchpadTokenProtocol {
|
|
|
1882
1944
|
/** Protocol name for LaunchLab and Bonk. */
|
|
1883
1945
|
RaydiumLaunchpad = 'RaydiumLaunchpad',
|
|
1884
1946
|
/** Protocol name for Vertigo. */
|
|
1885
|
-
Vertigo = 'Vertigo'
|
|
1947
|
+
Vertigo = 'Vertigo',
|
|
1948
|
+
/** Protocol name for ZoraCreator. */
|
|
1949
|
+
ZoraCreatorV4 = 'ZoraCreatorV4',
|
|
1950
|
+
/** Protocol name for Zora. */
|
|
1951
|
+
ZoraV4 = 'ZoraV4'
|
|
1886
1952
|
}
|
|
1887
1953
|
|
|
1888
1954
|
/** Data about liquidity in a pair. */
|
|
@@ -1907,7 +1973,10 @@ export type LiquidityLock = {
|
|
|
1907
1973
|
liquidityAmount: Scalars['String']['output'];
|
|
1908
1974
|
/** If the liquidity position is represented by an NFT, this will contain the NFT data. */
|
|
1909
1975
|
liquidityNftData?: Maybe<LiquidityNftData>;
|
|
1910
|
-
/**
|
|
1976
|
+
/**
|
|
1977
|
+
* The protocol that created the pair
|
|
1978
|
+
* @deprecated Use liquidityProtocolV2 instead
|
|
1979
|
+
*/
|
|
1911
1980
|
liquidityProtocol: LiquidityProtocol;
|
|
1912
1981
|
/** The protocol that created the pair */
|
|
1913
1982
|
liquidityProtocolV2: Scalars['String']['output'];
|
|
@@ -2143,6 +2212,8 @@ export type MintEventData = {
|
|
|
2143
2212
|
|
|
2144
2213
|
export type Mutation = {
|
|
2145
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;
|
|
2146
2217
|
/** Create a new set of short-lived api access tokens */
|
|
2147
2218
|
createApiTokens: Array<ApiToken>;
|
|
2148
2219
|
/** Create price, raw transaction, token/pair event, and NFT event webhooks. */
|
|
@@ -2154,6 +2225,11 @@ export type Mutation = {
|
|
|
2154
2225
|
};
|
|
2155
2226
|
|
|
2156
2227
|
|
|
2228
|
+
export type MutationBackfillWalletAggregatesArgs = {
|
|
2229
|
+
input: WalletAggregateBackfillInput;
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
|
|
2157
2233
|
export type MutationCreateApiTokensArgs = {
|
|
2158
2234
|
input: CreateApiTokensInput;
|
|
2159
2235
|
};
|
|
@@ -3366,7 +3442,9 @@ export type NftEvent = {
|
|
|
3366
3442
|
__typename?: 'NftEvent';
|
|
3367
3443
|
/** The contract address of the marketplace aggregator that routed the transaction. */
|
|
3368
3444
|
aggregatorAddress?: Maybe<Scalars['String']['output']>;
|
|
3445
|
+
/** @deprecated No longer supported */
|
|
3369
3446
|
baseTokenAddress: Scalars['String']['output'];
|
|
3447
|
+
/** @deprecated No longer supported */
|
|
3370
3448
|
baseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3371
3449
|
/** The block number for the transaction. */
|
|
3372
3450
|
blockNumber: Scalars['Int']['output'];
|
|
@@ -3380,13 +3458,17 @@ export type NftEvent = {
|
|
|
3380
3458
|
fillSource?: Maybe<Scalars['String']['output']>;
|
|
3381
3459
|
/** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
|
|
3382
3460
|
id: Scalars['String']['output'];
|
|
3461
|
+
/** @deprecated No longer supported */
|
|
3383
3462
|
individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3463
|
+
/** @deprecated No longer supported */
|
|
3384
3464
|
individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3465
|
+
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
|
|
3385
3466
|
individualPrice?: Maybe<Scalars['String']['output']>;
|
|
3386
3467
|
/** The price of each individual NFT in the network's base token. */
|
|
3387
3468
|
individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
3388
3469
|
/** The price of each individual NFT in USD. */
|
|
3389
3470
|
individualPriceUsd?: Maybe<Scalars['String']['output']>;
|
|
3471
|
+
/** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
|
|
3390
3472
|
individualTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3391
3473
|
/** The price of each individual NFT in the purchasing token. */
|
|
3392
3474
|
individualTradePrice?: Maybe<Scalars['String']['output']>;
|
|
@@ -3394,6 +3476,7 @@ export type NftEvent = {
|
|
|
3394
3476
|
logIndex: Scalars['Int']['output'];
|
|
3395
3477
|
/** The wallet address of the buyer. */
|
|
3396
3478
|
maker: Scalars['String']['output'];
|
|
3479
|
+
/** @deprecated No longer supported */
|
|
3397
3480
|
networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
|
|
3398
3481
|
/** The network ID the NFT collection is deployed on. */
|
|
3399
3482
|
networkId: Scalars['Int']['output'];
|
|
@@ -3415,7 +3498,9 @@ export type NftEvent = {
|
|
|
3415
3498
|
timestamp: Scalars['Int']['output'];
|
|
3416
3499
|
/** The token ID of the NFT asset involved in the transaction. */
|
|
3417
3500
|
tokenId: Scalars['String']['output'];
|
|
3501
|
+
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
|
|
3418
3502
|
tokenPrice: Scalars['String']['output'];
|
|
3503
|
+
/** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
|
|
3419
3504
|
totalPrice: Scalars['String']['output'];
|
|
3420
3505
|
/** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
|
|
3421
3506
|
totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
|
|
@@ -3728,31 +3813,52 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3728
3813
|
name?: Maybe<Scalars['String']['output']>;
|
|
3729
3814
|
/** The network ID the NFT collection is deployed on. */
|
|
3730
3815
|
networkId?: Maybe<Scalars['Int']['output']>;
|
|
3731
|
-
/**
|
|
3816
|
+
/**
|
|
3817
|
+
* The number of NFTs in all of the collection's pools.
|
|
3818
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
3819
|
+
*/
|
|
3732
3820
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
3733
3821
|
/** The number of NFTs in all of the collection's pools. */
|
|
3734
3822
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
3735
|
-
/**
|
|
3823
|
+
/**
|
|
3824
|
+
* The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
|
|
3825
|
+
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
3826
|
+
*/
|
|
3736
3827
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
3737
3828
|
/** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
|
|
3738
3829
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
3739
|
-
/**
|
|
3830
|
+
/**
|
|
3831
|
+
* The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
|
|
3832
|
+
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
3833
|
+
*/
|
|
3740
3834
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
3741
3835
|
/** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
|
|
3742
3836
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
3743
|
-
/**
|
|
3837
|
+
/**
|
|
3838
|
+
* The number of NFTs bought in any of the collection's pools over the past 24 hours.
|
|
3839
|
+
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
3840
|
+
*/
|
|
3744
3841
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
3745
3842
|
/** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
|
|
3746
3843
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
3747
|
-
/**
|
|
3844
|
+
/**
|
|
3845
|
+
* The number of NFTs bought in any of the collection's pools over the collection's lifetime.
|
|
3846
|
+
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
3847
|
+
*/
|
|
3748
3848
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
3749
3849
|
/** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
|
|
3750
3850
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
3751
|
-
/**
|
|
3851
|
+
/**
|
|
3852
|
+
* The number of NFTs sold in any of the collection's pools over the past 24 hours.
|
|
3853
|
+
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
3854
|
+
*/
|
|
3752
3855
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
3753
3856
|
/** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
|
|
3754
3857
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
3755
|
-
/**
|
|
3858
|
+
/**
|
|
3859
|
+
* The number of NFTs sold in any of the collection's pools over the collection's lifetime.
|
|
3860
|
+
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
3861
|
+
*/
|
|
3756
3862
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
3757
3863
|
/** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
|
|
3758
3864
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -3788,7 +3894,10 @@ export type NftPoolCollectionFilterResult = {
|
|
|
3788
3894
|
symbol?: Maybe<Scalars['String']['output']>;
|
|
3789
3895
|
/** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
|
|
3790
3896
|
timestamp?: Maybe<Scalars['Int']['output']>;
|
|
3791
|
-
/**
|
|
3897
|
+
/**
|
|
3898
|
+
* The total supply of the collection.
|
|
3899
|
+
* @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
|
|
3900
|
+
*/
|
|
3792
3901
|
totalSupply?: Maybe<Scalars['Int']['output']>;
|
|
3793
3902
|
totalSupplyV2?: Maybe<Scalars['String']['output']>;
|
|
3794
3903
|
/** The total volume of the collection in the network's base token over the past 24 hours. */
|
|
@@ -3968,17 +4077,26 @@ export type NftPoolCollectionResponse = {
|
|
|
3968
4077
|
floorNBT?: Maybe<Scalars['String']['output']>;
|
|
3969
4078
|
/** An image associated with the NFT collection. */
|
|
3970
4079
|
image?: Maybe<Scalars['String']['output']>;
|
|
3971
|
-
/**
|
|
4080
|
+
/**
|
|
4081
|
+
* The media for one of the assets within the NFT collection.
|
|
4082
|
+
* @deprecated Use `image` from `NftContract` instead.
|
|
4083
|
+
*/
|
|
3972
4084
|
media?: Maybe<NftAssetMedia>;
|
|
3973
4085
|
/** The name of the NFT collection. */
|
|
3974
4086
|
name?: Maybe<Scalars['String']['output']>;
|
|
3975
4087
|
/** The network ID the NFT collection is deployed on. */
|
|
3976
4088
|
networkId: Scalars['Int']['output'];
|
|
3977
|
-
/**
|
|
4089
|
+
/**
|
|
4090
|
+
* The current number of NFTs in all the NFT collection's pools.
|
|
4091
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4092
|
+
*/
|
|
3978
4093
|
nftBalance: Scalars['Int']['output'];
|
|
3979
4094
|
/** The current number of NFTs in all the NFT collection's pools. */
|
|
3980
4095
|
nftBalanceV2: Scalars['String']['output'];
|
|
3981
|
-
/**
|
|
4096
|
+
/**
|
|
4097
|
+
* The total number of NFTs bought and sold over the collection's lifetime.
|
|
4098
|
+
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
4099
|
+
*/
|
|
3982
4100
|
nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
|
|
3983
4101
|
/** The total number of NFTs bought and sold over the collection's lifetime. */
|
|
3984
4102
|
nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -4077,7 +4195,10 @@ export type NftPoolEventNftTransferV2 = {
|
|
|
4077
4195
|
nftQuantity: Scalars['String']['output'];
|
|
4078
4196
|
/** The NFT token ID involved in the transfer. */
|
|
4079
4197
|
nftTokenId: Scalars['String']['output'];
|
|
4080
|
-
/**
|
|
4198
|
+
/**
|
|
4199
|
+
* The number of tokens involved in the transfer.
|
|
4200
|
+
* @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
|
|
4201
|
+
*/
|
|
4081
4202
|
nftTokenQuantity: Scalars['String']['output'];
|
|
4082
4203
|
};
|
|
4083
4204
|
|
|
@@ -4183,31 +4304,52 @@ export type NftPoolFilterResult = {
|
|
|
4183
4304
|
networkId: Scalars['Int']['output'];
|
|
4184
4305
|
/** The list of NFT assets in the pool. */
|
|
4185
4306
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4186
|
-
/**
|
|
4307
|
+
/**
|
|
4308
|
+
* The current number of NFTs in the pool.
|
|
4309
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4310
|
+
*/
|
|
4187
4311
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4188
4312
|
/** The current number of NFTs in the pool. */
|
|
4189
4313
|
nftBalanceV2?: Maybe<Scalars['String']['output']>;
|
|
4190
|
-
/**
|
|
4314
|
+
/**
|
|
4315
|
+
* The total number of NFTs bought and sold over the past 24 hours.
|
|
4316
|
+
* @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
|
|
4317
|
+
*/
|
|
4191
4318
|
nftVolume24?: Maybe<Scalars['Int']['output']>;
|
|
4192
4319
|
/** The total number of NFTs bought and sold over the past 24 hours. */
|
|
4193
4320
|
nftVolume24V2?: Maybe<Scalars['String']['output']>;
|
|
4194
|
-
/**
|
|
4321
|
+
/**
|
|
4322
|
+
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4323
|
+
* @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
|
|
4324
|
+
*/
|
|
4195
4325
|
nftVolumeAll?: Maybe<Scalars['Int']['output']>;
|
|
4196
4326
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4197
4327
|
nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
|
|
4198
|
-
/**
|
|
4328
|
+
/**
|
|
4329
|
+
* The total number of NFTs bought by the pool over the past 24 hours.
|
|
4330
|
+
* @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
|
|
4331
|
+
*/
|
|
4199
4332
|
nftsBought24?: Maybe<Scalars['Int']['output']>;
|
|
4200
4333
|
/** The total number of NFTs bought by the pool over the past 24 hours. */
|
|
4201
4334
|
nftsBought24V2?: Maybe<Scalars['String']['output']>;
|
|
4202
|
-
/**
|
|
4335
|
+
/**
|
|
4336
|
+
* The total number of NFTs bought over the pool's lifetime.
|
|
4337
|
+
* @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
|
|
4338
|
+
*/
|
|
4203
4339
|
nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
|
|
4204
4340
|
/** The total number of NFTs bought over the pool's lifetime. */
|
|
4205
4341
|
nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
|
|
4206
|
-
/**
|
|
4342
|
+
/**
|
|
4343
|
+
* The total number of NFTs sold by the pool over the past 24 hours.
|
|
4344
|
+
* @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
|
|
4345
|
+
*/
|
|
4207
4346
|
nftsSold24?: Maybe<Scalars['Int']['output']>;
|
|
4208
4347
|
/** The total number of NFTs sold by the pool over the past 24 hours. */
|
|
4209
4348
|
nftsSold24V2?: Maybe<Scalars['String']['output']>;
|
|
4210
|
-
/**
|
|
4349
|
+
/**
|
|
4350
|
+
* The total number of NFTs sold over the pool's lifetime.
|
|
4351
|
+
* @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
|
|
4352
|
+
*/
|
|
4211
4353
|
nftsSoldAll?: Maybe<Scalars['Int']['output']>;
|
|
4212
4354
|
/** The total number of NFTs sold over the pool's lifetime. */
|
|
4213
4355
|
nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
|
|
@@ -4534,11 +4676,17 @@ export type NftPoolResponse = {
|
|
|
4534
4676
|
networkId: Scalars['Int']['output'];
|
|
4535
4677
|
/** The list of NFT assets in the pool. */
|
|
4536
4678
|
nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
|
|
4537
|
-
/**
|
|
4679
|
+
/**
|
|
4680
|
+
* The current number of NFTs in the pool.
|
|
4681
|
+
* @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
|
|
4682
|
+
*/
|
|
4538
4683
|
nftBalance?: Maybe<Scalars['Int']['output']>;
|
|
4539
4684
|
/** The current number of NFTs in the pool. */
|
|
4540
4685
|
nftBalanceV2: Scalars['String']['output'];
|
|
4541
|
-
/**
|
|
4686
|
+
/**
|
|
4687
|
+
* The total number of NFTs bought and sold over the pool's lifetime.
|
|
4688
|
+
* @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
|
|
4689
|
+
*/
|
|
4542
4690
|
nftVolumeAllTime: Scalars['Int']['output'];
|
|
4543
4691
|
/** The total number of NFTs bought and sold over the pool's lifetime. */
|
|
4544
4692
|
nftVolumeAllTimeV2: Scalars['String']['output'];
|
|
@@ -4878,17 +5026,25 @@ export type OnEventsCreatedByMakerInput = {
|
|
|
4878
5026
|
};
|
|
4879
5027
|
|
|
4880
5028
|
export type OnLaunchpadTokenEventBatchInput = {
|
|
5029
|
+
/** The type of event. */
|
|
5030
|
+
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
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. */
|
|
5032
|
+
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5033
|
+
/** The network ID that the token is deployed on. */
|
|
4881
5034
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
5035
|
+
/** The protocol of the token. */
|
|
4882
5036
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
4883
5037
|
};
|
|
4884
5038
|
|
|
4885
5039
|
/** Input for `onLaunchpadTokenEvent`. */
|
|
4886
5040
|
export type OnLaunchpadTokenEventInput = {
|
|
4887
|
-
/** The contract address of the token.
|
|
5041
|
+
/** The contract address of the token. Requires `networkId`. */
|
|
4888
5042
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
4889
5043
|
/** The type of event. */
|
|
4890
5044
|
eventType?: InputMaybe<LaunchpadTokenEventType>;
|
|
4891
|
-
/** The
|
|
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. */
|
|
5046
|
+
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
5047
|
+
/** The network ID that the token is deployed on. */
|
|
4892
5048
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
4893
5049
|
/** The protocol of the token. */
|
|
4894
5050
|
protocol?: InputMaybe<LaunchpadTokenProtocol>;
|
|
@@ -4989,6 +5145,13 @@ export type Pair = {
|
|
|
4989
5145
|
networkId: Scalars['Int']['output'];
|
|
4990
5146
|
/** The pooled amounts of each token in the pair. */
|
|
4991
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>;
|
|
4992
5155
|
/** The amount of required tick separation. Only applicable for pairs on UniswapV3. */
|
|
4993
5156
|
tickSpacing?: Maybe<Scalars['Int']['output']>;
|
|
4994
5157
|
/** The contract address of `token0`. */
|
|
@@ -5219,6 +5382,8 @@ export type PairFilters = {
|
|
|
5219
5382
|
highPrice12?: InputMaybe<NumberFilter>;
|
|
5220
5383
|
/** The highest price in USD in the past 24 hours. */
|
|
5221
5384
|
highPrice24?: InputMaybe<NumberFilter>;
|
|
5385
|
+
/** The address of the hook contract for applicable protocols. */
|
|
5386
|
+
hookAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
5222
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. */
|
|
5223
5388
|
isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5224
5389
|
/** The unix timestamp for the last transaction to happen on the pair. */
|
|
@@ -5426,6 +5591,12 @@ export type PairMetadataToken = {
|
|
|
5426
5591
|
symbol: Scalars['String']['output'];
|
|
5427
5592
|
};
|
|
5428
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
|
+
|
|
5429
5600
|
/** Input type of `PairRanking`. */
|
|
5430
5601
|
export type PairRanking = {
|
|
5431
5602
|
/** The attribute to rank pairs by. */
|
|
@@ -6345,6 +6516,8 @@ export type PrimePoolWithdrawData = {
|
|
|
6345
6516
|
userPrimeRewardDebt: Scalars['String']['output'];
|
|
6346
6517
|
};
|
|
6347
6518
|
|
|
6519
|
+
export type ProtocolData = ArenaTradeData | UniswapV4Data;
|
|
6520
|
+
|
|
6348
6521
|
/** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
|
|
6349
6522
|
export enum PublishingType {
|
|
6350
6523
|
Batch = 'BATCH',
|
|
@@ -6365,7 +6538,10 @@ export type Query = {
|
|
|
6365
6538
|
detailedWalletStats?: Maybe<DetailedWalletStats>;
|
|
6366
6539
|
/** Returns a list of exchanges based on a variety of filters. */
|
|
6367
6540
|
filterExchanges?: Maybe<ExchangeFilterConnection>;
|
|
6368
|
-
/**
|
|
6541
|
+
/**
|
|
6542
|
+
* Returns a list of wallets with stats narrowed down to a specific network.
|
|
6543
|
+
* @deprecated Use filterWallets instead
|
|
6544
|
+
*/
|
|
6369
6545
|
filterNetworkWallets: NetworkWalletFilterConnection;
|
|
6370
6546
|
/** Returns a list of NFT collection based on a variety of filters. */
|
|
6371
6547
|
filterNftCollections?: Maybe<NftCollectionFilterConnection>;
|
|
@@ -6393,15 +6569,24 @@ export type Query = {
|
|
|
6393
6569
|
getDetailedPairStats?: Maybe<DetailedPairStats>;
|
|
6394
6570
|
/** Returns bucketed stats for a given token within a list of pairs. */
|
|
6395
6571
|
getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
|
|
6396
|
-
/**
|
|
6572
|
+
/**
|
|
6573
|
+
* Returns bucketed stats for a given token within a pair.
|
|
6574
|
+
* @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
|
|
6575
|
+
*/
|
|
6397
6576
|
getDetailedStats?: Maybe<DetailedStats>;
|
|
6398
6577
|
/** Returns a list of event labels for a pair. */
|
|
6399
6578
|
getEventLabels?: Maybe<EventLabelConnection>;
|
|
6400
6579
|
/** Returns a list of decentralized exchange metadata. */
|
|
6401
6580
|
getExchanges: Array<Exchange>;
|
|
6402
|
-
/**
|
|
6581
|
+
/**
|
|
6582
|
+
* Returns new tokens listed over the last three days.
|
|
6583
|
+
* @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
|
|
6584
|
+
*/
|
|
6403
6585
|
getLatestPairs?: Maybe<LatestPairConnection>;
|
|
6404
|
-
/**
|
|
6586
|
+
/**
|
|
6587
|
+
* Returns a list of latest tokens.
|
|
6588
|
+
* @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
|
|
6589
|
+
*/
|
|
6405
6590
|
getLatestTokens?: Maybe<LatestTokenConnection>;
|
|
6406
6591
|
/** Returns metadata for a given network supported on Codex. */
|
|
6407
6592
|
getNetworkStats?: Maybe<GetNetworkStatsResponse>;
|
|
@@ -6461,7 +6646,10 @@ export type Query = {
|
|
|
6461
6646
|
listPairsForToken: Array<Maybe<Pair>>;
|
|
6462
6647
|
/** Returns a list of pair metadata for a token. */
|
|
6463
6648
|
listPairsWithMetadataForToken: ListPairsForTokenResponse;
|
|
6464
|
-
/**
|
|
6649
|
+
/**
|
|
6650
|
+
* Returns a list of trending tokens across any given network(s).
|
|
6651
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6652
|
+
*/
|
|
6465
6653
|
listTopTokens?: Maybe<Array<TokenWithMetadata>>;
|
|
6466
6654
|
/** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection. */
|
|
6467
6655
|
nftHolders: NftHoldersResponse;
|
|
@@ -6471,7 +6659,10 @@ export type Query = {
|
|
|
6471
6659
|
primeHolders: PrimeHolders;
|
|
6472
6660
|
/** Returns a list of NFT collections matching a given query string. */
|
|
6473
6661
|
searchNfts?: Maybe<NftSearchResponse>;
|
|
6474
|
-
/**
|
|
6662
|
+
/**
|
|
6663
|
+
* Returns a list of tokens matching a given query string.
|
|
6664
|
+
* @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
|
|
6665
|
+
*/
|
|
6475
6666
|
searchTokens?: Maybe<TokenSearchResponse>;
|
|
6476
6667
|
/** Returns a single token by its address & network id. */
|
|
6477
6668
|
token: EnhancedToken;
|
|
@@ -6485,6 +6676,8 @@ export type Query = {
|
|
|
6485
6676
|
tokens: Array<Maybe<EnhancedToken>>;
|
|
6486
6677
|
/** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
|
|
6487
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;
|
|
6488
6681
|
/** Returns a chart of a wallet's activity. */
|
|
6489
6682
|
walletChart?: Maybe<WalletChartResponse>;
|
|
6490
6683
|
/** Returns list of NFT assets held by a given wallet for a single collection. */
|
|
@@ -6980,6 +7173,11 @@ export type QueryTop10HoldersPercentArgs = {
|
|
|
6980
7173
|
};
|
|
6981
7174
|
|
|
6982
7175
|
|
|
7176
|
+
export type QueryWalletAggregateBackfillStateArgs = {
|
|
7177
|
+
input: WalletAggregateBackfillStateInput;
|
|
7178
|
+
};
|
|
7179
|
+
|
|
7180
|
+
|
|
6983
7181
|
export type QueryWalletChartArgs = {
|
|
6984
7182
|
input: WalletChartInput;
|
|
6985
7183
|
};
|
|
@@ -7255,9 +7453,15 @@ export type Subscription = {
|
|
|
7255
7453
|
onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
|
|
7256
7454
|
/** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
|
|
7257
7455
|
onHoldersUpdated?: Maybe<HoldersUpdate>;
|
|
7258
|
-
/**
|
|
7456
|
+
/**
|
|
7457
|
+
* Live-streamed updates for newly listed pairs.
|
|
7458
|
+
* @deprecated No longer supported
|
|
7459
|
+
*/
|
|
7259
7460
|
onLatestPairUpdated?: Maybe<LatestPair>;
|
|
7260
|
-
/**
|
|
7461
|
+
/**
|
|
7462
|
+
* Live-streamed updates for newly listed tokens.
|
|
7463
|
+
* @deprecated No longer supported
|
|
7464
|
+
*/
|
|
7261
7465
|
onLatestTokens?: Maybe<LatestToken>;
|
|
7262
7466
|
/** Live-streamed launchpad token event. */
|
|
7263
7467
|
onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
|
|
@@ -7638,6 +7842,7 @@ export type TokenFilterConnection = {
|
|
|
7638
7842
|
/** A token matching a set of filter parameters. */
|
|
7639
7843
|
export type TokenFilterResult = {
|
|
7640
7844
|
__typename?: 'TokenFilterResult';
|
|
7845
|
+
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7641
7846
|
age?: Maybe<Scalars['Int']['output']>;
|
|
7642
7847
|
/** The number of buys in the past hour. */
|
|
7643
7848
|
buyCount1?: Maybe<Scalars['Int']['output']>;
|
|
@@ -7675,6 +7880,7 @@ export type TokenFilterResult = {
|
|
|
7675
7880
|
createdAt?: Maybe<Scalars['Int']['output']>;
|
|
7676
7881
|
/** The exchanges the token is listed on. */
|
|
7677
7882
|
exchanges?: Maybe<Array<Maybe<Exchange>>>;
|
|
7883
|
+
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7678
7884
|
fdv?: Maybe<Scalars['String']['output']>;
|
|
7679
7885
|
/** The highest price in USD in the past hour. */
|
|
7680
7886
|
high1?: Maybe<Scalars['String']['output']>;
|
|
@@ -7806,6 +8012,7 @@ export type TokenFilterResult = {
|
|
|
7806
8012
|
|
|
7807
8013
|
/** Input type of `TokenFilters`. */
|
|
7808
8014
|
export type TokenFilters = {
|
|
8015
|
+
/** @deprecated Age isn't supported - use createdAt instead */
|
|
7809
8016
|
age?: InputMaybe<NumberFilter>;
|
|
7810
8017
|
/** The number of buys in the past hour. */
|
|
7811
8018
|
buyCount1?: InputMaybe<NumberFilter>;
|
|
@@ -7847,6 +8054,7 @@ export type TokenFilters = {
|
|
|
7847
8054
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
7848
8055
|
/** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
7849
8056
|
exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
8057
|
+
/** @deprecated FDV isn't supported - use marketCap instead */
|
|
7850
8058
|
fdv?: InputMaybe<NumberFilter>;
|
|
7851
8059
|
/** The token in freezable */
|
|
7852
8060
|
freezable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -7880,7 +8088,7 @@ export type TokenFilters = {
|
|
|
7880
8088
|
launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7881
8089
|
/** The timestamp when the launchpad was migrated */
|
|
7882
8090
|
launchpadMigratedAt?: InputMaybe<NumberFilter>;
|
|
7883
|
-
/** The name of the launchpad. One of the following: Four.meme,
|
|
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. */
|
|
7884
8092
|
launchpadName?: InputMaybe<Scalars['String']['input']>;
|
|
7885
8093
|
/** The launchpad protocol */
|
|
7886
8094
|
launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7930,7 +8138,7 @@ export type TokenFilters = {
|
|
|
7930
8138
|
swapPct1dOldWallet?: InputMaybe<NumberFilter>;
|
|
7931
8139
|
/** The percentage of wallets that are less than 7d old that have traded in the last 24h */
|
|
7932
8140
|
swapPct7dOldWallet?: InputMaybe<NumberFilter>;
|
|
7933
|
-
/** Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `
|
|
8141
|
+
/** Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `true`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `false`. */
|
|
7934
8142
|
trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7935
8143
|
/** The number of transactions in the past hour. */
|
|
7936
8144
|
txnCount1?: InputMaybe<NumberFilter>;
|
|
@@ -8189,6 +8397,7 @@ export type TokenRanking = {
|
|
|
8189
8397
|
|
|
8190
8398
|
/** The attribute used to rank tokens. */
|
|
8191
8399
|
export enum TokenRankingAttribute {
|
|
8400
|
+
/** @deprecated Use createdAt instead */
|
|
8192
8401
|
Age = 'age',
|
|
8193
8402
|
BuyCount1 = 'buyCount1',
|
|
8194
8403
|
BuyCount4 = 'buyCount4',
|
|
@@ -8698,6 +8907,18 @@ export type UnconfirmedSwapEventData = {
|
|
|
8698
8907
|
type: EventType;
|
|
8699
8908
|
};
|
|
8700
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
|
+
|
|
8701
8922
|
/** The state of the wallet backfill. */
|
|
8702
8923
|
export enum WalletAggregateBackfillState {
|
|
8703
8924
|
/** Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot */
|
|
@@ -8714,6 +8935,18 @@ export enum WalletAggregateBackfillState {
|
|
|
8714
8935
|
BackfillRequestReceived = 'BackfillRequestReceived'
|
|
8715
8936
|
}
|
|
8716
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
|
+
|
|
8717
8950
|
/** The data for a chart of a wallet's activity. */
|
|
8718
8951
|
export type WalletChartData = {
|
|
8719
8952
|
__typename?: 'WalletChartData';
|